/* ============================================================
   Padrão WebFormas — Cemitério dos Azulejos (23/09/2026)

   Card "Privacidade e cookies" + botão flutuante de WhatsApp +
   formulário/modal de envio + página da Política + página obrigado.

   ATENÇÃO — rem NÃO é usado neste arquivo.
   O Bootstrap 3 deste template declara html{font-size:10px}
   (vendor/bootstrap/css/bootstrap.min.css, linha 5), então 1rem = 10px
   e não 16px. O kit original (sitesexemplos/_tools/lgpd/lgpd.css) é
   escrito em rem e sairia ~37% menor aqui. Todos os valores abaixo já
   estão convertidos para px na escala de 16px (1rem→16px, .75rem→12px…).
   Se algum dia o html{font-size:10px} sair do bundle, os px continuam certos.

   Cores do site (medidas com getComputedStyle na produção):
     accent  #57a6b0  — .btn-primary / .btn-secondary (CTA "Conheça nosso catálogo")
     amber   #f7bd4b  — faixa de destaque da home
     escuro  #0e0e0e  — footer  (#060606 no footer-copyright)
     fonte   "Open Sans", Arial, sans-serif
   ============================================================ */

:root {
  --lgpd-bg: #111111;
  --lgpd-fg: #ffffff;
  --lgpd-muted: rgba(255, 255, 255, .78);
  --lgpd-border: rgba(255, 255, 255, .12);
  --lgpd-accent: #57a6b0;
  /* texto sobre o accent: #57a6b0 é um ciano claro (L≈0.32); branco daria
     2.8:1. A tinta escura abaixo dá ~6:1, acima do mínimo AA de 4.5:1. */
  --lgpd-accent-fg: #062a2f;
  --lgpd-ico-bg: rgba(87, 166, 176, .15);
  --lgpd-radius: 8px;
  --lgpd-font: "Open Sans", Arial, sans-serif;
  --lgpd-z: 99995;
}

.sr-only { position: absolute; left: -9999px; }

/* ---------------------------------------- card de privacidade e cookies */

.lgpd { position: fixed; left: 16px; bottom: 16px; z-index: var(--lgpd-z); width: min(560px, calc(100vw - 32px));
  font-family: var(--lgpd-font); color: var(--lgpd-fg); transform: translateY(calc(100% + 32px)); 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: 24px 26px 22px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); }
.lgpd__topo { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.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; }
/* o theme.css do Porto tem "p{color:#777}" e margens próprias: reafirmar aqui */
.lgpd__titulo { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.2; color: var(--lgpd-fg); }
.lgpd__txt { font-size: 15px; line-height: 1.6; margin: 0 0 18px; color: var(--lgpd-muted); }
.lgpd__txt a { color: var(--lgpd-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lgpd__txt a:hover, .lgpd__txt a:focus { color: var(--lgpd-accent); }
.lgpd__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.lgpd__btn { font: 700 13px/1 var(--lgpd-font); letter-spacing: .06em; text-transform: uppercase; padding: 15px 24px;
  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; }
.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: 8px 4px; font: 600 14px/1 var(--lgpd-font); color: var(--lgpd-fg);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lgpd__link:hover { color: var(--lgpd-accent); }

.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: 16px; padding: 11px 0; border-top: 1px solid var(--lgpd-border); }
.lgpd__opcao:last-of-type { border-bottom: 1px solid var(--lgpd-border); margin-bottom: 16px; }
.lgpd__opcao strong { display: block; font-size: 14px; color: var(--lgpd-fg); }
.lgpd__opcao span { display: block; font-size: 12.5px; color: var(--lgpd-muted); line-height: 1.45; }
.lgpd__opcao small { font-size: 11.5px; 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; margin: 0; }
.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; }

@media (max-width: 767px) {
  .lgpd { left: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .lgpd__card { padding: 19px 19px 18px; border-radius: 8px; }
  .lgpd__btn { padding: 14px 19px; font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) { .lgpd { transition: none; } }

/* ------------------------------------ botão flutuante de WhatsApp */

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 2147483647; 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; text-decoration: none; }
.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 } }
/* no celular o card de cookies ocupa a base da tela: o botão some enquanto ele está aberto */
@media (max-width: 767px) { body.has-lgpd .wa-float { display: none; } }

/* ------------------------------------ links de privacidade no rodapé */

.footer-copyright .lgpd-links { margin: 6px 0 0; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.footer-copyright .lgpd-links a, .footer-copyright .lgpd-links a:focus { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-copyright .lgpd-links a:hover { color: var(--lgpd-accent); }

/* ------------------------------------ formulário de contato */

/* Bootstrap 3: as colunas .col-md-* dentro do <form> são float:left, então o
   próprio <form> fecharia com altura 0 e engoliria os cliques do que vem
   depois. O clearfix devolve a altura. */
.form-webformas::after { content: ""; display: table; clear: both; }
.form-webformas .form-group { margin-bottom: 15px; }
.form-webformas .recaptcha-wrap { margin: 0 0 15px; padding: 0 15px; }
/* o widget do reCAPTCHA tem 304px fixos: encolhe junto no celular */
@media (max-width: 400px) {
  .form-webformas .recaptcha-wrap .g-recaptcha { transform: scale(.85); transform-origin: 0 0; }
}
.form-webformas .form-erro { display: none; margin: 0 15px 15px; padding: 12px 16px; border-radius: 4px;
  background: #fdecea; border: 1px solid #f5c6cb; color: #8a1f1f; font-size: 14px; line-height: 1.5; }
.form-webformas .form-erro.is-visivel { display: block; }
/* honeypot: fora da tela, nunca no display:none (robô ignora o que está oculto) */
.form-webformas .hp-campo { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* modal "Enviando…" */
.envio-modal { position: fixed; inset: 0; z-index: 2147483646; display: grid; place-items: center;
  background: rgba(0, 0, 0, .62); opacity: 0; transition: opacity .25s; font-family: var(--lgpd-font); }
.envio-modal[hidden] { display: none; }
.envio-modal.is-visivel { opacity: 1; }
.envio-modal__card { background: #fff; border-radius: 8px; padding: 36px 40px; text-align: center; max-width: 380px; margin: 16px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); }
.envio-modal__spin { width: 48px; height: 48px; margin: 0 auto 20px; border-radius: 50%;
  border: 4px solid rgba(87, 166, 176, .25); border-top-color: var(--lgpd-accent); animation: envio-gira .8s linear infinite; }
@keyframes envio-gira { to { transform: rotate(360deg) } }
.envio-modal__titulo { font-size: 18px; font-weight: 700; color: #222; margin: 0 0 8px; }
.envio-modal__txt { font-size: 14px; color: #666; margin: 0; line-height: 1.6; }
body.envio-aberto { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .envio-modal__spin { animation-duration: 2.4s } }

/* ------------------------------------ página da Política de Privacidade */

.politica-wrap { background: #fff; padding: 60px 0 72px; }
.politica { max-width: 860px; margin: 0 auto; font-family: var(--lgpd-font); color: #3a3a3a; font-size: 15px; line-height: 1.75; }
.politica__topo { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #e6e6e6; }
.politica__tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lgpd-accent); margin: 0 0 10px; }
.politica h1 { font-family: var(--lgpd-font); font-size: 34px; font-weight: 700; color: #282828; margin: 0 0 12px; line-height: 1.15; }
.politica__lead { font-size: 17px; color: #282828; margin: 0 0 14px; }
.politica__meta { font-size: 13px; color: #666; margin: 0; }
.politica h2 { font-family: var(--lgpd-font); font-size: 20px; font-weight: 600; color: #282828; margin: 36px 0 10px; }
.politica p { margin: 0 0 14px; color: #3a3a3a; }
.politica ul { margin: 0 0 16px; padding-left: 22px; }
.politica li { margin-bottom: 6px; color: #3a3a3a; }
.politica strong { color: #282828; }
.politica a { color: var(--lgpd-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.politica a:hover { color: #282828; }
@media (max-width: 767px) {
  .politica-wrap { padding: 40px 0 48px; }
  .politica h1 { font-size: 26px; }
}

/* ------------------------------------ obrigado.html (modelo campportaria) */

.obrigado-section { padding: 90px 0; background: #f7f7f7; }
.obrigado-card { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 8px; padding: 56px 32px 48px;
  text-align: center; box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .25); }
.obrigado-crumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px;
  font-size: 13px; line-height: 1.6; color: #6f6f6f; margin-bottom: 28px; }
.obrigado-crumb a, .obrigado-crumb a:focus { color: #6f6f6f; }
.obrigado-crumb a:hover { color: var(--lgpd-accent); }
.obrigado-crumb .sep { color: #c9c9c9; }
.obrigado-crumb .current { color: var(--lgpd-accent); font-weight: 600; }
.obrigado-icon { width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%; background: var(--lgpd-ico-bg);
  color: var(--lgpd-accent); display: grid; place-items: center; }
.obrigado-icon svg { width: 44px; height: 44px; }
.obrigado-card h1 { font-family: var(--lgpd-font); font-size: 34px; font-weight: 700; line-height: 1.25; margin: 0 0 16px; color: #282828; }
.obrigado-card .lead { font-size: 17px; line-height: 1.7; color: #55595e; max-width: 560px; margin: 0 auto 32px; font-weight: 400; }
.obrigado-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-obrigado { display: inline-flex; align-items: center; gap: 10px; font-family: var(--lgpd-font); font-size: 14px; font-weight: 700;
  line-height: 1.2; text-transform: uppercase; letter-spacing: .5px; padding: 14px 28px; border-radius: 6px;
  border: 2px solid #25d366; background: #25d366; color: #fff; transition: all .25s; text-decoration: none; }
.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: var(--lgpd-accent); color: var(--lgpd-accent); }
.btn-obrigado--ghost:hover, .btn-obrigado--ghost:focus { background: var(--lgpd-accent); border-color: var(--lgpd-accent); color: #fff; }
.btn-obrigado--ghost svg { width: 16px; height: 16px; }
@media (max-width: 767px) {
  .obrigado-section { padding: 60px 0; }
  .obrigado-card { padding: 40px 20px 32px; }
  .obrigado-card h1 { font-size: 26px; }
}
