﻿/* ========================================================================== */
/* ROR PLACAS — FOOTER GLOBAL PREMIUM + SEO — 30/08/2026                    */
/* ========================================================================== */
.rp-footer-benefits,
.rp-site-footer {
    position: relative;
    z-index: 2;
}

.rp-footer-benefits {
    margin-top: 46px;
    border-top: 1px solid rgba(212, 175, 55, .22);
    border-bottom: 1px solid rgba(212, 175, 55, .18);
    background: linear-gradient(180deg, rgba(20, 21, 25, .98), rgba(13, 14, 17, .98));
}

.rp-footer-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.rp-footer-benefit {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 18px;
    border-right: 1px solid rgba(255, 255, 255, .06);
    transition: background .22s ease, transform .22s ease;
}

.rp-footer-benefit:last-child { border-right: 0; }
.rp-footer-benefit:hover { background: rgba(212, 175, 55, .045); }

.rp-footer-benefit-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, .42);
    border-radius: 12px;
    color: #e2bd45;
    background: rgba(212, 175, 55, .055);
    box-shadow: inset 0 0 20px rgba(212, 175, 55, .025);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.rp-footer-benefit:hover .rp-footer-benefit-icon {
    transform: translateY(-2px);
    border-color: rgba(229, 196, 81, .78);
    box-shadow: 0 8px 24px rgba(212, 175, 55, .11);
}

.rp-footer-benefit-icon svg { width: 23px; height: 23px; }
.rp-footer-benefit strong { display: block; color: #f4f4f5; font-size: 14px; line-height: 1.25; }
.rp-footer-benefit small { display: block; margin-top: 4px; color: #90939b; font-size: 11.5px; line-height: 1.35; }

.rp-site-footer {
    overflow: hidden;
    padding: 48px 0 0;
    border-top: 1px solid rgba(212, 175, 55, .18);
    background:
        radial-gradient(circle at 12% 2%, rgba(212, 175, 55, .07), transparent 26%),
        linear-gradient(180deg, #101114 0%, #090a0c 100%);
    color: #aeb1b8;
}

.rp-site-footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(680px, 70vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(229, 196, 81, .88), transparent);
    box-shadow: 0 0 18px rgba(229, 196, 81, .22);
}

.rp-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr 1.25fr;
    gap: 34px;
    align-items: start;
}

.rp-footer-brand h2 {
    margin: 15px 0 4px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .06em;
}

.rp-footer-logo { display: inline-block; }
.rp-footer-logo img { display: block; width: auto; height: 42px; max-width: 170px; object-fit: contain; }

.rp-footer-tagline {
    margin: 0 0 12px;
    color: #dcb638;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rp-footer-copy {
    max-width: 330px;
    margin: 0;
    color: #94979f;
    font-size: 12.5px;
    line-height: 1.7;
}

.rp-footer-socials { display: flex; gap: 9px; margin-top: 18px; }
.rp-footer-social {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, .26);
    border-radius: 10px;
    color: #d9b637 !important;
    background: rgba(255,255,255,.018);
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.rp-footer-social svg { width: 19px; height: 19px; }
.rp-footer-social:hover { transform: translateY(-2px); border-color: #d4af37; background: rgba(212,175,55,.09); color: #f0cf60 !important; }
.rp-footer-social-wa:hover { border-color: #25d366; color: #35dc78 !important; background: rgba(37,211,102,.08); }

.rp-footer-col h3 {
    position: relative;
    margin: 4px 0 18px;
    padding-bottom: 10px;
    color: #e7c44d;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.rp-footer-col h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 1px;
    background: #d4af37;
    box-shadow: 0 0 9px rgba(212,175,55,.25);
}

.rp-footer-col > a {
    position: relative;
    display: table;
    max-width: 100%;
    margin: 0 0 10px;
    padding-bottom: 2px;
    color: #aeb1b8;
    font-size: 12.5px;
    line-height: 1.45;
    text-decoration: none !important;
    transition: color .17s ease, transform .17s ease;
}

.rp-footer-col > a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #d4af37;
    transition: width .2s ease;
}

.rp-footer-col > a:hover,
.rp-footer-col > a:focus {
    color: #f0cf60;
    transform: translateX(2px);
}
.rp-footer-col > a:hover:after,
.rp-footer-col > a:focus:after { width: 100%; }

.rp-footer-link-featured { color: #e4bf43 !important; font-weight: 800; }

.rp-footer-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 16px;
}
.rp-footer-tech span {
    padding: 4px 7px;
    border: 1px solid rgba(212,175,55,.18);
    border-radius: 999px;
    background: rgba(212,175,55,.035);
    color: #858991;
    font-size: 10px;
    line-height: 1.25;
}

.rp-footer-contact strong { color: #d7d9dd; font-weight: 700; }
.rp-footer-address {
    margin: 15px 0 11px;
    color: #8f9299;
    font-size: 12px;
    line-height: 1.6;
}
.rp-footer-map { color: #d9b63b !important; font-weight: 700; }

.rp-footer-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 14px;
    margin-top: 36px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.065);
    border-bottom: 1px solid rgba(255,255,255,.065);
    color: #74777f;
    font-size: 11.5px;
}
.rp-footer-popular strong { color: #bdbfc5; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.rp-footer-popular a { color: #8e9198; text-decoration: none !important; transition: color .17s ease; }
.rp-footer-popular a:hover { color: #e3c047; }

.rp-footer-bottom {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #666a72;
    font-size: 11.5px;
}
.rp-footer-bottom p { margin: 0; }
.rp-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 15px; }
.rp-footer-bottom a { color: #7d8088; text-decoration: none !important; transition: color .16s ease; }
.rp-footer-bottom a:hover { color: #d6b43b; }

.rp-footer-animate { animation: rpFooterRise .52s ease both; }
.rp-footer-delay-1 { animation-delay: .03s; }
.rp-footer-delay-2 { animation-delay: .09s; }
.rp-footer-delay-3 { animation-delay: .15s; }
.rp-footer-delay-4 { animation-delay: .21s; }
@keyframes rpFooterRise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1199px) {
    .rp-footer-grid { grid-template-columns: 1.25fr repeat(2, 1fr); }
    .rp-footer-contact { grid-column: span 2; }
    .rp-footer-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rp-footer-benefit:nth-child(2) { border-right: 0; }
    .rp-footer-benefit:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.06); }
}

@media (max-width: 767px) {
    .rp-footer-benefits { margin-top: 32px; }
    .rp-footer-benefits-grid { grid-template-columns: 1fr; }
    .rp-footer-benefit { min-height: 82px; padding: 17px 13px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.055); }
    .rp-footer-benefit:last-child { border-bottom: 0; }
    .rp-footer-benefit:nth-child(2) { border-right: 0; }
    .rp-footer-benefit:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.055); }
    .rp-site-footer { padding-top: 36px; }
    .rp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .rp-footer-contact { grid-column: auto; }
    .rp-footer-brand { padding-bottom: 4px; }
    .rp-footer-col { padding-top: 2px; }
    .rp-footer-popular { margin-top: 28px; line-height: 1.7; }
    .rp-footer-bottom { min-height: 92px; padding: 20px 0; align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .rp-footer-animate { animation: none !important; }
    .rp-footer-benefit,
    .rp-footer-benefit-icon,
    .rp-footer-col > a,
    .rp-footer-col > a:after,
    .rp-footer-social { transition: none !important; }
}


/* ========================================================================== */
/* ROR — WHATSAPP FLUTUANTE PREMIUM + SELOS CONTEXTUAIS DE ORÇAMENTO         */
/* Atualização visual: 30/08/2026                                             */
/* ========================================================================== */

/* O antigo .flutuante/.btnW pode continuar no Site.css sem efeito: o markup
   novo usa classes próprias para evitar conflito com o layout legado. */
.rp-wa-float-wrap {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 2200;
    pointer-events: none;
}

.rp-wa-float {
    position: relative;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 8px 16px 8px 9px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, #25d366 0%, #15ad52 100%);
    box-shadow: 0 12px 30px rgba(0,0,0,.34), 0 0 0 1px rgba(37,211,102,.10), 0 0 28px rgba(37,211,102,.22);
    text-decoration: none !important;
    pointer-events: auto;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.rp-wa-float:before {
    content: "";
    position: absolute;
    inset: -5px;
    z-index: -1;
    border: 1px solid rgba(37,211,102,.55);
    border-radius: inherit;
    opacity: .45;
    animation: rpWaPulse 2.2s ease-out infinite;
}

.rp-wa-float:hover,
.rp-wa-float:focus {
    color: #fff !important;
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.05);
    box-shadow: 0 16px 36px rgba(0,0,0,.40), 0 0 34px rgba(37,211,102,.38);
    outline: none;
}

.rp-wa-float-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(5,92,42,.28);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.rp-wa-float-icon svg { width: 25px; height: 25px; display: block; }

.rp-wa-float-copy { display: flex; flex-direction: column; line-height: 1.08; }
.rp-wa-float-copy strong { color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .01em; }
.rp-wa-float-copy small { margin-top: 4px; color: rgba(255,255,255,.84); font-size: 10.5px; font-weight: 600; white-space: nowrap; }

@keyframes rpWaPulse {
    0% { transform: scale(.96); opacity: .55; }
    70%, 100% { transform: scale(1.16); opacity: 0; }
}

/* Linha compacta de atributos do produto, inspirada no PDP de Homenagem. */
.rp-orc-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.rp-orc-trust > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b9bbc2;
    font-size: 12.5px;
    line-height: 1.35;
}

.rp-orc-trust > span svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #d4af37;
    stroke: currentColor;
}

.rp-orc-trust > span strong { color: #d8d9de; font-weight: 700; }

/* Harmoniza os selos antigos do PDP com os novos sem alterar Site.css. */
.rp-pdp-trust > span { transition: color .18s ease, transform .18s ease; }
.rp-pdp-trust > span:hover { color: #e4c34d; transform: translateY(-1px); }

@media (max-width: 767px) {
    .rp-wa-float-wrap { right: 14px; bottom: 16px; }
    .rp-wa-float { min-width: 56px; min-height: 56px; padding: 7px; }
    .rp-wa-float-copy { display: none; }
    .rp-wa-float-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .rp-orc-trust { gap: 10px 16px; margin-top: 18px; padding-top: 15px; }
    .rp-orc-trust > span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .rp-wa-float:before { animation: none !important; }
    .rp-wa-float, .rp-pdp-trust > span { transition: none !important; }
}


/* ==========================================================================
   FIX V.0.54 — Selos compactos no PDP de Homenagem/Diplomas
   Os SVGs gerados dinamicamente não possuem width/height no markup.
   Sem esta regra, o navegador usa o tamanho padrão do SVG (300x150px).
   ========================================================================== */
.rp-pdp-trust {
    align-items: center;
    gap: 10px 24px;
}

.rp-pdp-trust > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #b9bbc2;
    font-size: 12.5px;
    line-height: 1.35;
}

.rp-pdp-trust > span > svg,
.rp-pdp-trust svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    max-width: 16px;
    flex: 0 0 16px !important;
    display: block;
    color: #d4af37;
    stroke: currentColor;
}

.rp-pdp-trust > span > span {
    display: inline;
    min-width: 0;
}

@media (max-width: 767px) {
    .rp-pdp-trust {
        gap: 9px 16px;
    }

    .rp-pdp-trust > span {
        font-size: 12px;
    }

    .rp-pdp-trust > span > svg,
    .rp-pdp-trust svg {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px;
        max-width: 15px;
        flex-basis: 15px !important;
    }
}
