/* Walter Junior Pinturas — site institucional
   Cantos retos em tudo (raio 0). Azul = ação (botão/link). Mostarda = tinta (pincelada, faixa, destaque).
   Camadas: menu 25 · topo 30 · cta-fixo 20 · pular 60 */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument";
  src: url("../fonts/instrument-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --navy: #0E1A33;
  --navy-2: #13254A;
  --grafite: #17191E;
  --azul: #2F6FD6;
  --azul-escuro: #1F56B3;
  --azul-claro: #7DB6F7;
  --mostarda: #E8A63E;
  --claro: #EEF1F6;
  --claro-suave: #BCC6D6;

  --parede: #F2F3F5;
  --campo: #FBFBFC;
  --tinta: #0E1A33;
  --suave: #535D6E;
  --fio: rgba(14, 26, 51, .16);
  --fio-forte: rgba(14, 26, 51, .38);
  --erro: #B42318;

  --titulo: "Bricolage", "Arial Narrow", "Helvetica Neue", sans-serif;
  --texto: "Instrument", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sai: cubic-bezier(.22, 1, .36, 1);
  --gut: clamp(16px, 4.2vw, 64px);
  --topo: 68px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --parede: #10141B;
    --campo: #171C25;
    --tinta: #E8ECF2;
    --suave: #A9B3C2;
    --fio: rgba(232, 236, 242, .14);
    --fio-forte: rgba(232, 236, 242, .36);
    --erro: #FF8A80;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parede);
  color: var(--tinta);
  font: 400 1.0625rem/1.6 var(--texto);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--titulo);
  font-weight: 760;
  font-stretch: 84%;
  font-variation-settings: "opsz" 96;
  letter-spacing: -.018em;
  line-height: 1.02;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mostarda); outline-offset: 3px; }

.pular {
  position: fixed; left: 12px; top: 12px; z-index: 60;
  padding: .7rem 1rem; background: var(--mostarda); color: var(--navy);
  font-weight: 600; transform: translateY(-160%);
}
.pular:focus { transform: none; }

/* ---------- botões e links ---------- */
.botao {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .95rem 1.5rem;
  border: 0; border-radius: 0;
  background: var(--azul); color: #fff;
  font: 600 1rem/1.1 var(--texto); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .16s var(--sai), color .3s var(--sai);
}
/* a tinta mostarda "escorre" da esquerda no hover */
.botao::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--mostarda);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s var(--sai);
}
@media (hover: hover) {
  .botao:hover { color: var(--navy); }
  .botao:hover::before { transform: scaleX(1); }
}
.botao:active { transform: scale(.97); }
.botao--largo { width: 100%; }

.link {
  font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .32em;
  text-decoration-color: currentColor;
  transition: text-decoration-color .2s var(--sai);
}
@media (hover: hover) { .link:hover { text-decoration-color: var(--mostarda); } }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: var(--topo);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 var(--gut);
  background: rgba(14, 26, 51, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--claro);
  transition: transform .4s var(--sai);
}
.topo.esconde { transform: translateY(-100%); }
.topo__logo { flex: none; margin-right: auto; }
.topo__logo img { height: 38px; width: auto; }
.topo__nav ul { display: flex; gap: 1.7rem; margin: 0; padding: 0; list-style: none; }
.topo__nav a {
  font-weight: 500; font-size: .97rem; text-decoration: none; color: var(--claro);
  background: linear-gradient(var(--mostarda), var(--mostarda)) 0 100% / 0 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--sai);
}
@media (hover: hover) { .topo__nav a:hover { background-size: 100% 2px; } }
.botao--topo { min-height: 44px; padding: .7rem 1.1rem; font-size: .95rem; }

.menu-botao {
  display: none; align-items: center; gap: .6rem;
  min-height: 44px; padding: 0 .9rem;
  border: 1.5px solid rgba(238, 241, 246, .5); border-radius: 0;
  background: transparent; color: var(--claro);
  font: 600 .95rem/1 var(--texto); cursor: pointer;
}
.menu-botao__icone { position: relative; width: 18px; height: 12px; }
.menu-botao__icone i {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform .3s var(--sai), opacity .2s;
}
.menu-botao__icone i:nth-child(1) { top: 0; }
.menu-botao__icone i:nth-child(2) { top: 5px; }
.menu-botao__icone i:nth-child(3) { top: 10px; }
.menu-botao[aria-expanded="true"] i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-botao[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-botao[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 25;
  padding: calc(var(--topo) + 2rem) var(--gut) 2rem;
  background: var(--navy); color: var(--claro);
  overflow-y: auto;
}
.menu nav { display: flex; flex-direction: column; }
.menu a {
  padding: .9rem 0; border-bottom: 1px solid rgba(238, 241, 246, .14);
  font: 700 clamp(1.8rem, 8vw, 2.6rem)/1.05 var(--titulo); font-stretch: 84%;
  text-decoration: none;
}
.menu a:last-child { color: var(--mostarda); border-bottom: 0; }
.motion .menu.abrindo { animation: menu-entra .5s var(--sai) both; }
@keyframes menu-entra { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

@media (max-width: 1099px) {
  .topo__nav, .botao--topo { display: none; }
  .menu-botao { display: inline-flex; }
}
@media (max-width: 430px) {
  .topo__logo img { height: 30px; }
}

/* ---------- herói ---------- */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  padding-top: var(--topo);
  background: var(--navy); color: var(--claro);
}
.hero__texto {
  display: flex; flex-direction: column; justify-content: center; gap: 1.6rem;
  padding: clamp(2rem, 7vh, 5.5rem) var(--gut);
}
.hero__titulo { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1; }
.linha { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.linha > span { display: block; }
.tinta { position: relative; isolation: isolate; font-style: normal; display: inline-block; }
.pincelada {
  position: absolute; z-index: -1;
  left: -3%; right: -4%; bottom: -.04em; width: 107%; height: .42em;
  overflow: visible;
}
.pincelada path {
  fill: none; stroke: var(--mostarda); stroke-width: 15; stroke-linecap: round;
  vector-effect: non-scaling-stroke; filter: url(#cerdas);
}
.hero__sub { max-width: 34ch; font-size: clamp(1.06rem, 1.3vw, 1.22rem); color: var(--claro-suave); }
.hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
.hero__acoes .link { color: var(--claro); }

.hero__foto { position: relative; overflow: hidden; background: #2a2e36; min-height: 320px; }
.hero__foto img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 48%;
}
.hero__cinza { filter: grayscale(1) contrast(.72) brightness(1.22); }
.hero__cor { position: absolute; inset: 0; }
.hero__rolo {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: clamp(24px, 2.3vw, 36px); margin-left: calc(clamp(24px, 2.3vw, 36px) / -2);
  visibility: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 2px, transparent 2px 6px),
    linear-gradient(90deg, #143574 0%, #2F6FD6 30%, #7DB6F7 52%, #2F6FD6 72%, #112E66 100%);
  box-shadow: 16px 0 34px rgba(6, 12, 26, .45);
}

/* estado inicial da entrada (só com animação ligada) */
.motion .hero__cor { clip-path: inset(0% 100% 0% 0%); }
.motion .hero .linha > span { transform: translateY(106%); }
.motion .hero__sub, .motion .hero__acoes { transform: translateY(26px); }
.motion .pincelada path { stroke-dasharray: 1; stroke-dashoffset: 1; }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: auto; }
  .hero__foto { order: -1; height: 40svh; min-height: 260px; }
  .hero__texto { padding-top: 2rem; padding-bottom: 2.6rem; gap: 1.25rem; }
  .hero__titulo { font-size: clamp(2.3rem, 10.4vw, 3.4rem); }
}

/* ---------- faixa ---------- */
.faixa {
  overflow: hidden; background: var(--mostarda); color: var(--navy);
  padding: 1.05rem 0;
  font: 700 clamp(1.25rem, 2.3vw, 1.9rem)/1 var(--titulo); font-stretch: 84%;
  white-space: nowrap;
}
.faixa__trilho { display: flex; width: max-content; }
.faixa__grupo { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
.faixa__grupo i { width: .38em; height: .38em; background: var(--navy); transform: rotate(45deg); }

/* ---------- serviços ---------- */
.servicos { background: var(--parede); }
.servicos__cab {
  padding: clamp(4rem, 11vh, 8rem) var(--gut) clamp(2rem, 5vh, 3.5rem);
  display: grid; gap: .8rem;
}
.servicos__cab p { color: var(--suave); font-size: 1.15rem; }
.servicos__palco { position: relative; overflow: hidden; }
.servico {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 8vh, 6rem) var(--gut);
  background: var(--fundo); color: var(--texto);
}
.servico__texto { display: grid; gap: 1.4rem; max-width: 580px; }
.servico__texto h3 { font-size: clamp(2.2rem, 3.5vw, 3.6rem); letter-spacing: -.01em; }
.servico__texto > p { font-size: clamp(1.1rem, 1.25vw, 1.25rem); opacity: .92; max-width: 40ch; }
.servico__abas {
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem;
  margin: 0 0 1rem; padding: 0 0 1rem; list-style: none;
  border-bottom: 1px solid var(--fio);
}
.servico__abas a {
  font-weight: 600; font-size: .95rem; text-decoration: none; opacity: .62;
  padding-bottom: 4px;
}
.servico__abas a[aria-current="true"] { opacity: 1; box-shadow: inset 0 -2px 0 currentColor; }
@media (hover: hover) { .servico__abas a:hover { opacity: 1; } }
/* o fio fica à esquerda de cada item; o recorte esconde o fio de quem abre linha */
.itens {
  display: flex; flex-wrap: wrap; gap: .5rem 0; padding: 0; list-style: none; font-weight: 600;
  margin: 0 0 0 calc(-1rem - 1.5px); clip-path: inset(0 0 0 calc(1rem + 1.5px));
}
.itens li { border-left: 1.5px solid var(--fio); padding: 0 1rem; }
.servico__foto { margin: 0; display: grid; gap: .7rem; justify-items: end; }
.servico__foto img {
  width: 100%; max-width: 560px; aspect-ratio: 4 / 5; object-fit: cover;
  height: auto;
}
.servico__foto figcaption { font-size: .92rem; opacity: .78; }

.servicos__rolo {
  position: absolute; left: -2%; right: -2%; top: 0; z-index: 5;
  height: 28px; margin-top: -14px;
  visibility: hidden; pointer-events: none;
  --cor: #888;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.07) 0 2px, transparent 2px 6px),
    linear-gradient(180deg,
      color-mix(in oklab, var(--cor), #000 30%) 0%,
      var(--cor) 32%,
      color-mix(in oklab, var(--cor), #fff 30%) 52%,
      var(--cor) 70%,
      color-mix(in oklab, var(--cor), #000 34%) 100%);
  box-shadow: 0 14px 30px rgba(6, 12, 26, .35);
}

/* desktop com animação: palco preso, serviços empilhados e repintados pela rolagem */
@media (min-width: 900px) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
  .motion .servicos__palco { height: 100svh; overflow: hidden; }
  .motion .servico { position: absolute; inset: 0; padding-top: calc(var(--topo) + 1rem); }
  .motion .servico + .servico { clip-path: inset(0% 0% 100% 0%); }
  .motion .servico__foto img { height: min(calc(100svh - var(--topo) - 9rem), 680px); width: auto; max-width: 100%; }
}
@media (max-width: 899px) {
  .servico { grid-template-columns: 1fr; gap: 2rem; }
  .servico__foto { justify-items: stretch; }
  .servico__foto img { max-width: none; aspect-ratio: 4 / 4.6; }
}

/* ---------- cores ---------- */
.cores {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4.5rem, 12vh, 8rem) var(--gut);
  background: var(--navy); color: var(--claro);
}
.cores__palco {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(100%, calc(80svh * 1204 / 1599)); aspect-ratio: 1204 / 1599;
  justify-self: center; background: #3a3f45;
}
.cores__foto, .demao, .demao > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
/* cada demão = cor × sombra real do quarto, recortada pela máscara das paredes */
.demao {
  isolation: isolate; background: var(--c, transparent);
  -webkit-mask: url("../img/parede-mascara.png") 0 0 / 100% 100% no-repeat;
          mask: url("../img/parede-mascara.png") 0 0 / 100% 100% no-repeat;
}
.demao > img { mix-blend-mode: multiply; }
.demao--original > img { mix-blend-mode: normal; }
.cores__rolo {
  position: absolute; left: -2%; right: -2%; top: 0; z-index: 3;
  height: 20px; margin-top: -10px; opacity: 0; pointer-events: none;
  --cor: #888;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 5px),
    linear-gradient(180deg,
      color-mix(in oklab, var(--cor), #000 30%), var(--cor) 35%,
      color-mix(in oklab, var(--cor), #fff 30%) 55%, color-mix(in oklab, var(--cor), #000 34%));
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
}
.cores__painel { display: grid; gap: 1.4rem; max-width: 640px; }
.cores__painel > p { color: var(--claro-suave); font-size: 1.12rem; max-width: 46ch; }
.cores__lista {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem;
  margin-top: .4rem;
}
.chip {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  padding: 0; border: 0; border-radius: 0;
  background: #F4F5F7; color: var(--navy);
  font: 600 .86rem/1.2 var(--texto); text-align: left; cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.25);
  transition: transform .2s var(--sai), box-shadow .2s var(--sai);
}
.chip__cor { display: block; height: 52px; }
.chip__cor--original { background: linear-gradient(135deg, #6c7270 0 50%, #4f5553 50% 100%); }
.chip__nome { padding: .55rem .6rem .6rem; }
@media (hover: hover) { .chip:hover { transform: translateY(-3px); } }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] {
  transform: translateY(-4px);
  box-shadow: 0 0 0 3px var(--mostarda), 0 10px 20px rgba(0,0,0,.3);
}
.cores__legenda { font-weight: 600; color: var(--claro); }

@media (min-width: 1100px) { .cores__lista { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .cores { grid-template-columns: 1fr; }
  .cores__palco { width: min(100%, 460px); }
  .cores__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- obras ---------- */
.obras { background: var(--grafite); color: var(--claro); overflow: hidden; }
.obras__pista {
  display: flex; flex-direction: column; gap: 2.6rem;
  padding: clamp(4rem, 11vh, 7rem) var(--gut);
}
.obras__intro { display: grid; gap: 1rem; max-width: 460px; }
.obras__intro p { color: var(--claro-suave); font-size: 1.12rem; }
.obra { margin: 0; display: grid; gap: .75rem; }
.obra__img { overflow: hidden; background: #24272e; }
.obra__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.obra--larga .obra__img img { aspect-ratio: 4 / 3; }
.obra figcaption { font-size: .95rem; color: var(--claro-suave); }
.obra figcaption strong { display: block; color: var(--claro); font: 700 1.25rem/1.15 var(--titulo); font-stretch: 84%; }
.obras__fim { display: grid; gap: 1.4rem; justify-items: start; }
.obras__fim-titulo { font: 760 clamp(1.9rem, 3.4vw, 3rem)/1.04 var(--titulo); font-stretch: 84%; letter-spacing: -.018em; }

@media (max-width: 899px) {
  .obra:nth-of-type(even) { width: 86%; justify-self: end; }
}
/* desktop com animação: a pista vira linha horizontal presa na tela */
@media (min-width: 900px) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
  .motion .obras { height: 100svh; }
  .motion .obras__pista {
    flex-direction: row; align-items: center; gap: clamp(2.5rem, 4.5vw, 5rem);
    width: max-content; height: 100%;
    padding: calc(var(--topo) * .6) var(--gut) 0;
  }
  .motion .obras__intro { width: min(32vw, 440px); flex: none; }
  .motion .obra { flex: none; }
  .motion .obra__img { height: 62svh; }
  .motion .obra__img img { width: auto; height: 100%; }
  .motion .obra--alta .obra__img { height: 70svh; }
  .motion .obra--larga .obra__img { height: 54svh; }
  .motion .obra--topo { align-self: flex-start; margin-top: 12svh; }
  .motion .obra--baixo { align-self: flex-end; margin-bottom: 9svh; }
  .motion .obras__fim { width: 360px; flex: none; padding-right: 6vw; }
}
@media (min-width: 900px) {
  .obras__pista:not(.motion *) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- processo ---------- */
.processo {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(5rem, 13vh, 9rem) var(--gut);
  background: var(--parede);
}
.processo__cab { display: grid; gap: 1rem; align-content: start; align-self: start; position: sticky; top: calc(var(--topo) + 2rem); }
.processo__cab p { color: var(--suave); font-size: 1.15rem; max-width: 30ch; }
.etapas-caixa { position: relative; padding-left: clamp(3.2rem, 5vw, 4.6rem); }
.fita {
  position: absolute; left: .4rem; top: .3rem; bottom: 1.5rem; width: 20px;
  transform-origin: 50% 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.22), transparent 28%, transparent 72%, rgba(0,0,0,.1)),
    #3D7BD9;
  clip-path: polygon(0 0, 100% 0, 100% 98%, 80% 100%, 60% 98.6%, 40% 100%, 20% 98.4%, 0 100%);
}
.etapas { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(2.4rem, 6vh, 3.8rem); }
.etapa { position: relative; display: grid; gap: .55rem; }
.etapa::before {
  content: ""; position: absolute; top: .45em;
  left: calc(clamp(3.2rem, 5vw, 4.6rem) * -1 - .2rem);
  width: calc(clamp(3.2rem, 5vw, 4.6rem) - .3rem); height: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), transparent 40%, rgba(0,0,0,.08)),
    #3D7BD9;
  transform: rotate(-3deg); transform-origin: left center;
  transition: transform .5s var(--sai);
}
.etapa:nth-child(even)::before { transform: rotate(2.5deg); }
.motion .etapa::before { transform: rotate(-3deg) scaleX(0); }
.motion .etapa:nth-child(even)::before { transform: rotate(2.5deg) scaleX(0); }
.motion .etapa.feita::before { transform: rotate(-3deg) scaleX(1); }
.motion .etapa.feita:nth-child(even)::before { transform: rotate(2.5deg) scaleX(1); }
.etapa h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); }
.etapa p { color: var(--suave); max-width: 46ch; }

@media (max-width: 899px) {
  .processo { grid-template-columns: 1fr; }
  .processo__cab { position: static; }
}

/* ---------- sobre ---------- */
.sobre {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  background: var(--navy); color: var(--claro);
}
.sobre__foto { position: relative; overflow: hidden; min-height: 86svh; }
.sobre__foto img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%;
  object-fit: cover; object-position: 50% 32%;
}
.sobre__texto {
  position: relative; z-index: 1; align-self: center;
  display: grid; gap: 1.3rem; justify-items: start;
  margin-left: -9vw; padding: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--navy-2);
}
.sobre__texto p { font-size: 1.15rem; color: var(--claro-suave); max-width: 40ch; }
.sobre__logo { width: 220px; margin-top: .8rem; }

@media (max-width: 899px) {
  .sobre { grid-template-columns: 1fr; }
  .sobre__foto { min-height: 0; height: 68svh; }
  .sobre__texto { margin: -3.5rem var(--gut) 0; padding: 2rem 1.5rem 2.2rem; margin-bottom: 3.5rem; }
  .sobre__logo { width: 180px; }
}

/* ---------- orçamento ---------- */
.orcamento {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(5rem, 13vh, 9rem) var(--gut);
  background: var(--parede);
}
.orcamento__cab { display: grid; gap: 1rem; align-content: start; }
.orcamento__cab > p { color: var(--suave); font-size: 1.15rem; max-width: 38ch; }
.orcamento__cab .orcamento__direto { color: var(--tinta); font-size: 1.05rem; margin-top: .6rem; }
.form { display: grid; gap: 1.5rem; }
.campo { display: grid; gap: .5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.campo label, .campo legend { font-weight: 600; font-size: .98rem; padding: 0; }
.opcional { font-weight: 400; color: var(--suave); }
.campo input[type="text"], .campo textarea {
  width: 100%; padding: .9rem 1rem;
  border: 1.5px solid var(--fio-forte); border-radius: 0;
  background: var(--campo); color: var(--tinta);
  font: 400 1rem/1.4 var(--texto);
  transition: border-color .2s var(--sai);
}
.campo textarea { resize: vertical; min-height: 96px; }
.campo input:focus, .campo textarea:focus { outline: 3px solid var(--azul); outline-offset: 1px; border-color: var(--azul); }
.campo [aria-invalid="true"] { border-color: var(--erro); }
.opcoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: .5rem; }
.opcao {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1rem; border: 1.5px solid var(--fio-forte);
  background: var(--campo); font-weight: 500 !important; cursor: pointer;
  transition: border-color .2s var(--sai), background-color .2s var(--sai);
}
.opcao input { width: 18px; height: 18px; margin: 0; accent-color: var(--azul); flex: none; }
.opcao:has(input:checked) { border-color: var(--azul); background: color-mix(in oklab, var(--azul) 10%, var(--campo)); }
.opcao:has(input:focus-visible) { outline: 3px solid var(--azul); outline-offset: 1px; }
.erro { color: var(--erro); font-size: .92rem; font-weight: 600; }
.ajuda { color: var(--suave); font-size: .92rem; }

@media (max-width: 899px) {
  .orcamento { grid-template-columns: 1fr; }
  .opcoes { grid-template-columns: 1fr; }
}

/* ---------- rodapé ---------- */
.rodape {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem;
  padding: 3.5rem var(--gut) 2.5rem;
  background: var(--navy); color: var(--claro-suave);
}
.rodape__logo { width: 240px; }
.rodape__info { display: grid; gap: .3rem; }
.rodape__info a { color: var(--claro); }
.rodape__copy { width: 100%; padding-top: 1.5rem; border-top: 1px solid rgba(238, 241, 246, .12); font-size: .9rem; }

/* ---------- CTA fixo no celular ---------- */
/* botões fixos: no celular, orçamento + WhatsApp lado a lado; no desktop, só o WhatsApp no canto */
.cta-fixo {
  position: fixed; z-index: 20;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 8px;
  transition: transform .4s var(--sai);
}
.cta-fixo .botao { box-shadow: 0 10px 28px rgba(6, 12, 26, .35); }
.cta-fixo__orcamento { flex: 1; }
.botao--wa { gap: .55rem; background: #25D366; color: var(--navy); }
.motion .cta-fixo { transform: translateY(160%); }
.motion .cta-fixo.mostra { transform: none; }
.motion .cta-fixo.mostra.oculto { transform: translateY(160%); }
@media (max-width: 899px) {
  .rodape { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) {
  .cta-fixo { left: auto; right: 24px; bottom: 24px; }
  .cta-fixo__orcamento { display: none; }
}

/* ---------- movimento reduzido: tudo parado, no lugar final ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
