/* ============================================================
   Card de privacidade e cookies — padrão WebFormas (18/09/2026)
   Cores vêm das variáveis abaixo: redefinir por site (ver LEIA-ME.md).
   ============================================================ */
:root {
  --lgpd-bg: #0e0e0e;
  /* fundo do card (escuro, na paleta do site) */
  --lgpd-fg: #ffffff;
  /* texto */
  --lgpd-muted: rgba(255, 255, 255, .78);
  --lgpd-border: rgba(255, 255, 255, .12);
  --lgpd-accent: #1b5f94;
  /* botão "Aceitar todos" e links */
  --lgpd-accent-fg: #ffffff;
  /* texto sobre o accent (contraste 4.5:1) */
  --lgpd-ico-bg: rgba(27, 95, 148, .28);
  --lgpd-radius: 4px;
  --lgpd-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --lgpd-z: 99995;
}
/* usada nos textos "Análise"/"Publicidade" dos toggles (lgpd.html): o
   próprio card já explica a opção com o texto visível ao lado, então o rótulo
   do <input> fica só para leitor de tela. Antes vinha como style="" inline no
   markup; regra aqui para nenhum site precisar de CSS inline por causa dela. */
.sr-only {
  position: absolute;
  left: -9999px;
}
.lgpd {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: var(--lgpd-z);
  width: min(560px, calc(100vw - 2rem));
  font-family: var(--lgpd-font);
  color: var(--lgpd-fg);
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s;
}
.lgpd.is-visivel {
  transform: none;
  opacity: 1;
}
.lgpd[hidden] {
  display: none;
}
.lgpd__card {
  background: var(--lgpd-bg);
  border: 1px solid var(--lgpd-border);
  border-radius: var(--lgpd-radius);
  padding: 1.5rem 1.6rem 1.4rem;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
}
.lgpd__topo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .7rem;
}
.lgpd__ico {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lgpd-ico-bg);
  color: var(--lgpd-accent);
  display: grid;
  place-items: center;
}
.lgpd__ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lgpd__titulo {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.lgpd__txt {
  font-size: .92rem;
  line-height: 1.6;
  margin: 0 0 1.1rem;
  color: var(--lgpd-muted);
}
.lgpd__txt a {
  color: var(--lgpd-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lgpd__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .75rem;
}
.lgpd__btn {
  font: 700 .78rem/1 var(--lgpd-font);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.lgpd__btn:hover, .lgpd__btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}
/* cores tambem no hover/focus: temas (Hello Elementor etc.) tem button:hover proprio */
.lgpd__btn--sim, .lgpd__btn--sim:hover, .lgpd__btn--sim:focus {
  background: var(--lgpd-accent);
  color: var(--lgpd-accent-fg);
  border-color: var(--lgpd-accent);
}
.lgpd__btn--sim:hover {
  filter: brightness(1.08);
}
.lgpd__btn--nao, .lgpd__btn--nao:hover, .lgpd__btn--nao:focus {
  background: transparent;
  color: var(--lgpd-fg);
  border-color: rgba(255, 255, 255, .55);
}
.lgpd__btn--nao:hover {
  border-color: var(--lgpd-fg);
}
.lgpd__link, .lgpd__link:hover, .lgpd__link:focus {
  background: none;
  border: 0;
  padding: .5rem .25rem;
  font: 600 .85rem/1 var(--lgpd-font);
  color: var(--lgpd-fg);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.lgpd__link:hover {
  color: var(--lgpd-accent);
}
/* painel de preferências (mesmo card, troca o miolo) */
.lgpd__prefs {
  display: none;
}
.lgpd.is-prefs .lgpd__txt, .lgpd.is-prefs .lgpd__card>.lgpd__acoes {
  display: none;
}
.lgpd.is-prefs .lgpd__prefs {
  display: block;
}
.lgpd__opcao {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-top: 1px solid var(--lgpd-border);
}
.lgpd__opcao:last-of-type {
  border-bottom: 1px solid var(--lgpd-border);
  margin-bottom: 1rem;
}
.lgpd__opcao strong {
  display: block;
  font-size: .9rem;
}
.lgpd__opcao span {
  display: block;
  font-size: .78rem;
  color: var(--lgpd-muted);
  line-height: 1.45;
}
.lgpd__opcao small {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lgpd-accent);
  font-weight: 700;
  white-space: nowrap;
}
.lgpd__switch {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
}
.lgpd__switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.lgpd__switch i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  transition: background .2s;
}
.lgpd__switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.lgpd__switch input:checked+i {
  background: var(--lgpd-accent);
}
.lgpd__switch input:checked+i::after {
  transform: translateX(20px);
}
.lgpd__switch input:focus-visible+i {
  outline: 2px solid var(--lgpd-accent);
  outline-offset: 2px;
}
/* enquanto o card está aberto, o botão flutuante de WhatsApp some no celular */
@media (max-width: 767px) {
  .lgpd {
    left: .75rem;
    bottom: .75rem;
    width: calc(100vw - 1.5rem);
  }
  .lgpd__card {
    padding: 1.2rem 1.2rem 1.1rem;
    border-radius: 20px;
  }
  .lgpd__btn {
    padding: .85rem 1.2rem;
    font-size: .72rem;
  }
  body.has-lgpd .wa-float {
    display: none;
  }
  /* o card ocupa o rodape da tela; o botao volta quando ele fecha */
}
@media (prefers-reduced-motion: reduce) {
  .lgpd {
    transition: none;
  }
}
/* ============================================================
   Padrão WebFormas (22/09/2026): botão flutuante de WhatsApp + links do
   rodapé + formulário (status, honeypot, modal de envio) + obrigado + política.
   O card de privacidade e cookies (kit) está acima.
   ============================================================ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99990;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .3s ease, bottom .3s ease
}
.wa-float:hover, .wa-float:focus {
  transform: scale(1.06);
  color: #fff
}
.wa-float svg {
  width: 32px;
  height: 32px
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: .6;
  animation: wa-pulso 2.2s ease-out infinite
}
@keyframes wa-pulso {
  0% {
    transform: scale(.85);
    opacity: .7
  }
  100% {
    transform: scale(1.35);
    opacity: 0
  }
}
@media (prefers-reduced-motion:reduce) {
  .wa-float::before {
    animation: none
  }
}
/* o #scrollup do template fica no mesmo canto: sobe para não ficar embaixo do botão */
#scrollup.scrollup {
  bottom: 92px
}
/* o style.css do template pinta TODO <p> de #999 com 15px — como é regra de
   elemento, ela vence a cor herdada de .lgpd e apagaria o texto do card escuro */
.lgpd p {
  font-family: var(--lgpd-font)
}
.lgpd .lgpd__titulo {
  color: var(--lgpd-fg);
  font-size: 17px;
  line-height: 1.2;
  margin: 0;
  font-weight: 700
}
.lgpd .lgpd__txt {
  color: var(--lgpd-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 17px
}
.lgpd .lgpd__txt a {
  color: #6fb3e8
}
.lgpd .lgpd__ico {
  color: #6fb3e8
}
.lgpd .lgpd__opcao strong {
  color: var(--lgpd-fg)
}
.lgpd .lgpd__opcao span {
  color: var(--lgpd-muted)
}
/* o style.css do template dá "a{display:block}" e "a:hover{color:#fff}" para
   TODO link do site: sem isto o link da política quebra a linha sozinho (e o
   ponto final fica órfão numa linha) e os links some no hover em fundo claro */
.lgpd .lgpd__txt a, .form-privacidade a, .politica a, .sub-footer .lgpd-links a {
  display: inline
}
.lgpd .lgpd__txt a:hover, .lgpd .lgpd__txt a:focus {
  color: #fff
}
.sub-footer .lgpd-links a:hover, .sub-footer .lgpd-links a:focus {
  color: #fff
}
.politica a:hover, .politica a:focus, .form-privacidade a:hover, .form-privacidade a:focus {
  color: #00487e
}
/* o .sub-footer p do template é float:left com margin-top:28px (a linha de
   copyright) e a nav do selo da WebFormas é float:right — sem o clear os links
   subiriam para o lado do copyright em vez de ficar na linha de baixo */
.sub-footer .lgpd-links {
  clear: both;
  float: left;
  width: 100%;
  text-align: left;
  font-size: 12px;
  color: #8a8a8a;
  margin: 14px 0 0;
  line-height: 20px
}
.sub-footer .lgpd-links a {
  color: #6fb3e8;
  text-decoration: underline;
  text-underline-offset: 3px
}
.sub-footer .lgpd-links a:hover {
  color: #fff
}
/* formulário de contato (usa as .form-group/.form-control do próprio template) */
.form-padrao .f-status {
  display: none;
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5
}
.form-padrao .f-status.show {
  display: block
}
.form-padrao .f-status.info {
  background: #eef5fb;
  color: #14476e;
  border: 1px solid #c5dcf0
}
.form-padrao .f-status.erro {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca
}
.f-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}
.form-padrao label {
  font-weight: 600;
  color: #464a5a;
  font-size: 13px;
  margin-bottom: 6px
}
.form-padrao .g-recaptcha {
  margin: 0 0 20px
}
.form-padrao button.btn {
  border: 0;
  cursor: pointer;
  background: #1b5f94;
  line-height: 40px
}
.form-padrao button.btn::before {
  display: none
}
.form-padrao button.btn:hover {
  background: #00487e
}
/* :invalid vem DEPOIS do :focus na cascata do Bootstrap; sem o :not(:focus) todo
   campo required (que nasce inválido) ficaria sem anel de foco */
.form-padrao .form-control:invalid:not(:focus) {
  box-shadow: none
}
.form-padrao button.enviando {
  opacity: .7;
  cursor: progress
}
.form-privacidade {
  font-size: 12.5px;
  line-height: 1.6;
  color: #999;
  margin: 16px 0 0
}
.form-privacidade a {
  color: #1b5f94;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px
}
.form-privacidade a:hover {
  color: #00487e
}
/* modal "enviando" (criado pelo initForm em assets/scripts/padrao-webformas.js) */
.envio-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14, 14, 14, .82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .25s;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
}
.envio-modal.is-visivel {
  opacity: 1
}
.envio-modal[hidden] {
  display: none
}
.envio-modal__card {
  background: #fff;
  border-radius: 4px;
  padding: 40px 32px 32px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25)
}
.envio-modal__spin {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 5px solid #e6ecf1;
  border-top-color: #1b5f94;
  animation: envio-gira .9s linear infinite
}
.envio-modal.is-ok .envio-modal__spin {
  border-color: #25d366;
  animation: none;
  position: relative
}
.envio-modal.is-ok .envio-modal__spin::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 9px;
  width: 12px;
  height: 24px;
  border: solid #25d366;
  border-width: 0 5px 5px 0;
  transform: rotate(45deg)
}
.envio-modal .envio-modal__titulo {
  font-size: 19px;
  font-weight: 700;
  color: #00487e;
  margin: 0 0 6px;
  line-height: 1.3;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
}
.envio-modal .envio-modal__txt {
  font-size: 14px;
  color: #777;
  margin: 0;
  line-height: 1.5;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
}
@keyframes envio-gira {
  to {
    transform: rotate(360deg)
  }
}
@media (prefers-reduced-motion:reduce) {
  .envio-modal__spin {
    animation-duration: 2s
  }
  .envio-modal {
    transition: none
  }
}
body.envio-aberto {
  overflow: hidden
}
/* obrigado.html (padrão campportaria adaptado ao template) */
.obrigado-section {
  padding: 90px 0
}
.obrigado-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center
}
.obrigado-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(27, 95, 148, .12);
  color: #1b5f94;
  display: grid;
  place-items: center
}
.obrigado-card h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #2b2b2b;
  font-family: 'Teko', sans-serif;
  font-weight: 500;
  text-transform: uppercase
}
.obrigado-card h1 .mark {
  color: #1b5f94;
  background: none;
  padding: 0
}
.obrigado-card p.lead {
  font-size: 16px;
  line-height: 1.8;
  color: #777;
  max-width: 560px;
  margin: 0 auto 32px
}
.obrigado-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px
}
.btn-obrigado {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Teko', sans-serif;
  font-size: 22px;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 0 25px;
  height: 44px;
  line-height: 44px;
  border-radius: 1px;
  border: 1px solid #25d366;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  transition: background .25s, border-color .25s
}
.btn-obrigado:hover, .btn-obrigado:focus {
  background: #1ebe5b;
  border-color: #1ebe5b;
  color: #fff;
  text-decoration: none
}
.btn-obrigado svg {
  width: 20px;
  height: 20px
}
.btn-obrigado--ghost {
  background: transparent;
  border-color: #1b5f94;
  color: #1b5f94
}
.btn-obrigado--ghost:hover, .btn-obrigado--ghost:focus {
  background: #1b5f94;
  border-color: #1b5f94;
  color: #fff
}
.btn-obrigado--ghost svg {
  width: 16px;
  height: 16px
}
@media (max-width:767px) {
  .obrigado-section {
    padding: 60px 0
  }
  .obrigado-card h1 {
    font-size: 32px
  }
}
/* politica-de-privacidade.html */
.politica-wrap {
  padding: 70px 0 90px
}
.politica {
  max-width: 860px;
  margin: 0 auto;
  color: #666;
  font-size: 15px;
  line-height: 1.8
}
.politica__topo {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee
}
.politica p.politica__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #1b5f94;
  margin: 0 0 10px;
  line-height: 1.4
}
.politica h1 {
  font-size: 44px;
  font-weight: 500;
  color: #2b2b2b;
  margin: 0 0 12px;
  line-height: 1.1;
  font-family: 'Teko', sans-serif;
  text-transform: uppercase
}
.politica p.politica__lead {
  font-size: 17px;
  color: #555;
  margin: 0 0 14px;
  line-height: 1.6
}
.politica p.politica__meta {
  font-size: 13px;
  color: #999;
  margin: 0;
  line-height: 1.5
}
.politica h2 {
  font-size: 28px;
  color: #2b2b2b;
  margin: 36px 0 10px;
  font-family: 'Teko', sans-serif;
  font-weight: 500;
  text-transform: uppercase
}
/* o style.css dá p{font-size:15px;color:#999;margin:0 0 30px} como regra de
   elemento, que vence a cor e o espaçamento herdados de .politica */
.politica p {
  margin: 0 0 14px;
  color: #666;
  font-size: 15px;
  line-height: 1.8
}
.politica ul {
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc
}
.politica li {
  margin-bottom: 6px;
  color: #666;
  font-size: 15px;
  line-height: 1.8
}
.politica a {
  color: #1b5f94;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px
}
.politica a:hover {
  color: #00487e
}
@media (max-width:767px) {
  .politica-wrap {
    padding: 50px 0 60px
  }
  .politica h1 {
    font-size: 32px
  }
}

