:root{
    --lc-bg: #f3f7f8;
    --lc-surface: #ffffff;
    --lc-surface-2: #f7fafb;
    --lc-border: #d9e3e8;

    --lc-text: #18323a;
    --lc-text-soft: #6d7f88;

    --lc-primary: #0f6aa8;
    --lc-primary-hover: #0c588d;

    --lc-secondary: #2d8b57;
    --lc-secondary-hover: #247046;

    --lc-tertiary: #6f7f88;
    --lc-tertiary-hover: #5f6d75;

    --lc-success: #2d8b57;
    --lc-success-hover: #247046;

    --lc-warning: #6f7f88;
    --lc-warning-hover: #5f6d75;

    --lc-danger: #c94b4b;
    --lc-danger-hover: #ac3e3e;

    --lc-shadow: 0 12px 35px rgba(19, 50, 58, 0.08);
    --lc-shadow-soft: 0 8px 24px rgba(19, 50, 58, 0.05);

    --lc-radius: 20px;
    --lc-radius-sm: 14px;
    --lc-container: 1240px;
}

*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(15,106,168,0.08), transparent 22%),
        radial-gradient(circle at top right, rgba(45,139,87,0.06), transparent 22%),
        var(--lc-bg);
    color: var(--lc-text);
    font-family: "Inter", sans-serif;
}

/* HEADER */
.header{
    background: linear-gradient(90deg, #020817, #0a1220);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.header-content{
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-link{
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo{
    width: 130px;
    height: auto;
    display: block;
    object-fit: contain;
}

.nav-desktop{
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-desktop a{
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: 0.25s ease;
}

.nav-desktop a:hover{
    color: #2d8b57;
}

.btn-export-header{
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, #2d8b57, #1f6f46);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.25s ease;
}

.btn-export-header:hover{
    background: linear-gradient(135deg, #247046, #195637);
    color: #fff;
    transform: translateY(-1px);
}

.menu-toggle{
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.10);
    background: transparent;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span{
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: 0.25s ease;
}

.mobile-menu{
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 0 16px 18px;
    background: #0a1220;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu a{
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    transition: 0.25s ease;
}

.mobile-menu a:hover{
    color: #2d8b57;
}

.mobile-menu.active{
    display: flex;
}

.mobile-export{
    width: 100%;
    justify-content: center;
}

img{
    max-width: 100%;
    height: auto;
}

.container{
    max-width: var(--lc-container);
}

.lc-page{
    padding: 42px 0 72px;
}

.lc-title{
    margin: 0 0 10px;
    font-size: 3rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--lc-text);
}

.lc-subtitle{
    margin: 0;
    max-width: 760px;
    color: var(--lc-text-soft);
    font-size: 1.08rem;
    line-height: 1.7;
}

.lc-card{
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--lc-border);
    border-radius: var(--lc-radius);
    box-shadow: var(--lc-shadow);
    overflow: hidden;
}

.lc-stat-card{
    position: relative;
    padding: 26px;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lc-stat-card::after{
    content: "";
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15,106,168,0.10), rgba(45,139,87,0.05));
    pointer-events: none;
}

.lc-stat-label{
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lc-text-soft);
    margin-bottom: 10px;
}

.lc-stat-value{
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--lc-text);
}

.lc-form-card{
    padding: 28px;
}

.lc-form-card .row,
.lc-card.p-4 .row{
    align-items: end;
}

.form-label{
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lc-text);
    margin-bottom: 10px;
}

.form-control,
.form-select{
    min-height: 56px;
    border-radius: 16px;
    border: 1px solid #d4e0e6;
    background: #fff;
    color: var(--lc-text);
    padding: 0 16px;
    font-size: 1rem;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.form-control::placeholder{
    color: #98a5ad;
}

.form-control:focus,
.form-select:focus{
    border-color: rgba(15,106,168,0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15,106,168,0.10) !important;
}

.btn{
    min-height: 56px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0 18px;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

.btn:hover{
    transform: translateY(-1px);
}

.btn:active{
    transform: translateY(0);
}

.btn-primary{
    background: linear-gradient(135deg, var(--lc-primary), #1780c8);
    border-color: var(--lc-primary);
    color: #fff;
}

.btn-primary:hover{
    background: linear-gradient(135deg, var(--lc-primary-hover), #126aa6);
    border-color: var(--lc-primary-hover);
    color: #fff;
}

.btn-outline-secondary{
    border-color: #cfd8de;
    color: var(--lc-text);
    background: #fff;
}

.btn-outline-secondary:hover{
    background: #f7fafb;
    border-color: #bcc9d0;
    color: var(--lc-text);
}

.btn-warning{
    background: linear-gradient(135deg, var(--lc-tertiary), #85959d);
    border-color: var(--lc-tertiary);
    color: #fff;
}

.btn-warning:hover{
    background: linear-gradient(135deg, var(--lc-tertiary-hover), #6b7a82);
    border-color: var(--lc-tertiary-hover);
    color: #fff;
}

.btn-success{
    background: linear-gradient(135deg, var(--lc-success), #38a169);
    border-color: var(--lc-success);
    color: #fff;
}

.btn-success:hover{
    background: linear-gradient(135deg, var(--lc-success-hover), #2f8b59);
    border-color: var(--lc-success-hover);
    color: #fff;
}

.btn-danger{
    background: linear-gradient(135deg, #ef5b5b, var(--lc-danger));
    border-color: var(--lc-danger);
    color: #fff;
}

.btn-danger:hover{
    background: linear-gradient(135deg, #da4a4a, var(--lc-danger-hover));
    border-color: var(--lc-danger-hover);
    color: #fff;
}

.table-responsive{
    overflow-x: auto;
}

.lc-table{
    margin: 0;
    min-width: 980px;
}

.lc-table thead th{
    background: linear-gradient(180deg, #f8fbfc, #eef4f6);
    color: #64757f;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--lc-border);
    padding: 18px 18px;
    white-space: nowrap;
}

.lc-table tbody td{
    padding: 18px 18px;
    vertical-align: middle;
    border-bottom: 1px solid var(--lc-border);
    background: transparent;
    font-size: 0.98rem;
}

.lc-table tbody tr{
    transition: background 0.2s ease, transform 0.2s ease;
}

.lc-table tbody tr:hover{
    background: #fbfdff;
}

.lc-item-name{
    font-weight: 700;
    color: var(--lc-text);
}

.lc-empty{
    padding: 34px 18px;
    text-align: center;
    color: var(--lc-text-soft);
    font-size: 1rem;
}

.lc-footer-total{
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--lc-text);
    letter-spacing: -0.02em;
}

.lc-badge-comprado,
.lc-badge-pendente{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

.lc-badge-comprado{
    background: rgba(45, 139, 87, 0.12);
    color: #1f6c43;
    border-color: rgba(45, 139, 87, 0.18);
}

.lc-badge-pendente{
    background: rgba(111, 127, 136, 0.12);
    color: #58676f;
    border-color: rgba(111, 127, 136, 0.18);
}

.lc-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lc-actions .btn{
    min-height: 40px;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 0.86rem;
}

.border-top{
    border-top: 1px solid var(--lc-border) !important;
}

.modal-content{
    border: 1px solid var(--lc-border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(19, 50, 58, 0.15);
}

.modal-header,
.modal-footer{
    border-color: var(--lc-border);
    padding: 18px 22px;
}

.modal-body{
    padding: 22px;
}

.modal-title{
    font-weight: 800;
    color: var(--lc-text);
}

.btn-close{
    box-shadow: none !important;
}

.post-content p,
.page-content p{
    margin-bottom: 1rem;
    line-height: 1.8;
}

.post-content img,
.page-content img{
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.post-content h2,
.post-content h3,
.post-content h4,
.page-content h2,
.page-content h3,
.page-content h4{
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol{
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.footer-mobile {
    display: none;
}

/* FOOTER DESKTOP */
.footer {
    background: #020817;
    padding: 60px 0;
    margin-top: 70px;
}

.logo-footer {
    width: 130px;
    height: auto;
    margin-bottom: 22px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.content-desk p {
    color: #ffffff;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

.footer-contact {
    text-align: right;
    font-size: 1.15rem;
}

.footer-contact p {
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.6;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover {
    color: #2d8b57;
}

.footer-contact i {
    margin-right: 8px;
    color: #ffffff;
    transition: 0.3s;
}

.footer-contact a:hover i,
.footer-contact p:hover i {
    color: #2d8b57;
    transform: scale(1.05);
}

.footer-redes {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.footer-redes p {
    margin: 0;
}

.footer-redes a {
    font-size: 1.7rem;
    color: #ffffff;
    transition: 0.3s;
}

.footer-redes a:hover {
    color: #2d8b57;
    transform: scale(1.1);
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 78px;
    height: 78px;
    bottom: 20px;
    right: 18px;
    background: #25d366;
    color: #fff !important;
    border-radius: 50%;
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    z-index: 9999;
    transition: transform .18s, box-shadow .18s, background .18s;
    text-decoration: none;
    box-sizing: border-box;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background: #1cbf55;
    box-shadow: 0 10px 28px rgba(18, 140, 126, 0.35);
}

.whatsapp-float i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* FOOTER MOBILE */
.footer-mobile {
    background: #020817;
    padding: 40px 0 30px;
    margin-top: 60px;
}

.logo-footer-mobile {
    width: 120px;
    height: auto;
    margin-bottom: 18px;
}

.footer-content-mobile {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.content-mobile {
    text-align: left;
}

.content-mobile p {
    color: #ffffff;
    font-size: 1rem;
    margin: 0;
    line-height: 1.7;
}

.footer-contact-mobile {
    text-align: left;
}

.footer-contact-mobile p {
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1.6;
    font-size: 1rem;
    word-break: break-word;
}

.footer-contact-mobile a {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact-mobile a:hover {
    color: #2d8b57;
}

.footer-contact-mobile i {
    margin-right: 8px;
}

.footer-redes-mobile {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.footer-redes-mobile p {
    margin: 0;
}

.footer-redes-mobile a {
    font-size: 1.6rem;
    color: #ffffff;
    transition: 0.3s;
}

.footer-redes-mobile a:hover {
    color: #2d8b57;
    transform: scale(1.08);
}

/* =========================
   TABLET
========================= */
@media (max-width: 991.98px){
    .header-content{
        min-height: 82px;
        gap: 16px;
    }

    .logo{
        width: 112px;
    }

    .nav-desktop{
        display: none;
    }

    .menu-toggle{
        display: inline-flex;
    }

    .mobile-menu{
        padding: 12px 20px 18px;
    }

    .lc-page{
        padding: 32px 0 56px;
    }

    .lc-title{
        font-size: 2.25rem;
        line-height: 1.08;
    }

    .lc-subtitle{
        font-size: 1rem;
        line-height: 1.65;
        max-width: 100%;
    }

    .lc-stat-card{
        min-height: 126px;
        padding: 22px;
    }

    .lc-stat-value{
        font-size: 1.85rem;
    }

    .lc-form-card,
    .lc-card.p-4{
        padding: 22px !important;
    }

    .lc-table{
        min-width: 900px;
    }

    .lc-footer-total{
        font-size: 1.15rem;
    }

    .footer{
        padding: 50px 0;
    }

    .footer-content{
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-contact{
        align-items: flex-start;
        text-align: left;
        font-size: 1.05rem;
    }

    .footer-redes{
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px){
    body{
        background: var(--lc-bg);
    }

    .container{
        padding-left: 18px;
        padding-right: 18px;
    }

    /* HEADER */
    .header-content{
        min-height: 72px;
        gap: 12px;
        padding-left: 0;
        padding-right: 0;
    }

    .logo{
        width: 96px;
    }

    .menu-toggle{
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .menu-toggle span{
        width: 20px;
    }

    .mobile-menu{
        padding: 14px 18px 18px;
        gap: 10px;
    }

    .mobile-menu a{
        font-size: 0.97rem;
        padding: 10px 0;
    }

    .mobile-export{
        min-height: 48px;
        font-size: 0.92rem;
    }

    /* PAGE */
    .lc-page{
        padding: 24px 0 42px;
    }

    .lc-page .row{
        margin-left: 0;
        margin-right: 0;
    }

    .lc-page [class*="col-"]{
        padding-left: 0;
        padding-right: 0;
    }

    .lc-title{
    	font-size: 1.55rem;
    	line-height: 1.12;
    	letter-spacing: -0.01em;
    	margin: 0 0 12px;
    	word-break: break-word;
		text-align: center;
	}

	.lc-subtitle{
    	font-size: 0.9rem;
    	line-height: 1.65;
    	margin: 0;
    	max-width: 100%;
		padding: 0 20px;
	}

    /* CARDS */
    .lc-card{
        border-radius: 18px;
        box-shadow: var(--lc-shadow-soft);
        margin-bottom: 16px;
    }

    .lc-stat-card{
        min-height: auto;
        padding: 22px 18px;
    }

    .lc-stat-card::after{
        width: 74px;
        height: 74px;
        top: -10px;
        right: -10px;
    }

    .lc-stat-label{
        font-size: 0.88rem;
        margin-bottom: 8px;
    }

    .lc-stat-value{
        font-size: 1.55rem;
        line-height: 1.05;
    }

    /* FORM / FILTER */
    .lc-form-card,
    .lc-card.p-4{
        padding: 20px 18px !important;
    }

    .lc-form-card .row,
    .lc-card.p-4 .row{
        row-gap: 16px !important;
    }

    .form-label{
        font-size: 0.92rem;
        margin-bottom: 8px;
    }

    .form-control,
    .form-select,
    .btn{
        min-height: 52px;
        border-radius: 14px;
        font-size: 0.95rem;
    }

    .btn{
        padding: 0 14px;
    }

    .btn.w-100{
        width: 100% !important;
    }

    /* TABELA */
    .table-responsive{
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 18px 18px 0 0;
    }

    .lc-table{
        min-width: 780px;
    }

    .lc-table thead th{
        font-size: 0.76rem;
        padding: 14px 12px;
    }

    .lc-table tbody td{
        padding: 14px 12px;
        font-size: 0.9rem;
    }

    .lc-actions{
        gap: 6px;
        min-width: 180px;
    }

    .lc-actions .btn{
        min-height: 34px;
        font-size: 0.75rem;
        padding: 0 10px;
        border-radius: 10px;
    }

    .lc-badge-comprado,
    .lc-badge-pendente{
        min-height: 30px;
        padding: 5px 12px;
        font-size: 0.72rem;
    }

    .lc-empty{
        padding: 28px 16px;
        font-size: 0.92rem;
    }

    /* TOTAL */
    .border-top.d-flex{
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 18px !important;
    }

    .lc-footer-total{
        width: 100%;
        font-size: 1.05rem;
        text-align: left;
    }

    /* MODAL */
    .modal-dialog{
        margin: 14px;
    }

    .modal-header,
    .modal-body,
    .modal-footer{
        padding-left: 16px;
        padding-right: 16px;
    }

    .modal-title{
        font-size: 1rem;
    }

    /* FOOTER */
    .footer{
        display: none;
    }

    .footer-mobile{
        display: block;
        padding: 38px 0 28px;
        margin-top: 52px;
        text-align: center;
    }

    .footer-content-mobile{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .content-mobile{
        text-align: center;
    }

    .logo-footer-mobile{
        width: 108px;
        margin: 0 auto 14px;
        display: block;
    }

    .content-mobile p{
        font-size: 0.94rem;
        line-height: 1.75;
        text-align: center;
    }

    .footer-contact-mobile{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .footer-contact-mobile p{
        font-size: 0.94rem;
        line-height: 1.7;
        text-align: center;
        margin: 0;
    }

    .footer-contact-mobile a{
        word-break: break-word;
    }

    .footer-redes-mobile{
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
        margin-top: 4px;
    }

    .footer-redes-mobile a{
        font-size: 1.45rem;
    }

    /* WHATSAPP FLOAT */
    .whatsapp-float{
        width: 64px;
        height: 64px;
        right: 14px;
        bottom: 14px;
        font-size: 2rem;
    }
}

@media (max-width: 480px){
    .container{
        padding-left: 14px;
        padding-right: 14px;
    }

    .header-content{
        min-height: 68px;
    }

    .logo{
        width: 88px;
    }

    .lc-page{
        padding: 20px 0 34px;
    }

    .lc-title{
    	font-size: 1.4rem;
    	line-height: 1.14;
    	margin: 0 0 10px;
	}

	.lc-subtitle{
    	font-size: 0.86rem;
    	line-height: 1.6;
	}

    .lc-stat-card{
        padding: 18px 16px;
    }

    .lc-stat-label{
        font-size: 0.84rem;
    }

    .lc-stat-value{
        font-size: 1.35rem;
    }

    .lc-form-card,
    .lc-card.p-4{
        padding: 18px 16px !important;
    }

    .form-control,
    .form-select,
    .btn{
        min-height: 48px;
        font-size: 0.92rem;
    }

    .lc-table{
        min-width: 720px;
    }

    .lc-table thead th{
        font-size: 0.72rem;
        padding: 12px 10px;
    }

    .lc-table tbody td{
        padding: 12px 10px;
        font-size: 0.86rem;
    }

    .lc-actions .btn{
        min-height: 32px;
        font-size: 0.72rem;
        padding: 0 8px;
    }

    .lc-footer-total{
        font-size: 1rem;
    }

    .logo-footer-mobile{
        width: 96px;
    }

    .content-mobile p,
    .footer-contact-mobile p{
        font-size: 0.9rem;
    }

    .footer-redes-mobile a{
        font-size: 1.35rem;
    }

    .whatsapp-float{
        width: 58px;
        height: 58px;
        font-size: 1.8rem;
        right: 12px;
        bottom: 12px;
    }
}