/* Layout: página comercial longa em seções alternadas areia/branco, cards de 8px, terracota nas ações e verde floresta nos selos ecológicos, seguindo o mockup do Stitch. */
:root {
  --bg: #F7F5F0;
  --surface: #FFFFFF;
  --recess: #ECE7DE;
  --ink: #212529;
  --muted: #5C574F;
  --line: #E3D8C8;
  --primary: #B85042;
  --primary-hover: #A24336;
  --on-primary: #FFFFFF;
  --eco: #2D4F38;
  --eco-text: #2D4F38;
  --eco-tint: rgba(45, 79, 56, .10);
  --eco-line: rgba(45, 79, 56, .22);
  --bad: #9B3B30;
  --bad-tint: rgba(184, 80, 66, .08);
  --clay: #D4A373;
  --brick: #B85042;
  --f-display: "Outfit", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
  --e1: 0 2px 8px -2px rgba(33,37,41,.05), 0 1px 3px 0 rgba(33,37,41,.03);
  --e2: 0 12px 24px -6px rgba(33,37,41,.08), 0 4px 8px -2px rgba(33,37,41,.04);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(36px, 6vw, 56px); }
h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.015em; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; }
.band { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.band.alt { background: var(--surface); border-block: 1px solid var(--line); }
.band.rec { background: var(--recess); }
section.s { padding-block: 72px; }
@media (max-width: 720px) { section.s { padding-block: 48px; } }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--eco-text); margin-bottom: 10px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 36px; }
.head > div { max-width: 640px; min-width: 0; }
.head p { color: var(--muted); margin-top: 12px; }
.chip { display: inline-flex; flex-direction: column; gap: 2px; background: var(--eco-tint); border: 1px solid var(--eco-line); border-radius: 4px; padding: 10px 14px; font-size: 13px; color: var(--eco-text); }
.chip b { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.pill { display: inline-block; background: var(--eco-tint); border: 1px solid var(--eco-line); color: var(--eco-text); border-radius: 9999px; padding: 5px 12px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 4px; font: 600 14px var(--f-body); letter-spacing: .02em; text-decoration: none; background: var(--primary); color: var(--on-primary); border: 1px solid var(--primary); cursor: pointer; transition: background .15s, box-shadow .15s; text-align: center; }
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); box-shadow: var(--e1); }
.btn.eco { background: var(--eco); border-color: var(--eco); }
.btn.eco:hover { filter: brightness(1.12); background: var(--eco); border-color: var(--eco); }
.btn.out { background: transparent; color: var(--ink); border-color: var(--clay); }
.btn.out:hover { background: var(--recess); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 13px; }

/* topo */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 24px; letter-spacing: -.01em; text-decoration: none; }
.brand img { height: 72px; width: auto; display: block; }
footer .brand img { height: 120px; }
@media (max-width: 560px) { .brand img { height: 56px; } }
.nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }


/* hero */
.hero { padding-block: 56px 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero > * { min-width: 0; }
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 52ch; margin-top: 20px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--e1); }
.stats div { padding: 16px 16px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.stats span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.35; margin-top: 4px; }
@media (max-width: 920px) { .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 44px; } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.wall { position: relative; aspect-ratio: 4 / 3.4; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--e2); background: var(--bg); }
.wall svg { display: block; width: 100%; height: 100%; }
.wall .tile { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 56%; background: #fff; padding: 5%; border-radius: 8px; box-shadow: var(--e2); }
.wall .tile img { display: block; width: 100%; height: auto; }
.wall .cap { position: absolute; left: 12px; bottom: 12px; right: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; font-size: 12.5px; color: var(--muted); }
.wall .cap b { color: var(--ink); display: block; font-size: 13px; }

.photo { margin: 0; background: var(--recess); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption { background: var(--surface); border-top: 1px solid var(--line); padding: 10px 14px; font-size: 12.5px; color: var(--muted); }
.photo figcaption b { display: block; color: var(--ink); font-size: 13px; }
.lab .photo { background: var(--bg); }
/* vantagens */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--e1); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--e2); }
.card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.card .ico { width: 40px; height: 40px; border-radius: 8px; background: var(--bad-tint); color: var(--primary); display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .tag { margin-top: auto; padding-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--eco-text); }

/* produtos */
.prod { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.prod > * { min-width: 0; }
@media (max-width: 920px) { .prod { grid-template-columns: 1fr; } }
.lab { background: var(--recess); border-radius: 8px; padding: 22px; }
.lab .stage { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; min-height: 220px; display: grid; place-items: center; padding: 24px; }
.lab .brick { width: min(78%, 280px); aspect-ratio: 250 / 98; background: var(--brick); border-radius: 3px; position: relative; box-shadow: var(--e2); }
.lab .brick::before, .lab .brick::after { content: ""; position: absolute; top: 28%; bottom: 28%; width: 16%; background: var(--bg); border-radius: 2px; }
.lab .brick::before { left: 24%; } .lab .brick::after { right: 24%; }
.lab h3 { margin: 18px 0 12px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-family: var(--f-body); font-weight: 600; }
.lab .m { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lab .m div { background: var(--surface); border-radius: 4px; padding: 12px; }
.lab .m strong { display: block; font-family: var(--f-display); font-size: 20px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lab .m span { font-size: 12px; color: var(--muted); }
.plist { display: grid; gap: 10px; }
.row { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--e1); padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; }
.row > div { min-width: 0; }
.row .t { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--eco-tint); color: var(--eco-text); margin-bottom: 6px; }
.row .t.hot { background: var(--bad-tint); color: var(--bad); }
.row h3 { font-size: 17px; }
.row .d { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.row p { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } .row .btn { justify-self: start; } }

/* carrossel de modelos */
.prod { display: block; }
.lab { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center; margin-bottom: 28px; }
.lab h3 { margin-top: 0; }
@media (max-width: 760px) { .lab { grid-template-columns: 1fr; } }
.car-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.car-btns { display: flex; gap: 8px; }
.cbtn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--clay); border-radius: 4px; background: var(--surface); color: var(--ink); cursor: pointer; }
.cbtn:hover:not(:disabled) { background: var(--recess); }
.cbtn:disabled { opacity: .35; cursor: default; }
.cbtn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-block: 4px 10px; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--e1); display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
@media (max-width: 900px) { .slide { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 560px) { .slide { flex-basis: 84%; } }
.slide .fig { height: 132px; background: var(--recess); border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.slide .sb { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.slide .sb p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.slide .sb .d { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: var(--recess); color: var(--ink); padding: 4px 8px; border-radius: 4px; align-self: flex-start; font-variant-numeric: tabular-nums; }
.slide .sb .btn { margin-top: auto; align-self: flex-start; }
.slide .t { align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--eco-tint); color: var(--eco-text); }
.slide .t.hot { background: var(--bad-tint); color: var(--bad); }
.b { background: var(--brick); border-radius: 2px; position: relative; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.b.chan::after { content: ""; position: absolute; left: 12%; right: 12%; top: 36%; bottom: 36%; background: var(--recess); }
.b.palha { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 3px, transparent 3px 8px), repeating-linear-gradient(-45deg, rgba(0,0,0,.18) 0 3px, transparent 3px 8px); }
.pv { display: grid; grid-template-columns: repeat(3, 40px); gap: 3px; transform: rotate(-4deg); }
.pv i { display: block; height: 20px; background: var(--brick); border-radius: 2px; }

/* calculadora */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.calc > * { min-width: 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--e1); padding: 24px; }
.calc label, .form label.f { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.calc .top2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc .val { font-family: var(--f-display); font-size: 34px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1; }
input[type=range] { width: 100%; accent-color: var(--primary); margin: 14px 0 6px; height: 24px; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.presets button { font: 500 13px var(--f-body); color: var(--ink); background: var(--recess); border: 1px solid var(--line); border-radius: 4px; min-height: 36px; padding: 0 12px; cursor: pointer; }
.presets button:hover { border-color: var(--clay); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.pair .full { grid-column: 1 / -1; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--clay); border-radius: 4px; background: var(--surface); color: var(--ink); padding: 0 12px; font: 16px var(--f-body); font-variant-numeric: tabular-nums;
}
textarea { padding: 10px 12px; min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(184,80,66,.15); outline: none; }
.res { background: var(--recess); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.res .big { font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 7vw, 60px); line-height: 1; letter-spacing: -.02em; color: var(--eco-text); font-variant-numeric: tabular-nums; }
.res .sub { font-size: 14px; color: var(--muted); }
.res .rows { display: grid; gap: 6px; margin: 10px 0 18px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.res .rows b { color: var(--ink); }
.res .btn { margin-top: auto; }
.note { font-size: 12.5px; color: var(--muted); }

/* comparativo */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }
.vs .col { border-radius: 8px; padding: 26px; border: 1px solid var(--line); min-width: 0; }
.vs .bad { background: var(--bad-tint); border-color: rgba(184,80,66,.22); }
.vs .good { background: var(--eco-tint); border-color: var(--eco-line); }
.vs h3 { margin-bottom: 16px; font-size: 20px; }
.vs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vs li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.vs li b { display: block; color: var(--ink); font-size: 14.5px; }
.vs li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--bad); mask: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 2l8 8M10 2l-8 8' stroke='black' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.vs .good li::before { background: var(--eco-text); mask: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.6L10 3' stroke='black' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.vs .foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.vs .bad .foot { color: var(--bad); } .vs .good .foot { color: var(--eco-text); }

/* orçamento */
.q { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.q > * { min-width: 0; }
@media (max-width: 920px) { .q { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.items { display: grid; gap: 8px; }
.item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); }
.item label { display: flex; align-items: center; gap: 10px; cursor: pointer; min-width: 0; font-size: 14.5px; }
.item input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--eco); flex: none; }
.item small { display: block; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.item input[type=number] { width: 84px; min-height: 36px; padding: 0 8px; }
.item input[type=number]:disabled { opacity: .35; }
.summary { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 104px); }
@media (max-width: 920px) { .summary { position: static; } }
.msg { font-size: 13.5px; line-height: 1.55; background: var(--bg); border: 1px dashed var(--clay); border-radius: 4px; padding: 14px; white-space: pre-wrap; min-height: 140px; word-break: break-word; margin: 14px 0; }
#status { font-size: 13px; color: var(--eco-text); min-height: 20px; margin-top: 10px; }

/* localização e faq */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .loc { grid-template-columns: 1fr; } }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
.faq .card:hover, .loc .card:hover { transform: none; box-shadow: var(--e1); }

footer { background: var(--surface); border-top: 1px solid var(--line); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 48px max(16px, env(safe-area-inset-left, 0px)) 36px; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .fcols { grid-template-columns: 1fr; } }
.fcols h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fcols p { font-size: 14px; color: var(--muted); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .btn { transition: none; } .card:hover { transform: none; } }

/* páginas */
.top .wrap { height: auto; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: 0 2px 0 var(--primary); }
@media (max-width: 980px) { .nav { display: flex; order: 3; width: 100%; overflow-x: auto; gap: 22px; padding-bottom: 6px; white-space: nowrap; scrollbar-width: none; } .nav::-webkit-scrollbar { display: none; } }
.head h1 { font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -.015em; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .paths { grid-template-columns: 1fr; } }
a.card { text-decoration: none; color: inherit; }
a.card .go { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 14px; color: var(--primary); }
