/* --- RESET E COMPORTAMENTO INICIAL --- */
.ecf-consent-banner[hidden] {
    display: none !important;
}

#lgpd-popup-background,
#lgpd-popup {
    display: none !important;
}

/* --- ESTRUTURA DO BANNER --- */
.ecf-consent-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 100001;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.ecf-consent-banner.is-peek {
    justify-content: flex-start;
}

/* --- CARD PRINCIPAL (TRANSPARÊNCIA 0.82) --- */
.ecf-consent-banner__card {
    width: min(760px, 100%);
    padding: 20px 24px 18px;
    border-radius: 18px;
    background: rgba(21, 20, 19, 0.82);
    color: #f7f4ee;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    pointer-events: auto;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.ecf-consent-banner.is-peek .ecf-consent-banner__card {
    transform: translateY(calc(100% - 14px));
    opacity: 0.96;
}

/* --- TIPOGRAFIA --- */
.ecf-consent-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #f8d27a;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ecf-consent-banner__title {
    margin: 0 0 6px;
    font-size: 19px;
    line-height: 1.2;
    color: #fff;
    font-weight: 700;
}

.ecf-consent-banner__text {
    margin: 0;
    color: rgba(247, 244, 238, 0.84);
    font-size: 13px;
    line-height: 1.55;
}

.ecf-consent-banner__text a {
    color: #f8d27a;
    text-decoration: underline;
}

/* --- BOTÕES E AÇÕES (FOCO EM CONVERSÃO) --- */
.ecf-consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.ecf-consent-btn {
    border: 0;
    border-radius: 12px;
    padding: 10px 18px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* BOTÃO ACEITAR (PRIMÁRIO) - MÁXIMO DESTAQUE */
.ecf-consent-btn--primary {
    background: linear-gradient(135deg, #f8d27a, #d9b870);
    color: #151413;
    font-weight: 600;
    padding: 12px 28px;
    box-shadow: 0 4px 15px rgba(248, 210, 122, 0.3);
    transform: scale(1.03);
}

.ecf-consent-btn--primary:hover {
    transform: scale(1.06) translateY(-1px);
    filter: brightness(1.1);
}

/* BOTÃO ESSENCIAIS (SECUNDÁRIO) - DESESTIMULADO */
.ecf-consent-btn--secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 400;
}

.ecf-consent-btn--secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* --- PEEK (VERSÃO MINIMIZADA) --- */
.ecf-consent-banner__peek {
    position: absolute;
    left: 14px;
    bottom: 0;
    transform: translateY(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(21, 20, 19, 0.82);
    color: #f6f2eb;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
    padding: 8px 16px;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
    backdrop-filter: blur(8px);
}

.ecf-consent-banner.is-peek .ecf-consent-banner__peek {
    transform: translateY(0);
    opacity: 1;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
    .ecf-consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .ecf-consent-banner__card {
        width: 100%;
        padding: 16px;
    }

    .ecf-consent-banner__actions {
        flex-direction: column-reverse;
        width: 100%;
        align-items: stretch;
    }

    .ecf-consent-btn {
        width: 100%;
        text-align: center;
    }
}





.ecf-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.ecf-footer-legal button {
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.ecf-policy-page {
    position: relative;
    background: linear-gradient(180deg, #f6f2eb 0%, #ffffff 100%);
    color: #1c1a1d;
    overflow: hidden;
}

.ecf-policy-page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 180px;
    background: linear-gradient(180deg, #141311 0%, rgba(20, 19, 17, 0.82) 38%, rgba(20, 19, 17, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.ecf-policy-page>* {
    position: relative;
    z-index: 1;
}

.ecf-policy-hero {
    padding: 122px 0 28px;
}

.ecf-policy-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(190, 160, 95, 0.12);
    color: #8f6e2f;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ecf-policy-hero__title {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.05;
    color: #1c1a1d;
}

.ecf-policy-hero__text {
    max-width: 820px;
    margin: 0;
    color: #5f5a57;
    font-size: 16px;
    line-height: 1.7;
}

.ecf-policy-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
    gap: 24px;
    padding-bottom: 72px;
}

.ecf-policy-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(28, 26, 29, 0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 44px rgba(28, 26, 29, 0.06);
}

.ecf-policy-section+.ecf-policy-section {
    margin-top: 28px;
}

.ecf-policy-section h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
}

.ecf-policy-section p,
.ecf-policy-section li {
    color: #5f5a57;
    line-height: 1.7;
    font-size: 15px;
}

.ecf-policy-section ul {
    margin: 0;
    padding-left: 18px;
}

.ecf-policy-side {
    display: grid;
    gap: 18px;
}

.ecf-policy-kpi {
    border-radius: 20px;
    background: #1c1a1d;
    color: #f6f2eb;
    padding: 22px;
}

.ecf-policy-kpi strong {
    display: block;
    font-size: 26px;
    line-height: 1;
    margin-bottom: 8px;
}

.ecf-policy-kpi span {
    color: rgba(246, 242, 235, 0.78);
    line-height: 1.6;
}


/* Alvo: apenas botões de preferência que NÃO estão dentro do banner */
button[data-open-consent]:not(.ecf-consent-banner__peek) {
    color: #818e74 !important;
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

/* Efeito de hover apenas para o link do rodapé */
button[data-open-consent]:not(.ecf-consent-banner__peek):hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

@media (max-width: 900px) {

    .ecf-consent-banner__actions {
        gap: 8px;
    }

    .ecf-policy-grid {
        grid-template-columns: 1fr;
    }
}
/* Outras especialidades nas paginas de servico */
.other-services .other-services__btn {
    background-color: rgb(129, 142, 116);
    color: #ffffff;
}

.other-services .other-services__btn::before {
    background-color: rgb(129, 142, 116);
}

.other-services .other-services__btn::after {
    background-color: #ffffff;
}

.other-services .other-services__btn:hover,
.other-services .other-services__btn:focus {
    color: var(--solox-black, #1c1a1d);
}

.other-services .other-services__btn span {
    color: inherit;
    position: relative;
    z-index: 2;
}
