:root {
  --ferro: #1C1A18;
  --ferro-2: #26231F;
  --cafe: #5A3A24;
  --ambar: #C9822F;
  --ambar-claro: #E0A050;
  --creme: #F4EEE6;
  --creme-2: #EAE1D4;
  --texto: #2A2622;
  --texto-suave: #6A6058;
  --wa: #25D366;
  --wa-escuro: #1DA851;
  --raio: 10px;
  --titulo: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --corpo: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto);
  background: #FBF8F3;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--titulo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02;
  margin: 0;
}
h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--cafe); margin-bottom: 1.5rem; }
p { margin: 0; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.eyebrow {
  font-family: var(--titulo);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ambar);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before { content: ''; width: 1.6rem; height: 2px; background: currentColor; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .8rem 1.4rem;
  border-radius: var(--raio);
  border: 2px solid transparent;
  font: 600 1rem/1.1 var(--corpo);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn .ico-wa { fill: currentColor; stroke: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--ambar-claro); outline-offset: 3px; }
.btn-ambar { background: var(--ambar); color: var(--ferro); }
.btn-ambar:hover { background: var(--ambar-claro); }
.btn-wa { background: var(--wa); color: #0B2E17; }
.btn-wa:hover { background: #3BE07A; }
.btn-linha-clara { border-color: rgba(244, 238, 230, .35); color: var(--creme); }
.btn-linha-clara:hover { border-color: var(--creme); }
.btn-linha { border-color: var(--cafe); color: var(--cafe); margin-top: .5rem; }
.btn-linha:hover { background: var(--cafe); color: var(--creme); }
.btn-sm { min-height: 2.5rem; padding: .5rem 1rem; font-size: .92rem; }

/* Topo */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(28, 26, 24, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 238, 230, .08);
  transition: box-shadow .3s;
}
.topo.rolou { box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.topo-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4rem; }
.marca { text-decoration: none; display: inline-flex; align-items: center; flex: none; }
.marca-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(200px, 52vw);
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}
.nav { display: none; gap: 1.75rem; }
.nav a { color: rgba(244, 238, 230, .78); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav a:hover { color: var(--creme); }
@media (min-width: 960px) { .nav { display: flex; } }
@media (max-width: 959px) { .topo .btn-wa { display: none; } }
@media (max-width: 420px) {
  .marca-logo { height: 40px; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--creme);
  background:
    radial-gradient(ellipse 60% 70% at 78% 60%, rgba(201, 130, 47, .16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 5px),
    linear-gradient(180deg, var(--ferro) 0%, var(--ferro-2) 100%);
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--ambar) 0 12px, var(--ferro) 12px 24px);
  opacity: .85;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-texto { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.5rem, 10vw, 4.6rem); max-width: 17ch; }
.hero-sub { margin-top: 1.25rem; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: rgba(244, 238, 230, .78); max-width: 34rem; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-nota { margin-top: 1.5rem; font-size: .92rem; color: rgba(244, 238, 230, .7); }
.hero-nota strong { color: var(--creme); }
.estrelas { color: var(--ambar); letter-spacing: .1em; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}

/* Portão */
.portao { margin: 0; position: relative; }
.portao svg { width: 100%; height: auto; overflow: visible; }
.portao svg * { vector-effect: non-scaling-stroke; }
.portao figcaption {
  font-family: var(--titulo);
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 238, 230, .4);
  text-align: center;
  margin-top: .4rem;
}
.casa { fill: none; stroke: rgba(244, 238, 230, .16); stroke-width: 1.5; stroke-linejoin: round; }
.luz circle { fill: var(--ambar); opacity: .7; }
.quadro { fill: none; stroke: var(--creme); stroke-width: 3; }
.barras { stroke: rgba(244, 238, 230, .82); stroke-width: 2.2; }
.lancas { fill: none; stroke: var(--ambar); stroke-width: 2; stroke-linejoin: miter; }
.puxador { fill: var(--ambar); }
.pilar { fill: #34302B; stroke: rgba(244, 238, 230, .28); stroke-width: 1.5; }
.pilar-topo { stroke: rgba(244, 238, 230, .45); stroke-width: 3; }
.motor rect { fill: #34302B; stroke: rgba(244, 238, 230, .4); stroke-width: 1.5; }
.motor .led { fill: var(--ambar); }
.trilho { stroke: rgba(244, 238, 230, .5); stroke-width: 2; }
.chao { stroke: rgba(244, 238, 230, .14); stroke-width: 1; stroke-dasharray: 4 6; }

@media (prefers-reduced-motion: no-preference) {
  .folha { animation: abrir 7s cubic-bezier(.45, 0, .25, 1) 1s infinite; }
  .motor .led { animation: piscar 1s steps(1) 1s infinite; }
  .luz circle { animation: acender 7s ease 1s infinite; }
  .hero-texto > * { animation: subir .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-texto > :nth-child(2) { animation-delay: .08s; }
  .hero-texto > :nth-child(3) { animation-delay: .16s; }
  .hero-texto > :nth-child(4) { animation-delay: .24s; }
  .hero-texto > :nth-child(5) { animation-delay: .32s; }
}
@keyframes abrir {
  0%, 8% { transform: translateX(0); }
  38%, 70% { transform: translateX(-250px); }
  100% { transform: translateX(0); }
}
@keyframes piscar {
  0% { opacity: 1; }
  50% { opacity: .15; }
}
@keyframes acender {
  0%, 20% { opacity: .2; }
  40%, 70% { opacity: 1; }
  100% { opacity: .2; }
}
@keyframes subir {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 899px) {
  .portao { max-width: 520px; margin-inline: auto; width: 100%; }
}

/* Seções */
.secao { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.secao-creme { background: var(--creme); }
.secao-escura {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .015) 0 2px, transparent 2px 5px),
    var(--ferro);
  color: var(--creme);
}
.secao-escura h2 { color: var(--creme); }

/* Serviços */
.servicos { display: grid; gap: 1rem; }
@media (min-width: 640px) { .servicos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .servicos { grid-template-columns: repeat(3, 1fr); } }
.servico {
  position: relative;
  background: #fff;
  border: 1px solid var(--creme-2);
  border-radius: var(--raio);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.servico::before {
  content: '';
  position: absolute;
  left: 1.5rem;
  top: 0;
  width: 2.5rem;
  height: 3px;
  background: var(--ambar);
  border-radius: 0 0 3px 3px;
}
.servico:hover { border-color: var(--ambar); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(90, 58, 36, .1); }
.servico .ico { width: 2.6rem; height: 2.6rem; fill: none; stroke: var(--cafe); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.servico h3 { font-size: 1.55rem; color: var(--cafe); margin-bottom: .45rem; }
.servico p { color: var(--texto-suave); font-size: .95rem; flex: 1; }
.servico-link {
  margin-top: 1.1rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--cafe);
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 2px solid var(--ambar);
  padding-bottom: 2px;
}
.servico-link span { display: inline-block; transition: transform .2s; }
.servico-link:hover span { transform: translateX(4px); }
.servico-link::after { content: ''; position: absolute; inset: 0; }

/* Orçamento */
.orc-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .orc-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.orc-texto p:not(.eyebrow) { color: rgba(244, 238, 230, .75); max-width: 30rem; }
.orc {
  background: var(--creme);
  color: var(--texto);
  border-radius: 14px;
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  min-width: 0;
}
.orc-progresso { height: 6px; border-radius: 6px; background: var(--creme-2); overflow: hidden; }
.orc-progresso span { display: block; height: 100%; width: 25%; background: var(--ambar); border-radius: 6px; transition: width .4s cubic-bezier(.2, .7, .2, 1); }
.orc-passo { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-suave); margin: .75rem 0 1rem; }
.orc-etapa { border: 0; padding: 0; margin: 0; min-width: 0; }
.orc-etapa legend { font-family: var(--titulo); font-weight: 700; text-transform: uppercase; font-size: 1.75rem; color: var(--cafe); padding: 0; margin-bottom: 1rem; line-height: 1.05; }
.orc-etapa:not([hidden]) { animation: entrar .35s ease both; }
@keyframes entrar { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .orc-etapa:not([hidden]) { animation: none; } }
.campo { margin-bottom: 1.15rem; }
.campo[hidden] { display: none; }
.rotulo { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .5rem; color: var(--texto); }

.chips { display: grid; gap: .5rem; }
.chips-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chips-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chips-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 520px) { .chips-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .chips-3 { grid-template-columns: 1fr; } .chips-2 { grid-template-columns: 1fr; } }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 3rem;
  padding: .55rem .6rem;
  border: 1.5px solid #D9CEBF;
  border-radius: var(--raio);
  background: #fff;
  font-weight: 500;
  font-size: .93rem;
  line-height: 1.2;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chips label:hover span { border-color: var(--ambar); }
.chips input:checked + span { border-color: var(--ambar); background: #FBEBD5; color: var(--cafe); font-weight: 600; box-shadow: inset 0 0 0 1px var(--ambar); }
.chips input:focus-visible + span { outline: 3px solid var(--ambar-claro); outline-offset: 2px; }

.orc input[type="text"], .orc textarea {
  width: 100%;
  font: 400 16px/1.4 var(--corpo);
  color: var(--texto);
  background: #fff;
  border: 1.5px solid #D9CEBF;
  border-radius: var(--raio);
  padding: .75rem .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.orc textarea { resize: vertical; min-height: 3rem; }
.orc input::placeholder, .orc textarea::placeholder { color: #A39887; }
.orc input[type="text"]:focus, .orc textarea:focus { outline: none; border-color: var(--ambar); box-shadow: 0 0 0 3px rgba(201, 130, 47, .2); }

.medidas { display: flex; align-items: center; gap: .6rem; }
.input-medida { flex: 1; min-width: 0; position: relative; display: block; }
.input-medida input { padding-bottom: 1.6rem !important; }
.input-medida span { position: absolute; left: .9rem; bottom: .45rem; font-size: .72rem; color: var(--texto-suave); pointer-events: none; }
.vezes { font-weight: 600; color: var(--texto-suave); }
.medidas.desligado { opacity: .45; }
.check { display: flex; align-items: center; gap: .6rem; margin-top: .7rem; font-size: .92rem; cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--ambar); margin: 0; flex: none; }

.orc-erro { color: #A2381F; font-size: .88rem; font-weight: 500; margin-top: .6rem; }

.resumo { background: #fff; border: 1px dashed #CDBFAE; border-radius: var(--raio); padding: 1rem 1.1rem; }
.resumo dl { margin: 0; display: grid; gap: .45rem; }
.resumo dl div { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; font-size: .93rem; }
.resumo dt { color: var(--texto-suave); }
.resumo dd { margin: 0; font-weight: 600; color: var(--texto); overflow-wrap: anywhere; }
@media (max-width: 380px) { .resumo dl div { grid-template-columns: 1fr; gap: 0; } }

.orc-botoes { display: flex; gap: .6rem; margin-top: 1.5rem; }
.orc-botoes [data-avancar], .orc-botoes [data-enviar] { flex: 1; }
.btn-voltar { background: transparent; border-color: #D9CEBF; color: var(--texto); padding-inline: 1rem; }
.btn-voltar:hover { border-color: var(--cafe); }
.rotulo-curto { display: none; }
@media (max-width: 480px) {
  .btn-voltar .rotulo-longo { display: none; }
  [data-enviar] .rotulo-longo { display: none; }
  [data-enviar] .rotulo-curto { display: inline; }
}
.orc-botoes [hidden] { display: none; }

/* Quem atende */
.quem { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) {
  .quem { grid-template-columns: 1.1fr .9fr; gap: 2.5rem 3rem; }
  .numeros { grid-column: 1 / -1; }
}
.quem-texto p:not(.eyebrow) { color: var(--texto-suave); font-size: 1.05rem; max-width: 32rem; }
.quem-foto { margin: 0; border-radius: 14px; overflow: hidden; background: var(--ferro); box-shadow: 0 18px 40px rgba(28, 26, 24, .18); }
.quem-foto img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.quem-foto figcaption {
  padding: .7rem 1rem;
  font-size: .85rem;
  color: rgba(244, 238, 230, .78);
  background: var(--ferro);
}
.numeros { display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 0; }
@media (min-width: 640px) { .numeros { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.numeros div { background: var(--ferro); color: var(--creme); border-radius: var(--raio); padding: 1.25rem 1rem; border-bottom: 4px solid var(--ambar); }
.numeros dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 238, 230, .6); }
.numeros dd { margin: .35rem 0 0; font-family: var(--titulo); font-weight: 700; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1; }
.numeros small { font-size: .6em; color: var(--ambar); }

.obras {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .obras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.obra {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ferro);
  box-shadow: 0 12px 28px rgba(28, 26, 24, .12);
}
.obra img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.obra figcaption {
  padding: .65rem 1rem .85rem;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(244, 238, 230, .82);
  background: var(--ferro);
}
.obras-reserva {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 2px dashed #D3C6B4;
  border-radius: var(--raio);
  padding: 1.25rem 1.4rem;
  color: var(--texto-suave);
  font-size: .95rem;
}
.obras-reserva svg { width: 2.4rem; height: 2.4rem; flex: none; fill: none; stroke: var(--ambar); stroke-width: 1.8; stroke-linejoin: round; }
.obras-reserva strong { color: var(--cafe); }

/* Depoimentos */
.depoimentos { display: grid; gap: 1rem; }
@media (min-width: 700px) { .depoimentos { grid-template-columns: repeat(2, 1fr); } }
.depoimentos blockquote {
  margin: 0;
  background: #fff;
  border-radius: var(--raio);
  padding: 1.5rem 1.5rem 1.25rem;
  border-left: 4px solid var(--ambar);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.depoimentos p { font-size: 1.02rem; color: var(--texto); flex: 1; }
.depoimentos footer { font-size: .85rem; color: var(--texto-suave); }
.depoimentos footer::before { content: '★★★★★  '; color: var(--ambar); letter-spacing: .08em; }

/* Onde */
.onde { display: grid; gap: 2rem; }
@media (min-width: 900px) { .onde { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.contatos { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 560px) { .contatos { grid-template-columns: repeat(2, 1fr); } }
.contatos div { border-top: 2px solid var(--creme-2); padding-top: .9rem; }
.contatos dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ambar); font-weight: 600; }
.contatos dd { margin: .3rem 0 0; font-size: 1.02rem; }
.contatos a { color: var(--cafe); font-weight: 600; text-decoration-color: var(--ambar); text-underline-offset: 3px; }

/* CTA final */
.cta-final {
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 5px),
    var(--cafe);
  color: var(--creme);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  text-align: center;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.cta-final h2 { color: var(--creme); margin: 0; max-width: 20ch; }
.cta-final p { color: rgba(244, 238, 230, .8); margin-bottom: .5rem; }

/* Rodapé */
.rodape { background: var(--ferro); color: rgba(244, 238, 230, .6); font-size: .85rem; padding: 1.5rem 0; }
.rodape-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.rodape a { color: var(--creme); font-weight: 600; text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .rodape-inner { justify-content: center; text-align: center; }
  .rodape-inner > span { width: 100%; }
}

/* WhatsApp flutuante */
.wa-flutuante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px rgba(244, 238, 230, .55), 0 10px 24px rgba(0, 0, 0, .3);
  transition: transform .25s, opacity .25s;
}
.wa-flutuante svg { width: 30px; height: 30px; fill: currentColor; }
.wa-flutuante:hover { transform: scale(1.06); }
.wa-flutuante.escondido { opacity: 0; transform: scale(.8); pointer-events: none; }
@media (min-width: 900px) { .wa-flutuante { right: 2rem; bottom: 2rem; width: 60px; height: 60px; } }

/* Aparecer ao rolar */
@media (prefers-reduced-motion: no-preference) {
  .js .aparecer { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js .aparecer.visivel { opacity: 1; transform: none; }
}
