/* =====================================================================
   UNION — estilos do que não vem do layout copiado:
   linha de privacidade (LGPD) dos formulários e o botão de WhatsApp do rodapé.
   Carregado no <head> de todas as páginas (ferramentas/montar.php).
   O tema (Hello) pinta todo <button>/<a> de rosa no hover: cores travadas aqui.
   ===================================================================== */

/* ---- linha de privacidade logo abaixo dos formulários (os dois ficam sobre fundo escuro) ---- */
.elementor-widget-form .un-aviso-form {
    margin: 10px 0 0;
    font-family: "Roboto", Sans-serif;
    font-size: 11px;
    line-height: 1.45;
    color: rgba(255, 255, 255, .78);
    text-align: start;
}

.elementor-widget-form .un-aviso-form a,
.elementor-widget-form .un-aviso-form a:hover {
    color: #fff;
    text-decoration: underline;
}

/* "Quer Receber Novidades" (rodapé): título e texto são centralizados */
.elementor-widget-form .un-aviso-form--novidades {
    margin-top: 14px;
    text-align: center;
}

/* ---- botão de WhatsApp do rodapé (abaixo do Facebook e Instagram) ---- */
.un-whats-rodape {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 26px 0 22px;
}

.un-whats-rodape .un-whats-rodape__botao,
.un-whats-rodape .un-whats-rodape__botao:visited {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 30px;
    background: #C5BE86;              /* areia da marca (mesma cor do título "Quer Receber Novidades") */
    color: #2B3221;
    font-family: "Roboto", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .4px;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.un-whats-rodape .un-whats-rodape__botao:hover,
.un-whats-rodape .un-whats-rodape__botao:focus-visible {
    background: #FFFFFF;
    color: #2B3221;
    transform: translateY(-2px);
}

.un-whats-rodape .un-whats-rodape__botao:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
}

.un-whats-rodape svg {
    width: 22px;
    height: 22px;
    flex: none;
}

@media (max-width: 767px) {
    .un-whats-rodape .un-whats-rodape__botao { padding: 12px 22px; font-size: 13px; }
}

/* ---- botão redondo verde do WhatsApp, fixo no canto inferior direito (todas as páginas) ----
   Fica por baixo do menu do celular (9999) e do aviso de cookies (99990); o botão de reabrir
   os cookies fica no canto esquerdo, então os dois não se encostam. */
a.un-whats-flutuante,
a.un-whats-flutuante:visited {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9980;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    background: #25D366;              /* verde do WhatsApp */
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

a.un-whats-flutuante:hover,
a.un-whats-flutuante:focus-visible {
    background: #1EBE5B;
    color: #FFFFFF;
    transform: scale(1.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
}

a.un-whats-flutuante:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
}

a.un-whats-flutuante svg {
    width: 33px;
    height: 33px;
}

@media (max-width: 767px) {
    a.un-whats-flutuante,
    a.un-whats-flutuante:visited { right: 16px; bottom: 16px; width: 54px; height: 54px; }
    a.un-whats-flutuante svg { width: 30px; height: 30px; }
}

@media print {
    a.un-whats-flutuante { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .un-whats-rodape .un-whats-rodape__botao { transition: none; }
    .un-whats-rodape .un-whats-rodape__botao:hover { transform: none; }
    a.un-whats-flutuante { transition: none; }
    a.un-whats-flutuante:hover { transform: none; }
}

/* ---- home, seção "Contatos": a foto de fundo (1600 px) ficava no tamanho natural e, em telas
   mais largas, não chegava até a borda direita (já era assim no WordPress). Agora cobre a seção toda. ---- */
.elementor-8 .elementor-element.elementor-element-77d14e5:not(.elementor-motion-effects-element-type-background),
.elementor-8 .elementor-element.elementor-element-77d14e5 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-size: cover;
    background-position: center center;
}
