
:root {
    --lic-purple: #66127f;
    --lic-purple-dark: #3a0b4b;
    --lic-pink: #e50086;
    --lic-pink-dark: #bd006d;
    --lic-soft: #fff7fc;
    --lic-border: #f0dcec;
    --lic-text: #2f1438;
    --lic-muted: #735f79;
}

.lic-footer-clean {
    position: relative;
    overflow: hidden;
    color: var(--lic-text);
    background:
        radial-gradient(circle at 0 0, rgba(229, 0, 134, .08), transparent 30%),
        radial-gradient(circle at 100% 10%, rgba(102, 18, 127, .09), transparent 27%),
        linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
    border-top: 1px solid var(--lic-border);
}

.lic-footer-clean::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    bottom: 35px;
    border-radius: 50%;
    background: rgba(229, 0, 134, .045);
    pointer-events: none;
}

.lic-footer-main {
    position: relative;
    z-index: 1;
    padding-top: 58px;
    padding-bottom: 52px;
}

.lic-footer-brand-card {
    padding: 25px;
    border: 1px solid rgba(229, 0, 134, .12);
    border-radius: 26px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 22px 60px rgba(66, 15, 79, .08);
    backdrop-filter: blur(10px);
}

.lic-footer-logo-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 15px;
    text-decoration: none;
}

.lic-footer-logo-link img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.lic-footer-text {
    margin: 0 0 18px;
    color: var(--lic-muted);
    font-size: .94rem;
    line-height: 1.72;
}

.lic-footer-contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ms-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    color: #fff !important;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    background: linear-gradient(135deg, var(--lic-purple), var(--lic-pink));
    box-shadow: 0 12px 26px rgba(102, 18, 127, .16);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ms-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(102, 18, 127, .22);
}

.ms-chip-whatsapp {
    background: #1fbd5a;
    box-shadow: 0 12px 25px rgba(31, 189, 90, .2);
}

.ms-chip-light {
    color: var(--lic-purple) !important;
    background: #fff;
    border: 1px solid var(--lic-border);
    box-shadow: none;
}

.lic-footer-mini-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 19px;
    color: #6b5270;
    font-size: .77rem;
    font-weight: 750;
}

.lic-footer-mini-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lic-footer-mini-trust i {
    color: var(--lic-pink);
}

.lic-footer-title {
    position: relative;
    margin: 5px 0 19px;
    padding-bottom: 11px;
    color: var(--lic-purple-dark);
    font-size: .84rem;
    font-weight: 950;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.lic-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--lic-purple), var(--lic-pink));
}

.ms-footer-list {
    display: grid;
    gap: 9px;
    margin: 0;
}

.ms-footer-list a {
    display: inline-flex;
    align-items: center;
    color: #68516e;
    font-size: .89rem;
    font-weight: 720;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.ms-footer-list a::before {
    content: "";
    width: 0;
    height: 2px;
    margin-right: 0;
    border-radius: 99px;
    background: var(--lic-pink);
    transition: width .2s ease, margin-right .2s ease;
}

.ms-footer-list a:hover {
    color: var(--lic-purple);
    transform: translateX(2px);
}

.ms-footer-list a:hover::before {
    width: 11px;
    margin-right: 6px;
}

.ms-trust-box {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.ms-trust-box > div {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    border: 1px solid #f0e2f4;
    border-radius: 15px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 8px 20px rgba(54, 20, 74, .04);
}

.ms-trust-box > div > i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--lic-purple), var(--lic-pink));
}

.ms-trust-box span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ms-trust-box strong {
    color: var(--lic-purple-dark);
    font-size: .78rem;
    line-height: 1.2;
}

.ms-trust-box small {
    margin-top: 2px;
    color: #7b687f;
    font-size: .69rem;
    font-weight: 650;
    line-height: 1.25;
}

.lic-footer-service-card {
    display: grid;
    gap: 13px;
    padding: 18px;
    border: 1px solid #efdfef;
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 16px 42px rgba(60, 17, 71, .06);
}

.lic-service-line {
    display: grid;
    grid-template-columns: 29px 1fr;
    gap: 9px;
    align-items: start;
}

.lic-service-line > i {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 9px;
    color: var(--lic-purple);
    background: #fbecf7;
}

.lic-service-line > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.lic-service-line strong {
    margin-bottom: 2px;
    color: var(--lic-purple-dark);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.lic-service-line span,
.lic-service-line a {
    overflow-wrap: anywhere;
    color: #705d74;
    font-size: .82rem;
    font-weight: 680;
    line-height: 1.42;
    text-decoration: none;
}

.lic-service-line a:hover {
    color: var(--lic-pink-dark);
    text-decoration: underline;
}

.ms-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--lic-border);
    background: rgba(255, 255, 255, .88);
}

.ms-footer-bottom .container {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #78647c;
    font-size: .78rem;
    line-height: 1.5;
}

.lic-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.lic-footer-bottom-links a {
    color: #694d72;
    font-weight: 780;
    text-decoration: none;
}

.lic-footer-bottom-links a:hover {
    color: var(--lic-pink-dark);
}

/* Banner de cookies */
.ms-cookie {
    position: fixed;
    z-index: 11050;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    max-width: 760px;
    margin-left: auto;
    padding: 14px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border: 1px solid #efddef;
    border-radius: 18px;
    color: #563a5c;
    font-size: .84rem;
    line-height: 1.45;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 20px 60px rgba(45, 8, 55, .18);
    backdrop-filter: blur(12px);
}

.ms-cookie a {
    color: var(--lic-purple);
    font-weight: 800;
}

/* =============================================================
   CHAT V2 — aplicado automaticamente sobre licelice_live_overlay.php
   ============================================================= */
.lic-chat-v2-panel {
    --chat-head-h: 72px;
    display: flex !important;
    width: min(410px, calc(100vw - 24px)) !important;
    height: min(610px, calc(100dvh - 34px)) !important;
    max-height: 610px !important;
    min-height: 430px !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid rgba(102, 18, 127, .14) !important;
    border-radius: 26px !important;
    background: #fff !important;
    box-shadow: 0 28px 80px rgba(49, 8, 61, .24) !important;
    isolation: isolate;
}

.lic-chat-v2-header {
    position: relative !important;
    z-index: 4 !important;
    display: flex !important;
    min-height: var(--chat-head-h) !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    padding: 13px 15px !important;
    color: #fff !important;
    background:
        radial-gradient(circle at 78% -50%, rgba(255, 255, 255, .22), transparent 48%),
        linear-gradient(135deg, #611178 0%, #8c168c 48%, #da087d 100%) !important;
    border: 0 !important;
}

.lic-chat-v2-header::after {
    content: "Atendimento da loja";
    position: absolute;
    left: 66px;
    bottom: 12px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .01em;
    pointer-events: none;
}

.lic-chat-v2-header button,
.lic-chat-v2-header [role="button"] {
    border-radius: 13px !important;
}

.lic-chat-v2-messages {
    position: relative !important;
    display: flex !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    gap: 10px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: 17px 13px 20px !important;
    scroll-behavior: smooth;
    background:
        radial-gradient(circle at 0 0, rgba(229, 0, 134, .045), transparent 35%),
        linear-gradient(180deg, #fff 0%, #fffafd 100%) !important;
}

.lic-chat-v2-messages::-webkit-scrollbar {
    width: 6px;
}

.lic-chat-v2-messages::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #dcb6d7;
}

.lic-chat-v2-messages > * {
    max-width: 86% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.48 !important;
}

.lic-chat-v2-composer {
    position: relative !important;
    z-index: 5 !important;
    display: flex !important;
    min-height: 82px !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 12px !important;
    border-top: 1px solid #f0e2ef !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 -8px 24px rgba(55, 11, 66, .045) !important;
}

.lic-chat-v2-composer input,
.lic-chat-v2-composer textarea {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    max-height: 105px !important;
    margin: 0 !important;
    padding: 12px 15px !important;
    border: 1.5px solid #d7a9d1 !important;
    border-radius: 17px !important;
    outline: none !important;
    color: #3d2244 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important;
    resize: none !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}

.lic-chat-v2-composer input:focus,
.lic-chat-v2-composer textarea:focus {
    border-color: var(--lic-pink) !important;
    box-shadow: 0 0 0 4px rgba(229, 0, 134, .09) !important;
}

.lic-chat-v2-composer button[type="submit"],
.lic-chat-v2-send {
    display: grid !important;
    width: 49px !important;
    min-width: 49px !important;
    height: 49px !important;
    min-height: 49px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 16px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #71127f, #eb087f) !important;
    box-shadow: 0 12px 25px rgba(213, 0, 122, .25) !important;
    transition: transform .15s ease, opacity .15s ease !important;
}

.lic-chat-v2-composer button[type="submit"]:hover,
.lic-chat-v2-send:hover {
    transform: translateY(-1px) scale(1.02) !important;
}

.lic-chat-v2-composer button:disabled {
    opacity: .55 !important;
    cursor: wait !important;
}

.lic-chat-v2-collect {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: none;
    padding: 16px;
    align-items: flex-end;
    background: rgba(48, 8, 57, .34);
    backdrop-filter: blur(5px);
}

.lic-chat-v2-collect.is-open {
    display: flex;
}

.lic-chat-v2-collect-card {
    width: 100%;
    padding: 20px;
    border: 1px solid rgba(229, 0, 134, .12);
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(45, 5, 55, .28);
    animation: licChatCollectIn .22s ease-out both;
}

@keyframes licChatCollectIn {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.lic-chat-v2-collect-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 11px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    font-size: 20px;
    background: linear-gradient(135deg, var(--lic-purple), var(--lic-pink));
    box-shadow: 0 12px 24px rgba(102, 18, 127, .18);
}

.lic-chat-v2-collect-card h3 {
    margin: 0 0 5px;
    color: var(--lic-purple-dark);
    font-size: 18px;
    font-weight: 900;
}

.lic-chat-v2-collect-card > p {
    margin: 0 0 14px;
    color: #756179;
    font-size: 12px;
    line-height: 1.5;
}

.lic-chat-v2-collect-grid {
    display: grid;
    gap: 10px;
}

.lic-chat-v2-collect-grid label {
    display: grid;
    gap: 5px;
    color: #5a3c61;
    font-size: 11px;
    font-weight: 850;
}

.lic-chat-v2-collect-grid input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #e4cce1;
    border-radius: 13px;
    outline: 0;
    color: #3c2243;
    font-size: 13px;
    background: #fffafd;
}

.lic-chat-v2-collect-grid input:focus {
    border-color: var(--lic-pink);
    box-shadow: 0 0 0 4px rgba(229, 0, 134, .08);
}

.lic-chat-v2-collect-actions {
    display: flex;
    gap: 8px;
    margin-top: 13px;
}

.lic-chat-v2-save {
    min-height: 45px;
    flex: 1;
    border: 0;
    border-radius: 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--lic-purple), var(--lic-pink));
    box-shadow: 0 12px 25px rgba(102, 18, 127, .2);
}

.lic-chat-v2-cancel {
    width: 45px;
    min-width: 45px;
    border: 1px solid #ead7e8;
    border-radius: 14px;
    color: #6e5572;
    background: #fff;
}

.lic-chat-v2-error {
    display: none;
    margin-top: 9px;
    color: #b0004e;
    font-size: 11px;
    font-weight: 750;
}

.lic-chat-v2-error.is-visible {
    display: block;
}

.lic-chat-v2-privacy {
    margin-top: 10px;
    color: #8a778d;
    font-size: 10px;
    line-height: 1.4;
}

.lic-chat-v2-panel [data-lic-hidden-duplicate="1"] {
    display: none !important;
}

@media (max-width: 991.98px) {
    .lic-footer-clean {
        padding-bottom: 86px;
    }

    .lic-footer-main {
        padding: 45px 16px;
    }
}

@media (max-width: 767.98px) {
    .ms-footer-bottom .container {
        padding-top: 17px;
        padding-bottom: 17px;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }

    .lic-footer-bottom-links {
        white-space: normal;
    }
}

@media (max-width: 575.98px) {
    .lic-footer-brand-card {
        padding: 20px;
        border-radius: 22px;
    }

    .lic-footer-contact-buttons .ms-chip {
        flex: 1 1 calc(50% - 6px);
    }

    .lic-footer-contact-buttons .ms-chip:first-child {
        flex-basis: 100%;
    }

    .ms-cookie {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 13px;
        flex-direction: column;
        align-items: stretch;
    }

    .lic-chat-v2-panel {
        right: 8px !important;
        bottom: 8px !important;
        left: 8px !important;
        width: auto !important;
        height: min(620px, calc(100dvh - 16px)) !important;
        max-height: calc(100dvh - 16px) !important;
        border-radius: 23px !important;
    }

    .lic-chat-v2-header {
        min-height: 70px !important;
        padding: 12px !important;
    }

    .lic-chat-v2-composer {
        min-height: 76px !important;
        padding: 10px !important;
    }

    .lic-chat-v2-messages {
        padding: 14px 11px 17px !important;
    }
}


/* =============================================================
   FOOTER V180.3 — organização definitiva desktop, tablet e celular
   Mantém todos os links, dados, selos e atendimento existentes.
   ============================================================= */
.lic-footer-clean{clear:both!important;margin-top:44px!important;overflow:clip!important}
.lic-footer-main{width:min(1320px,calc(100% - 30px))!important;max-width:none!important;padding:48px 0 42px!important}
.lic-footer-main>.row{
    display:grid!important;
    grid-template-columns:minmax(280px,1.25fr) minmax(150px,.62fr) minmax(210px,.82fr) minmax(250px,1fr)!important;
    gap:28px!important;margin:0!important;align-items:start!important
}
.lic-footer-main>.row>[class*="col-"]{width:auto!important;max-width:none!important;padding:0!important;min-width:0!important}
.lic-footer-brand-card,.lic-footer-service-card{height:100%!important}
.lic-footer-brand-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important}
.lic-footer-contact-buttons{width:100%!important}
.lic-footer-contact-buttons .ms-chip{flex:1 1 auto!important;min-width:112px!important}
.ms-footer-list a{width:100%!important;overflow-wrap:anywhere!important}
.ms-trust-box>div{min-width:0!important}
.lic-service-line>div{min-width:0!important}
.ms-footer-bottom{padding-bottom:max(0px,env(safe-area-inset-bottom))!important}
.ms-footer-bottom .container{width:min(1320px,calc(100% - 30px))!important;max-width:none!important}
@media(max-width:1120px){
 .lic-footer-main>.row{grid-template-columns:minmax(280px,1.15fr) repeat(2,minmax(180px,.8fr))!important}
 .lic-footer-main>.row>[class*="col-"]:last-child{grid-column:1/-1!important}
 .lic-footer-service-card{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
 .lic-footer-clean{margin-top:30px!important}
 .lic-footer-main{padding:35px 0 30px!important}
 .lic-footer-main>.row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 18px!important}
 .lic-footer-main>.row>[class*="col-"]:first-child,.lic-footer-main>.row>[class*="col-"]:last-child{grid-column:1/-1!important}
 .lic-footer-service-card{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ms-footer-bottom .container{min-height:82px!important;flex-direction:column!important;justify-content:center!important;text-align:center!important;gap:8px!important;padding-top:14px!important;padding-bottom:14px!important}
}
@media(max-width:560px){
 .lic-footer-main{width:calc(100% - 20px)!important;padding-top:26px!important}
 .lic-footer-main>.row{grid-template-columns:1fr!important;gap:18px!important}
 .lic-footer-main>.row>[class*="col-"]{grid-column:auto!important}
 .lic-footer-brand-card{padding:20px!important;border-radius:22px!important}
 .lic-footer-logo-link img{width:166px!important}
 .lic-footer-title{margin:2px 0 13px!important}
 .ms-footer-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px 13px!important}
 .ms-footer-list a{font-size:.82rem!important}
 .lic-footer-service-card{grid-template-columns:1fr!important;padding:16px!important;border-radius:19px!important}
 .lic-footer-contact-buttons{display:grid!important;grid-template-columns:1fr 1fr!important}
 .lic-footer-contact-buttons .ms-chip:first-child{grid-column:1/-1!important}
 .lic-footer-bottom-links{white-space:normal!important;flex-wrap:wrap!important;justify-content:center!important}
 .ms-footer-bottom .container{width:calc(100% - 20px)!important}
}
@media(max-width:380px){.ms-footer-list{grid-template-columns:1fr!important}}


/* Acesso aos links e leitura em telas pequenas. */
.lic-footer-brand-card,.lic-footer-service-card{overflow-wrap:anywhere}.ms-footer-list a{min-height:44px}.ms-footer-list{gap:2px}.lic-service-line a{display:inline-flex;align-items:center;min-height:44px}.lic-footer-clean a:focus-visible{outline:3px solid #8b4168;outline-offset:3px}
@media(max-width:379px){.lic-footer-main .col-6{width:100%}.lic-footer-main{padding-top:32px;padding-bottom:28px}.lic-footer-brand-card{padding:18px}}
