/* ==========================================================================
   Cia da Fossa Pré-Moldados — estilos
   As cores de marca ficam em :root (--brand-*). O skill importar-marca
   atualiza essas variáveis + conteúdo do HTML.
   ========================================================================== */

:root {
  /* ---- Marca (editável pelo agente de marca) ---- */
  --brand: #9dbe8e;         /* salvia institucional — preenchimento com texto preto */
  --brand-strong: #7fa272;  /* salvia medio — hover do botao */
  --brand-deep: #4d6b42;    /* verde para texto sobre claro (5,9:1 no branco) */
  --brand-soft: #b7d2aa;    /* verde claro para texto sobre grafite (11,7:1) */
  --brand-contrast: #0b0f14;

  /* ---- Bases neutras (concreto/grafite) ---- */
  --ink: #0b0f14;
  --ink-3: #161d26;
  --line: rgba(11, 15, 20, 0.12);
  --surface: #f5f6f8;
  --surface-2: #ffffff;
  --text: #0b0f14;
  --text-soft: #4b5563;
  --text-invert: #eef1f4;
  --danger-ink: #b3261e;
  --text-invert-soft: color-mix(in srgb, var(--ink) 86%, var(--brand));
  --placeholder: #5f6b7a;

  /* ---- Tipografia ---- */
  --font-head: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-display: "Barlow Condensed", "Montserrat", system-ui, sans-serif; /* voz do lettering da marca: sans bold condensada */
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;

  /* ---- Escala tipografica (papeis, nao valores soltos) ---- */
  --fs-display: clamp(2.3rem, 5.2vw, 4rem);      /* H1 do hero (condensada pede corpo maior) */
  --fs-headline: clamp(1.7rem, 3.2vw, 2.6rem);   /* todo H2 de secao */
  --fs-emphasis: clamp(1.05rem, 1.7vw, 1.35rem); /* frase de garantia */
  --fs-title: 1.14rem;                           /* H3 de card, feature e passo */
  --fs-lead: clamp(1rem, 1.15vw, 1.12rem);       /* lead e subtitulo de secao */
  --fs-body: 1rem;                               /* texto corrido padrao */
  --fs-body-sm: 0.94rem;                         /* corpo secundario (card, tabela, campo) */
  --fs-ui: 0.95rem;                              /* links, botoes, dados de contato */
  --fs-nav: 0.92rem;                             /* navegacao do topo e do rodape */
  --fs-control-sm: 0.88rem;                      /* botao compacto (CTA do topo) */
  --fs-label: 0.78rem;                           /* eyebrow, label, cabecalho de tabela */
  --fs-meta: 0.84rem;                            /* legendas, notas, rodape */
  --fs-micro: 0.7rem;                            /* sub-marca e rotulo de midia */

  /* ---- Layout ---- */
  --container: 1180px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -24px rgba(2, 6, 12, 0.5);
  --shadow-soft: 0 12px 30px -18px rgba(2, 6, 12, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(74px + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding-left: 24px; padding-right: 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: var(--brand-contrast); padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: transparent;
  --btn-fg: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-ui);
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: var(--fs-control-sm); }
.btn-lg { padding: 15px 26px; font-size: var(--fs-body); }
.btn-block { width: 100%; }
.btn-primary { --btn-bg: var(--brand); --btn-fg: var(--brand-contrast); box-shadow: var(--shadow-soft); }
.btn-primary:hover { --btn-bg: var(--brand-strong); }
.btn-ghost { border-color: rgba(11, 15, 20, 0.22); color: var(--text); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-whats { --btn-bg: #25d366; --btn-fg: #06301a; }
.btn-whats:hover { --btn-bg: #1eb457; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface-2) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: rgba(11, 15, 20, 0.12); background: color-mix(in srgb, var(--surface-2) 95%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand-mark { display: block; width: 34px; height: 30px; color: var(--ink); flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { font-family: var(--font-head); line-height: 1; }
.brand-text strong { display: block; font-weight: 700; font-size: var(--fs-title); letter-spacing: -0.02em; }
.brand-text > span { display: block; font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-deep); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--text-soft); font-size: var(--fs-nav); font-weight: 500; transition: color 0.2s var(--ease); }
.nav a:not(.btn):hover { color: var(--text); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid rgba(11, 15, 20, 0.16); border-radius: 10px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
/* Campo institucional: o salvia da capa do catalogo, com tinta preta por cima. */
.hero {
  background: var(--brand); color: var(--ink);
  padding: clamp(44px, 6vw, 84px) 0 clamp(52px, 7vw, 96px);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); column-gap: clamp(34px, 5.4vw, 78px); align-items: start; }

/* A espinha preta da capa do catalogo: e uma coluna propria, entao fica exatamente na divisa. */
@media (min-width: 981px) {
  .hero-inner { grid-template-columns: minmax(0, 1.04fr) 4px minmax(0, 1fr); column-gap: clamp(20px, 2.6vw, 40px); }
  .hero-copy { order: 1; }
  .hero-inner::before { content: ""; order: 2; align-self: stretch; background: var(--ink); }
  .hero-sheet { order: 3; }
}

.hero-line {
  margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid color-mix(in srgb, var(--ink) 32%, transparent);
  font-family: var(--font-head); font-weight: 600; font-size: var(--fs-meta);
  letter-spacing: 0.01em; color: var(--text-invert-soft);
}

.hero h1 { font-family: var(--font-display); font-size: var(--fs-display); font-weight: 800; line-height: 1.04; letter-spacing: 0; max-width: 22ch; }
/* sobre campo de marca nao existe segunda cor de texto legivel: a enfase vira barra de tinta */
.hero h1 em, .hero h1 .highlight {
  font-style: normal; background: var(--ink); color: var(--brand-soft); padding: 0 0.1em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero .lead { margin-top: 22px; max-width: 52ch; font-size: var(--fs-lead); color: var(--text-invert-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* sobre o salvia a acao primaria inverte para grafite, como a barra preta do catalogo */
.hero .btn-primary, .contact-section .btn-primary { --btn-bg: var(--ink); --btn-fg: var(--text-invert); }
.hero .btn-primary:hover, .contact-section .btn-primary:hover { --btn-bg: var(--ink-3); }

/* a prova do "direto da fabrica": amostra real da tabela, em papel branco */
.hero-sheet { border: 1px solid rgba(11, 15, 20, 0.14); border-radius: var(--radius); background: var(--surface-2); overflow: hidden; }
.hero-sheet-media { border: 0; border-radius: 0; min-height: 230px; }
/* a ficha nunca corta coluna: em tela estreita a tabela rola, como o catalogo */
.sheet-scroll { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand) 55%, transparent) transparent; }
.sheet-scroll::-webkit-scrollbar { height: 8px; }
.sheet-scroll::-webkit-scrollbar-track { background: transparent; }
.sheet-scroll::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand) 55%, transparent); border-radius: 999px; }
.sheet-table { width: 100%; border-collapse: collapse; }
.sheet-table thead th {
  padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(11, 15, 20, 0.12);
  font-family: var(--font-head); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-invert); background: var(--ink);
}
.sheet-table th.ta-right, .sheet-table tbody td.ta-right { text-align: right; }
.sheet-table tbody th, .sheet-table tbody td {
  padding: 12px 16px; border-bottom: 1px solid rgba(11, 15, 20, 0.08); text-align: left;
  font-size: var(--fs-body-sm); font-weight: 400; color: var(--text-soft);
}
.sheet-table tbody th { font-weight: 500; color: var(--text); }
.sheet-table tbody td { white-space: nowrap; }
.sheet-table tbody tr:last-child th, .sheet-table tbody tr:last-child td { border-bottom: 0; }
.sheet-note {
  padding: 12px 16px; border-top: 1px solid rgba(11, 15, 20, 0.08); font-size: var(--fs-meta);
  color: var(--text-soft); background: var(--surface);
}
.sheet-note a { color: var(--text); border-bottom: 1px solid color-mix(in srgb, var(--brand-deep) 55%, transparent); }
.sheet-note a:hover { color: var(--brand-deep); }

/* ----------------------------------------------------- media placeholders */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 210px;
  background: color-mix(in srgb, var(--ink) 7%, var(--surface)); border: 1px solid rgba(11, 15, 20, 0.10);
}
.media picture { display: block; width: 100%; height: 100%; }
.media img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.media::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px; z-index: 1;
  font-family: var(--font-head); font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: color-mix(in srgb, var(--surface-2) 88%, transparent);
  padding: 5px 10px; border-radius: 999px;
}
.media:has(img)::after { opacity: 0; transition: opacity 0.3s var(--ease); }

/* -------------------------------------------------------------- sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: var(--fs-headline); font-weight: 700; }
.section-sub { margin-top: 16px; color: var(--text-soft); font-size: var(--fs-lead); max-width: 60ch; }

/* --------------------------------------------------------------- catalogo */
/* Indice da fabrica: cada categoria com itens e medidas reais do catalogo. */
.catalog { display: grid; border-top: 1px solid rgba(11, 15, 20, 0.14); }
.catalog-row {
  display: grid; grid-template-columns: 168px minmax(0, 1fr) minmax(0, 300px);
  gap: clamp(18px, 3vw, 34px); align-items: start;
  padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid rgba(11, 15, 20, 0.14);
}
.catalog-media { min-height: 0; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-sm); }
.catalog-body h3 { font-size: var(--fs-title); font-weight: 600; }
.catalog-body p { margin-top: 8px; font-size: var(--fs-body-sm); color: var(--text-soft); max-width: 46ch; }
.catalog-cta {
  display: inline-block; margin-top: 12px; font-family: var(--font-head); font-weight: 600;
  font-size: var(--fs-meta); color: var(--brand-deep);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-deep) 45%, transparent);
  transition: border-color 0.2s var(--ease);
}
.catalog-cta:hover { border-bottom-color: var(--brand-deep); }
.catalog-spec { display: grid; gap: 10px; }
.catalog-spec > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.catalog-spec dt { font-size: var(--fs-body-sm); color: var(--text-soft); }
.catalog-spec dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-body-sm); color: var(--text); white-space: nowrap; }

/* --------------------------------------------------------------- claims */
.claims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.claims li { padding: 22px 0; border-top: 1px solid rgba(11, 15, 20, 0.14); }
.claims h3 { font-size: var(--fs-title); font-weight: 600; }
.claims p { margin-top: 8px; font-size: var(--fs-body-sm); color: var(--text-soft); max-width: 48ch; }

/* ---------------------------------------------------- ficha da fabrica */
.sheet-band { background: var(--surface-2); border-top: 1px solid rgba(11, 15, 20, 0.12); border-bottom: 1px solid rgba(11, 15, 20, 0.12); }
.sheet-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); padding: clamp(20px, 3vw, 30px) 0; }
.sheet-facts > div { padding-left: 18px; border-left: 1px solid rgba(11, 15, 20, 0.14); }
.sheet-facts dt { font-family: var(--font-head); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-deep); }
.sheet-facts dd { margin: 8px 0 0; font-size: var(--fs-ui); color: var(--text); }

/* ---------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { padding-top: 20px; border-top: 2px solid var(--ink); }
.step-num { font-family: var(--font-head); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.steps h3 { margin-top: 12px; font-size: var(--fs-title); }
.steps p { margin-top: 8px; font-size: var(--fs-body-sm); color: var(--text-soft); }

/* CTA de fechamento de seção */
.section-cta { margin-top: clamp(30px, 4vw, 44px); }
.guarantee-cta { margin-top: 26px; }

/* -------------------------------------------------------------- contact */
/* Campo institucional de fechamento, igual ao hero: salvia com tinta preta. */
.contact-section { background: var(--brand); color: var(--ink); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy h2 { font-size: var(--fs-headline); }
.contact-copy .section-sub { color: var(--text-invert-soft); }
.contact-list { margin-top: 30px; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-invert-soft); font-size: var(--fs-ui); }
.contact-list svg { color: var(--ink); flex: none; }
.contact-list a { color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--ink) 35%, transparent); transition: color 0.2s var(--ease); }
.contact-list a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.contact-form { background: var(--surface-2); border: 1px solid rgba(11, 15, 20, 0.12); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: var(--fs-label); font-weight: 500; margin-bottom: 7px; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1px solid rgba(11, 15, 20, 0.18);
  background: var(--surface-2); color: var(--text); font: inherit; font-size: var(--fs-body-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 55%, transparent); }
.field select { appearance: none; }
.field textarea { resize: vertical; }
.field input.invalid, .field select.invalid { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18); }
.form-note { margin-top: 14px; font-size: var(--fs-meta); color: var(--text-soft); }
.form-note.ok { color: var(--brand-deep); }
.form-note.error { color: var(--danger-ink); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--surface); color: var(--text-soft); border-top: 1px solid rgba(11, 15, 20, 0.12); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-brand { max-width: 340px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: var(--fs-body-sm); }
.footer-contact { max-width: 320px; }
.footer-contact-title { margin: 0 0 14px; font-family: var(--font-head); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-deep); }
.footer-contact-actions { display: grid; gap: 10px; justify-items: start; }
.footer-contact-actions .btn { white-space: normal; text-align: left; justify-content: flex-start; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { font-size: var(--fs-nav); padding: 11px 0; margin: -6px 0; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--brand-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(11, 15, 20, 0.12); font-size: var(--fs-meta); }

/* ------------------------------------------------------------------ table */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.table-wrap { border: 1px solid rgba(11, 15, 20, 0.1); border-radius: var(--radius-lg); overflow: auto; background: var(--surface-2); box-shadow: var(--shadow-soft); overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand) 55%, transparent) transparent; }
.table-wrap::-webkit-scrollbar { height: 9px; }
.table-wrap::-webkit-scrollbar-track { background: transparent; }
.table-wrap::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand) 55%, transparent); border-radius: 999px; }
.table-wrap::-webkit-scrollbar-thumb:hover { background: var(--brand); }
.data-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.data-table thead th { text-align: left; font-family: var(--font-head); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-contrast); background: var(--brand); padding: 16px 20px; border-bottom: 1px solid rgba(11, 15, 20, 0.1); }
.data-table tbody td { padding: 13px 20px; font-size: var(--fs-body-sm); color: var(--text); border-bottom: 1px solid rgba(11, 15, 20, 0.06); }
.data-table tbody tr:hover td { background: var(--surface); }
.data-table tbody td:nth-child(2), .data-table tbody td:nth-child(3) { color: var(--text-soft); }
.data-table tr.group th { text-align: left; padding: 14px 20px; font-family: var(--font-head); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-invert); background: var(--ink); }
.table-note { margin-top: 16px; font-size: var(--fs-meta); color: var(--text-soft); }
.table-cta { margin-top: 26px; }

/* -------------------------------------------------------------- guarantee */
/* A garantia e uma frase da empresa: fica como texto, sem caixa e sem selo. */
.guarantee { max-width: 62ch; padding-top: 26px; border-top: 1px solid rgba(11, 15, 20, 0.14); }
.guarantee blockquote { margin: 0; }
.guarantee p { font-family: var(--font-head); font-size: var(--fs-emphasis); font-weight: 500; line-height: 1.45; color: var(--text); text-wrap: pretty; }
.guarantee footer { margin-top: 18px; }
.guarantee footer strong { display: block; font-family: var(--font-head); font-size: var(--fs-ui); color: var(--brand-deep); }
.guarantee footer span { font-size: var(--fs-meta); color: var(--text-soft); }

/* ------------------------------------------------------ whatsapp floating */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  right: max(22px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #06301a; box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease);
}
.whats-float:hover { transform: scale(1.08); }

/* ------------------------------------------------- foco e superficies */
/* foco visivel com contraste >= 3:1 nos dois fundos do sistema */
:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }
.hero :focus-visible,
.contact-section :focus-visible { outline-color: var(--ink); }
/* campos ja tem borda + anel proprios no :focus */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; }
/* elemento fixo pode cair sobre claro ou escuro: anel de dois tons */
.whats-float:focus-visible { outline: 2px solid var(--ink); box-shadow: 0 0 0 4px var(--surface-2); }

::selection { background: var(--ink); color: var(--surface-2); }
.field input, .field select, .field textarea { caret-color: var(--brand-deep); }
.sheet-table tbody td:last-child, .catalog-spec dd, .data-table tbody td { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .sheet-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .catalog-row { grid-template-columns: 150px minmax(0, 1fr); }
  .catalog-spec { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 74px 0 auto; flex-direction: column; align-items: stretch; gap: 4px;
    max-height: calc(100vh - 74px); max-height: calc(100dvh - 74px); overflow-y: auto; overscroll-behavior: contain;
    padding: 18px 24px 26px;
    padding: 18px max(24px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    background: var(--surface-2); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { display: flex; align-items: center; min-height: 48px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; border-bottom: 0; padding-top: 14px; padding-bottom: 14px; }
  .nav-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  .steps, .claims, .catalog-spec, .field-row { grid-template-columns: 1fr; }
  .sheet-facts { grid-template-columns: 1fr; row-gap: 16px; }
  .catalog-row { grid-template-columns: 1fr; gap: 14px; }
  .catalog-media { max-width: 230px; }
  .footer-inner { flex-direction: column; }

  /* piso de 16px: abaixo disso o iOS da zoom automatico ao focar o campo */
  .field input, .field select, .field textarea { font-size: var(--fs-body); }

  /* coluna do produto fixa enquanto a tabela rola na horizontal */
  .data-table thead th:first-child,
  .data-table tbody td:first-child { position: sticky; left: 0; box-shadow: 1px 0 0 rgba(11, 15, 20, 0.06); }
  .data-table thead th:first-child { z-index: 3; background: var(--brand); }
  .data-table tbody td:first-child { z-index: 1; background: var(--surface-2); }
  .data-table tbody tr:hover td:first-child { background: var(--surface); }
}

/* -------------------------------------------------- alvos de toque / pointer */
/* Touch nao tem hover: o estado pressionado assume o feedback */
@media (hover: none) {
  .btn:hover { transform: none; }
  .contact-list a:hover { color: var(--ink); }
  .footer-links a:hover { color: inherit; }
  .nav a:not(.btn):hover { color: var(--text-soft); }
  .data-table tbody tr:hover td { background: transparent; }
  .data-table tbody tr:hover td:first-child { background: var(--surface-2); }
  .sheet-note a:hover { color: var(--text); }
  .whats-float:hover { transform: none; }

  .btn:active { transform: scale(0.97); }
  .btn-primary:active { --btn-bg: var(--brand-strong); }
  .btn-ghost:active { border-color: var(--ink); color: var(--ink); }
  .whats-float:active { transform: scale(0.94); }
}
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .btn-sm { min-height: 44px; padding: 12px 18px; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin: 0; }
  .contact-list li { min-height: 44px; }
  .contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .field input, .field select, .field textarea { min-height: 46px; }
}

/* ----------------------------------------------------- celular deitado */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 68px); }
  .hero-sheet-media { min-height: 180px; }
  .section { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 7vw, 90px); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
