:root {
    --primary: #FE610B;
    --primary-dark: #994010;
    --black: #000;
    --dark: #0A0A0A;
    --gray: #111;
    --light: #f8f9fa;
    --text-light: #e0e0e0;
    --success: #22c55e;
}
html, body { height: 100%; min-height: 100%; margin: 0; padding: 0; }
body {
    font-family: "Saira",sans-serif;
    overflow-x: hidden;
    background: #fff;
}
body > .app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body > .app-shell > main[role="main"] {
    flex: 1 1 auto;
    display: block;
    position: relative;
    background: #fff;
}
body > .app-shell > footer {
    margin-top: 0;
    position: static !important;
    clear: both;
    z-index: auto !important;
    bottom: auto !important;
    inset: auto !important;
    transform: none !important;
    width: 100%;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; }
.bg-black { background-color: var(--black) !important; }
.bg-dark-custom { background-color: var(--dark) !important; }
.bg-gray { background-color: var(--gray) !important; }
.text-highlight { color: var(--primary) !important; }
.text-light-custom { color: var(--text-light) !important; }
.btn-highlight { background-color: var(--primary); color: var(--black); font-weight: 600; border: none; transition: .3s; }
.btn-highlight:hover, .btn-highlight:active { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,201,38,.3); }
.btn-outline-highlight { border: 2px solid var(--primary); color: var(--primary); font-weight: 600; transition: .3s; }
.btn-outline-highlight:hover { background-color: var(--primary); color: var(--black); transform: translateY(-2px); }
.section-title { position: relative; padding-bottom: 15px; margin-bottom: 30px; }
.section-title::after { content: ""; position: absolute; bottom: 0; left: 0; width: 80px; height: 4px; background-color: var(--primary); }
.card-custom { background-color: rgba(4,4,4,.95); border: 1px solid #444; border-radius: 10px; transition: .3s; height: 100%; position: relative; z-index: 1; overflow: hidden; backdrop-filter: blur(5px); }
.card-custom::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,201,38,.05) 0%, transparent 100%); z-index: -1; opacity: 0; transition: opacity .3s; }
.card-custom:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,.3); }
.card-custom:hover::before { opacity: 1; }
.feature-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.hero { background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), url("/assets/bg1.png"); background-size: cover; background-position: center; padding: 120px 0; }
.hero { background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), url("/assets/bg1.png"); background-size: cover; background-position: center; padding: 120px 0; }
@media (max-width: 991.98px) { .hero { background: linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.85)), url("/assets/bg1.png"); } }
.floating { animation: floating 3s ease-in-out infinite; }
@keyframes floating { 0% { transform: translateY(0) } 50% { transform: translateY(-10px) } 100% { transform: translateY(0) } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.check-list { list-style: none; }
.check-list li { margin-bottom: 10px; position: relative; padding-left: 30px; color: var(--text-light); }
.check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: bold; }
.accordion-button { background-color: rgba(4,4,4,.95); color: white; font-weight: 600; backdrop-filter: blur(5px); border: 1px solid #444; }
.accordion-button:not(.collapsed) { background-color: var(--primary) !important; color: var(--black) !important; font-weight: 700; box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(255,201,38,.25); border-color: var(--primary); }
.accordion-button::after { filter: invert(1); }
.accordion-button:not(.collapsed)::after { filter: invert(0); }
.accordion-body { background-color: rgba(4,4,4,.95); color: var(--text-light); backdrop-filter: blur(5px); border: 1px solid #444; border-top: none; }
.price-tag { font-size: 3rem; font-weight: 800; }
.pricing-card { border: 2px solid var(--primary); border-radius: 15px; overflow: hidden; transition: .3s; background-color: rgba(4,4,4,.95); backdrop-filter: blur(5px); }
.pricing-card:hover { transform: scale(1.02); box-shadow: 0 15px 30px rgba(255,201,38,.2); }
.badge-custom { background-color: var(--primary); color: var(--black); font-weight: 700; }
.nav-link { color: white !important; font-weight: 500; transition: color .3s; }
.nav-link:hover { color: var(--primary-dark) !important; }
footer a:hover { color: var(--primary) !important; }
.logo { font-weight: 900; font-size: 1.8rem; }
.testimonial-card { background-color: rgba(4,4,4,.95); border: 1px solid #444; border-radius: 10px; transition: .3s; height: 100%; position: relative; z-index: 1; overflow: hidden; backdrop-filter: blur(5px); }
.testimonial-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,201,38,.05) 0%, transparent 100%); z-index: -1; opacity: 0; transition: opacity .3s; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,.3); }
.testimonial-card:hover::before { opacity: 1; }
.bg-kart-cross { background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url("/assets/bg.png"); background-size: cover; background-position: center; background-attachment: initial; }
@media (max-width:768px) {
    .hero { padding: 80px 0; text-align: center; }
    .display-3 { font-size: 2.5rem; }
    .price-tag { font-size: 2.5rem; }
    .card-custom, .testimonial-card { margin-bottom: 20px; }
    .navbar-brand { order: 0; margin: 0 auto; }
    .navbar-toggler { order: 1; }
    .navbar .btn-highlight { order: 3; margin-left: auto; }
    .navbar-collapse { order: 4; width: 100%; margin-top: 15px; }
}
.text-success { color: #22c55e !important; }
.btn-buy-now { background: linear-gradient(to right,#22c55e,#16a34a); border: none; font-weight: bold; padding: 1.2rem 2rem; font-size: 1.3rem; border-radius: 12px; animation: pulse-glow 2s infinite; box-shadow: 0 0 20px rgba(34,197,94,.5); transition: .3s; color: white !important; }
.btn-buy-now:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 0 30px rgba(34,197,94,.7); animation: none; color: white !important; }
.urgency-badge { background: linear-gradient(to right,#ff8800,#ff0000); color: white; padding: 8px 16px; border-radius: 20px; font-size: .9rem; font-weight: bold; display: inline-block; animation: pulse 2s infinite; margin: 15px 0; }
.discount-tag { background: var(--primary); color: white; padding: 4px 8px; border-radius: 5px; font-size: .75rem; font-weight: bold; margin-left: 8px; }
@keyframes pulse { 0% { transform: scale(1) } 50% { transform: scale(1.05) } 100% { transform: scale(1) } }
@keyframes pulse-glow { 0% { box-shadow: 0 0 20px rgba(34,197,94,.5); transform: scale(1) } 50% { box-shadow: 0 0 30px rgba(34,197,94,.8); transform: scale(1.02) } 100% { box-shadow: 0 0 20px rgba(34,197,94,.5); transform: scale(1) } }
#comprar, #galeria, #projeto, #beneficios, #perguntas, #depoimentos, #o-que-e { scroll-margin-top: 80px; }

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
background-color: #000;
color: var(--primary) !important;
}

.comunidade-page {
    background-color: #fff !important;
    color: #212529 !important;
}

.comunidade-page .card-custom {
    background-color: #f8f9fa !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06) !important;
    height: auto !important;
}

.comunidade-page .card-custom::before {
    display: none;
}

.comunidade-page .text-white {
    color: #212529 !important;
}

.comunidade-page .text-light-custom {
    color: #6c757d !important;
}

.comunidade-page .badge.bg-secondary {
    background-color: #6c757d !important;
}

.comunidade-page .btn-outline-light {
    border-color: #ced4da !important;
    color: #212529 !important;
    background-color: #fff !important;
}

.comunidade-page .btn-outline-light:hover {
    background: #f1f3f5 !important;
    color: #212529 !important;
}

.comunidade-page .form-control,
.comunidade-page .form-select {
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    color: #212529 !important;
}

.comunidade-page .form-control:focus,
.comunidade-page .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(254, 97, 11, .15);
}

.comunidade-page .form-control::placeholder {
    color: #6c757d;
}

.comunidade-page .table-dark {
    --bs-table-bg: #fff !important;
    --bs-table-color: #212529 !important;
    --bs-table-striped-bg: #f8f9fa !important;
    --bs-table-striped-color: #212529 !important;
    --bs-table-border-color: #dee2e6 !important;
}

.comunidade-page .table-dark th,
.comunidade-page .table-dark td {
    color: #212529 !important;
}

.comunidade-page .page-link {
    background-color: #fff !important;
    border-color: #dee2e6 !important;
    color: #212529 !important;
}

.comunidade-page .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.comunidade-page .breadcrumb {
    background: transparent;
}

.comunidade-page .breadcrumb-item,
.comunidade-page .breadcrumb-item.active {
    color: #6c757d;
}

.comunidade-page .breadcrumb-item a {
    color: #212529;
    text-decoration: none;
}

.comunidade-page .breadcrumb-item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.topico-thumb-link {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
    background: #fff;
    display: inline-block;
}

.topico-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.resposta-voto {
    width: 34px;
    flex: 0 0 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.resposta-voto form {
    margin: 0;
    padding: 0;
}

.resposta-voto-btn {
    width: 30px;
    height: 26px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background: #fff;
    color: #6c757d;
    line-height: 1;
    font-size: 14px;
    font-weight: 700;
    padding: 0;
}

.resposta-voto-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.resposta-voto-btn.active-up {
    border-color: #198754;
    color: #198754;
}

.resposta-voto-btn.active-down {
    border-color: #dc3545;
    color: #dc3545;
}

.resposta-voto-score {
    font-weight: 700;
    color: #212529;
    font-size: 13px;
    line-height: 1.2;
    min-width: 20px;
    text-align: center;
}

.comunidade-content {
    white-space: normal;
    line-height: 1.6;
}

.comunidade-content img {
    width: 82px !important;
    max-width: 82px !important;
    height: 82px !important;
    object-fit: cover !important;
    display: block;
    border-radius: 8px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.js-resposta-conteudo img {
    width: 82px !important;
    max-width: 82px !important;
    height: 82px !important;
    object-fit: cover !important;
}

.topico-galeria-thumb {
    width: 82px !important;
    max-width: 82px !important;
    height: 82px !important;
    object-fit: cover !important;
}

.topico-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, .82);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.topico-lightbox.open {
    display: flex;
}

.topico-lightbox-img {
    max-width: calc(100vw - 120px);
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    opacity: 1 !important;
    filter: none !important;
}

.topico-lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #000;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.topico-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: 44px;
    height: 56px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    color: #000;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.topico-lightbox-nav.prev { left: 18px; }
.topico-lightbox-nav.next { right: 18px; }

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.editor-area {
    min-height: 220px;
    background: #fff !important;
    color: #212529 !important;
    overflow-y: auto;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
    padding: 4px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
}

.avatar-option {
    border: 2px solid transparent;
    border-radius: 10px;
    background: #f8f9fa;
    padding: 4px;
    cursor: pointer;
    transition: border-color .2s ease, transform .2s ease;
}

.avatar-option:hover {
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.avatar-option.active {
    border-color: var(--primary);
}

.avatar-option img {
    width: 100%;
    height: 100%;
    display: block;
}

.modal-backdrop {
    z-index: 1050 !important;
}

#avatarModal {
    z-index: 1060 !important;
}
