/* ============================================================
   M Quartucci | Terceirização de Serviços
   Identidade: dourado + azul-marinho + creme (do layout original)
   e Montserrat, a família do logotipo.
   ============================================================ */

:root {
  --ouro: #b8944d;
  --ouro-claro: #d0b36e;
  --ouro-botao: #a8843f;
  --ouro-texto: #8f6b2e;
  --ouro-fio: #dfc98f;
  --ouro-fio-suave: #e8dcbd;
  --marinho: #18364a;
  --marinho-fundo: #142e40;
  --marinho-base: #10263a;
  --texto: #29485b;
  --texto-suave: #4f6878;
  --creme: #f7f5ef;
  --creme-hero: #faf9f5;
  --branco: #fff;
  --erro: #a3392b;

  --fonte: "Montserrat", "Segoe UI", Arial, Helvetica, sans-serif;
  --topo-alto: 82px;
  --topo-baixo: 66px;
  --largura: min(1180px, 92%);
  --curva: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 15px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--topo-alto);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, [role="button"], summary, label[for] { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: var(--largura); margin-inline: auto; }

:focus-visible { outline: 2px solid var(--marinho); outline-offset: 3px; }

.pular {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--marinho); color: #fff; padding: 10px 16px; font-weight: 600;
}
.pular:focus { top: 12px; }

/* seções abaixo do topo fixo */
main section[id] { scroll-margin-top: var(--topo-baixo); }
#inicio { scroll-margin-top: var(--topo-alto); }

/* ---------- rótulos e títulos ---------- */

.rotulo {
  display: flex; align-items: center; gap: 12px;
  color: var(--ouro-texto); font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
}
.rotulo-traco::before {
  content: ""; width: 26px; height: 2px; background: var(--ouro); flex: none;
}

.titulo {
  color: var(--marinho); font-size: 30px; line-height: 1.18; font-weight: 700;
  margin: 10px 0 14px;
}

.secao { padding: 72px 0; }

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

.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 24px;
  border: 0; border-radius: 28px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.2; white-space: nowrap; cursor: pointer;
  transition: color .3s var(--curva), transform .15s ease, box-shadow .3s var(--curva);
}
/* preenchimento que corre da esquerda no hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--marinho);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .38s var(--curva);
}
.btn:focus-visible::before { transform: scaleX(1); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-seta { width: 17px; height: 17px; flex: none; transition: transform .3s var(--curva); }
.btn:focus-visible .btn-seta { transform: translateX(4px); }

.btn-ouro { background: var(--ouro-botao); color: #fff; }
.btn-ouro:focus-visible { color: #fff; }

.btn-branco { background: #fff; color: var(--ouro-texto); }
.btn-branco:focus-visible { color: #fff; }
.btn-branco:focus-visible { outline-color: #fff; }

.btn-contorno {
  background: transparent; color: var(--marinho);
  box-shadow: inset 0 0 0 1.5px var(--marinho);
}
.btn-contorno:focus-visible { color: #fff; }

.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"]::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: girar .8s linear infinite;
}
.btn[aria-busy="true"] .btn-seta { display: none; }
@keyframes girar { to { transform: rotate(360deg); } }

.link-sublinhado {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--marinho); font-weight: 600; font-size: 14px;
  background: linear-gradient(var(--ouro), var(--ouro)) left calc(100% - 10px) / 100% 2px no-repeat;
  transition: background-size .35s var(--curva), color .2s;
}

.link-simples {
  color: var(--marinho); font-weight: 600;
  background: linear-gradient(var(--ouro-claro), var(--ouro-claro)) left bottom / 0 1.5px no-repeat;
  transition: background-size .3s var(--curva), color .2s;
}

/* ---------- topo e menu ---------- */

.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--topo-alto);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #ece8de;
  transition: height .3s var(--curva), border-color .3s;
}
.topo.rolado { height: var(--topo-baixo); border-bottom-color: var(--ouro-fio); }
.topo-linha { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.marca { display: inline-flex; align-items: center; gap: 14px; flex: none; color: var(--marinho); }
.marca-simbolo {
  width: 46px; height: 46px; color: var(--ouro); flex: none;
  transition: width .3s var(--curva), height .3s var(--curva), transform .6s var(--curva);
}
.marca-texto {
  display: flex; flex-direction: column; justify-content: center;
  padding-left: 14px; border-left: 1px solid var(--ouro-claro); line-height: 1;
}
.marca-nome { font-size: 19px; font-weight: 500; letter-spacing: .045em; }
.marca-sub { margin-top: 6px; font-size: 8.6px; font-weight: 500; letter-spacing: .2em; color: var(--texto); }
.topo.rolado .marca-simbolo { width: 40px; height: 40px; }

.menu { display: flex; align-items: center; }
.menu-lista { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px; }
.menu-link {
  position: relative; display: inline-flex; align-items: center; height: 40px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap; color: var(--texto);
  transition: color .2s;
}
.menu-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
  background: var(--ouro); transform: scaleX(0); transform-origin: left center;
  transition: transform .35s var(--curva);
}
.menu-link[aria-current="true"] { color: var(--marinho); }
.menu-link[aria-current="true"]::after { transform: scaleX(1); }

.menu-cta { display: none; }
.topo-cta { flex: none; min-height: 44px; padding: 11px 20px; font-size: 12px; gap: 8px; }
.topo-cta .btn-seta { width: 15px; height: 15px; }

.menu-botao {
  display: none; width: 46px; height: 46px; padding: 0; border: 0;
  background: transparent; color: var(--marinho);
  align-items: center; justify-content: center;
}
.menu-botao-barras { position: relative; width: 24px; height: 16px; }
.menu-botao-barras span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor;
  transition: transform .3s var(--curva), opacity .2s, top .3s var(--curva);
}
.menu-botao-barras span:nth-child(1) { top: 0; }
.menu-botao-barras span:nth-child(2) { top: 7px; }
.menu-botao-barras span:nth-child(3) { top: 14px; }
.menu-botao[aria-expanded="true"] .menu-botao-barras span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao-barras span:nth-child(2) { opacity: 0; }
.menu-botao[aria-expanded="true"] .menu-botao-barras span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.menu-fundo {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(16, 38, 58, .38);
  opacity: 0; transition: opacity .3s;
}
.menu-fundo.visivel { opacity: 1; }

/* ---------- início ---------- */

/* overflow: clip e nao hidden: com hidden o Chrome ignora o scroll-margin do
   proprio elemento, e o item Inicio do menu parava 82px abaixo do topo */
.hero { background: var(--creme-hero); overflow: hidden; overflow: clip; }
.hero-grade { display: grid; grid-template-columns: 44% 56%; min-height: 440px; }
.hero-texto { padding: 58px 36px 58px 0; display: flex; flex-direction: column; justify-content: center; }
.hero h1 {
  font-size: 42px; line-height: 1.12; font-weight: 700; color: var(--marinho);
  margin: 14px 0 18px;
}
.hero h1 span { color: var(--ouro-botao); }
.hero-desc { font-size: 15.5px; max-width: 440px; margin-bottom: 30px; }
.hero-acoes { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }

.hero-foto { position: relative; min-height: 440px; }
.hero-foto img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
/* funde a foto no creme à esquerda e escurece o canto do selo */
.hero-foto::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--creme-hero) 0%, rgba(250,249,245,0) 22%),
    linear-gradient(250deg, rgba(12,30,44,.55) 0%, rgba(12,30,44,0) 38%);
}
.hero-selo {
  position: absolute; right: 30px; top: 46px; z-index: 2; width: 150px;
  color: #fff; font-size: 14px; font-weight: 700; line-height: 1.45;
  letter-spacing: .06em; text-transform: uppercase;
}
.hero-selo::before { content: ""; display: block; width: 34px; height: 2px; background: var(--ouro-claro); margin-bottom: 14px; }

/* ---------- como funciona ---------- */

.processo-grade { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: center; }
.processo-intro .titulo { font-size: 28px; }
.processo-intro p:last-child { font-size: 14px; color: var(--texto-suave); }
.etapas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.etapa { position: relative; text-align: center; padding: 4px 14px; }
.etapa + .etapa::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: var(--ouro-fio); transform-origin: top center;
}
.etapa-icone {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--ouro); color: #fff; display: grid; place-items: center;
}
.etapa-icone svg { width: 28px; height: 28px; }
.etapa-num { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ouro-texto); }
.etapa h3 { color: var(--marinho); font-size: 13.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.35; margin-bottom: 8px; }
.etapa p { font-size: 13px; line-height: 1.55; color: var(--texto-suave); }

/* ---------- vantagens ---------- */

.vantagens { background: var(--creme); display: grid; grid-template-columns: 32% 43% 25%; min-height: 250px; }
.vantagens-foto { position: relative; min-height: 250px; }
.vantagens-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vantagens-texto { padding: 42px 40px; align-self: center; }
.vantagens-texto .titulo { font-size: 27px; }
.vantagens-texto p:last-child { font-size: 14px; }
.vantagens-lista { padding: 36px 30px; border-left: 1px solid #d6c08b; align-self: stretch; display: flex; align-items: center; }
.vantagens-lista ul { list-style: none; margin: 0; padding: 0; }
.vantagens-lista li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; padding: 8px 0; }
.vantagens-lista svg { width: 18px; height: 18px; color: var(--ouro); flex: none; margin-top: 1px; }

/* ---------- áreas ---------- */

.areas-grade { display: grid; grid-template-columns: .9fr 1.25fr; gap: 64px; align-items: start; }
.areas-intro { position: sticky; top: calc(var(--topo-baixo) + 32px); }
.areas-intro > p:not(.rotulo) { font-size: 15px; }
.areas-dica { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ouro-fio-suave); font-size: 13px !important; color: var(--texto-suave); }
.areas-lista { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ouro-fio); }
.area {
  display: grid; grid-template-columns: 1fr auto; column-gap: 24px; row-gap: 4px;
  padding: 20px 18px; border-top: 1px solid var(--ouro-fio);
  transition: background-color .3s var(--curva);
}
.area-nome { grid-column: 1; color: var(--marinho); font-size: 18px; font-weight: 700; line-height: 1.3; transition: color .2s; }
.area-desc { grid-column: 1; font-size: 14px; color: var(--texto-suave); }
.area-acao {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ouro-texto); white-space: nowrap;
}
.area-acao svg { width: 16px; height: 16px; transition: transform .3s var(--curva); }
.area:focus-visible { background: var(--creme); }
.area:focus-visible .area-acao svg { transform: translateX(5px); }

/* ---------- faixa dourada ---------- */

.faixa-ouro {
  position: relative; overflow: hidden; color: #fff; padding: 34px 0;
  background: linear-gradient(100deg, #9a7433 0%, #b08a45 55%, #c29d56 100%);
}
/* a linha fina em diagonal da composição da marca */
.faixa-ouro::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; right: 22%; width: 1px;
  background: rgba(255,255,255,.28); transform: rotate(38deg); pointer-events: none;
}
.faixa-grade { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; }
.faixa-texto h2 { font-size: 24px; line-height: 1.2; font-weight: 700; margin-bottom: 6px; }
.faixa-texto p { font-size: 14.5px; font-weight: 500; max-width: 470px; }
.faixa-marca { text-align: right; font-size: 15px; font-weight: 600; letter-spacing: .08em; line-height: 1.4; }
.faixa-marca small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; }

/* ---------- sobre ---------- */

.sobre-grade { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.sobre-texto .titulo { font-size: 28px; }
.sobre-texto p + p { margin-top: 14px; }
.sobre-dados { position: relative; padding: 30px 0 0; border-top: 2px solid var(--ouro); }
.sobre-simbolo { position: absolute; right: 0; top: 22px; width: 34px; height: 34px; color: var(--ouro-fio); }
.sobre-dados h3 { color: var(--marinho); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.sobre-dados dl { margin: 0; }
.sobre-dados dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--ouro-fio-suave); }
.sobre-dados dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-suave); padding-top: 2px; }
.sobre-dados dd { margin: 0; font-size: 14.5px; color: var(--marinho); font-weight: 500; line-height: 1.5; }

/* ---------- contato ---------- */

.contato { background: var(--creme); }
.contato-grade { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.contato-texto > p:not(.rotulo) { font-size: 15px; }
.canais { list-style: none; margin: 30px 0 0; padding: 0; }
.canais li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--ouro-fio); }
.canais li:last-child { border-bottom: 1px solid var(--ouro-fio); }
.canais svg { width: 22px; height: 22px; color: var(--ouro); flex: none; margin-top: 2px; }
.canal-rotulo { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 2px; }
.canais a { font-size: 14.5px; line-height: 1.5; }

.contato-painel { background: #fff; border-top: 3px solid var(--ouro); padding: 34px 36px 36px; }

.form-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.campo { display: flex; flex-direction: column; min-width: 0; }
.campo-largo { grid-column: 1 / -1; }
.campo label { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--marinho); margin-bottom: 7px; }
.opcional { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--texto-suave); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  background: #fff; border: 1px solid #d8d0bd; border-radius: 3px;
  font-size: 15px; color: var(--marinho);
  transition: border-color .2s, box-shadow .2s;
}
.campo textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.campo select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23a8843f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.campo input::placeholder { color: #9aa7b0; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(184,148,77,.22);
}
.campo.invalido input, .campo.invalido select, .campo.invalido textarea { border-color: var(--erro); }
.campo.invalido input:focus, .campo.invalido select:focus, .campo.invalido textarea:focus { box-shadow: 0 0 0 3px rgba(163,57,43,.18); }
.campo-erro { min-height: 20px; padding-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--erro); font-weight: 500; }
.campo-contador { font-size: 11.5px; color: var(--texto-suave); text-align: right; margin-top: 4px; }

.campo-isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-rodape { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--ouro-fio-suave); }
.form-nota { font-size: 12.5px; color: var(--texto-suave); max-width: 300px; line-height: 1.45; }

.resultado { padding: 12px 0 4px; }
.resultado:focus { outline: none; }
.resultado h3 { color: var(--marinho); font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.resultado p { font-size: 15px; margin-bottom: 12px; }
.resultado strong { color: var(--marinho); font-weight: 600; overflow-wrap: anywhere; }
.sem-quebra { white-space: nowrap; }
.resultado .btn { margin-top: 12px; }
.resultado-simbolo { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--ouro); color: #fff; margin-bottom: 18px; }
.contato-painel { transition: border-color .3s; }
.contato-painel.com-erro { border-top-color: var(--erro); }
.resultado-motivo { color: var(--erro); font-weight: 600; }
.resultado-acoes { display: flex; flex-wrap: wrap; gap: 12px; }

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

.rodape { background: var(--marinho-fundo); color: #c9d3da; }
.rodape-grade { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 48px; padding: 56px 0 44px; }
.marca-clara { color: #fff; }
.marca-clara .marca-simbolo { color: var(--ouro-claro); }
.marca-clara .marca-sub { color: #c9d3da; }
.marca-clara .marca-texto { border-left-color: rgba(208,179,110,.55); }
.rodape-marca p { margin-top: 20px; font-size: 14px; max-width: 360px; line-height: 1.6; }
.rodape-col h2 { color: var(--ouro-claro); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.rodape-col ul { list-style: none; margin: 0; padding: 0; }
.rodape-col li { padding: 5px 0; font-size: 14px; line-height: 1.5; }
.rodape-col a { transition: color .2s; background: linear-gradient(var(--ouro-claro), var(--ouro-claro)) left bottom / 0 1px no-repeat; transition: background-size .3s var(--curva), color .2s; }
.rodape-endereco { color: #aebbc4; }
.rodape-base { background: var(--marinho-base); border-top: 1px solid rgba(208,179,110,.25); }
.rodape-base-linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; font-size: 12.5px; color: #9fb0bb; }
.voltar-topo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ouro-claro); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.voltar-topo svg { width: 16px; height: 16px; transition: transform .3s var(--curva); }

/* ---------- entrada ao rolar (só com JavaScript) ---------- */

.js .revelar {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--curva), transform .7s var(--curva);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .revelar.visivel { opacity: 1; transform: none; }
.js .etapa + .etapa.revelar::before { transform: scaleY(0); transition: transform .8s var(--curva); transition-delay: calc(var(--i, 0) * 90ms + 200ms); }
.js .etapa + .etapa.revelar.visivel::before { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0s !important; }
  .js .revelar { opacity: 1; transform: none; }
}

/* ---------- WhatsApp ---------- */

.btn-icone { width: 18px; height: 18px; flex: none; }
.menu-zap { display: none; }

/* botão flutuante: some no topo da página, no formulário e no rodapé (site.js) */
.zap {
  position: fixed; z-index: 30;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; height: 56px; min-width: 56px; padding: 0 15px;
  border-radius: 28px; background: var(--marinho); color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85);
  transition: opacity .3s, transform .3s var(--curva), visibility 0s .3s, background-color .25s;
}
.zap svg { width: 26px; height: 26px; flex: none; }
.zap-texto {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: max-width .35s var(--curva), margin .35s var(--curva);
}
.zap:focus-visible .zap-texto { max-width: 220px; margin-left: 10px; }
.zap:active { background: var(--ouro-botao); }
.js .zap { opacity: 0; visibility: hidden; transform: translateY(14px) scale(.92); pointer-events: none; }
.js .zap.visivel {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .3s, transform .3s var(--curva), visibility 0s, background-color .25s;
}

@media (hover: hover) and (pointer: fine) {
  .zap:hover { background: var(--ouro-botao); }
  .zap:hover .zap-texto { max-width: 220px; margin-left: 10px; }
  .menu-zap:hover span { color: var(--ouro-texto); }
}

/* ---------- hover só com mouse ----------
   Em tela de toque o :hover gruda depois do toque (o botão ficava azul-marinho
   até tocar em outro lugar). O toque ganha retorno pelo :active. */

.btn:active::before { transform: scaleX(1); transition-duration: .12s; }
.btn-branco:active, .btn-contorno:active { color: #fff; }
.area:active { background: var(--creme); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: scaleX(1); }
  .btn:hover .btn-seta { transform: translateX(4px); }
  .btn-ouro:hover { color: #fff; }
  .btn-branco:hover { color: #fff; }
  .btn-contorno:hover { color: #fff; }
  .link-sublinhado:hover { color: var(--ouro-texto); background-size: 40% 2px; }
  .link-simples:hover { background-size: 100% 1.5px; color: var(--ouro-texto); }
  .marca:hover .marca-simbolo { transform: rotate(-8deg); }
  .menu-link:hover { color: var(--ouro-texto); }
  .menu-link:hover::after { transform: scaleX(1); }
  .area:hover { background: var(--creme); }
  .area:hover .area-nome { color: var(--ouro-texto); }
  .area:hover .area-acao svg { transform: translateX(5px); }
  .campo input:hover, .campo select:hover, .campo textarea:hover { border-color: var(--ouro-claro); }
  .rodape-col a:hover { color: #fff; background-size: 100% 1px; }
  .voltar-topo:hover { color: #fff; }
  .voltar-topo:hover svg { transform: translateY(-4px); }
}

/* ============================================================
   Responsivo
   ============================================================ */

/* abaixo de 1280 o botão do topo sai (o do início continua); o menu segue em uma linha */
@media (max-width: 1279px) {
  .topo-cta { display: none; }
}

/* abaixo de 1280 as cinco etapas precisam da largura toda (no iPad paisagem, 1180px,
   o texto das etapas quebrava em 3 linhas dividindo a linha com a introdução) */
@media (max-width: 1279px) {
  .processo-grade { grid-template-columns: 1fr; gap: 34px; }
  .processo-intro { max-width: 620px; }
  .hero h1 { font-size: 37px; }
  /* a foto de parceria tem 390px de largura: no tablet ela fica numa coluna, nao na largura toda */
  .vantagens { grid-template-columns: 38% 62%; }
  .vantagens-texto { padding: 40px 4% 40px 5%; }
  .vantagens-lista { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #d6c08b; padding: 26px 4%; }
  .vantagens-lista ul { columns: 2; column-gap: 40px; width: 100%; }
  .vantagens-lista li { break-inside: avoid; }
}

/* abaixo de 1024: menu recolhido */
@media (max-width: 1023px) {
  .menu-botao { display: inline-flex; }
  .menu {
    position: fixed; left: 0; right: 0; top: var(--topo-atual, var(--topo-alto)); z-index: 45;
    flex-direction: column; align-items: stretch;
    max-height: calc(100vh - var(--topo-atual, var(--topo-alto)));
    max-height: calc(100dvh - var(--topo-atual, var(--topo-alto)));
    overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-top: 1px solid var(--ouro-fio);
    padding: 6px 4% 26px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--curva), opacity .25s, visibility 0s .3s;
  }
  .menu.aberto { transform: none; opacity: 1; visibility: visible; transition: transform .3s var(--curva), opacity .25s, visibility 0s; }
  .menu-lista { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-lista li { border-bottom: 1px solid var(--ouro-fio-suave); }
  .menu-link { display: flex; height: 56px; font-size: 14px; }
  .menu-link::after { bottom: 12px; right: auto; width: 32px; }
  .menu-cta { display: inline-flex; margin-top: 22px; width: 100%; }
  .menu-zap {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; margin-top: 10px; color: var(--marinho); font-size: 14px; font-weight: 600;
  }
  .menu-zap svg { width: 22px; height: 22px; color: var(--ouro); }

  .hero-grade { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-texto { padding: 44px 0 36px; }
  /* a foto encosta nas bordas da tela; recuo negativo em % alargava a coluna do grid */
  .hero-foto { min-height: 0; aspect-ratio: 16 / 10; margin-inline: calc(50% - 50vw); }
  .hero-foto::before { background: linear-gradient(250deg, rgba(12,30,44,.5) 0%, rgba(12,30,44,0) 40%); }

  .processo-grade { grid-template-columns: 1fr; gap: 34px; }
  .etapas { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .etapa:nth-child(4)::before { display: none; }

  .areas-grade, .sobre-grade, .contato-grade { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .areas-intro { position: static; }

  .faixa-grade { grid-template-columns: 1fr auto; }
  .faixa-marca { display: none; }

  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-marca { grid-column: 1 / -1; }
}

@media (max-width: 699px) {
  body { font-size: 15px; }
  .secao { padding: 56px 0; }
  .titulo { font-size: 26px; }
  .titulo br { display: none; }
  .sobre-texto .titulo { font-size: 23px; }
  .hero h1 { font-size: 33px; }
  .hero-selo { display: none; }
  .hero-foto::before { display: none; }

  .etapas { grid-template-columns: 1fr 1fr; }
  .etapa:nth-child(4)::before { display: block; }
  .etapa:nth-child(3)::before, .etapa:nth-child(5)::before { display: none; }

  .vantagens { grid-template-columns: 1fr; }
  .vantagens-foto { min-height: 0; aspect-ratio: 390 / 170; }
  .vantagens-lista ul { columns: 1; }
  .vantagens-texto { padding: 34px 4% 10px; }
  .vantagens-lista { border-left: 0; padding: 10px 4% 34px; }
  .vantagens-lista ul { border-top: 1px solid #d6c08b; padding-top: 12px; width: 100%; }

  .area { grid-template-columns: 1fr; padding: 18px 4px; }
  .area-acao { grid-column: 1; grid-row: auto; margin-top: 8px; }

  .faixa-grade { grid-template-columns: 1fr; gap: 20px; }
  .faixa-ouro .btn { justify-self: start; }

  .sobre-dados dl > div { grid-template-columns: 1fr; gap: 2px; }
  .sobre-simbolo { width: 44px; height: 44px; }

  .contato-painel { padding: 26px 20px 28px; margin-inline: calc(50% - 50vw); }
  .form-grade { grid-template-columns: 1fr; }
  .form-rodape { flex-direction: column; align-items: stretch; }
  .form-nota { max-width: none; }
  .form-enviar { width: 100%; }

  .rodape-grade { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 34px; }
  .rodape-base-linha { flex-direction: column; align-items: flex-start; gap: 0; padding: 14px 0 6px; }
}

@media (max-width: 420px) {
  .marca { gap: 10px; }
  .marca-simbolo { width: 42px; height: 42px; }
  .marca-texto { padding-left: 10px; }
  .marca-nome { font-size: 17px; }
  .marca-sub { font-size: 7.8px; letter-spacing: .16em; margin-top: 5px; }
  .etapas { grid-template-columns: 1fr; }
  .etapa + .etapa::before { display: block !important; left: 25%; right: 25%; top: -17px; bottom: auto; width: auto; height: 1px; }
  .js .etapa + .etapa.revelar::before { transform: scaleX(0); transform-origin: center; }
  .js .etapa + .etapa.revelar.visivel::before { transform: scaleX(1); }
  .hero-acoes .btn { width: 100%; }
}
