/* ==========================================================
   Móveis França — site institucional
   Paleta oficial da marca: terracota, azul petróleo, mostarda, rosado
   ========================================================== */

:root {
  --terracota: #B53F1A;
  --terracota-escuro: #93310F;
  --petroleo: #344E5F;
  --petroleo-escuro: #1F3240;
  --petroleo-profundo: #172631;
  --mostarda: #DD9A37;
  --rosado: #F9EAEA;
  --creme: #FBF7F3;
  --areia: #F3EBE3;
  --tinta: #1C2830;
  --texto: #55616A;
  --linha: rgba(52, 78, 95, .14);
  --branco: #fff;

  --fonte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fonte-titulo: "Fraunces", Georgia, "Times New Roman", serif;

  --raio: 22px;
  --raio-p: 14px;
  --sombra: 0 30px 60px -30px rgba(23, 38, 49, .35);
  --sombra-suave: 0 12px 30px -16px rgba(23, 38, 49, .25);
  --largura: 1240px;
  --topo-altura: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-altura) - 8px); }

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a, button, [role="button"], label { cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--tinta); }
p { margin: 0; }
figure { margin: 0; }

:focus-visible { outline: 2px solid var(--mostarda); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: var(--largura);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Tipografia base ---------- */
.sobretitulo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 18px;
}
.sobretitulo::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  transform: skewX(-35deg);
}
.sobretitulo--claro { color: var(--mostarda); }

.titulo {
  font-family: var(--fonte-titulo);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.titulo em { font-style: italic; color: var(--terracota); }
.titulo--claro { color: var(--branco); }
.titulo--claro em { color: var(--mostarda); }

.texto { max-width: 60ch; }
.texto + .texto { margin-top: 16px; }
.texto--claro { color: rgba(255, 255, 255, .78); }
.texto--destaque { color: var(--tinta); font-weight: 500; font-size: 1.12rem; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.botao svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.botao:hover { transform: translateY(-2px); }
.botao:hover svg { transform: translateX(3px); }

.botao--primario { background: var(--terracota); color: var(--branco); box-shadow: 0 14px 30px -14px rgba(181, 63, 26, .7); }
.botao--primario:hover { background: var(--terracota-escuro); }

.botao--linha { border-color: var(--linha); color: var(--petroleo); background: rgba(255, 255, 255, .5); }
.botao--linha:hover { border-color: var(--petroleo); background: var(--branco); }

.botao--whats { background: #1FA855; color: var(--branco); box-shadow: 0 16px 30px -14px rgba(31, 168, 85, .7); }
.botao--whats:hover { background: #178A45; }
.botao--whats .ico-whats { fill: currentColor; stroke: none; width: 22px; height: 22px; }
.botao--whats:hover .ico-whats { transform: none; }

.botao--pequeno { padding: 11px 20px; font-size: 14px; }
.botao--largo { width: 100%; padding-block: 18px; font-size: 16px; }

/* ---------- Topo ---------- */
.topo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--topo-altura);
  display: flex;
  align-items: center;
  transition: background-color .4s, box-shadow .4s, height .4s;
}
.topo.is-rolado {
  --topo-altura: 70px;
  background: rgba(251, 247, 243, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--linha);
}
.topo__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topo__logo img { width: 190px; height: auto; }

.topo__nav { display: flex; gap: 36px; }
.topo__nav > a {
  position: relative;
  font-weight: 600;
  font-size: 15px;
  color: var(--petroleo);
  padding-block: 6px;
}
.topo__nav > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--terracota);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.topo__nav > a:hover::after, .topo__nav > a.is-ativo::after { transform: scaleX(1); }
.topo__social--mobile { display: none; }

.topo__acoes { display: flex; align-items: center; gap: 10px; }
.icone-social {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--petroleo);
  transition: background-color .3s, color .3s;
}
.icone-social svg { width: 19px; height: 19px; fill: currentColor; fill-rule: evenodd; }
.icone-social:hover { background: var(--petroleo); color: var(--branco); }
.topo__acoes .botao { margin-left: 8px; }

.topo__hamburguer {
  display: none;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--petroleo);
  padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.topo__hamburguer span { width: 18px; height: 2px; background: var(--branco); border-radius: 2px; transition: transform .3s, opacity .3s; }
.topo__hamburguer[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topo__hamburguer[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.topo__hamburguer[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--topo-altura) + 40px);
  padding-bottom: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 35%, var(--rosado) 0%, transparent 60%),
    linear-gradient(180deg, var(--creme) 0%, var(--areia) 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 40px;
}

.selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--linha);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--petroleo);
  margin-bottom: 28px;
}
.selo__ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--terracota); box-shadow: 0 0 0 4px rgba(181, 63, 26, .15); }

.hero__titulo {
  font-family: var(--fonte-titulo);
  font-weight: 500;
  font-size: clamp(2.9rem, 1.6rem + 5.2vw, 6rem);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--petroleo-escuro);
}
.hero__rotativo {
  position: relative;
  display: block;
  height: 1.12em;
  overflow: hidden;
}
.hero__palavra {
  position: absolute;
  left: 0; top: 0;
  font-style: italic;
  color: var(--terracota);
  white-space: nowrap;
  transform: translateY(130%);
  opacity: 0;
  transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.hero__palavra.is-ativa { transform: translateY(0); opacity: 1; }
.hero__palavra.is-saindo { transform: translateY(-130%); opacity: 0; }

.hero__sub {
  margin-top: 24px;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  color: var(--petroleo);
  font-weight: 500;
}
.hero__botoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__destaques {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: flex;
  gap: 0;
  max-width: 520px;
  border-top: 1px solid var(--linha);
}
.hero__destaques li {
  flex: 1;
  padding: 18px 16px 0 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hero__destaques li + li { padding-left: 18px; border-left: 1px solid var(--linha); }
.hero__destaques strong { font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.7rem; color: var(--terracota); }
.hero__destaques span { font-size: 13px; color: var(--texto); margin-top: 4px; }

.hero__imagem { position: relative; }
.hero__imagem img {
  width: 108%;
  max-width: none;
  margin-left: -2%;
  filter: drop-shadow(0 40px 40px rgba(23, 38, 49, .12));
  animation: subir 1.2s var(--ease) both .15s;
}

@keyframes subir { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---------- Seções ---------- */
.secao { padding-block: clamp(80px, 6vw + 40px, 140px); position: relative; }

/* Sobre */
.sobre { background: var(--creme); }
.sobre__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.sobre__visual { position: relative; padding: 0 0 48px 48px; }
.sobre__visual::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 72%; height: 72%;
  background: var(--petroleo);
  border-radius: var(--raio);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.sobre__foto {
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--sombra);
}
.sobre__foto img { width: 100%; height: 100%; object-fit: cover; }
.sobre__anos {
  position: absolute;
  right: -24px; bottom: 16px;
  background: var(--terracota);
  color: var(--branco);
  border-radius: var(--raio-p);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--sombra);
}
.sobre__numero { font-family: var(--fonte-titulo); font-size: 4rem; line-height: .9; font-weight: 600; }
.sobre__legenda { font-size: 14px; line-height: 1.25; font-weight: 500; opacity: .92; }

.sobre__pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.sobre__pilares > div {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--raio-p);
  padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.pilar__icone { color: var(--mostarda); font-size: 18px; line-height: 1; }
.sobre__pilares p { color: var(--tinta); font-weight: 600; font-size: 15px; line-height: 1.3; }

/* Sob medida */
.sob-medida {
  background: var(--petroleo-profundo);
  overflow: hidden;
}
.sob-medida::before {
  content: "";
  position: absolute;
  top: -10%; right: -5%;
  width: 55%; height: 120%;
  background: linear-gradient(115deg, transparent 0 30%, rgba(52, 78, 95, .55) 30% 60%, transparent 60%);
  pointer-events: none;
}
.sob-medida::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--terracota) 0 40%, var(--mostarda) 40% 60%, var(--petroleo) 60% 100%);
}
.sob-medida__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.sob-medida__lista {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 0;
}
.sob-medida__lista li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-size: 1.35rem;
}
.sob-medida__lista li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sob-medida__lista span { font-family: var(--fonte); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--mostarda); }

.sob-medida__foto {
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.sob-medida__foto img { width: 100%; height: 100%; object-fit: cover; }
.sob-medida__foto::after {
  content: "";
  position: absolute;
  left: 24px; bottom: 24px;
  width: 92px; height: 22px;
  background: url("../img/textura-faixa.webp") no-repeat left center / auto 100%;
}

/* Projetos */
.projetos { background: var(--areia); }
.projetos__cabecalho {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: 56px;
}
.projetos__cabecalho .titulo { margin-bottom: 0; }

.projetos__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}
.card-projeto {
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
  isolation: isolate;
  background: var(--petroleo);
  box-shadow: var(--sombra-suave);
}
.card-projeto:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.card-projeto:nth-child(2) { grid-column: span 7; }
.card-projeto:nth-child(3) { grid-column: span 3; }
.card-projeto:nth-child(4) { grid-column: span 4; }

.card-projeto img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.card-projeto::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 38, 49, 0) 35%, rgba(23, 38, 49, .85) 100%);
  transition: opacity .5s;
}
.card-projeto:hover img { transform: scale(1.06); }

.card-projeto__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px;
  color: var(--branco);
}
.card-projeto__num { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--mostarda); }
.card-projeto h3 {
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem);
  line-height: 1.1;
  margin-top: 6px;
}
.card-projeto__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s, transform .4s var(--ease);
}
.card-projeto__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card-projeto:hover .card-projeto__cta, .card-projeto:focus-visible .card-projeto__cta { opacity: 1; transform: none; }

/* Orçamentos */
.orcamentos {
  background:
    radial-gradient(900px 520px at 88% 20%, rgba(181, 63, 26, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(221, 154, 55, .10), transparent 60%),
    linear-gradient(160deg, #1B2C38 0%, var(--petroleo-profundo) 55%, #111D26 100%);
  overflow: hidden;
  isolation: isolate;
}
.orcamentos__formas {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/textura-24.webp") no-repeat right -120px center / auto 120%;
  opacity: .07;
  pointer-events: none;
}
.orcamentos__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.orcamentos__lead {
  font-family: var(--fonte-titulo);
  font-style: italic;
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem);
  line-height: 1.3;
  color: var(--rosado);
  margin-bottom: 16px;
}

.passos {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.passos li {
  position: relative;
  padding: 22px 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.passos li + li { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .12); }
.passos__num { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--mostarda); }
.passos strong { color: var(--branco); font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.15rem; line-height: 1.2; }
.passos small { color: rgba(255, 255, 255, .6); font-size: 13px; line-height: 1.4; }

.orcamentos__cartao {
  position: relative;
  background: linear-gradient(180deg, #FFFDFB 0%, var(--creme) 100%);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .6) inset,
    0 50px 100px -40px rgba(0, 0, 0, .7),
    0 0 0 8px rgba(255, 255, 255, .04);
}
.cartao__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px dashed var(--linha);
}
.cartao__etiqueta { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terracota); }
.cartao__selo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(31, 168, 85, .1);
  color: #137A3C;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.cartao__selo svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.orcamentos__pergunta { font-family: var(--fonte-titulo); color: var(--tinta); font-size: 1.55rem; line-height: 1.2; margin-bottom: 16px; }

.ambientes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.ambiente {
  position: relative;
  grid-column: span 2;
  height: 92px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  background: var(--petroleo);
  font: inherit;
  text-align: left;
  box-shadow: 0 0 0 1px var(--linha);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.ambiente:nth-child(n+4) { grid-column: span 3; }
.ambiente img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(.8);
  transition: transform .8s var(--ease), filter .3s;
}
.ambiente::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 38, 49, .05) 20%, rgba(23, 38, 49, .82) 100%);
  transition: background .3s;
}
.ambiente__nome {
  position: absolute;
  left: 12px; right: 30px; bottom: 9px;
  color: var(--branco);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}
.ambiente__check {
  position: absolute;
  top: 8px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .25);
  border: 1.5px solid rgba(255, 255, 255, .8);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.ambiente__check svg { width: 13px; height: 13px; fill: none; stroke: var(--branco); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .2s; }
.ambiente:hover { transform: translateY(-2px); }
.ambiente:hover img { transform: scale(1.06); filter: saturate(1); }
.ambiente.is-ativo { box-shadow: 0 0 0 2.5px var(--terracota), 0 14px 26px -14px rgba(181, 63, 26, .8); }
.ambiente.is-ativo img { filter: saturate(1); }
.ambiente.is-ativo::before { background: linear-gradient(180deg, rgba(181, 63, 26, .05) 20%, rgba(120, 36, 10, .85) 100%); }
.ambiente.is-ativo .ambiente__check { background: var(--terracota); border-color: var(--terracota); transform: scale(1.08); }
.ambiente.is-ativo .ambiente__check svg { opacity: 1; }

.campos { display: grid; gap: 12px; margin-bottom: 22px; }
.campo { display: flex; flex-direction: column; gap: 6px; cursor: text; }
.campo > span { font-size: 13px; font-weight: 600; color: var(--tinta); }
.campo em { font-style: normal; font-weight: 400; color: var(--texto); }
.campo input, .campo textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--tinta);
  background: var(--branco);
  border: 1.5px solid var(--linha);
  border-radius: 12px;
  padding: 12px 14px;
  resize: none;
  transition: border-color .25s, box-shadow .25s;
}
.campo input::placeholder, .campo textarea::placeholder { color: #9AA3A9; }
.campo input:-webkit-autofill, .campo input:-webkit-autofill:hover, .campo input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--tinta);
  -webkit-box-shadow: 0 0 0 40px var(--branco) inset;
  caret-color: var(--tinta);
}
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--petroleo); box-shadow: 0 0 0 4px rgba(52, 78, 95, .1); }

.botao--whats-premium {
  justify-content: space-between;
  padding: 10px 22px 10px 10px;
  background: var(--petroleo-profundo);
  color: var(--branco);
  box-shadow: 0 18px 34px -16px rgba(23, 38, 49, .9);
}
.botao--whats-premium:hover { background: var(--terracota); box-shadow: 0 18px 34px -16px rgba(181, 63, 26, .8); }
.botao__ico-whats {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #1FA855;
  flex: none;
}
.botao__ico-whats svg { width: 22px; height: 22px; fill: var(--branco); stroke: none; }
.botao--whats-premium:hover .botao__ico-whats svg { transform: none; }
.botao--whats-premium .botao__seta { width: 20px; height: 20px; }

.orcamentos__nota { margin-top: 14px; font-size: 13px; text-align: center; color: var(--texto); }
.orcamentos__lgpd { margin-top: 6px; font-size: 12px; text-align: center; color: #8A949B; }
.orcamentos__lgpd a { color: var(--petroleo); text-decoration: underline; text-underline-offset: 2px; }

/* Mapa com consentimento */
.contato__mapa { position: relative; }
.mapa__aviso {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px;
  background:
    linear-gradient(rgba(243, 235, 227, .92), rgba(243, 235, 227, .92)),
    url("../img/textura-24.webp") center / cover no-repeat;
}
.mapa__aviso strong { color: var(--tinta); font-size: 1.05rem; }
.mapa__aviso p { font-size: 14px; max-width: 38ch; }
.mapa__botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.contato__mapa.is-carregado .mapa__aviso { display: none; }

/* Aviso de cookies */
.cookies {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 60;
  width: min(440px, calc(100vw - 32px));
  background: var(--branco);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 30px 60px -20px rgba(23, 38, 49, .45), 0 0 0 1px var(--linha);
  font-size: 14px;
  line-height: 1.55;
  animation: subir .6s var(--ease) both;
}
.cookies[hidden] { display: none; }
.cookies strong { color: var(--tinta); }
.cookies a { color: var(--terracota); text-decoration: underline; text-underline-offset: 2px; }
.cookies__botoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookies__botoes .botao { flex: 1 1 auto; }

/* Rodapé – links legais */
.rodape__legal { display: flex; flex-direction: column; gap: 8px; }
.rodape__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.rodape__links a, .rodape__links button {
  font: inherit;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .25);
  transition: color .25s;
}
.rodape__links a:hover, .rodape__links button:hover { color: var(--mostarda); }

/* Contato */
.contato { background: var(--creme); }
.contato__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: stretch;
}
.contato__lista { list-style: none; padding: 0; margin: 12px 0 0; }
.contato__lista li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--linha);
}
.contato__lista li:first-child { border-top: 1px solid var(--linha); }
.contato__lista div { display: flex; flex-direction: column; min-width: 0; }
.contato__lista strong { color: var(--tinta); font-weight: 600; font-size: 1.05rem; }
.contato__lista a:hover strong { color: var(--terracota); }
.contato__lista span { font-size: 15px; }
.quebra { overflow-wrap: break-word; }
.contato__icone {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rosado);
  color: var(--terracota);
}
.contato__icone svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contato__redes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.contato__mapa {
  border-radius: var(--raio);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--sombra);
  background: var(--areia);
}
.contato__mapa iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.85); }

/* Rodapé */
.rodape { background: var(--petroleo-profundo); color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .08); }
.rodape__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 56px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.rodape__topo img { width: 210px; }
.rodape__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.rodape__nav a { font-weight: 500; font-size: 15px; color: rgba(255, 255, 255, .82); transition: color .25s; }
.rodape__nav a:hover { color: var(--mostarda); }
.rodape__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px 30px;
  font-size: 13px;
}
.rodape__assinatura { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, .5); transition: color .25s; }
.rodape__assinatura img { width: 78px; height: auto; opacity: .7; transition: opacity .25s; }
.rodape__assinatura:hover { color: rgba(255, 255, 255, .85); }
.rodape__assinatura:hover img { opacity: 1; }

/* WhatsApp flutuante */
.whats-flutuante {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 40;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #1FA855;
  color: var(--branco);
  box-shadow: 0 16px 30px -10px rgba(31, 168, 85, .7);
  transition: transform .3s var(--ease);
}
.whats-flutuante svg { width: 30px; height: 30px; fill: currentColor; }
.whats-flutuante:hover { transform: scale(1.08); }
.whats-flutuante::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #1FA855;
  animation: pulso 2.4s ease-out infinite;
}
@keyframes pulso { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Animações de entrada */
.revelar { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.revelar.is-visivel { opacity: 1; transform: none; }
.projetos__grid .revelar:nth-child(2) { transition-delay: .08s; }
.projetos__grid .revelar:nth-child(3) { transition-delay: .16s; }
.projetos__grid .revelar:nth-child(4) { transition-delay: .24s; }

/* ---------- Páginas legais ---------- */
.legal-hero {
  position: relative;
  padding: calc(var(--topo-altura) + 72px) 0 64px;
  background:
    radial-gradient(900px 400px at 90% 0%, var(--rosado) 0%, transparent 60%),
    linear-gradient(180deg, var(--creme) 0%, var(--areia) 100%);
  border-bottom: 1px solid var(--linha);
  overflow: hidden;
}
.legal-hero::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -30px;
  width: 360px; height: 220px;
  background: url("../img/textura-24.webp") no-repeat right bottom / contain;
  opacity: .14;
  pointer-events: none;
}
.legal-hero__trilha { display: flex; gap: 10px; font-size: 13px; font-weight: 600; color: var(--texto); margin-bottom: 22px; }
.legal-hero__trilha a { color: var(--terracota); }
.legal-hero h1 {
  font-family: var(--fonte-titulo);
  font-weight: 500;
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--petroleo-escuro);
}
.legal-hero h1 em { font-style: italic; color: var(--terracota); }
.legal-hero p { max-width: 62ch; margin-top: 18px; font-size: 1.08rem; color: var(--petroleo); }
.legal-hero .legal-hero__data { display: inline-block; margin-top: 22px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--linha); font-size: 13px; font-weight: 600; }

.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding-block: 64px 110px;
}
.legal__sumario { position: sticky; top: calc(var(--topo-altura) + 24px); align-self: start; }
.legal__sumario > p { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terracota); margin-bottom: 14px; }
.legal__sumario ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--linha); }
.legal__sumario a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--texto); transition: color .2s, border-color .2s; }
.legal__sumario a:hover { color: var(--terracota); border-left-color: var(--terracota); }

.legal__conteudo { max-width: 760px; }
.legal__secao { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--linha); scroll-margin-top: calc(var(--topo-altura) + 20px); }
.legal__secao:last-child { border-bottom: 0; margin-bottom: 0; }
.legal__secao h2 { font-family: var(--fonte-titulo); font-weight: 500; font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem); line-height: 1.2; margin-bottom: 16px; }
.legal__secao h3 { font-size: 1.05rem; font-weight: 700; color: var(--tinta); margin: 24px 0 8px; }
.legal__secao p + p { margin-top: 12px; }
.legal__secao ul { margin: 12px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.legal__secao ul li { position: relative; padding-left: 22px; }
.legal__secao ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 5px; background: var(--terracota); transform: skewX(-35deg); }
.legal__secao ul + p { margin-top: 14px; }
.legal__secao a, .legal__link-botao { color: var(--terracota); text-decoration: underline; text-underline-offset: 3px; }
.legal__link-botao { font: inherit; background: none; border: 0; padding: 0; }
.legal__secao strong { color: var(--tinta); }

.legal__contato { margin-top: 18px; padding: 22px 24px; border-radius: var(--raio-p); background: var(--branco); border: 1px solid var(--linha); border-left: 4px solid var(--terracota); }
.legal__contato p + p { margin-top: 4px; }

.legal__tabela { border: 1px solid var(--linha); border-radius: var(--raio-p); overflow: hidden; background: var(--branco); }
.legal__linha { display: grid; grid-template-columns: 1fr 1fr; }
.legal__linha span { padding: 14px 18px; font-size: 15px; line-height: 1.5; }
.legal__linha span + span { border-left: 1px solid var(--linha); }
.legal__linha + .legal__linha { border-top: 1px solid var(--linha); }
.legal__linha--cabecalho { background: var(--petroleo); }
.legal__linha--cabecalho span { color: var(--branco); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 900px) {
  .legal { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .legal__sumario { position: static; padding: 20px; border-radius: var(--raio-p); background: var(--branco); border: 1px solid var(--linha); }
}
@media (max-width: 560px) {
  .legal-hero { padding: calc(var(--topo-altura) + 36px) 0 44px; }
  .legal-hero::after { display: none; }
  .legal__linha { grid-template-columns: 1fr; }
  .legal__linha span + span { border-left: 0; padding-top: 0; color: var(--petroleo); font-size: 14px; }
  .legal__linha--cabecalho { display: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .topo__acoes .icone-social { display: none; }
  .topo__nav { gap: 26px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .hero__imagem img { width: 100%; margin-left: 0; }
  .hero { min-height: auto; }
}

@media (max-width: 900px) {
  :root { --topo-altura: 72px; }
  .topo__hamburguer { display: flex; }
  .topo__acoes .botao { display: none; }
  .topo__nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    padding: 0 32px;
    gap: 8px;
    background: var(--creme);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .topo__nav > a { font-family: var(--fonte-titulo); font-weight: 500; font-size: 2.2rem; color: var(--petroleo-escuro); }
  .topo__nav > a::after { display: none; }
  .topo__social--mobile { display: flex; gap: 22px; margin-top: 24px; font-weight: 600; color: var(--terracota); }
  .topo.is-aberto .topo__nav { opacity: 1; visibility: visible; }
  .topo.is-aberto { background: transparent; backdrop-filter: none; box-shadow: none; }
  body.menu-aberto { overflow: hidden; }

  .sobre__grid, .sob-medida__grid, .orcamentos__grid, .contato__grid, .projetos__cabecalho { grid-template-columns: minmax(0, 1fr); }
  .sobre__visual { max-width: 520px; }
  .projetos__cabecalho { align-items: start; margin-bottom: 40px; }

  .projetos__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .card-projeto:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .card-projeto:nth-child(1) { grid-row: span 2; }
  .card-projeto:nth-child(4) { grid-column: span 2; }
  .card-projeto__cta { opacity: 1; transform: none; }

  .rodape__topo, .rodape__base { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .topo__logo img { width: 156px; }
  .hero { padding-top: calc(var(--topo-altura) + 28px); padding-bottom: 90px; }
  .hero__botoes .botao { flex: 1 1 100%; }
  .hero__destaques li { padding-right: 8px; }
  .hero__destaques li + li { padding-left: 12px; }
  .hero__destaques strong { font-size: 1.4rem; }

  .sobre__visual { padding: 0 0 32px 28px; }
  .sobre__anos { right: -4px; padding: 16px 20px; }
  .sobre__numero { font-size: 3rem; }
  .sobre__pilares { grid-template-columns: 1fr; }
  .sobre__pilares > div { flex-direction: row; align-items: center; gap: 12px; padding: 14px 16px; }

  .projetos__grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .card-projeto:nth-child(n) { grid-column: span 1; grid-row: span 1; }

  .botao--largo { white-space: normal; text-align: center; }
  .botao--whats-premium { font-size: 15px; gap: 12px; padding-right: 16px; }

  .passos { grid-template-columns: 1fr; }
  .passos li, .passos li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .passos small { flex-basis: 100%; padding-left: 32px; }
  .ambientes { grid-template-columns: repeat(2, 1fr); }
  .ambiente:nth-child(n) { grid-column: span 1; height: 84px; }
  .ambiente:nth-child(5) { grid-column: span 2; }
  .cartao__topo { flex-wrap: wrap; }
  .cookies { left: 16px; bottom: 16px; }
  .contato__mapa, .contato__mapa iframe { min-height: 320px; }
  .whats-flutuante { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
}
/* ---------- Modal WhatsApp ---------- */
body.modal-aberto { overflow: hidden; }
.wmodal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}
.wmodal[hidden] { display: none; }
.wmodal__fundo {
  position: absolute; inset: 0;
  background: rgba(17, 29, 38, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: aparecer .35s ease both;
}
.wmodal__caixa {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100svh - 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  background: var(--creme);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .5) inset;
  animation: modalEntrar .5s var(--ease) both;
}
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalEntrar { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }

.wmodal__fechar {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92);
  color: var(--tinta);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease), background .3s;
}
.wmodal__fechar:hover { transform: rotate(90deg); background: var(--branco); }
.wmodal__fechar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.wmodal__form-lado {
  max-height: calc(100svh - 48px);
  padding: clamp(24px, 3.4vw, 44px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(52, 78, 95, .35) transparent;
}
.wmodal__cabecalho { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding-right: 40px; }
.wmodal__avatar { flex: none; width: 52px; height: 52px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 20px -10px rgba(23, 38, 49, .6); }
.wmodal__avatar img { width: 100%; height: 100%; }
.wmodal__etiqueta { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terracota); }
.wmodal h2 { font-family: var(--fonte-titulo); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -.015em; }
.wmodal h2 em { font-style: italic; color: #148A43; }
.wmodal__sub { font-size: 15px; margin-bottom: 24px; }

.wform { display: grid; gap: 18px; }
.wform__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wform .campo > span b { color: var(--terracota); }
.campo__erro { min-height: 0; font-size: 12px; font-weight: 600; color: var(--terracota); }
.campo__erro:empty { display: none; }
.campo.is-erro input { border-color: var(--terracota); box-shadow: 0 0 0 4px rgba(181, 63, 26, .1); }

.wform__grupo { border: 0; margin: 0; padding: 0; min-width: 0; }
.wform__grupo legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--tinta); }
.wform__grupo legend em { font-style: normal; font-weight: 400; color: var(--texto); }
.wchips { display: flex; flex-wrap: wrap; gap: 8px; }
.wchip {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--linha);
  background: var(--branco);
  color: var(--petroleo);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.wchip:hover { border-color: var(--petroleo); transform: translateY(-1px); }
.wchip.is-ativo { background: var(--petroleo); border-color: var(--petroleo); color: var(--branco); }
.wchips[data-tipo="multi"] .wchip.is-ativo { background: var(--terracota); border-color: var(--terracota); }
.wchips[data-tipo="multi"] .wchip.is-ativo::before { content: "✓ "; }

.wform .botao--whats-premium { margin-top: 4px; }
.wform__lgpd { font-size: 12px; text-align: center; color: #8A949B; margin-top: -6px; }
.wform__lgpd a { color: var(--petroleo); text-decoration: underline; text-underline-offset: 2px; }

/* Prévia estilo WhatsApp */
.wmodal__previa-lado {
  position: relative;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(181, 63, 26, .35), transparent 60%),
    linear-gradient(160deg, #1B2C38 0%, var(--petroleo-profundo) 100%);
  max-height: calc(100svh - 48px);
  padding: 72px 32px 32px;
  display: flex;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.wmodal__previa-lado::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../img/textura-24.webp") center / cover no-repeat;
  opacity: .06;
}
.wprevia {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #EFE7DD;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7);
}
.wprevia__topo { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #0F5C4C; color: var(--branco); }
.wprevia__foto { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; }
.wprevia__foto img { width: 100%; height: 100%; }
.wprevia__topo strong { display: block; font-size: 15px; line-height: 1.2; }
.wprevia__topo small { font-size: 12px; opacity: .75; }
.wprevia__chat {
  padding: 18px 16px 22px;
  min-height: 340px;
  max-height: 52svh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  background-image: radial-gradient(rgba(15, 92, 76, .06) 1px, transparent 1px);
  background-size: 14px 14px;
}
.wprevia__dia { align-self: center; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #54656F; background: rgba(255, 255, 255, .85); padding: 5px 10px; border-radius: 8px; }
.wprevia__balao {
  position: relative;
  max-width: 92%;
  background: #D9FDD3;
  color: #111B21;
  border-radius: 12px 0 12px 12px;
  padding: 10px 12px 22px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
  overflow-wrap: anywhere;
}
.wprevia__balao p { white-space: pre-wrap; }
.wprevia__balao::after {
  content: "";
  position: absolute;
  top: 0; right: -8px;
  border-left: 9px solid #D9FDD3;
  border-bottom: 10px solid transparent;
}
.wprevia__balao b { font-weight: 700; }
.wprevia__hora { position: absolute; right: 10px; bottom: 5px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: #667781; }
.wprevia__hora svg { width: 16px; height: 11px; fill: none; stroke: #53BDEB; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Página de obrigado ---------- */
.obrigado {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 40px 16px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, var(--rosado) 0%, transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(221, 154, 55, .14), transparent 60%),
    linear-gradient(180deg, var(--creme) 0%, var(--areia) 100%);
}
.obrigado__formas {
  position: absolute;
  right: -80px; bottom: -40px;
  width: 520px; height: 300px;
  background: url("../img/textura-24.webp") no-repeat right bottom / contain;
  opacity: .12;
  pointer-events: none;
}
.obrigado__logo img { width: 180px; }
.obrigado__cartao {
  position: relative;
  width: min(560px, 100%);
  text-align: center;
  background: var(--branco);
  border-radius: 28px;
  padding: clamp(32px, 5vw, 52px) clamp(22px, 4vw, 48px);
  box-shadow: 0 50px 100px -50px rgba(23, 38, 49, .45), 0 0 0 1px var(--linha);
  animation: subir .8s var(--ease) both;
}
.obrigado__loader { position: relative; width: 132px; height: 132px; margin: 0 auto 26px; }
.obrigado__anel { width: 100%; height: 100%; transform: rotate(-90deg); }
.obrigado__anel circle { fill: none; }
.obrigado__trilho { stroke: var(--areia); stroke-width: 6; }
.obrigado__giro {
  stroke: var(--terracota);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 90 237;
  transform-origin: 60px 60px;
  animation: girar 1.1s linear infinite;
}
.obrigado__progresso { stroke: var(--mostarda); stroke-width: 3; stroke-linecap: round; opacity: .9; }
@keyframes girar { to { transform: rotate(360deg); } }
.obrigado__icone {
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #1FA855;
  box-shadow: 0 16px 30px -12px rgba(31, 168, 85, .8);
  animation: pulsar 1.6s ease-in-out infinite;
}
.obrigado__icone svg { width: 40px; height: 40px; fill: var(--branco); }
@keyframes pulsar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.obrigado__etiqueta { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terracota); }
.obrigado__titulo {
  font-family: var(--fonte-titulo);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--petroleo-escuro);
  margin: 10px 0 14px;
}
.obrigado__titulo span { font-style: italic; color: var(--terracota); }
.obrigado__texto { max-width: 42ch; margin: 0 auto; }
.obrigado__contagem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--creme);
  border: 1px solid var(--linha);
  font-size: 14px;
  font-weight: 500;
  color: var(--petroleo);
}
.obrigado__contagem strong { color: var(--terracota); font-variant-numeric: tabular-nums; }
.obrigado__pontos { display: inline-flex; gap: 4px; }
.obrigado__pontos i { width: 6px; height: 6px; border-radius: 50%; background: var(--terracota); animation: ponto 1.2s ease-in-out infinite; }
.obrigado__pontos i:nth-child(2) { animation-delay: .15s; }
.obrigado__pontos i:nth-child(3) { animation-delay: .3s; }
@keyframes ponto { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.obrigado__botoes { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.obrigado__botoes .botao { width: 100%; }
.obrigado__rodape { margin-top: 22px; font-size: 13px; }
.obrigado__rodape a { color: var(--petroleo); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }

.is-concluido .obrigado__giro { animation: none; stroke-dasharray: none; stroke: #1FA855; }
.is-concluido .obrigado__icone { animation: none; }
.is-concluido .obrigado__contagem { display: none; }

@media (max-width: 900px) {
  .wmodal { padding: 0; align-items: end; }
  .wmodal__caixa { grid-template-columns: minmax(0, 1fr); max-height: 94svh; border-radius: 24px 24px 0 0; overflow-y: auto; animation-name: folhaSubir; }
  .wmodal__form-lado, .wmodal__previa-lado { max-height: none; overflow: visible; }
  .wmodal__caixa { overscroll-behavior: contain; }
  .wmodal__previa-lado { padding: 24px 16px 28px; }
  .wprevia__chat { min-height: 0; max-height: none; }
  @keyframes folhaSubir { from { transform: translateY(100%); } to { transform: none; } }
}
@media (max-width: 560px) {
  .wform__linha { grid-template-columns: minmax(0, 1fr); }
  .wmodal__form-lado { padding: 22px 16px 24px; }
  .wmodal__cabecalho { gap: 12px; }
  .wmodal__avatar { width: 44px; height: 44px; border-radius: 12px; }
  .wmodal__fechar { top: 12px; right: 12px; width: 38px; height: 38px; }
  .obrigado__formas { width: 300px; height: 180px; }
}

/* ---------- Título principal (H1 com palavra-chave) ---------- */
.hero__h1 { margin: 0; font: inherit; color: inherit; }
.hero__h1 .selo { margin-bottom: 28px; }
.hero__h1 .hero__titulo { display: block; }

/* ---------- Dúvidas frequentes ---------- */
.faq { background: var(--areia); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__texto { position: sticky; top: calc(var(--topo-altura) + 32px); }
.faq__texto .botao { margin-top: 28px; }
.faq__lista { display: grid; gap: 12px; }
.faq__item {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 18px;
  transition: box-shadow .3s, border-color .3s;
}
.faq__item[open] { border-color: rgba(181, 63, 26, .35); box-shadow: var(--sombra-suave); }
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--tinta);
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  position: relative;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--creme);
  border: 1px solid var(--linha);
  transition: background .3s, transform .4s var(--ease);
}
.faq__item summary i::before, .faq__item summary i::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 2px;
  margin: -1px 0 0 -6px;
  background: var(--terracota);
  border-radius: 2px;
  transition: transform .3s var(--ease), background .3s;
}
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { background: var(--terracota); transform: rotate(180deg); }
.faq__item[open] summary i::before, .faq__item[open] summary i::after { background: var(--branco); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__item p { padding: 0 22px 22px; margin-top: -4px; }

/* ---------- Rodapé com endereço ---------- */
.rodape__marca { display: flex; flex-direction: column; gap: 16px; }
.rodape__marca address { font-style: normal; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.rodape__marca address a { color: rgba(255, 255, 255, .85); }
.rodape__marca address a:hover { color: var(--mostarda); }

/* ---------- Extras do menu (só celular) ---------- */
.topo__menu-extra { display: none; }
.projetos__dots { display: none; }

/* ---------- Toque ---------- */
html { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .botao:active, .wchip:active, .ambiente:active, .chip:active { transform: scale(.97); }
  .card-projeto:active img { transform: scale(1.03); }
}

/* ---------- Celular premium ---------- */
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__texto { position: static; }

  /* Menu em tela cheia, numerado e com contato */
  .topo__nav {
    justify-content: flex-start;
    padding: calc(var(--topo-altura) + 28px) 24px calc(28px + env(safe-area-inset-bottom));
    gap: 0;
    overflow-y: auto;
    counter-reset: menu;
    background:
      radial-gradient(500px 300px at 100% 0%, var(--rosado), transparent 60%),
      var(--creme);
  }
  .topo__nav > a {
    counter-increment: menu;
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--linha);
    font-size: clamp(2rem, 8vw, 2.6rem);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s;
  }
  .topo__nav > a::before {
    content: "0" counter(menu);
    font-family: var(--fonte);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--terracota);
  }
  .topo__nav > a.is-ativo { color: var(--terracota); }
  .topo.is-aberto .topo__nav > a { opacity: 1; transform: none; }
  .topo.is-aberto .topo__nav > a:nth-of-type(1) { transition-delay: .06s; }
  .topo.is-aberto .topo__nav > a:nth-of-type(2) { transition-delay: .12s; }
  .topo.is-aberto .topo__nav > a:nth-of-type(3) { transition-delay: .18s; }
  .topo.is-aberto .topo__nav > a:nth-of-type(4) { transition-delay: .24s; }
  .topo__menu-extra {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: auto;
    padding-top: 32px;
    opacity: 0;
    transition: opacity .5s .3s;
  }
  .topo.is-aberto .topo__menu-extra { opacity: 1; }
  .topo__menu-contato { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
  .topo__menu-contato a { font-family: var(--fonte-titulo); font-size: 1.4rem; color: var(--petroleo-escuro); }
  .topo__social--mobile { margin-top: 0; }
  .topo.is-aberto { --topo-altura: 72px; }

  /* Campos com 16px para o iPhone não dar zoom */
  .campo input, .campo textarea { font-size: 16px; }
}

@media (max-width: 560px) {
  .hero { padding-bottom: 56px; }
  .hero__h1 .selo { margin-bottom: 22px; font-size: 12px; }
  .hero__imagem { margin-top: 8px; }
  .hero__destaques { margin-top: 36px; }

  /* Projetos em carrossel deslizante */
  .projetos__grid {
    display: flex;
    gap: 12px;
    margin-inline: -16px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .projetos__grid::-webkit-scrollbar { display: none; }
  .card-projeto:nth-child(n) { flex: 0 0 84%; height: 400px; scroll-snap-align: start; }
  .projetos__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .projetos__dots span { width: 8px; height: 8px; border-radius: 99px; background: rgba(52, 78, 95, .22); transition: width .35s var(--ease), background .35s; }
  .projetos__dots span.is-ativo { width: 26px; background: var(--terracota); }

  .faq__item summary { padding: 18px; font-size: 1rem; }
  .faq__item p { padding: 0 18px 18px; }
  .rodape__marca address { font-size: 13px; }
}

/* Áreas seguras (iPhone com notch / barra inferior) */
@supports (padding: env(safe-area-inset-bottom)) {
  .whats-flutuante { bottom: calc(22px + env(safe-area-inset-bottom)); right: calc(22px + env(safe-area-inset-right)); }
  .cookies { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .rodape__base { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  @media (max-width: 900px) {
    .wmodal__previa-lado { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  }
  @media (max-width: 560px) {
    .whats-flutuante { bottom: calc(16px + env(safe-area-inset-bottom)); right: 16px; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .topo__nav > a, .topo__menu-extra { opacity: 1 !important; transform: none !important; }
}
