/* Layout: canvas creme com coluna de 1200px; hero em duas colunas (texto + cartão escuro com o corte técnico),
   bento de dois cartões pêssego/coral para Revenda vs Aplicação, resto em cartões brancos com borda areia.
   Tokens base em css/variables.css (design system do cliente, ver design/DESIGN.md). Tema: claro. */
:root {
  color-scheme: light;

  /* Aliases semânticos sobre os tokens do design system */
  --bg: var(--color-warm-canvas);
  --surface: var(--color-pure-white);
  --wash: var(--color-fog);
  --ink: var(--color-ink-black);
  --body: var(--color-pewter);
  --muted: var(--color-warm-gray);
  --line: var(--color-sand);
  --line-strong: var(--color-charcoal);
  --accent: var(--color-ember-orange);
  --accent-hover: var(--color-burnt-rust);
  --on-accent: var(--color-pure-white);
  --peach: var(--color-peach-blush);
  --coral: var(--color-sunset-coral);
  --dark: var(--color-deep-charcoal);
  --dark-fg: #f3efe9;
  --dark-muted: #a7a19c;
  --dark-line: #34312f;

  /* Camadas do corte técnico */
  --l-concrete: #a19d98;
  --l-screed: #c9c3ba;
  --l-primer: #5a3b22;
  --l-membrane: #2c2a29;
  --l-mineral: #5f6a63;
  --l-grain: #8c968f;

  /* Tipografia: Geist substitui ABC Diatype (sugestão do próprio design system) */
  --f-display: "Geist", var(--font-abc-diatype-plus-variable);
  --f-body: "Geist", var(--font-abc-diatype);
  --f-tech: var(--font-ibm-plex-sans);

  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--text-body);
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 500; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.3rem); line-height: 0.95; letter-spacing: -0.055em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); line-height: 1; letter-spacing: -0.04em; }
h3 { font-size: var(--text-subheading); line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap {
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.eyebrow { font-size: 14px; font-weight: 500; color: var(--muted); }
.eyebrow.hot { color: var(--accent); }
.lead { font-size: 18px; line-height: 1.5; color: var(--body); max-width: 58ch; }
.hl { color: var(--accent); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: var(--radius-buttons); z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Botões (pílula) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-buttons);
  border: 1.5px solid transparent;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--line-strong); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.04em; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-sub { font-weight: 400; color: var(--body); white-space: nowrap; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; padding: 8px 12px; color: var(--color-slate); font-weight: 500; font-size: 14px; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav .btn { margin-left: 10px; padding: 10px 20px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1.5px solid var(--ink); color: var(--ink); border-radius: var(--radius-buttons); padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .nav .btn { margin: 16px 0 0; }
}

/* ---------- Hero ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 56px 72px; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; padding-block: 80px; } }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }

/* Barra de pedido rápido (adaptação da "prompt input bar") */
.quick { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl-2); padding: 8px 8px 8px 18px; max-width: 560px; }
.quick input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); padding: 10px 0; }
.quick input::placeholder { color: var(--color-stone); }
.quick input:focus { outline: none; }
.quick:focus-within { border-color: var(--ink); }
.quick .sep { width: 1px; align-self: stretch; background: var(--line); }
.quick #q-area { flex: 0 0 76px; }
.quick button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; cursor: pointer; }
.quick button:hover { background: var(--accent-hover); }
.quick button svg { width: 20px; height: 20px; }

.cats { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 0; padding: 0; list-style: none; }
.cats button { display: grid; justify-items: center; gap: 8px; background: none; border: 0; padding: 10px 10px 6px; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; border-radius: var(--radius-md); }
.cats svg { width: 26px; height: 26px; stroke: currentColor; transition: stroke .15s; }
.cats button:hover svg, .cats button[aria-pressed="true"] svg { stroke: var(--accent); }
.cats button[aria-pressed="true"] { color: var(--accent); }

.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--body); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Cartão escuro com o corte técnico */
.cut-card { background: var(--dark); color: var(--dark-fg); border-radius: var(--radius-cards); padding: 32px; display: grid; gap: 22px; min-width: 0; margin: 0; }
.cut-card figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--dark-muted); }
.cut-card figcaption b { color: var(--dark-fg); font-weight: 500; }
.cut { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cut li { display: grid; grid-template-columns: minmax(0, 1fr) min(13rem, 46%); align-items: center; gap: 20px; }
.cut .slab { position: relative; width: 100%; height: 32px; border-radius: 6px; animation: lay .6s ease-out both; animation-delay: calc(var(--i) * 90ms); }
.cut .tag { font-family: var(--f-tech); font-size: 12px; line-height: 1.35; text-align: left; color: var(--dark-muted); font-variant-numeric: tabular-nums; }
.cut .tag b { display: block; color: var(--dark-fg); font-family: var(--f-body); font-weight: 500; font-size: 14px; letter-spacing: -0.01em; }
.slab.mineral { background: radial-gradient(circle at 30% 40%, var(--l-grain) 0 1.2px, transparent 1.6px) 0 0/7px 7px, radial-gradient(circle at 70% 70%, var(--peach) 0 0.7px, transparent 1.1px) 0 0/10px 10px, var(--l-mineral); }
.slab.membrane { background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.07) 22px 24px), var(--l-membrane); height: 26px; outline: 1px solid var(--dark-line); }
.slab.primer { background: var(--l-primer); height: 10px; }
.slab.screed { background: linear-gradient(180deg, var(--l-screed), #aaa49b); height: 30px; clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%); }
.slab.concrete { background: radial-gradient(circle, rgba(0,0,0,.2) 0 1px, transparent 1.5px) 0 0/11px 11px, var(--l-concrete); height: 42px; }
.cut-card .torch { display: block; margin: 0; font-size: 13px; line-height: 1.6; color: var(--dark-muted); border-top: 1px solid var(--dark-line); padding-top: 18px; }
.cut-card .torch strong { color: var(--coral); font-weight: 500; }
@keyframes lay { from { opacity: .3; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 480px) { .cut-card { padding: 24px 20px; border-radius: var(--radius-3xl); } .cut li { gap: 14px; } }

/* Faixa de marcas (adaptação do "trust logo strip") */
.brands .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-block: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands p { font-size: 14px; color: var(--muted); }
.brands ul { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 0; padding: 0; list-style: none; font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -0.03em; color: var(--color-stone); }

/* ---------- Secções ---------- */
.section { padding-block: var(--section-gap); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }
.section.wash { background: var(--surface); border-block: 1px solid var(--line); }

/* Bento Revenda / Aplicação */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature { border-radius: var(--radius-cards); padding: var(--card-padding); display: grid; gap: 16px; align-content: start; }
@media (min-width: 860px) { .feature { padding: 44px; } }
.feature.peach { background: var(--peach); }
.feature.coral { background: var(--coral); }
.feature .eyebrow { color: var(--line-strong); }
.feature h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1; letter-spacing: -0.04em; font-weight: 400; }
.feature p { color: var(--line-strong); max-width: 46ch; }
.feature .btn { justify-self: start; margin-top: 8px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 11px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }

/* Cartões brancos */
.cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl-2); padding: 28px; display: grid; gap: 10px; align-content: start; }
.section.wash .card { background: var(--bg); }
.card p { color: var(--body); font-size: 15px; }
.card .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 6px; }
.badge { justify-self: start; display: inline-block; font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: var(--radius-badges); border: 1px solid var(--accent-hover); color: var(--accent-hover); }

/* Tabela técnica */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-2xl-2); }
table { border-collapse: collapse; width: 100%; min-width: 660px; font-size: 15px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; font-weight: 500; color: var(--muted); }
td { color: var(--body); }
td strong { color: var(--ink); font-weight: 500; }
tr:last-child td { border-bottom: 0; }
.num { font-family: var(--f-tech); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Processo: sequência real */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding: 24px 0 0; border-top: 1.5px solid var(--ink); }
.steps li::before { content: counter(step); font-family: var(--f-display); font-size: 42px; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
.steps p { color: var(--body); font-size: 15px; max-width: 34ch; }

/* Obras (placeholder) */
.works { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .works { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work { display: grid; gap: 10px; }
.work .ph { aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius-3xl); border: 1px dashed var(--color-driftwood); display: grid; place-items: center; text-align: center; padding: 16px; font-size: 13px; color: var(--muted); background: var(--bg); }
.work p { color: var(--body); font-size: 15px; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; position: relative; font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center/11px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.5px 11px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--on-accent), var(--on-accent)) center/11px 1.5px no-repeat, var(--accent); border-color: var(--accent); }
.faq details > div { padding: 0 0 22px; color: var(--body); max-width: 68ch; display: grid; gap: 10px; }

/* Calculadora */
.calc { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-cards); padding: var(--card-padding); }
@media (min-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 44px; } }
.calc-fields { display: grid; gap: 16px; align-content: start; }
.calc-out { margin: 0; display: grid; align-content: start; background: var(--dark); color: var(--dark-fg); border-radius: var(--radius-3xl); padding: 24px 28px; }
.calc-out div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
.calc-out div:last-child { border-bottom: 0; }
.calc-out dt { color: var(--dark-muted); font-size: 15px; }
.calc-out dd { margin: 0; font-family: var(--f-tech); font-variant-numeric: tabular-nums; font-size: 17px; color: var(--dark-fg); }
.calc-out .big dd { font-family: var(--f-display); font-size: 32px; letter-spacing: -0.04em; color: var(--coral); }

/* Formulário */
.contact { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.contact-info { display: grid; gap: 20px; align-content: start; }
.contact-info dl { margin: 8px 0 0; display: grid; gap: 16px; }
.contact-info dt { font-size: 13px; color: var(--muted); }
.contact-info dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 500; font-size: 22px; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.form { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-cards); padding: var(--card-padding); }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; } .form .full { grid-column: 1 / -1; } }
@media (min-width: 900px) { .form { padding: 40px; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--color-driftwood); border-radius: var(--radius-inputs); padding: 12px 14px; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-stone); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form .consent { font-size: 13px; color: var(--muted); }
.form-status { padding: 14px 18px; border-radius: var(--radius-2xl); background: var(--bg); border: 1px solid var(--accent-hover); font-size: 15px; }

/* CTA final */
.cta { background: var(--peach); border-radius: var(--radius-cards); padding: 44px var(--card-padding); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { max-width: 18ch; font-weight: 400; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--line); font-size: 15px; color: var(--body); }
.site-footer .wrap { padding-block: 56px 32px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--muted); }

/* WhatsApp flutuante */
.wa {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: var(--radius-buttons); text-decoration: none; font-weight: 500; font-size: 15px;
}
.wa:hover { background: var(--accent); color: var(--on-accent); }
.wa svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .wa span { display: none; } .wa { padding: 14px; } }

/* Página interior */
.page-hero .wrap { padding-block: 56px 48px; display: grid; gap: 18px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.two-col { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.prose { display: grid; gap: 16px; max-width: 64ch; }
.prose p { color: var(--body); }
.prose strong { color: var(--ink); font-weight: 500; }

/* ---------- Catálogo ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.tabs button { font: inherit; font-size: 14px; font-weight: 500; padding: 9px 18px; border-radius: var(--radius-buttons); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.gama { display: grid; gap: 24px; padding-block: 8px 56px; }
.gama + .gama { border-top: 1px solid var(--line); padding-top: 48px; }
.gama-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; }
.gama-head h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.gama-head h3 span { color: var(--accent); }
.gama-head p { color: var(--body); max-width: 52ch; font-size: 15px; }
.swatches { display: grid; gap: 28px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .swatches { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.swatch { display: grid; gap: 4px; align-content: start; }
.swatch .view { position: relative; margin-bottom: 30px; }
.swatch canvas.water { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius-2xl); background: var(--wash); }
.swatch canvas.chip { position: absolute; left: 14px; bottom: -26px; width: 30%; max-width: 64px; aspect-ratio: 1; border-radius: 10px; border: 3px solid var(--surface); background: var(--wash); }
.section.wash .swatch canvas.chip { border-color: var(--surface); }
.swatch h4 { margin: 6px 0 0; font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.swatch .ref { font-family: var(--f-tech); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1.5; }
.swatch a { font-size: 14px; font-weight: 500; color: var(--accent-hover); text-decoration: none; margin-top: 4px; justify-self: start; }
.swatch a:hover { text-decoration: underline; }
.demo-note { font-size: 13px; color: var(--muted); border: 1px dashed var(--color-driftwood); border-radius: var(--radius-2xl); padding: 12px 16px; margin-bottom: 32px; }

/* Vantagens */
.adv { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .adv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Camadas da tela armada de piscina */
.slab.varnish { height: 12px; background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.15) 60%, rgba(255,255,255,.4)); outline: 1px solid rgba(255,255,255,.35); }
.slab.pvc-top { height: 28px; background:
  linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px) 0 0/12px 12px,
  linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px) 0 0/12px 12px,
  linear-gradient(90deg, #1f6fb8, #2a8fd6 40%, #1a5fa3); }
.slab.mesh { height: 14px; background:
  repeating-linear-gradient(45deg, rgba(255,255,255,.55) 0 1px, transparent 1px 6px),
  repeating-linear-gradient(-45deg, rgba(255,255,255,.55) 0 1px, transparent 1px 6px), #6b6560; }
.slab.pvc-base { height: 24px; background: #c9cfd2; }
.slab.felt { height: 18px; background: radial-gradient(circle, rgba(0,0,0,.12) 0 1px, transparent 1.4px) 0 0/5px 5px, #e8e2d8; }
.slab.wall { height: 40px; background: radial-gradient(circle, rgba(0,0,0,.2) 0 1px, transparent 1.5px) 0 0/11px 11px, var(--l-concrete); }
.gama-index { margin: 20px 0 32px; }
.gama-index a { display: inline-block; font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: var(--radius-buttons); border: 1px solid var(--line); background: var(--bg); color: var(--body); text-decoration: none; }
.gama-index a:hover { border-color: var(--accent); color: var(--accent); }
#catalogo-lista > .gama-head p { max-width: 70ch; }
.gama-title { display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: var(--radius-badges); border: 1px solid var(--line); color: var(--body); background: var(--surface); }
.chips li.gar { border-color: var(--accent-hover); color: var(--accent-hover); }
.swatch .novo { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 500; padding: 3px 8px; border-radius: var(--radius-badges); background: var(--accent); color: var(--on-accent); }
.swatch img.water { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-2xl); background: var(--wash); }
.swatch img.chip { position: absolute; left: 14px; bottom: -26px; width: 30%; max-width: 64px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 3px solid var(--surface); background: var(--wash); }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { color: var(--accent); }

/* Logótipos das marcas */
.brands ul { align-items: center; gap: 16px 44px; }
.brands a { display: block; line-height: 0; }
.brands img { height: 40px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: opacity .15s, filter .15s; }
.brands a:hover img { filter: none; opacity: 1; }
.brands img.fb { filter: none; opacity: 1; }
.marca-head { align-items: center; }
.marca-logo { height: 48px; width: auto; max-width: 200px; object-fit: contain; }

/* Cartão clicável */
.swatch .view { cursor: zoom-in; }
.swatch-open { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; border-radius: var(--radius-2xl); cursor: zoom-in; }
.swatch-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.swatch .view:hover .water { filter: brightness(1.05); }

/* Janela grande */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 32px); overflow: visible; color: var(--ink); }
.lightbox::backdrop { background: rgba(14, 14, 15, .82); }
.lightbox figure { margin: 0; background: var(--surface); border-radius: var(--radius-3xl); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); max-height: calc(100vh - 32px); }
@media (min-width: 860px) { .lightbox figure { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.lb-media { min-height: 0; background: var(--dark); display: grid; place-items: center; }
.lb-media .water { width: 100%; height: 100%; max-height: calc(100vh - 32px); aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0; }
.lightbox figcaption { padding: 28px; display: grid; gap: 20px; align-content: start; overflow-y: auto; }
.lb-text { display: grid; gap: 8px; }
.lb-gama { font-size: 14px; font-weight: 500; color: var(--accent); }
.lb-text h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.lb-text .ref { font-family: var(--f-tech); font-size: 14px; color: var(--body); line-height: 1.6; }
.lb-chip img, .lb-chip canvas { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-2xl); display: block; }
.lb-close, .lb-nav { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: -14px; right: -14px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: -14px; }
.lb-next { right: -14px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: var(--on-accent); }
@media (max-width: 600px) {
  .lb-close { top: 8px; right: 8px; }
  .lb-prev { left: 8px; top: 30%; }
  .lb-next { right: 8px; top: 30%; }
  .lightbox figcaption { padding: 20px; }
  .lb-chip img, .lb-chip canvas { max-width: 120px; }
}
.brands img[alt^="RENOLIT"] { height: 56px; }
.lb-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-thumbs:empty { display: none; }
.lb-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; line-height: 0; }
.lb-thumbs button.on { border-color: var(--accent); }
.lb-thumbs img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }

/* Esquema explodido da tela (isométrico) */
:root { --layer-base: #cfc8b8; }
.cut-card .iso { display: block; width: 100%; max-width: 100%; height: auto; }
.iso-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .iso-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.iso-legend li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 10px; align-items: start; align-content: start; }
.iso-legend .n { grid-row: span 2; width: 22px; height: 22px; border-radius: 4px; background: var(--dark-fg); color: var(--dark); font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.iso-legend b { color: var(--dark-fg); font-weight: 500; font-size: 14px; line-height: 1.3; }
.iso-legend small { color: var(--dark-muted); font-size: 12px; line-height: 1.4; }

/* ---------- Página inicial: porta de entrada ---------- */
.home-hero .wrap { padding-block: 56px 72px; display: grid; gap: 40px; }
@media (min-width: 900px) { .home-hero .wrap { padding-block: 72px 88px; } }
.home-head { display: grid; gap: 18px; max-width: 820px; }
.entry { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .entry { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.entry-card { text-decoration: none; color: var(--ink); transition: transform .15s; }
.entry-card:hover { transform: translateY(-3px); }
.entry-card h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.entry-card .btn { justify-self: start; margin-top: 8px; }
.entry-ico { width: 40px; height: 40px; }
.feature.dark { background: var(--dark); color: var(--dark-fg); }
.feature.dark h2, .feature.dark .ticks li { color: var(--dark-fg); }
.feature.dark p { color: var(--dark-muted); }
.feature.dark .entry-ico { color: var(--coral); }
.feature.peach .entry-ico { color: var(--ink); }
.btn-light { background: var(--surface); color: var(--ink); }
.entry-card:hover .btn-light { background: var(--accent); color: var(--on-accent); }
.entry-card:hover .btn-dark { background: var(--line-strong); }
@media (min-width: 1000px) { .cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.acc-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-3xl); padding: 28px var(--card-padding); }
.acc-band > div { display: grid; gap: 10px; max-width: 640px; }
.acc-band h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; letter-spacing: -0.03em; }

.calc-out { align-self: start; }

/* Pedido de orçamento de tela */
.mini-steps { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--body); font-size: 15px; }
.mini-steps li::marker { color: var(--accent); font-weight: 600; }
.field .check { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; cursor: pointer; }
.field .check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.order-summary { font-size: 14px; color: var(--body); background: var(--bg); border: 1px dashed var(--color-driftwood); border-radius: var(--radius-2xl); padding: 12px 14px; }
.order-summary:empty { display: none; }
.order-summary b { color: var(--ink); font-weight: 500; }
.order-text { white-space: pre-wrap; font-family: var(--f-tech); font-size: 13px; background: var(--surface); border-radius: 10px; padding: 12px; margin: 10px 0 0; max-height: 260px; overflow: auto; user-select: all; }
.calc-out .calc-cta { border-bottom: 0; padding-top: 18px; }
.field .hint { font-size: 13px; color: var(--muted); }
.lb-copy { justify-self: start; margin-top: 4px; }
.swatch .ref { user-select: text; }
.tela-rows { display: grid; gap: 12px; }
.tela-row { position: relative; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-2xl); background: var(--bg); }
@media (min-width: 600px) { .tela-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .6fr); padding-right: 48px; } }
.tela-row .row-del { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--body); font-size: 18px; line-height: 1; cursor: pointer; }
.tela-row .row-del:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 600px) { .tela-row .row-del { top: 50%; transform: translateY(-20%); } }
.btn-add { padding: 9px 18px; font-size: 14px; }
.order-summary { display: grid; gap: 4px; }
.order-summary .total { font-weight: 500; color: var(--ink); border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; }

/* ---------- Entregas em 48 h (antes do rodapé) ---------- */
.delivery .wrap { padding-block: 0 56px; }
.delivery-card { display: grid; gap: 24px 32px; grid-template-columns: minmax(0, 1fr); align-items: center; background: var(--dark); color: var(--dark-fg); border-radius: var(--radius-cards); padding: 32px; }
@media (min-width: 900px) { .delivery-card { grid-template-columns: auto minmax(0, 1fr) auto; padding: 36px 44px; } }
.delivery-ico { position: relative; width: 112px; height: 112px; border-radius: 50%; background: var(--accent); color: var(--dark); display: grid; place-items: center; flex: none; }
.delivery-ico svg { width: 68px; height: 68px; overflow: visible; animation: drive 2.6s ease-in-out infinite; }
.delivery-ico .speed { stroke: var(--dark); opacity: .6; }
.delivery-badge { position: absolute; top: -4px; right: -10px; background: var(--peach); color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -0.03em; padding: 6px 10px; border-radius: var(--radius-buttons); border: 3px solid var(--dark); transform: rotate(8deg); }
@keyframes drive { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
.delivery-text { display: grid; gap: 10px; min-width: 0; }
.delivery-text .eyebrow { color: var(--coral); }
.delivery-text h2 { color: var(--dark-fg); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 400; }
.delivery-text p { color: var(--dark-muted); max-width: 56ch; }
.delivery-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.delivery-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.delivery-points svg { width: 22px; height: 22px; color: var(--coral); flex: none; }
@media (max-width: 899px) { .delivery-points { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .delivery-ico svg { animation: none; } }

/* ---------- Os nossos projetos (grelha de obras) ---------- */
.projetos-titulo { font-family: var(--f-display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: 0; text-transform: uppercase; color: var(--accent); padding-bottom: 28px; border-bottom: 1.5px solid var(--ink); margin-bottom: 40px; }
.projetos-grid { display: grid; gap: 40px 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .projetos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .projetos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.projeto { display: grid; gap: 4px; align-content: start; }
.projeto-foto { aspect-ratio: 4 / 3; max-width: 100%; background: var(--wash); display: grid; place-items: center; overflow: hidden; margin-bottom: 12px; }
.projeto-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.projeto:hover .projeto-foto img { transform: scale(1.03); }
.projeto-foto span { font-size: 13px; color: var(--muted); }
.projeto h3 { font-family: var(--f-body); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.projeto p { font-size: 15px; color: var(--body); }

/* ---------- Loja online (etiquetas) ---------- */
.shop-pill { display: inline-flex; align-items: center; gap: 8px; justify-self: start; width: fit-content; font-size: 14px; font-weight: 500; line-height: 1; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.shop-pill svg { width: 18px; height: 18px; flex: none; }
.nav-shop { display: inline-block; vertical-align: 2px; margin-left: 4px; font-size: 11px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }

/* ---------- Preço mediante pedido ---------- */
.preco { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.preco p { font-size: 15px; color: var(--body); max-width: 46ch; }
.preco p strong, .preco-nota strong { color: var(--ink); font-weight: 600; }
.preco-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
.preco-acoes .btn { padding-block: 10px; }
.lightbox .preco { padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; margin-top: 8px; }
.preco-nota { font-size: 15px; color: var(--body); }
.acc-cta { display: grid; gap: 12px; justify-items: start; }
.calc-out .calc-cta { display: grid; gap: 12px; justify-items: start; justify-content: stretch; }
.calc-out .preco-nota { color: var(--dark-muted); }
.calc-out .preco-nota strong { color: var(--dark-fg); }
.preco-acoes .btn, .calc-cta .btn, .acc-cta .btn { white-space: nowrap; }
.contact-direct { font-size: 15px; color: var(--body); }
.contact-direct a { color: var(--ink); font-weight: 500; }
.calc-out .big dd { white-space: nowrap; }
