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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--altura-cabecalho);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cor-fundo);
  color: var(--cor-texto);
  font-family: var(--fonte-texto);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: 400;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

em {
  font-style: italic;
}

.visualmente-oculto {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 800px) {
  .so-desktop { display: none !important; }
}
@media (min-width: 801px) {
  .so-mobile { display: none !important; }
}

.container {
  width: min(var(--largura-conteudo, 960px), 100% - 48px);
  margin-inline: auto;
}


.cabecalho {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--cabecalho-fundo);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cabecalho a:focus-visible,
.rodape a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}


.com-fundo {
  position: relative;
  background-color: var(--fundo-cor, #000);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: var(--fundo-posicao, 50% 50%);
}

.com-fundo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sobreposicao, transparent);
  pointer-events: none;
}

.com-fundo > * {
  position: relative;
}

@media (min-width: 801px) and (hover: hover) {
  .fundo-fixo {
    background-attachment: fixed;
  }
}


html.js [data-anima] {
  opacity: 0;
}

html.js [data-anima].visivel {
  opacity: 1;
  animation: var(--anima-nome, anima-fade) var(--anima-duracao, 2s) cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--anima-atraso, 0.2s) both;
}

[data-anima="slide"] {
  --anima-nome: anima-slide;
}

@keyframes anima-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes anima-slide {
  0% { opacity: 0; transform: translateX(-200px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-anima],
  html.js [data-anima].visivel {
    opacity: 1;
    animation: none;
  }
}


.carregando {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--carregando-fundo, #fff);
  transition: opacity 0.8s ease, visibility 0.8s ease;
  animation: carregando-some 0.8s ease 5s forwards;
}

.carregando img {
  width: var(--carregando-logo, 170px);
  max-width: 60vw;
  animation: carregando-logo 1.2s ease both;
}

.carregando.saindo {
  opacity: 0;
  visibility: hidden;
}

html.pagina-carregando,
html.pagina-carregando body {
  overflow: hidden;
}

@keyframes carregando-logo {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: none; }
}

@keyframes carregando-some {
  to { opacity: 0; visibility: hidden; }
}


.whatsapp {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whats-fundo);
  animation: whats-pulso 3s infinite;
  transition: background-color 0.25s ease;
}

.whatsapp svg {
  width: 30px;
  height: 30px;
  overflow: visible;
  fill: var(--whats-icone);
}

.whatsapp:hover,
.whatsapp:focus-visible {
  background: var(--whats-fundo-hover);
}

@keyframes whats-pulso {
  0% { box-shadow: 0 0 0 0 var(--whats-pulso); }
  70% { box-shadow: 0 0 0 20px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}


.aviso-cookies {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 16px 24px;
  width: min(960px, 100% - 32px);
  padding: 14px 20px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  color: #242424;
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.aviso-cookies[hidden] {
  display: none;
}

.aviso-cookies p {
  flex: 1;
}

.aviso-cookies button {
  flex: none;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
}

.aviso-cookies .aceitar {
  padding: 9px 14px;
  background: #1e88e5;
  color: #fff;
}

.aviso-cookies .aceitar:hover {
  background: #1565c0;
}

.aviso-cookies .recusar {
  padding: 9px 14px;
  background: none;
  color: #4a4a4a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aviso-cookies .recusar:hover {
  color: #1e88e5;
}


.cookies-fundo {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.5);
}

.cookies-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 111;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 24px;
  overflow-y: auto;
  transform: translate(-50%, -50%);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 4px 15px 2px rgba(0, 0, 0, 0.35);
  color: rgba(0, 0, 0, 0.87);
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.cookies-fundo[hidden],
.cookies-modal[hidden] {
  display: none;
}

.cookies-fechar {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(0, 0, 0, 0.55);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.cookies-fechar:hover {
  color: rgba(0, 0, 0, 0.87);
}

.cookies-titulo {
  margin: 0;
  padding-right: 30px;
  color: rgba(0, 0, 0, 0.84);
  font-size: 18px;
  font-weight: 700;
}

.cookies-sub {
  margin: 0 0 36px;
  font-size: 13px;
}

.cookies-opcao {
  margin-bottom: 24px;
}

.cookies-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cookies-nome {
  color: rgba(0, 0, 0, 0.84);
  font-size: 14px;
  font-weight: 700;
}

.cookies-sempre {
  color: rgba(0, 0, 0, 0.52);
  font-size: 12px;
}

.cookies-texto {
  margin: 0;
  padding-right: 48px;
  color: rgba(0, 0, 0, 0.68);
  font-size: 13px;
  line-height: 1.4;
}

.cookies-chave {
  position: relative;
  flex: none;
  width: 32px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: #898989;
  cursor: pointer;
  transition: background 0.4s;
}

.cookies-chave::after {
  content: "";
  position: absolute;
  inset: -17px -8px;
}

.cookies-chave span {
  position: absolute;
  top: -3px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s;
}

.cookies-chave[aria-checked="true"] {
  background: #6dbeb7;
}

.cookies-chave[aria-checked="true"] span {
  transform: translateX(16px);
  background: #2f9e95;
}

.cookies-chave:focus-visible {
  outline: 2px solid #2196f3;
  outline-offset: 6px;
}

.cookies-confirmar {
  display: block;
  margin: 48px 0 0 auto;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  background: #2196f3;
  color: #fff;
  font: 14px/1 Roboto, system-ui, sans-serif;
  cursor: pointer;
}

.cookies-confirmar:hover {
  background: #1976d2;
}

.aviso-cookies .configurar {
  padding: 9px 14px;
  background: none;
  color: #4a4a4a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aviso-cookies .configurar:hover {
  color: #1e88e5;
}

@media (prefers-reduced-motion: reduce) {
  .cookies-chave,
  .cookies-chave span {
    transition: none;
  }
}


.preferencias-cookies {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 94;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px 2px rgba(0, 0, 0, 0.09);
  color: #3d3d3d;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.preferencias-cookies svg {
  width: 24px;
  height: 24px;
}

.preferencias-cookies:hover,
.preferencias-cookies:focus-visible {
  transform: scale(1.08);
  color: #906433;
  box-shadow: 0 2px 8px 2px rgba(0, 0, 0, 0.16);
}

.preferencias-cookies[hidden] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .preferencias-cookies {
    transition: none;
  }
}

.aviso-cookies .fechar {
  padding: 4px 6px;
  background: none;
  color: #8195a8;
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 800px) {
  .aviso-cookies {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 14px 40px 14px 16px;
    font-size: 13px;
  }

  .aviso-cookies p {
    flex: 1 1 100%;
  }

  .aviso-cookies .aceitar {
    order: 3;
    margin-left: auto;
    padding: 9px 12px;
  }

  .aviso-cookies .recusar {
    padding: 9px 4px;
  }

  .aviso-cookies .configurar {
    order: 1;
    padding-left: 0;
  }

  .aviso-cookies .recusar {
    order: 2;
    padding: 9px 4px;
  }

  .aviso-cookies .fechar {
    position: absolute;
    top: 6px;
    right: 8px;
  }

  .cookies-modal {
    padding: 20px;
  }
}


.form-lead {
  display: grid;
  gap: 24px;
}

.form-lead input[type="text"],
.form-lead input[type="email"],
.form-lead input[type="tel"] {
  width: 100%;
  height: var(--campo-altura, 36px);
  padding: 0 8px;
  border: 1px solid var(--campo-borda, transparent);
  border-radius: var(--campo-raio, 0);
  background: var(--campo-fundo, #fff);
  color: var(--form-cor);
  font: 16px/1 "Open Sans", sans-serif;
  outline: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-lead input::placeholder {
  color: var(--form-placeholder);
  opacity: 1;
}

.form-lead input:focus-visible {
  box-shadow: 0 0 0 2px var(--form-foco);
}

.form-lead [aria-invalid="true"] {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 1px #c62828;
}

.aceite {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-right: 42px;
  color: var(--form-cor);
  font: 14px/1.36 "Open Sans", sans-serif;
  cursor: pointer;
}

.aceite input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--form-botao);
  cursor: pointer;
}

.form-lead button[type="submit"] {
  height: 54px;
  border: 0;
  background: var(--form-botao);
  color: var(--form-botao-texto);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.1s ease;
}

.form-lead button[type="submit"]:hover,
.form-lead button[type="submit"]:focus-visible {
  background: var(--form-botao-hover);
  color: var(--form-botao-texto-hover);
}

.form-lead button[disabled] {
  cursor: progress;
  opacity: 0.7;
}

.form-status {
  min-height: 1.4em;
  color: var(--form-cor);
  font: 14px/1.4 "Open Sans", sans-serif;
}

.form-status:empty {
  display: none;
}

.form-status.erro {
  color: var(--form-erro, #ff6f61);
}
