/* ============================================================
   LP de campanha: Drywall Robracon (/campaigns-robracon-drywall/)
   Reaproveita os componentes reais do site (base, site, pages,
   unidade, calculadoras, lead). Só o que não existia vive aqui.
   Prefixo .dw-
   ============================================================ */

/* ---------- Hero: copy à esquerda, formulário do Vico à direita ---------- */
.dw-hero { position: relative; overflow: hidden; background: #fff; }
.dw-hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(13,13,13,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,13,13,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(130% 120% at 42% 45%, #000 55%, transparent 88%);
          mask-image: radial-gradient(130% 120% at 42% 45%, #000 55%, transparent 88%);
}
.dw-hero::before {
  content: ""; position: absolute; left: 26%; top: 44%;
  width: min(820px, 70vw); height: 520px; transform: translate(-50%, -44%);
  background: radial-gradient(closest-side, rgba(166,3,3,.13), rgba(166,3,3,.03) 60%, transparent 78%);
  filter: blur(52px); z-index: 0; pointer-events: none;
}
.dw-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.07fr .93fr;
  gap: clamp(30px, 4.5vw, 72px); align-items: center;
  padding-block: clamp(40px, 6vh, 82px);
}
.dw-hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 4.02vw, 2.95rem); line-height: 1.02;
  letter-spacing: -.025em; color: var(--ink); max-width: 16ch;
}
.dw-hero__title .accent { background: none; color: var(--red); padding: 0; border-radius: 0; }
.dw-hero__title { max-width: 22ch; }
.dw-hero__bar { width: clamp(64px, 6vw, 88px); height: 5px; border-radius: 999px; background: var(--red); margin: clamp(18px, 2.4vw, 28px) 0; }
.dw-hero__lede { max-width: 52ch; color: #4a4a4a; font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.6; }
.dw-hero__selos { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(20px, 2.6vw, 28px); }
.dw-selo {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5em 1em; border-radius: 999px;
  background: rgba(166,3,3,.06); border: 1px solid rgba(166,3,3,.16);
  color: #7a1111; font-size: .82rem; font-weight: 600;
}
.dw-selo::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.dw-hero__form { position: relative; z-index: 1; }
.dw-hero__formtag {
  display: block; margin-bottom: .8rem; text-align: center;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gray);
}

/* ---------- Faixa medidor de credibilidade ---------- */
.dw-medidor { padding-block: clamp(32px, 4.2vw, 56px); }
.dw-medidor__grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}
/* cartões soltos sobre o vermelho da marca, na mesma linguagem dos selos do hero */
.dw-medidor__cell {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px) clamp(14px, 1.7vw, 20px);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .22s var(--ease-weight), border-color .22s var(--ease-weight);
}
.dw-medidor__cell:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.38); }
.dw-medidor__num { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1; color: #fff; }
.dw-medidor__num .u { font-family: var(--font); font-size: .38em; font-weight: 700; color: #ff5a5a; margin-left: .22em; }
.dw-medidor__label { margin-top: .6rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.76); line-height: 1.4; }

/* ---------- Cards de dor ---------- */
.dw-dor { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: clamp(28px, 3.4vw, 44px); }
.dw-dor__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 2.4vw, 2rem);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.dw-dor__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8d8d8; }
.dw-dor__n { font-family: var(--display); font-size: 1.1rem; color: var(--red); }
.dw-dor__h { margin-top: .7rem; font-size: 1.14rem; color: var(--ink); }
.dw-dor__p { margin-top: .6rem; color: #5a5a5a; font-size: .96rem; line-height: 1.6; }

/* ---------- Grade da linha completa (15 itens) ---------- */
.dw-itens { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.2vw, 16px); margin-top: clamp(28px, 3.4vw, 42px); }
.dw-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1rem, 1.5vw, 1.3rem); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.dw-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8d8d8; }
.dw-item__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: var(--red); background: rgba(166,3,3,.08); }
.dw-item__ic svg { width: 24px; height: 24px; display: block; }
.dw-item__n { margin-top: .85rem; font-weight: 700; font-size: .98rem; color: var(--ink); line-height: 1.25; }
.dw-item__d { margin-top: .35rem; font-size: .82rem; line-height: 1.5; color: #6a6a6a; }

/* ---------- Tabela técnica ---------- */
.dw-tablewrap { margin-top: clamp(26px, 3.2vw, 40px); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.dw-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .94rem; }
.dw-table caption { text-align: left; padding: clamp(1rem, 1.6vw, 1.3rem) clamp(1.1rem, 1.8vw, 1.5rem) 0; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--gray); }
.dw-table th, .dw-table td { padding: .95rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.dw-table thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); border-bottom: 2px solid var(--line); white-space: nowrap; }
.dw-table tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.dw-table tbody tr:last-child th, .dw-table tbody tr:last-child td { border-bottom: 0; }
.dw-table tbody tr:hover { background: var(--paper); }
.dw-table td { color: #4a4a4a; }
/* variante sobre superfície escura */
.surface--dark .dw-tablewrap, .surface--char .dw-tablewrap { background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.14); box-shadow: none; }
.surface--dark .dw-table th, .surface--char .dw-table th,
.surface--dark .dw-table td, .surface--char .dw-table td { border-bottom-color: rgba(255,255,255,.12); }
.surface--dark .dw-table thead th, .surface--char .dw-table thead th { color: #ff5a5a; border-bottom-color: rgba(255,255,255,.2); }
.surface--dark .dw-table tbody th, .surface--char .dw-table tbody th { color: #fff; }
.surface--dark .dw-table td, .surface--char .dw-table td { color: rgba(255,255,255,.78); }
.surface--dark .dw-table tbody tr:hover, .surface--char .dw-table tbody tr:hover { background: rgba(255,255,255,.04); }
.dw-nota { margin-top: 1rem; font-size: .84rem; color: var(--gray); max-width: 78ch; line-height: 1.6; }
.surface--dark .dw-nota, .surface--char .dw-nota { color: rgba(255,255,255,.55); }

/* ---------- Esquema técnico em SVG ---------- */
.dw-esquema { margin-top: clamp(28px, 3.4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.2rem, 2.4vw, 2.2rem); }
.dw-esquema svg { width: 100%; height: auto; display: block; }
.dw-esquema figcaption { margin-top: 1rem; font-size: .86rem; color: var(--gray); line-height: 1.6; }
.dw-duo { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 3.4vw, 52px); align-items: center; }

/* ---------- Calculadora ---------- */
.dw-calc { scroll-margin-top: 96px; }
.dw-calc__grid { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; margin-top: clamp(26px, 3.2vw, 40px); }
.dw-calc__form { padding: clamp(1.6rem, 3vw, 2.6rem); display: grid; gap: 1.1rem; align-content: start; }
.dw-calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.dw-calc__seg { display: flex; gap: .5rem; flex-wrap: wrap; }
.dw-calc__seg button {
  flex: 1 1 auto; padding: .72em 1em; border-radius: 999px; font-size: .9rem; font-weight: 700;
  border: 1px solid var(--line); background: var(--paper); color: #5a5a5a;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.dw-calc__seg button.on { background: var(--red); border-color: var(--red); color: #fff; }
.dw-calc__out { background: var(--ink); color: #fff; padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.dw-calc__label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.dw-calc__big { font-family: var(--display); line-height: .9; letter-spacing: -.02em; font-size: clamp(2.4rem, 5.6vw, 3.8rem); margin-top: .35rem; }
.dw-calc__big .u { font-family: var(--font); font-size: .28em; font-weight: 700; color: #ff5a5a; margin-left: .25em; }
.dw-calc__list { margin-top: 1.3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: .6rem; }
.dw-calc__li { display: flex; justify-content: space-between; gap: 1rem; font-size: .93rem; align-items: baseline; }
.dw-calc__li > span { color: rgba(255,255,255,.6); }
.dw-calc__li b { font-weight: 700; white-space: nowrap; }
.dw-calc__foot { margin-top: auto; padding-top: 1.4rem; }
.dw-calc__note { margin-top: .9rem; font-size: .76rem; color: rgba(255,255,255,.45); line-height: 1.5; }

/* ---------- Passos ---------- */
.dw-passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(28px, 3.4vw, 44px); }
.dw-passo { background: #fff; padding: clamp(1.4rem, 2.2vw, 1.9rem); }
.dw-passo__n { font-family: var(--display); font-size: 1.9rem; color: rgba(166,3,3,.22); line-height: 1; }
.dw-passo__h { margin-top: .8rem; font-size: 1.04rem; color: var(--ink); }
.dw-passo__p { margin-top: .5rem; font-size: .9rem; line-height: 1.55; color: #5a5a5a; }

/* ---------- Para quem é ---------- */
.dw-para { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: clamp(28px, 3.4vw, 44px); }
.dw-para__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 2.2vw, 1.9rem); }
.dw-para__h { font-size: 1.1rem; color: var(--ink); margin-top: .9rem; }
.dw-para__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; color: var(--red); background: rgba(166,3,3,.08); }
.dw-para__ic svg { width: 22px; height: 22px; }
.dw-para__list { margin-top: .9rem; display: grid; gap: .55rem; }
.dw-para__list li { position: relative; padding-left: 1.5rem; font-size: .93rem; line-height: 1.5; color: #5a5a5a; }
.dw-para__list li::before { content: ""; position: absolute; left: 0; top: .48em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }

/* ---------- Unidades (NAP) ---------- */
.dw-nap { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: clamp(28px, 3.4vw, 44px); }
.dw-nap__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 2.2vw, 1.9rem); display: flex; flex-direction: column; }
.dw-nap__tag { display: inline-block; align-self: flex-start; padding: .34em .8em; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(166,3,3,.08); color: var(--red); }
.dw-nap__tag--full { background: var(--red); color: #fff; }
.dw-nap__h { margin-top: .9rem; font-size: 1.16rem; color: var(--ink); }
.dw-nap__l { margin-top: .8rem; display: grid; gap: .5rem; font-size: .92rem; color: #5a5a5a; line-height: 1.5; }
.dw-nap__l b { color: var(--ink); font-weight: 700; }
.dw-nap__card .amb, .dw-nap__card .btn { margin-top: auto; align-self: flex-start; }
.dw-nap__note { margin-top: .9rem; font-size: .84rem; color: var(--gray); line-height: 1.55; }

/* ---------- FAQ (details/summary: conteúdo no HTML, sem depender de JS) ---------- */
.dw-faq { margin-top: clamp(28px, 3.4vw, 44px); max-width: 900px; }
.dw-faq__i { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); margin-bottom: .8rem; overflow: hidden; }
.dw-faq__i > summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem;
  font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.dw-faq__i > summary::-webkit-details-marker { display: none; }
.dw-faq__i > summary::after { content: "+"; flex: 0 0 auto; color: var(--red); font-size: 1.4rem; line-height: 1; transition: transform .25s var(--ease-weight); }
.dw-faq__i[open] > summary::after { transform: rotate(45deg); }
.dw-faq__i > div { padding: 0 1.4rem 1.25rem; }
.dw-faq__i p { color: #4a4a4a; max-width: 74ch; font-size: .96rem; line-height: 1.65; }
.dw-faq__i p + p { margin-top: .7rem; }

/* ---------- Glossário ---------- */
.dw-gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(28px, 3.4vw, 44px); }
.dw-gloss__i { background: #fff; padding: clamp(1.1rem, 1.8vw, 1.5rem); }
.dw-gloss__t { font-weight: 700; color: var(--ink); font-size: 1rem; }
.dw-gloss__d { margin-top: .4rem; font-size: .9rem; line-height: 1.6; color: #5a5a5a; }

/* ---------- Conversão final ---------- */
.dw-conv { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.dw-conv__h { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.02; color: #fff; }
.dw-conv__p { margin-top: 1.1rem; color: rgba(255,255,255,.86); max-width: 50ch; font-size: 1.02rem; line-height: 1.6; }
.dw-conv__list { margin-top: 1.6rem; display: grid; gap: .6rem; }
.dw-conv__list li { position: relative; padding-left: 1.7rem; color: rgba(255,255,255,.9); font-size: .96rem; }
.dw-conv__list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; border-radius: 2px; background: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .dw-itens { grid-template-columns: repeat(3, 1fr); }
  .dw-passos { grid-template-columns: repeat(2, 1fr); }
  .dw-medidor__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .dw-hero__inner { grid-template-columns: 1fr; }
  .dw-hero__title { max-width: 20ch; }
  .dw-duo, .dw-calc__grid, .dw-conv { grid-template-columns: 1fr; }
  .dw-para, .dw-nap { grid-template-columns: 1fr; }
  .dw-gloss { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .dw-dor { grid-template-columns: 1fr; }
  .dw-itens { grid-template-columns: repeat(2, 1fr); }
  .dw-medidor__grid { grid-template-columns: repeat(2, 1fr); }
  .dw-calc__row { grid-template-columns: 1fr; }
}

/* logo da unidade no hero (a LP de campanha não tem menu, então a marca entra aqui) */
/* A pagina e da Robracon: o logo dela precisa pesar mais que o do grupo no header. */
.dw-hero__logo { height: clamp(62px, 5.6vw, 82px); width: auto; margin-bottom: clamp(18px, 2.4vw, 26px); }

/* ---------- Ajustes de quebra de linha e enquadramento ---------- */
/* Hero: o titulo quebra em tres linhas escolhidas no desktop e flui no mobile.
   A primeira linha e uma entrada, menor que as duas que carregam a promessa. */
.dw-hero__title .dw-l { display: inline; }
.dw-hero__title .dw-l--pre { display: block; font-size: .62em; margin-bottom: .12em; }
@media (min-width: 900px) { .dw-hero__title .dw-l { display: block; } }


/* Titulo de secao que precisa de largura maior que os 720px padrao. */
@media (min-width: 900px) {
  .sec-head.dw-sec--wide { max-width: none; }
  .sec-head.dw-sec--wide h2 { white-space: nowrap; }
}

/* ---------- Icones da linha: peca desenhada, nao pictograma ---------- */
.dw-item__ic { width: 62px; height: 62px; border-radius: 14px; background: rgba(166,3,3,.055); }
.dw-item__ic svg { width: 56px; height: 56px; }

/* ---------- Desenhos tecnicos: cabem inteiros, o detalhe vai no visualizador ---------- */
.dw-esquema__scroll { cursor: zoom-in; }
.dw-esquema__scroll svg { width: 100%; height: auto; display: block; }

/* ---------- Foto da unidade com recorte de apoio ---------- */
.dw-fachada { position: relative; }
.dw-fachada .dw-fachada__main { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.dw-fachada .dw-fachada__inset {
  position: absolute; right: clamp(-14px, -1.2vw, -8px); bottom: clamp(-18px, -1.6vw, -12px);
  width: clamp(120px, 34%, 210px); aspect-ratio: 4/3; object-fit: cover;
  border-radius: calc(var(--radius) - 2px); border: 5px solid #fff;
  box-shadow: 0 22px 44px -18px rgba(13,13,13,.55);
}
.dw-fachada__tag {
  position: absolute; left: 14px; top: 14px;
  padding: .42em 1em; border-radius: 999px;
  background: rgba(13,13,13,.72); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
@media (max-width: 820px) { .dw-fachada .dw-fachada__inset { width: 38%; right: 8px; bottom: -10px; } }

/* ============================================================
   Fotos da linha de drywall
   As imagens sao ilustrativas do sistema construtivo, nao registro
   das unidades. As legendas descrevem o produto e o processo, nunca
   "o nosso galpao" — ver CLAUDE.md, backlog da LP.
   ============================================================ */
.dw-foto { margin-top: clamp(26px, 3.2vw, 40px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.dw-foto > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dw-foto--32 > img { aspect-ratio: 3 / 2; }
.dw-foto--43 > img { aspect-ratio: 5 / 4; }
.dw-foto--169 > img { aspect-ratio: 16 / 9; }
.dw-foto figcaption {
  background: #fff; color: var(--gray); font-size: .86rem; line-height: 1.55;
  padding: .95rem clamp(1rem, 1.6vw, 1.4rem);
  border: 1px solid var(--line); border-top: 0;
}
.dw-foto--dark figcaption { background: rgba(0,0,0,.22); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.62); }
.dw-esquema + .dw-foto { margin-top: clamp(16px, 2vw, 24px); }

/* Foto de estoque atras da faixa de numeros */
.dw-medidor--foto { position: relative; overflow: hidden; }
.dw-medidor--foto .dw-medidor__bg { position: absolute; inset: 0; z-index: 0; }
.dw-medidor--foto .dw-medidor__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* véu no vermelho da marca: a foto vira textura, a cor continua sendo #a60303 */
.dw-medidor--foto .dw-medidor__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(166,3,3,.93) 0%, rgba(166,3,3,.88) 55%, rgba(150,3,3,.94) 100%);
}
.dw-medidor--foto > .container { position: relative; z-index: 1; }



/* ---------- Icones de publico e de glossario: mesma peca desenhada da linha ---------- */
.dw-para__ic { width: 62px; height: 62px; border-radius: 14px; background: rgba(166,3,3,.055); }
.dw-para__ic svg { width: 56px; height: 56px; }

.dw-gloss__i {
  display: grid; grid-template-columns: 46px 1fr;
  column-gap: clamp(.8rem, 1.1vw, 1.1rem); align-items: start;
}
.dw-gloss__ic {
  grid-row: 1 / span 2; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 12px; background: rgba(166,3,3,.055);
}
.dw-gloss__ic svg { width: 42px; height: 42px; display: block; }
.dw-gloss__i .dw-gloss__t, .dw-gloss__i .dw-gloss__d { grid-column: 2; }

/* ============================================================
   Faixa de CTA no meio da pagina
   Frase curta + botao, encerrando uma secao de conteudo.
   ============================================================ */
.dw-cta-band {
  margin-top: clamp(26px, 3.2vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.2rem, 2.2vw, 1.9rem);
}
.dw-cta-band__p {
  margin: 0; flex: 1 1 22ch; min-width: 0;
  font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.45; color: var(--ink); font-weight: 700;
}
.surface--paper .dw-cta-band { background: #fff; }
.surface--dark .dw-cta-band, .surface--char .dw-cta-band {
  background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.14); box-shadow: none;
}
.surface--dark .dw-cta-band__p, .surface--char .dw-cta-band__p { color: #fff; }
@media (max-width: 620px) {
  .dw-cta-band { flex-direction: column; align-items: stretch; text-align: left; }
}

/* ============================================================
   Guia tecnico: tres cards de placa (ST, RU, Glasroc X)
   A figura hoje e o desenho isometrico da peca; quando as fotos
   de cada placa existirem, e so trocar o conteudo de .dw-placa__fig.
   ============================================================ */
.dw-placas {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px); margin-top: clamp(28px, 3.4vw, 44px);
}
.dw-placa {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease-weight), box-shadow .25s var(--ease-weight), border-color .25s ease;
}
.dw-placa:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8d8d8; }
.dw-placa__fig {
  display: grid; place-items: center; margin: 0;
  aspect-ratio: 4 / 3; background: var(--paper); border-bottom: 1px solid var(--line);
}
.dw-placa__fig svg { width: 62%; height: auto; display: block; }
.dw-placa__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dw-placa__h {
  margin: clamp(1.1rem, 1.8vw, 1.5rem) clamp(1.2rem, 2vw, 1.6rem) 0;
  font-family: var(--display); font-weight: 400; letter-spacing: -.01em;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem); line-height: 1; color: var(--ink);
}
.dw-placa__u {
  margin: .7rem clamp(1.2rem, 2vw, 1.6rem) 0;
  font-size: 1rem; line-height: 1.5; color: #4a4a4a;
}
.dw-placa__id {
  margin: .9rem clamp(1.2rem, 2vw, 1.6rem) clamp(1.2rem, 2vw, 1.6rem);
  font-size: .88rem; line-height: 1.5; color: #6a6a6a;
}
.dw-placa__id span {
  display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--red); margin-bottom: .25rem;
}
@media (max-width: 860px) { .dw-placas { grid-template-columns: 1fr; } }

/* ============================================================
   AJUSTES DE MOBILE — 30/09
   ============================================================ */

/* ---------- Marcas: carrossel infinito, a mesma peca da home ----------
   O track leva a lista duas vezes e a animacao anda 50%: quando ela reinicia,
   a segunda copia ja esta exatamente onde a primeira estava. */
.dw-marquee { margin-top: clamp(26px, 3vw, 38px); }
.marquee { overflow: hidden; width: 100%; }
.marquee__track {
  display: flex; align-items: center; gap: clamp(2.2rem, 5vw, 4rem);
  width: max-content; animation: dwmarquee 34s linear infinite;
}
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee__logo {
  height: clamp(34px, 4.6vw, 48px); width: auto; max-width: clamp(96px, 13vw, 150px);
  object-fit: contain; filter: grayscale(1); opacity: .62; flex: 0 0 auto;
  transition: filter .25s ease, opacity .25s ease;
}
.marquee__logo:hover { filter: none; opacity: 1; }
@keyframes dwmarquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Desenho tecnico: legenda numerada fora da figura ---------- */
.dw-esq__zoom {
  margin-top: clamp(.9rem, 1.6vw, 1.2rem);
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6em 1.1em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: inherit; font-size: .86rem; font-weight: 700;
  transition: background .25s var(--ease-weight), border-color .25s var(--ease-weight);
}
.dw-esq__zoom::before {
  content: ""; width: 15px; height: 15px; flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round"><circle cx="11" cy="11" r="7"/><path d="M20 20l-3.5-3.5M11 8v6M8 11h6"/></svg>');
  mask: no-repeat center / contain url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2.2" stroke-linecap="round"><circle cx="11" cy="11" r="7"/><path d="M20 20l-3.5-3.5M11 8v6M8 11h6"/></svg>');
}
.dw-esq__zoom:hover { background: #fff; border-color: #cfcfcf; }
.dw-esq__leg { display: none; }
.dw-esq__nota { display: none; }

/* No desktop o rotulo cabe dentro do desenho; no mobile ele viraria 6px de altura,
   entao sai da figura e vira lista numerada, que e o que de fato se le. */
@media (max-width: 760px) {
  .dw-esquema { padding: clamp(1rem, 3vw, 1.4rem); }
  .dw-esquema svg .dw-esq__lbl { display: none; }
  .dw-esq__leg {
    display: grid; gap: .55rem; margin-top: clamp(1rem, 3vw, 1.3rem);
    padding-top: clamp(1rem, 3vw, 1.3rem); border-top: 1px solid var(--line);
  }
  .dw-esq__leg li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start;
                    font-size: .92rem; line-height: 1.45; color: #4a4a4a; }
  .dw-esq__n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
               background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; }
  .dw-esq__nota { display: block; margin-top: .8rem; font-size: .84rem; color: var(--gray); }
  .dw-esq__zoom { width: 100%; justify-content: center; }
}

/* ---------- Visualizador em tela cheia: mover com o dedo, pinca para o zoom ---------- */
body.dwz-open { overflow: hidden; }
.dwz {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column;
  background: #0d0d0d; color: #fff;
}
.dwz[hidden] { display: none; }
.dwz__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem clamp(.9rem, 3vw, 1.4rem); border-bottom: 1px solid rgba(255,255,255,.14);
}
.dwz__t { margin: 0; font-size: .86rem; font-weight: 700; color: rgba(255,255,255,.82); }
.dwz__acoes { display: flex; gap: .5rem; flex: 0 0 auto; }
.dwz__b {
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  display: grid; place-items: center; font: inherit; font-size: 1.25rem; font-weight: 700;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff;
  transition: background .2s var(--ease-weight);
}
.dwz__b:hover { background: rgba(255,255,255,.2); }
.dwz__b--x { background: var(--red); border-color: var(--red); }
.dwz__b svg { width: 18px; height: 18px; }
.dwz__area {
  flex: 1 1 auto; overflow: hidden; display: grid; place-items: center;
  touch-action: none; cursor: grab; background: #fff;
}
.dwz.is-arrastando .dwz__area { cursor: grabbing; }
.dwz__palco { width: 100%; height: 100%; transform-origin: 50% 50%; will-change: transform; }
.dwz__palco svg { width: 100%; height: 100%; display: block; }
.dwz__dica {
  margin: 0; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  text-align: center; font-size: .78rem; color: rgba(255,255,255,.55);
}

/* ---------- Tabela: no mobile cada linha vira um bloco, sem arrastar ---------- */
@media (max-width: 760px) {
  .dw-tablewrap { overflow: visible; border: 0; background: none; box-shadow: none; }
  .dw-table { min-width: 0; display: block; font-size: .95rem; }
  .dw-table caption { padding: 0 0 .9rem; }
  .dw-table thead { display: none; }
  .dw-table tbody, .dw-table tr, .dw-table tbody th, .dw-table td { display: block; }
  .dw-table tbody tr {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: clamp(1rem, 3vw, 1.3rem); margin-bottom: .8rem;
  }
  .dw-table tbody tr:hover { background: #fff; }
  .dw-table tbody th {
    border: 0; padding: 0 0 .7rem; white-space: normal;
    font-size: 1.05rem; color: var(--ink);
  }
  .dw-table td { border: 0; padding: .6rem 0 0; color: #4a4a4a; }
  .dw-table td + td { border-top: 1px solid var(--line); margin-top: .6rem; }
  .dw-table td::before {
    content: attr(data-col); display: block; margin-bottom: .2rem;
    font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
    font-weight: 700; color: var(--red);
  }
  /* mesma peca sobre superficie escura ou vermelha */
  .surface--dark .dw-table tbody tr, .surface--char .dw-table tbody tr, .surface--red .dw-table tbody tr {
    background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.16); box-shadow: none;
  }
  .surface--dark .dw-table tbody tr:hover, .surface--char .dw-table tbody tr:hover { background: rgba(0,0,0,.18); }
  .surface--dark .dw-table td + td, .surface--char .dw-table td + td { border-top-color: rgba(255,255,255,.14); }
  .surface--dark .dw-table td::before, .surface--char .dw-table td::before { color: #ff5a5a; }
}

/* ---------- Faixa de CTA: o flex-basis virava altura no empilhamento ---------- */
@media (max-width: 620px) {
  .dw-cta-band { gap: clamp(1rem, 4vw, 1.3rem); }
  .dw-cta-band__p { flex: 0 0 auto; }
  .dw-cta-band .amb, .dw-cta-band .btn { width: 100%; justify-content: center; }
}

/* ---------- Respiro e divisor entre secoes no mobile ----------
   Em tela estreita as superficies branco e papel quase se confundem e o conteudo
   parece uma pilha so. Mais ar em cima e embaixo, mais um fio no topo de cada
   secao, marcam a troca de assunto. */
@media (max-width: 760px) {
  .section { padding-block: clamp(52px, 13vw, 76px); position: relative; }
  .section + .section::before,
  .section + .dw-medidor::before,
  .dw-medidor + .section::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: rgba(13,13,13,.09);
  }
  .surface--dark + .section::before, .surface--char + .section::before,
  .surface--red + .section::before,
  .surface--dark.section::before, .surface--char.section::before, .surface--red.section::before {
    background: rgba(255,255,255,.16);
  }
  .sec-head .kicker { margin-bottom: .2rem; }
}

/* legenda da tabela: em bloco, senao o table-caption encolhe numa coluna estreita */
@media (max-width: 760px) {
  .dw-table caption { display: block; width: 100%; }
  .surface--dark .dw-table caption, .surface--char .dw-table caption,
  .surface--red .dw-table caption { color: rgba(255,255,255,.62); }
}
/* marquee: as pontas somem em vez de cortar no meio do logo */
.dw-marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

/* ============================================================
   Rodape no mobile: o caminhao logo abaixo do card, com respiro
   ------------------------------------------------------------
   A regra global usa a foto como fundo de TODO o rodape, entao o tamanho da cena
   passava a depender da altura do card e o caminhao caia fora da area visivel.
   Aqui a cena vira uma faixa propria, colada no rodape, com a janela de recorte
   travada na proporcao da foto: --cena-h define a altura e o background-size sai
   dela, entao o enquadramento e o mesmo em qualquer largura. O max(...,100%)
   garante que a foto cubra a largura quando a altura bate no teto do clamp.
   Escopo: este arquivo so carrega nesta pagina.
   ============================================================ */
@media (max-width: 880px) {
  #site-footer { --cena-h: clamp(210px, 65vw, 400px); background: #fefefe; }
  .ft-hero__bg {
    top: auto; bottom: 0; height: var(--cena-h);
    background: url(../Imagens/footer-mobile.jpg) center bottom / max(calc(var(--cena-h) * 2.08), 100%) auto no-repeat, #fefefe;
    /* geometria travada: o parallax deslocaria a faixa e abriria falha embaixo */
    transform: none !important;
  }
  .ft-hero__inner { padding-bottom: calc(var(--cena-h) + clamp(28px, 7vw, 52px)); }
}

/* ============================================================
   Faixa "complemente o pedido"
   Era uma seção escura inteira, com lista de cinco linhas. A diretoria pediu
   menor e depois da parte institucional: aqui ela é uma faixa de uma linha,
   que informa sem disputar atenção com a conversão.
   ============================================================ */
.dw-mais-sec { padding-block: clamp(24px, 3vw, 44px); }
.dw-mais {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: .45rem clamp(.7rem, 2vw, 1.5rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.45rem) clamp(1.1rem, 2.2vw, 1.8rem);
  box-shadow: var(--shadow-sm);
}
.dw-mais__q { flex: 0 0 auto; margin: 0; font-weight: 700; color: var(--red); }
.dw-mais__p { margin: 0; color: var(--gray); font-size: .95rem; line-height: 1.55; }
@media (max-width: 620px) { .dw-mais { display: block; } .dw-mais__q { margin-bottom: .3rem; } }

/* O atributo [hidden] precisa vencer o display das classes (.btn, .field, .dwz).
   Na prévia em artifact isso vinha de uma regra global do próprio artifact; no site
   não existe, e o botão "Solicitar orçamento desta lista" aparecia antes do cálculo. */
.dw-calc [hidden], .dwz[hidden] { display: none !important; }
