/* Layout: cabeçalho fixo com botão de orçamento, hero em duas colunas (texto + foto), faixa de clientes, grade de produtos, faixa de diferenciais, passos do pedido e formulário que monta a mensagem de WhatsApp. */
:root {
  --bg: #F2F5F4;
  --surface: #FFFFFF;
  --surface-2: #E6ECEA;
  --fg: #12222B;
  --muted: #4C5F69;
  --line: #CBD6D3;
  --brand: #12475A;
  --band: #12475A;
  --band-fg: #F2F7F6;
  --band-muted: #B9D3DB;
  --accent: #F0A81C;
  --accent-fg: #1B1400;
  --ph-a: #DCE5E3;
  --ph-b: #D0DBD8;
  --map: #12475A;
  --map-fg: #FFFFFF;
  --erro: #B93A0B;
  --wa: #25D366;
  --wa-fg: #072E19;
  --ilu-tecido: #FFFFFF;
  --ilu-tecido-lado: #DCE4E2;
  --ilu-tnt: #EEF2F1;
  --ilu-tnt-lado: #C9D4D1;
  --ilu-trama: #B7C4C0;
  --ilu-miolo: #F6EBC6;
  --ilu-miolo-lado: #E3D19A;
  --ilu-poro: #D9C27F;
  --ilu-traco: #8A9C99;
  --font-display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Public Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C171D;
    --surface: #13232B;
    --surface-2: #1A2F39;
    --fg: #E8EFEE;
    --muted: #9DB0B8;
    --line: #26404B;
    --brand: #7CC3DA;
    --band: #10323F;
    --band-fg: #EAF3F2;
    --band-muted: #9FC0CB;
    --ph-a: #16303A;
    --ph-b: #1B3843;
    --map: #2A7690;
    --map-fg: #FFFFFF;
    --erro: #FB923C;
    --ilu-tecido: #E9EEEC;
    --ilu-tecido-lado: #B8C5C1;
    --ilu-tnt: #CBD5D2;
    --ilu-tnt-lado: #9FAEAA;
    --ilu-trama: #8B9A96;
    --ilu-miolo: #E2D3A2;
    --ilu-miolo-lado: #BFA96A;
    --ilu-poro: #A9925A;
    --ilu-traco: #6F8481;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C171D;
  --surface: #13232B;
  --surface-2: #1A2F39;
  --fg: #E8EFEE;
  --muted: #9DB0B8;
  --line: #26404B;
  --brand: #7CC3DA;
  --band: #10323F;
  --band-fg: #EAF3F2;
  --band-muted: #9FC0CB;
  --ph-a: #16303A;
  --ph-b: #1B3843;
  --map: #2A7690;
  --map-fg: #FFFFFF;
  --erro: #FB923C;
  --ilu-tecido: #E9EEEC;
  --ilu-tecido-lado: #B8C5C1;
  --ilu-tnt: #CBD5D2;
  --ilu-tnt-lado: #9FAEAA;
  --ilu-trama: #8B9A96;
  --ilu-miolo: #E2D3A2;
  --ilu-miolo-lado: #BFA96A;
  --ilu-poro: #A9925A;
  --ilu-traco: #6F8481;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 8px; border: 2px solid transparent;
  font: 600 16px/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { filter: brightness(1.06); }
/* Botões do WhatsApp: verde da marca para deixar claro que abrem uma conversa lá */
.ico-wa { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: var(--wa-fg); font-weight: 700; }
.btn-wa:hover { filter: brightness(1.06); }
.wa-flutuante {
  position: fixed; z-index: 20;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / .28);
  transition: transform .15s;
}
.wa-flutuante .ico-wa { width: 32px; height: 32px; }
.wa-flutuante:hover { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .wa-flutuante { transition: none; } }
.btn-ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }

/* Cabeçalho */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 8px; border: 2px dashed var(--brand);
  display: grid; place-items: center; font: 700 11px/1 var(--font-mono); color: var(--brand);
}
.brand-name { font: 800 22px/1 var(--font-display); letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a.link { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav a.link:hover { color: var(--fg); }
@media (max-width: 760px) { .nav a.link { display: none; } }

/* Hero */
.hero { padding-block: 56px 64px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; margin-block: 14px 18px; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--muted); }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Espaço reservado para fotos */
.ph {
  position: relative; width: 100%; max-width: 100%;
  border: 2px dashed var(--line); border-radius: 12px;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 14px, var(--ph-b) 14px 28px);
  display: grid; place-items: center; text-align: center; padding: 16px;
}
.ph span { font: 500 12.5px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); padding: 6px 10px; border-radius: 6px; }
.ph-hero { aspect-ratio: 4 / 3; }
/* Com a foto carregada: sem moldura, bordas esmaecendo no fundo da página */
.ph-hero:has(img) { border: 0; background: none; border-radius: 0; }
.ph-hero img {
  --fade: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in;
  mask-image: var(--fade); mask-composite: intersect;
}
.ph-card { aspect-ratio: 4 / 3; border-radius: 10px 10px 0 0; border-width: 0 0 2px 0; }

/* Clientes */
.clients { border-block: 1px solid var(--line); background: var(--surface); padding-block: 28px; }
.clients h2 { font: 600 15px/1.3 var(--font-body); color: var(--muted); letter-spacing: .02em; margin-bottom: 18px; }
/* Faixa de logos: largura total, corre em loop (a lista é duplicada pelo JS), pausa com o mouse */
.logos-faixa {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.logos {
  --gap: 56px;
  flex: none; display: flex; align-items: center; gap: var(--gap); padding: 4px var(--gap) 4px 0; margin: 0; list-style: none;
  animation: logos-loop 40s linear infinite;
}
.logos-faixa:hover .logos { animation-play-state: paused; }
@keyframes logos-loop { to { transform: translateX(-100%); } }
.logos li {
  flex: none; display: grid; place-items: center; height: 92px; padding: 14px 18px;
  background: #fff; border-radius: 10px; /* fundo branco garante leitura dos logos no modo escuro */
  font: 500 12px/1.3 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: #4C5F69;
}
.logos li img { display: block; height: 64px; width: auto; max-width: 220px; object-fit: contain; }
.logos li:has(img) span { display: none; }
@media (max-width: 600px) {
  .logos { --gap: 32px; animation-duration: 30s; }
  .logos li { height: 72px; padding: 10px 14px; }
  .logos li img { height: 48px; max-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-faixa { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .logos { animation: none; flex: 1; flex-wrap: wrap; justify-content: center; gap: 16px 32px; padding: 0 20px; }
  .logos[aria-hidden] { display: none; }
}

/* Seções */
.section { padding-block: 72px; }
.section-head { max-width: 44rem; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.015em; margin-block: 10px 12px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; min-width: 0; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.3rem; font-weight: 700; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--brand); text-decoration: none; }
/* "Ver detalhes": texto completo já está na página (o Google lê), só fica recolhido */
.detalhes summary { cursor: pointer; width: fit-content; font-weight: 600; font-size: .95rem; color: var(--fg); list-style: none; display: flex; align-items: center; gap: 6px; }
.detalhes summary::-webkit-details-marker { display: none; }
.detalhes summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.detalhes[open] summary::after { transform: translateY(1px) rotate(225deg); }
.detalhes ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .95rem; display: grid; gap: 6px; }
.detalhes strong { color: var(--fg); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .detalhes summary::after { transition: none; } }
.card .more:hover { text-decoration: underline; }

/* Diferenciais */
.band { background: var(--band); color: var(--band-fg); }
.band .eyebrow { color: var(--accent); }
.band .section-head p { color: var(--band-muted); }
.diffs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 960px) { .diffs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .diffs { grid-template-columns: minmax(0, 1fr); } }
.diffs li { border-top: 3px solid var(--accent); padding-top: 16px; }
.diffs h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.diffs p { color: var(--band-muted); font-size: .98rem; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: passo; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 20px; }
.steps li::before { content: "Passo " counter(passo); display: block; font: 500 12.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.steps h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .96rem; }

/* Orçamento */
.quote { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .quote { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.quote h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; margin-block: 10px 14px; }
.quote .lead { color: var(--muted); font-size: 1.08rem; }
.need { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.need li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.need li b { font-weight: 600; min-width: 9.5em; }
.need li span { color: var(--muted); }
.contact { margin-top: 28px; display: grid; gap: 4px; font-size: 1rem; }
.contact strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.01em; }
.contact small { color: var(--muted); font-size: .92rem; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 520px) { .row { grid-template-columns: minmax(0, 1fr); } }
label { font-weight: 600; font-size: .95rem; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  font: 400 16px/1.4 var(--font-body); color: var(--fg);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 8px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.form-note { font-size: .9rem; color: var(--muted); }
.obrig { font-weight: 400; color: var(--muted); font-size: .85em; }
input[aria-invalid="true"] { border-color: var(--erro); }
.form-status:empty { display: none; }
.form-status { font-size: .95rem; font-weight: 600; color: var(--brand); }
.form-status.erro { color: var(--erro); }
/* Campo escondido contra robôs de spam (pessoas não veem nem preenchem) */
.campo-robo { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Rodapé */
/* Rodapé: marca, contato e atalhos em colunas; linha final com © e crédito do mapa */
footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .92rem; line-height: 1.5; }
.rodape { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; padding-block: 28px 22px; }
.rodape-marca strong { display: block; font: 800 1.15rem/1.2 var(--font-display); color: var(--fg); margin-bottom: 4px; }
.rodape-marca p { max-width: 26em; }
.rodape h2 { font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.rodape ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
footer a { text-decoration: none; font-weight: 500; color: var(--fg); }
footer a:hover { text-decoration: underline; }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; border-top: 1px solid var(--line); padding-block: 12px; font-size: .78rem; }
.rodape-base a { font-weight: 400; color: inherit; text-decoration: underline; }
@media (max-width: 760px) {
  .rodape { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-block: 24px 18px; }
  .rodape-marca { grid-column: 1 / -1; }
  /* espaço para o botão flutuante do WhatsApp não cobrir o fim do rodapé */
  .rodape-base { padding-bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Imagens: se o arquivo existir na pasta img, ele cobre o espaço reservado */
img { max-width: 100%; }
.ph { overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-logo { display: none; height: 40px; width: auto; }
.nav .btn-sm .curto { display: none; }
@media (max-width: 420px) { .brand-logo { height: 32px; } .nav .btn-sm .longo { display: none; } .nav .btn-sm .curto { display: inline; } }
.brand.has-logo .brand-logo { display: block; }
.brand.has-logo .brand-mark, .brand.has-logo .brand-name { display: none; }

/* Onde atuamos */
.atuacao { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .atuacao { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.atuacao h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.015em; margin-block: 10px 14px; }
.atuacao .lead { color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.estados-lista { margin: 20px 0 28px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.estados-lista li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; font-weight: 500; }
.estados-lista li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--map); }
.mapa { margin: 0; justify-self: center; width: 100%; max-width: 380px; }
.mapa-sul { display: block; width: 100%; height: auto; }
.mapa-sul .estados path { fill: var(--map); stroke: var(--bg); stroke-width: .9; stroke-linejoin: round; }
.mapa-sul .rotulos text { fill: var(--map-fg); font: 800 11px var(--font-display); letter-spacing: .04em; }
.mapa-sul .sede circle { fill: var(--accent); stroke: var(--bg); stroke-width: 1.6; }
.mapa-sul .sede text { fill: var(--map-fg); font: 700 6.4px var(--font-body); }

/* Galeria de fotos dos produtos: arrasta com o dedo, setas, pontos e passagem automática lenta */
.galeria { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 11px 11px 0 0; background: var(--ph-a); border-bottom: 1px solid var(--line); }
.galeria-trilho { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.galeria-trilho::-webkit-scrollbar { display: none; }
.galeria-trilho:focus-visible { outline-offset: -3px; }
.galeria-trilho img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.galeria-seta {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgb(255 255 255 / .88); color: #12222B; box-shadow: 0 1px 4px rgb(0 0 0 / .25);
  font: 700 20px/1 var(--font-body); opacity: 0; transition: opacity .2s;
}
.galeria-seta.ant { left: 10px; }
.galeria-seta.prox { right: 10px; }
.galeria:hover .galeria-seta, .galeria:focus-within .galeria-seta { opacity: 1; }
@media (hover: none) { .galeria-seta { display: none; } }
.galeria-pontos { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; display: flex; gap: 6px; padding: 5px 8px; border-radius: 99px; background: rgb(18 34 43 / .45); pointer-events: none; }
.galeria-pontos span { width: 7px; height: 7px; border-radius: 50%; background: rgb(255 255 255 / .55); transition: width .2s, background .2s; }
.galeria-pontos span.ativo { width: 18px; border-radius: 4px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .galeria-trilho { scroll-behavior: auto; } }

/* ---------- Cards da página inicial: links para as páginas de produto ---------- */
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.card .saiba { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.card .saiba + .more { margin-top: 0; padding-top: 4px; }

/* ---------- Páginas de produto ---------- */
.prod-hero { padding-block: 22px 56px; }
.trilha { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.trilha a { color: inherit; }
.trilha [aria-current] { color: var(--fg); font-weight: 600; }
.prod-hero-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
@media (max-width: 860px) { .prod-hero-grade { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.prod-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; margin-block: 12px 16px; }
.prod-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 36em; }
.prod-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.galeria-grande { border-radius: 14px; border: 1px solid var(--line); }
.faixa-clara { background: var(--surface); border-block: 1px solid var(--line); }
.section-head h2 + p { margin-top: 0; }

/* comparação de materiais */
.tipos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 700px) { .tipos { grid-template-columns: minmax(0, 1fr); } }
.tipo { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.tipo > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tipo .galeria { border-radius: 0; border-bottom: 1px solid var(--line); }
.tipo-corpo { padding: 18px 22px 22px; display: grid; gap: 8px; }
.tipo h3 { font-size: 1.35rem; font-weight: 700; }
.tipo p { color: var(--muted); }
.checks { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-1px); }

/* modelos e cases */
.modelos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .modelos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .modelos { grid-template-columns: minmax(0, 1fr); } }
.modelo { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faixa-clara .modelo { background: var(--bg); }
.modelo > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.modelo .galeria { border-radius: 0; }
.modelo figcaption { padding: 16px 20px 20px; display: grid; gap: 6px; }
.modelo h3 { font-size: 1.2rem; font-weight: 700; }
.modelo p { color: var(--muted); font-size: .97rem; }

/* texto corrido */
.prosa { max-width: 46rem; display: grid; gap: 12px; }
.prosa h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.015em; }
.prosa p { color: var(--muted); font-size: 1.05rem; }
.prosa .checks { font-size: 1.02rem; }
.veja a { color: var(--brand); font-weight: 600; }

/* cartela de cores */
.cartela { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .cartela { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cartela li { display: grid; gap: 8px; font-size: .92rem; font-weight: 500; }
.cor { display: block; aspect-ratio: 3 / 2; border-radius: 10px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.nota { margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* camadas do travesseiro */
.camadas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.camadas-fig { max-width: 520px; }
@media (max-width: 860px) { .camadas { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.camadas-fig { margin: 0; }
.camadas-svg { display: block; width: 100%; height: auto; }
.camadas-svg path { stroke: var(--ilu-traco); stroke-width: 1.2; stroke-linejoin: round; }
.camadas-svg .c-helanca .topo { fill: var(--ilu-tecido); }
.camadas-svg .c-helanca .lado-e, .camadas-svg .c-helanca .lado-d { fill: var(--ilu-tecido-lado); }
.camadas-svg .c-tnt .topo { fill: var(--ilu-tnt); }
.camadas-svg .c-tnt .lado-e, .camadas-svg .c-tnt .lado-d { fill: var(--ilu-tnt-lado); }
.camadas-svg .c-miolo .topo { fill: var(--ilu-miolo); }
.camadas-svg .c-miolo .lado-e, .camadas-svg .c-miolo .lado-d { fill: var(--ilu-miolo-lado); }
.camadas-svg .trama { fill: var(--ilu-trama); }
.camadas-svg .c-miolo-fibra .topo { fill: var(--ilu-tecido); }
.camadas-svg .c-miolo-fibra .lado-d { fill: var(--ilu-tecido-lado); }
.camadas-svg .fio { fill: none; stroke: var(--ilu-trama); stroke-width: 1; stroke-dasharray: none; }
.camadas-svg .poro { fill: var(--ilu-poro); }
.camadas-svg .guia { fill: none; stroke: var(--ilu-traco); stroke-dasharray: 4 4; }
.camadas-svg .ponto { fill: var(--accent); stroke: none; }
.camadas-svg .textura { stroke: none; }
.camadas-svg .selo { fill: var(--brand); }
.camadas-svg .num { fill: var(--bg); font: 700 17px var(--font-display); }
.camadas-lista { margin: 0; padding: 0; list-style: none; counter-reset: camada; display: grid; gap: 14px; }
.camadas-lista li { counter-increment: camada; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 12px; }
.camadas-lista li::before { content: counter(camada); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--bg); font: 700 15px var(--font-display); }
.camadas-lista b { font-size: 1.05rem; }
.camadas-lista span { color: var(--muted); font-size: .97rem; }

/* perguntas frequentes */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.pergunta { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pergunta summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary::after { content: "+"; font: 600 1.3rem/1 var(--font-body); color: var(--brand); }
.pergunta[open] summary::after { content: "−"; }
.pergunta p { padding: 0 20px 18px; color: var(--muted); }

/* outros produtos */
.outros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .outros { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.outro { display: grid; gap: 4px; align-content: start; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; padding-bottom: 16px; }
.outro img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; }
.outro-nome { font: 700 1.08rem/1.25 var(--font-display); padding-inline: 16px; }
.outro-txt { font-size: .9rem; color: var(--muted); padding-inline: 16px; }
.outro:hover .outro-nome { color: var(--brand); text-decoration: underline; }

/* ---------- Zoom nas fotos ---------- */
.zoomavel { cursor: zoom-in; }
.galeria::after { content: ""; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; pointer-events: none;
  background: rgb(18 34 43 / .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(8 14 18 / .94); color: #fff; overflow: hidden; }
.zoom::backdrop { background: rgb(8 14 18 / .6); }
.zoom-palco { position: absolute; inset: 56px 16px 64px; display: grid; place-items: center; overflow: hidden; }
.zoom-palco img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .2s; touch-action: manipulation; }
.zoom-palco img.ampliada { transform: scale(2.5); cursor: zoom-out; touch-action: none; }
.zoom-legenda { position: absolute; left: 16px; right: 16px; bottom: 30px; text-align: center; font-size: .92rem; color: #E8EFEE; }
.zoom-dica { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: .78rem; color: #9DB0B8; }
.zoom button { position: absolute; border: 0; cursor: pointer; display: grid; place-items: center; color: #12222B; background: rgb(255 255 255 / .9); border-radius: 50%; font: 700 26px/1 var(--font-body); }
.zoom-fechar { top: 10px; right: 12px; width: 42px; height: 42px; }
.zoom-seta { top: 50%; translate: 0 -50%; width: 44px; height: 44px; }
.zoom-seta.ant { left: 12px; }
.zoom-seta.prox { right: 12px; }
.zoom.unica .zoom-seta { display: none; }
@media (prefers-reduced-motion: reduce) { .zoom-palco img { transition: none; } }
