/* ============================================================
   KMAC ACABAMENTOS · simulador.css
   Página: Visualizador de Ambientes
   Estende style.css (mesma paleta, tipografia e assinatura chanfro 45°)
   Desenvolvido por Z1 · Estúdio de Transformação Digital
   ============================================================ */

/* ---------- current nav state ---------- */
.navlinks a.current{ color:var(--accent-soft); }
.navlinks a.current::after{ width:100%; }

/* ============================================================
   HERO (subpágina)
   ============================================================ */
.sub-hero{
  padding:150px 0 90px;
  background:var(--bg-dark); color:var(--text-on-dark);
  position:relative; overflow:hidden;
}
.sub-hero::before{
  content:""; position:absolute; inset:0; z-index:0;
  background:radial-gradient(720px 420px at 82% 0%, rgba(176,141,79,.22), transparent 70%);
}
.sub-hero .wrap{ position:relative; z-index:1; }
.sub-hero h1{
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(32px,4.4vw,52px);
  line-height:1.1; letter-spacing:-.01em;
  max-width:680px; margin-top:22px;
}
.sub-hero h1 em{ font-style:normal; color:var(--accent-soft); }
.sub-hero .hero-sub{ max-width:560px; }
.sub-hero .hero-actions{ margin-top:34px; }

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
#como-funciona{ padding:100px 0; background:var(--bg-light); }
.steps{
  display:grid; grid-template-columns:repeat(3,1fr); gap:2px;
  background:var(--line-light); margin-top:8px;
}
@media (max-width:820px){ .steps{ grid-template-columns:1fr; } }
.step{
  background:var(--bg-light); padding:38px 32px;
  position:relative;
}
.step-num{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.1em;
  color:var(--accent-2);
}
.step h3{
  font-family:var(--font-display); font-weight:600; font-size:19px;
  margin:14px 0 10px;
}
.step p{ font-size:14.5px; line-height:1.65; color:var(--text-on-light-soft); }

/* ============================================================
   SIMULADOR
   ============================================================ */
#simulador{ padding:110px 0; background:var(--bg-light-2); }
.sim-note{
  font-family:var(--font-mono); font-size:11px; letter-spacing:.05em;
  color:var(--text-on-light-soft); max-width:640px; margin-top:14px;
  line-height:1.6;
}

.sim-tabs{ display:flex; gap:10px; margin:40px 0 28px; flex-wrap:wrap; }
.sim-tab{
  font-family:var(--font-body); font-weight:700; font-size:13.5px;
  padding:11px 22px; background:var(--bg-light); color:var(--text-on-light-soft);
  border:1px solid var(--line-light); cursor:pointer;
  clip-path:polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.sim-tab:hover{ color:var(--text-on-light); }
.sim-tab.active{
  background:var(--bg-dark); color:var(--text-on-dark); border-color:var(--bg-dark);
}

.sim-layout{
  display:grid; grid-template-columns:1.25fr .85fr; gap:44px;
  align-items:start;
}
@media (max-width:980px){ .sim-layout{ grid-template-columns:1fr; } }

/* ---- cena ---- */
.sim-scene-wrap{
  clip-path:polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  background:var(--bg-dark);
  padding:1px;
}
.sim-scene{
  position:relative; aspect-ratio:4/3; overflow:hidden;
  background:#2b2620;
}
.sim-wall{
  position:absolute; inset:0 0 38% 0;
  background:linear-gradient(180deg,#E7DFCF,#D9CFB8);
  background-size:cover; background-position:center;
  transition:background-image .35s ease;
}
.sim-wall::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(27,24,21,.06), rgba(27,24,21,.16));
  pointer-events:none;
}
.sim-floor{
  position:absolute; left:0; right:0; bottom:0; height:44%;
  background:linear-gradient(180deg,#C9BB9E,#B4A483);
  background-size:cover; background-position:center;
  clip-path:polygon(0 100%, 100% 100%, 88% 0, 12% 0);
  transition:background-image .35s ease;
}
.sim-floor::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(200deg, rgba(255,255,255,.10), rgba(27,24,21,.22) 85%);
  pointer-events:none;
}
.sim-baseboard{
  position:absolute; left:0; right:0; bottom:38%; height:6%;
  background:rgba(27,24,21,.18);
  clip-path:polygon(0 100%, 100% 100%, 88% 0, 12% 0);
}
.sim-fixture{
  position:absolute; left:50%; bottom:18%; transform:translateX(-50%);
  width:58%; max-width:280px;
}
.sim-fixture svg{
  width:100%; height:auto; display:block;
  fill:none; stroke-width:1.5;
  stroke:var(--fixture-color,#8C8C8C);
  transition:stroke .3s ease;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,.28));
}
.sim-scene-label{
  position:absolute; top:18px; left:18px;
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:.1em;
  text-transform:uppercase; color:rgba(27,24,21,.55);
  background:rgba(244,238,227,.72); padding:6px 12px;
  clip-path:polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%);
}

/* ---- resumo da combinação ---- */
.sim-summary{
  background:var(--bg-dark); color:var(--text-on-dark);
  padding:34px 30px; margin-top:24px;
  clip-path:polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.sim-summary h3{
  font-family:var(--font-display); font-weight:600; font-size:18px;
}
.sim-summary-list{ margin-top:18px; display:flex; flex-direction:column; gap:14px; }
.sim-summary-row{
  display:flex; justify-content:space-between; gap:14px;
  padding-bottom:14px; border-bottom:1px solid var(--line-dark);
  font-size:13.5px;
}
.sim-summary-row:last-child{ border-bottom:0; padding-bottom:0; }
.sim-summary-cat{
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--text-on-dark-soft);
}
.sim-summary-val{ text-align:right; font-weight:600; }
.sim-summary-val small{
  display:block; font-weight:400; font-size:11.5px;
  color:var(--text-on-dark-soft); margin-top:2px;
}
.sim-summary .btn{ margin-top:24px; width:100%; justify-content:center; }

/* ---- categorias de amostras ---- */
.sim-categories{ display:flex; flex-direction:column; gap:34px; margin-top:36px; }
.sim-cat-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:12px;
  margin-bottom:16px;
}
.sim-cat-head h3{
  font-family:var(--font-display); font-weight:600; font-size:19px;
}
.sim-cat-head span{
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--accent-2);
}
.swatch-row{
  display:flex; gap:14px; overflow-x:auto; padding-bottom:6px;
  scrollbar-width:none; -ms-overflow-style:none;
}
.swatch-row::-webkit-scrollbar{ display:none; }
.swatch{
  flex:0 0 auto; width:118px; cursor:pointer;
  border:none; background:none; padding:0; text-align:left;
  font-family:var(--font-body);
}
.swatch-chip{
  width:118px; height:88px;
  clip-path:polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  border:2px solid transparent;
  background-size:cover; background-position:center;
  transition:border-color .2s ease, transform .2s ease;
  position:relative;
}
.swatch:hover .swatch-chip{ transform:translateY(-3px); }
.swatch.active .swatch-chip{ border-color:var(--accent); }
.swatch.active .swatch-chip::after{
  content:"✓"; position:absolute; top:6px; right:8px;
  width:20px; height:20px; border-radius:50%;
  background:var(--accent); color:#211D18;
  font-size:11px; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.swatch-label{
  display:block; font-size:12.5px; font-weight:700; margin-top:9px;
  color:var(--text-on-light);
}
.swatch-brand{
  display:block; font-size:11px; color:var(--text-on-light-soft); margin-top:2px;
}

/* ============================================================
   CTA FINAL (subpágina)
   ============================================================ */
#contato-cta{ padding:100px 0 120px; background:var(--bg-light); }
.cta-band{
  background:var(--bg-dark); color:var(--text-on-dark);
  padding:56px 48px;
  clip-path:polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%);
  display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap;
}
.cta-band h2{ color:var(--text-on-dark); max-width:520px; margin-top:0; }
.cta-band-actions{ display:flex; gap:14px; flex-wrap:wrap; }
