* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7f4;
    color: #17211b;
}
a { color: inherit; }
.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}
.site-header {
    background: linear-gradient(135deg, #f5fff8 0%, #ffffff 62%, #f4fbff 100%);
    padding: 30px 0 54px;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
}
.brand {
    font-size: 28px;
    font-weight: bold;
    color: #149647;
}
.muted { color: #607168; }
.badge {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 999px;
    background: #dff8e6;
    color: #157f39;
    font-size: 13px;
    font-weight: bold;
}
.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: stretch;
}
.hero-content h1 {
    font-size: 48px;
    line-height: 1.05;
    margin: 18px 0 14px;
}
.hero-content p.lead {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 20px;
    max-width: 660px;
}
.points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.point {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    font-weight: bold;
    color: #294233;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
}
.sidebar-card, .form-card, .section-card, .table-card, .admin-form-card {
    padding: 24px;
}
.price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f4fcf7;
    border: 1px solid #d7f1e0;
    margin: 20px 0 16px;
}
.price-box strong {
    font-size: 30px;
    color: #149647;
}
.section {
    padding: 28px 0 56px;
}
.section-title {
    font-size: 30px;
    margin: 0 0 8px;
}
.mini-title {
    margin: 0 0 12px;
    font-size: 20px;
}
.list-clean {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
}
label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #24362b;
}
input, select, textarea {
    width: 100%;
    border: 1px solid #d8e5dd;
    border-radius: 14px;
    background: #fbfdfc;
    padding: 14px 15px;
    font-size: 15px;
    margin-bottom: 16px;
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: #13a44a;
    box-shadow: 0 0 0 4px rgba(19,164,74,.12);
}
.btn {
    display: inline-block;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: bold;
    transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, #1fc55b, #139640);
    color: #fff;
}
.btn-secondary {
    background: #eff4f1;
    color: #203128;
}
.btn-dark {
    background: #202b25;
    color: #fff;
}
.btn-danger {
    background: #b42318;
    color: #fff;
}
.btn-small {
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 13px;
}
.btn-block { width: 100%; text-align: center; }
.notice {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.notice-success { background: #ecfdf3; color: #116932; }
.notice-error { background: #fff1f1; color: #9b1c1c; }
.login-wrap, .admin-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eefbf3, #f1f4ff);
}
.login-card {
    width: 92%;
    max-width: 460px;
    padding: 28px;
}
.admin-shell {
    min-height: 100vh;
    background: #f4f6fb;
}
.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #e7edf1;
    padding: 18px 0;
    margin-bottom: 24px;
}
.admin-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.admin-title h1 { margin: 0; font-size: 28px; }
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.stat-card {
    padding: 20px;
}
.stat-card strong {
    display: block;
    font-size: 28px;
    margin-top: 8px;
    color: #139640;
}
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.table-responsive { overflow: auto; }
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1180px;
}
th, td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #e7edf1;
    vertical-align: top;
}
th {
    background: #f7faf8;
    color: #31473a;
}
.status {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}
.status-pendente { background: #fff4e5; color: #a15c00; }
.status-pago { background: #e9fdf0; color: #106b31; }
.status-enviado { background: #eef4ff; color: #164ea6; }
.status-cancelado { background: #fff1f1; color: #aa1b1b; }
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.checkout-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 24px;
}
.checkout-header {
    padding: 26px 0 10px;
}
.checkout-price strong {
    font-size: 36px;
    color: #149647;
}
.qr-box {
    display: grid;
    place-items: center;
    min-height: 260px;
    border: 2px dashed #cfe4d8;
    border-radius: 20px;
    background: #fbfefc;
    text-align: center;
    padding: 18px;
}
.pix-code {
    background: #f6f9f7;
    border: 1px solid #dce7df;
    border-radius: 16px;
    padding: 14px;
    word-break: break-all;
    font-size: 13px;
    line-height: 1.6;
}
.kbd {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 8px;
    background: #eff4f1;
    font-size: 12px;
}
.footer-space { height: 20px; }
@media (max-width: 980px) {
    .hero, .grid-3, .grid-2, .stats, .checkout-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 { font-size: 36px; }
    .admin-topbar-inner, .navbar { flex-direction: column; align-items: flex-start; }
}
