/* ===========================================================================
   telhadopremium.com.br — folha de estilo única
   Direção v3: ritmo de faixas. Claro e escuro se revezam marcando capítulos;
   números grandes ancoram a leitura; imagem substitui parágrafo.
   Paleta da obra: marfim, bege, preto de estrutura, madeira.
   Mobile-first (360 px). Sem framework, sem CDN. Única requisição externa:
   as duas famílias do Google Fonts.
   =========================================================================== */

:root {
  --bg:        #FBF9F6;
  --surface:   #F2EDE4;
  --surface-2: #EAE2D4;
  --line:      #E1D9CC;
  --ink:       #16150F;
  --ink-2:     #262418;
  --muted:     #57534A;
  --wood:      #8A5A33;
  --wood-lt:   #C9A87C;
  --on-ink:    #E8E3D8;
  --on-ink-2:  #A9A395;
  --ok:        #2F5D3A;
  --wrap:      1180px;
  --measure:   60ch;
  --s1: 4px;  --s2: 8px;  --s3: 16px; --s4: 24px;
  --s5: 40px; --s6: 64px; --s7: 96px; --s8: 128px;
  --radius: 4px;
  --radius-lg: 10px;
  --head-h: 72px;
  --display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* ---------- tipografia --------------------------------------------------- */

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.15rem, 8.2vw, 3.75rem); font-weight: 800; line-height: 1.06; margin: 0 0 var(--s4); max-width: 17ch; }
h2 { font-size: clamp(1.6rem, 5.6vw, 2.5rem); line-height: 1.14; margin: 0 0 var(--s3); max-width: 20ch; }
h3 { font-size: 1.3125rem; font-weight: 700; line-height: 1.3; margin: 0 0 var(--s2); }

p  { margin: 0 0 var(--s3); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--wood); }

.eyebrow {
  display: block;
  font-family: var(--display);
  font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 var(--s3);
}
section.inked .eyebrow, .inked .eyebrow { color: var(--wood-lt); }

.lede  { font-size: clamp(1.25rem, 2.6vw, 1.5rem); line-height: 1.5; color: var(--muted); max-width: 46ch; }
section.inked .lede { color: var(--on-ink); }
.small { font-size: 0.9875rem; line-height: 1.55; color: var(--muted); }
.src   { font-size: 0.875rem; line-height: 1.5; color: var(--muted); max-width: var(--measure); }

/* ---------- esqueleto ---------------------------------------------------- */

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

section { padding: var(--s6) 0; }
section.tinted { background: var(--surface); }
section.inked  { background: var(--ink); color: var(--on-ink); }
section.inked h2, section.inked h3, section.inked h4, section.inked a { color: #FFF; }
section.inked p { color: var(--on-ink); }
section.inked .small, section.inked .src { color: var(--on-ink-2); }
/* a faixa de cor já marca o capítulo — a linha vira redundância */
section + section.tinted, section.tinted + section, section + section.inked, section.inked + section { border-top: 0; }
section + section { border-top: 1px solid var(--line); }
section.tinted + section.inked, section.inked + section.tinted { border-top: 0; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bg);
  padding: var(--s2) var(--s3); z-index: 60;
}
.skip:focus { left: var(--s3); top: var(--s3); }

/* ---------- navegação fixa ---------------------------------------------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 246, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  min-height: var(--head-h);
  display: flex; align-items: center; gap: var(--s3);
  flex-wrap: nowrap;
  max-width: 1320px;            /* mais largo que o corpo: o menu precisa de espaço */
}

.brand {
  flex: 0 0 auto;
  display: inline-flex; align-items: center;
  text-decoration: none; margin-right: auto;
  line-height: 0;
}
.brand img { display: block; height: 40px; width: auto; }
@media (max-width: 599px) { .brand img { height: 32px; } }

.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 44px; padding: var(--s2) var(--s3);
  font: inherit; font-family: var(--display); font-size: 0.875rem; font-weight: 600;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer;
}
.nav-toggle svg { display: block; }

.site-nav { display: none; }
.site-nav[data-open="true"] {
  display: block;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(22, 21, 15, 0.10);
}
.site-nav ul { list-style: none; margin: 0; padding: var(--s2) 20px var(--s4); }
.site-nav li + li { border-top: 1px solid var(--line); }
.site-nav a:not(.btn) {
  display: block; padding: 14px 0;
  font-family: var(--display); font-weight: 600;
  font-size: 1.125rem; text-decoration: none; color: var(--ink);
}
.site-nav a:not(.btn)[aria-current="page"] { color: var(--wood); }
.site-nav .nav-cta { margin-top: var(--s3); border-top: 0; }
.site-nav .nav-cta .btn { width: 100%; }

/* ---------- botões ------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 58px; padding: 16px var(--s5);
  font: inherit; font-family: var(--display); font-weight: 600; font-size: 1.125rem;
  letter-spacing: -0.01em;
  text-align: center; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--bg);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}
.btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn--wood { background: var(--wood); border-color: var(--wood); color: #FFF; }
.btn--wood:hover { background: #6F4726; border-color: #6F4726; }
.btn--ghost { background: transparent; color: var(--ink); border-color: #B9AF9E; }
.btn--ghost:hover { background: var(--surface); }
.hero--cover .btn--ghost {
  color: #FFF; border-color: rgba(255,255,255,0.72);
  background: rgba(22, 21, 15, 0.42); backdrop-filter: blur(4px);
}
.hero--cover .btn--ghost:hover { background: rgba(22, 21, 15, 0.70); border-color: #FFF; }
section.inked .btn--ghost, .inked .btn--ghost { color: #FFF; border-color: #6E6959; background: transparent; }
section.inked .btn--ghost:hover { background: var(--ink-2); }
.btn--sm { min-height: 48px; font-size: 1rem; padding: 11px 22px; white-space: nowrap; }
.site-nav .nav-cta .btn { color: #FFF; flex: 0 0 auto; }  /* contraste + nunca encolher */
.btn--block { width: 100%; }

.btns { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s4); }
.btns .btn { width: 100%; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--wood); outline-offset: 3px; border-radius: var(--radius);
}

/* ---------- hero --------------------------------------------------------- */

.hero { padding: var(--s5) 0 var(--s6); }
.hero .lede { margin-bottom: var(--s4); max-width: 44ch; }
.hero-media { margin: var(--s5) 0 0; }
.hero-media img { border-radius: var(--radius-lg); }
.hero-pills {
  list-style: none; margin: var(--s4) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--s2);
}
.hero-pills li {
  font-family: var(--display);
  font-size: 1rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink);              /* explícito: não herdar o #FFF do hero de capa */
  border-radius: 999px; padding: 9px 18px;
}
section.inked .hero-pills li { background: var(--ink-2); border-color: #3B3826; color: var(--on-ink); }
.hero--cover .hero-pills li {
  background: rgba(22, 21, 15, 0.55); border-color: rgba(255,255,255,0.34);
  color: #FFF; backdrop-filter: blur(4px);
}

/* hero de capa: foto de fundo com a headline por cima */
.hero--cover {
  position: relative; padding: 0; background: var(--ink); color: #FFF; overflow: hidden;
}
.hero--cover .cover-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5;
}
.hero--cover .wrap { position: relative; padding-top: var(--s7); padding-bottom: var(--s7); }
.hero--cover h1 { color: #FFF; }
.hero--cover .lede { color: #EDE8DC; }
.hero--cover .eyebrow { color: var(--wood-lt); }
.hero--cover .cover-cred {
  position: relative; margin-top: var(--s5);
  font-size: 0.75rem; color: #B7B1A2; max-width: 46ch;
}

/* ---------- grades genéricas -------------------------------------------- */

.grid { display: grid; gap: var(--s3); margin-top: var(--s5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.card {
  background: #FFF; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s4); display: flex; flex-direction: column;
}
.card p { font-size: 1.0625rem; }
.card .btns { margin-top: auto; padding-top: var(--s4); }
section.tinted .card { background: var(--bg); }
section.inked .card { background: var(--ink-2); border-color: #35321F; color: var(--on-ink); }

.card--media { padding: 0; overflow: hidden; }
.card--media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card--media .card-body { padding: var(--s4); display: flex; flex-direction: column; flex: 1; }

.benefit .ico { color: var(--wood); margin-bottom: var(--s3); display: block; }
.benefit h3 { font-size: 1.375rem; }

/* ---------- números grandes (âncora visual) ------------------------------ */

.facts {
  list-style: none; padding: 0; margin: var(--s5) 0 0;
  display: grid; gap: var(--s3);
}
.facts li {
  background: var(--ink-2); border: 1px solid #34311F; border-radius: var(--radius-lg);
  padding: var(--s4);
}
section:not(.inked) .facts li { background: #FFF; border-color: var(--line); }
section.tinted .facts li { background: var(--bg); }
.facts b {
  display: block; font-family: var(--display); font-weight: 800;
  font-size: clamp(2.6rem, 11vw, 3.75rem); line-height: 0.98;
  letter-spacing: -0.045em; color: var(--wood);
}
section.inked .facts b { color: var(--wood-lt); }
.facts b small { font-size: 0.42em; font-weight: 700; letter-spacing: -0.02em; }
.facts span {
  display: block; margin-top: var(--s2);
  font-size: 1.0625rem; line-height: 1.45; color: var(--muted);
}
section.inked .facts span { color: var(--on-ink); }
.facts em {
  display: block; margin-top: var(--s2); font-style: normal;
  font-size: 0.75rem; letter-spacing: 0.02em; color: var(--on-ink-2);
}
section:not(.inked) .facts em { color: #8A8478; }

/* versão compacta usada em linha, sem card */
.figures { display: grid; gap: var(--s4); margin-top: var(--s5); padding: 0; list-style: none; }
.figures li { border-top: 2px solid var(--wood); padding-top: var(--s3); }
.figures b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.75rem; line-height: 1.05; letter-spacing: -0.04em; }
.figures span { display: block; font-size: 1.0625rem; color: var(--muted); margin-top: var(--s1); }
section.inked .figures li { border-top-color: var(--wood-lt); }
section.inked .figures b { color: #FFF; }
section.inked .figures span { color: var(--on-ink-2); }

/* ---------- bloco split: imagem + texto ---------------------------------- */

.split { display: grid; gap: var(--s4); margin-top: var(--s5); align-items: center; }
.split figure { margin: 0; }
.split figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.split .split-txt h2 { max-width: 16ch; }
.split .split-txt p { max-width: 46ch; }

/* ---------- passos numerados --------------------------------------------- */

.steps { counter-reset: passo; list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s3); }
.steps li {
  counter-increment: passo;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #FFF; padding: var(--s5) var(--s4) var(--s4); position: relative;
}
section.tinted .steps li { background: var(--bg); }
section.inked .steps li { background: var(--ink-2); border-color: #34311F; }
.steps li::before {
  content: counter(passo);
  display: block; margin-bottom: var(--s2);
  font-family: var(--display); font-weight: 800; font-size: 2.25rem; line-height: 1;
  letter-spacing: -0.04em; color: var(--wood);
}
section.inked .steps li::before { color: var(--wood-lt); }
.steps b { display: block; font-family: var(--display); font-size: 1.1875rem; margin-bottom: var(--s1); }

/* ---------- catálogo ----------------------------------------------------- */

.produto {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #FFF; padding: var(--s4); margin-top: var(--s5);
  scroll-margin-top: calc(var(--head-h) + 16px);
}
.produto:first-child { margin-top: 0; }
.produto > header { margin-bottom: var(--s3); }
.produto h2 { margin-bottom: var(--s2); max-width: none; }
.produto .tag {
  display: inline-block; font-family: var(--display);
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--surface-2); color: var(--wood);
  border-radius: 999px; padding: 5px 13px; margin-bottom: var(--s3);
}
.produto .media { margin: 0 0 var(--s4); }
.produto .media img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.produto .media figcaption { margin-top: var(--s2); font-size: 0.9375rem; color: var(--muted); }

.perfil { display: block; width: 100%; height: auto; background: var(--surface); border-radius: var(--radius); }

.speclist { list-style: none; margin: var(--s4) 0 0; padding: 0; }
.speclist li {
  display: flex; justify-content: space-between; gap: var(--s3);
  border-top: 1px solid var(--line); padding: 10px 0;
  font-size: 0.9375rem;
}
.speclist li span { color: var(--muted); }
.speclist li b { font-family: var(--display); font-weight: 600; text-align: right; }
.speclabel {
  font-family: var(--display); font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  margin: var(--s4) 0 0;
}

.checks { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.checks li { position: relative; padding-left: 28px; margin-bottom: var(--s2); font-size: 0.9875rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 11px; height: 11px; border-radius: 3px;
  background: var(--wood);
}
section.inked .checks li::before { background: var(--wood-lt); }

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s4); margin-top: var(--s4);
}
.note {
  border-left: 3px solid var(--wood); padding-left: var(--s3);
  color: var(--muted); font-size: 0.9375rem; margin-top: var(--s4);
}
.note p { max-width: 58ch; }
section.inked .note { border-left-color: var(--wood-lt); color: var(--on-ink-2); }

/* ---------- galeria de verdade + lightbox -------------------------------- */

.gallery { display: grid; gap: var(--s4); margin-top: var(--s5); }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; background: var(--surface); border-radius: var(--radius); }
figcaption { margin-top: var(--s2); font-size: 0.8125rem; line-height: 1.5; color: var(--muted); max-width: var(--measure); }
section.inked figcaption { color: var(--on-ink-2); }

.gal { display: grid; gap: var(--s3); margin-top: var(--s5); grid-template-columns: 1fr; }
.gal figure { margin: 0; }
.gal .shot {
  display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2);
  border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; position: relative;
}
.gal .shot img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 0; transition: transform 300ms ease;
}
.gal .shot:hover img { transform: scale(1.03); }
.gal .shot::after {
  content: "⤢"; position: absolute; right: 10px; bottom: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(22,21,15,0.72); color: #FFF; font-size: 0.8125rem;
  opacity: 0; transition: opacity 180ms ease;
}
.gal .shot:hover::after, .gal .shot:focus-visible::after { opacity: 1; }
.gal figcaption { margin-top: 10px; font-size: 0.875rem; }
.gal .wide { grid-column: 1 / -1; }
.gal .wide .shot img { aspect-ratio: 16 / 9; }
.gal .tall .shot img { aspect-ratio: 3 / 4; }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: none; place-items: center;
  background: rgba(12, 11, 7, 0.94);
  padding: var(--s4);
}
.lightbox[data-open="true"] { display: grid; }
.lightbox img {
  max-width: min(1100px, 94vw); max-height: 78vh;
  width: auto; height: auto; border-radius: var(--radius); background: transparent;
}
.lightbox figcaption { color: #D9D3C5; margin: var(--s3) auto 0; text-align: center; max-width: 60ch; font-size: 0.875rem; }
.lightbox figure { display: grid; justify-items: center; }
.lb-close {
  position: absolute; top: 14px; right: 14px;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid #57534A; background: rgba(22,21,15,0.7); color: #FFF;
  font-size: 1.25rem; line-height: 1; cursor: pointer;
}

/* ---------- tabela curta ------------------------------------------------- */

.tablewrap { overflow-x: auto; margin-top: var(--s4); }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: 0.9375rem; }
caption { text-align: left; font-size: 0.875rem; color: var(--muted); margin-bottom: var(--s2); }
th, td { text-align: left; padding: 11px var(--s3) 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--display); font-weight: 600; }

/* ---------- FAQ ---------------------------------------------------------- */

.faq { margin-top: var(--s4); max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: var(--s2) 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.0625rem;
  list-style: none;
  display: flex; justify-content: space-between; gap: var(--s3);
  padding: 13px 0; min-height: 44px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--wood); }
.faq details[open] summary::after { content: "–"; }
.faq details > *:not(summary) { margin-bottom: var(--s3); }

/* ---------- formulário --------------------------------------------------- */

.form { margin-top: var(--s4); max-width: 480px; }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 0.9375rem; margin-bottom: var(--s1); }
.field .hint { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.8125rem; color: var(--muted); margin-bottom: var(--s2); }
.field input, .field select {
  width: 100%; min-height: 54px; padding: var(--s2) var(--s3);
  font: inherit; color: var(--ink); background: #FFF;
  border: 1px solid #7A7264; border-radius: var(--radius);
}
.field select { appearance: none; padding-right: var(--s5); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #8C2F1D; border-width: 2px; }
.err { display: block; color: #8C2F1D; font-size: 0.875rem; margin-top: var(--s1); }
section.inked .field label { color: #FFF; }
section.inked .field .hint { color: var(--on-ink-2); }
section.inked .err { color: #F0B4A6; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: var(--s3); font-size: 0.9375rem; }
.form-status[data-state="erro"] { color: #8C2F1D; font-weight: 600; }
section.inked .form-status[data-state="erro"] { color: #F0B4A6; }
button[disabled] { opacity: 0.55; cursor: progress; }

/* ---------- rodapé ------------------------------------------------------- */

.site-foot {
  background: var(--ink); color: var(--on-ink-2);
  padding: var(--s6) 0 var(--s5);
  font-size: 0.9375rem;
}
.site-foot strong { font-family: var(--display); color: #FFF; }
.site-foot a { color: var(--on-ink); }
.site-foot p { color: var(--on-ink-2); }
.site-foot .small { color: var(--on-ink-2); }
.site-foot ul { list-style: none; margin: var(--s2) 0 var(--s4); padding: 0; }
.site-foot li { margin-bottom: var(--s2); }
.site-foot .rule { height: 1px; background: #34311F; margin: var(--s4) 0; border: 0; }
.foot-cols { display: grid; gap: var(--s4); }

/* ---------- utilitários -------------------------------------------------- */

.stack > * + * { margin-top: var(--s4); }
.anchor { scroll-margin-top: calc(var(--head-h) + 16px); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.center h2, .center p, .center .lede { margin-left: auto; margin-right: auto; }

/* ---------- 600 px ------------------------------------------------------- */

@media (min-width: 600px) {
  .wrap { padding: 0 32px; }
  .site-nav ul { padding-left: 32px; padding-right: 32px; }
  section { padding: var(--s7) 0; }
  .btns { flex-direction: row; flex-wrap: wrap; }
  .btns .btn { width: auto; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .produto { padding: var(--s5); }
  .produto .body { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }
}

/* ---------- 960 px ------------------------------------------------------- */

/* menu horizontal só quando os 5 itens a 18px realmente cabem */
@media (min-width: 1120px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; flex: 0 0 auto; }
  .site-nav ul { display: flex; align-items: center; gap: 22px; padding: 0; flex-wrap: nowrap; }
  .site-nav li { flex: 0 0 auto; }
  .site-nav li + li { border-top: 0; }
  .site-nav a:not(.btn) { padding: 0; font-size: 1.125rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
  .site-nav a:not(.btn):hover { color: var(--ink); }
  .site-nav a:not(.btn)[aria-current="page"] { color: var(--wood); }
  .site-nav .nav-cta .btn { width: auto; flex: 0 0 auto; }
  .site-nav .nav-cta { margin: 0; }
}

/* layout em colunas continua a partir de 960px */
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .figures { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .split--flip figure { order: 2; }
  .hero--cover .wrap { padding-top: var(--s8); padding-bottom: var(--s8); }
}

/* ---------- movimento e impressão --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

@media print {
  .site-head, .btns, .form, .nav-toggle, .lightbox { display: none; }
  section.inked, .site-foot { background: #FFF; color: #000; }
}

/* ---------- widget flutuante de WhatsApp --------------------------------
   Montado por js/whatsapp-widget.js. Fica acima de tudo, menos do lightbox.
   Paleta da casa: o verde do WhatsApp aparece só no glifo, para o botão não
   destoar do resto do site.
   ------------------------------------------------------------------------ */

.wa-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--s2);
}

/* enquanto o formulário está na tela o gatilho some — ver o
   IntersectionObserver em whatsapp-widget.js */
.wa-widget[data-recolhido] { opacity: 0; visibility: hidden; pointer-events: none; }
.wa-widget { transition: opacity 180ms ease, visibility 180ms ease; }

.wa-launcher {
  width: 56px; height: 56px;
  border: 0; border-radius: 50%;
  background: #1F7A44;
  color: #FFF;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(22, 21, 15, 0.28);
  transition: transform 160ms ease, background-color 160ms ease;
}
.wa-launcher:hover { background: #196336; transform: translateY(-2px); }
.wa-launcher:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; }
/* aberto, o gatilho CONTINUA verde. Trocar para o preto da marca o fazia
   sumir contra a foto escura do hero a 1440 px — testado, e o botão
   praticamente desaparecia. Quem fecha é o × do painel, o Esc ou o próprio
   gatilho; o aria-label muda para "Fechar", que é o que o leitor de tela lê. */
.wa-widget[data-aberto] .wa-launcher { box-shadow: 0 0 0 3px rgba(255,255,255,0.85), 0 6px 20px rgba(22, 21, 15, 0.28); }

.wa-panel {
  width: min(320px, calc(100vw - 32px));
  background: #FFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(22, 21, 15, 0.22);
  padding: var(--s3);
  animation: wa-sobe 180ms ease-out;
}
@keyframes wa-sobe { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wa-panel-head { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.wa-avatar {
  flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--wood); color: #FFF;
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.wa-ident { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.wa-ident strong { display: block; font-family: var(--display); font-size: 1rem; color: var(--ink); }
.wa-ident span { display: block; font-size: 0.75rem; color: var(--muted); }
.wa-close {
  flex: 0 0 auto;
  width: 32px; height: 32px; min-width: 32px;
  border: 0; border-radius: 50%; background: transparent;
  color: var(--muted); font-size: 1.375rem; line-height: 1; cursor: pointer;
}
.wa-close:hover { background: var(--surface); color: var(--ink); }
.wa-close:focus-visible { outline: 3px solid var(--wood); outline-offset: 2px; }

.wa-panel-body { margin-bottom: var(--s3); }
.wa-bolha {
  margin: 0; max-width: none;
  background: var(--surface);
  border-radius: 2px 10px 10px 10px;
  padding: var(--s2) 12px;
  font-size: 0.9375rem; line-height: 1.5; color: var(--ink-2);
}

.wa-cta {
  display: block; text-align: center; text-decoration: none;
  background: #1F7A44; color: #FFF;
  font-family: var(--display); font-weight: 600; font-size: 0.9375rem;
  border-radius: var(--radius);
  padding: 13px var(--s3); min-height: 48px;
}
.wa-cta:hover { background: #196336; color: #FFF; }
.wa-cta:focus-visible { outline: 3px solid var(--wood); outline-offset: 2px; }
.wa-nota { margin: var(--s2) 0 0; max-width: none; font-size: 0.75rem; line-height: 1.45; color: var(--muted); }

/* o rodapé ganha respiro para o botão não sentar em cima do último link */
@media (max-width: 599px) { .site-foot { padding-bottom: 96px; } }

@media (min-width: 600px) {
  .wa-widget { right: 24px; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-panel { animation: none; }
  .wa-launcher:hover { transform: none; }
}

@media print { .wa-widget { display: none; } }

/* ---------- procedência legível por máquina ------------------------------
   <cite> marca o autor do dado — a Kingspan —, não uma citação literal. Sem
   itálico: a frase é corrida e o grifo só chamaria atenção para o lugar
   errado. Ver a seção de GEO no seo.md.
   ------------------------------------------------------------------------ */
cite { font-style: normal; }
