:root {
    --azul-950: #071d3a;
    --azul-900: #0b2b55;
    --azul-700: #0e5fb8;
    --azul-500: #1689e8;
    --amarelo: #ffc400;
    --amarelo-2: #ffdd55;
    --cinza: #f4f7fb;
    --texto: #142033;
}

* { box-sizing: border-box; }
body {
    min-height: 100vh;
    background: radial-gradient(circle at top right, #126fc4 0, #09264d 36%, #06172d 76%);
    color: var(--texto);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.navbar-pro {
    background: rgba(7, 29, 58, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.logo-circle {
    width: 54px;
    height: 54px;
    border: 2px solid rgba(255,255,255,.95);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    letter-spacing: -1px;
}

.hero {
    padding: 50px 0 34px;
    color: #fff;
}

.hero-card {
    background: linear-gradient(140deg, rgba(7, 29, 58, .93), rgba(10, 74, 139, .80));
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 30px;
    box-shadow: 0 28px 80px rgba(0,0,0,.35);
    overflow: hidden;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 5rem);
    line-height: .92;
    font-weight: 950;
    color: var(--amarelo);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.product-title {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 950;
    color: #fff;
    text-transform: uppercase;
}

.product-model { color: var(--amarelo); }
.hero-img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 22px 60px rgba(0,0,0,.35);
}

.spec-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.92);
    font-size: 1.08rem;
}
.spec-line i { color: var(--amarelo); width: 24px; text-align: center; }

.price-box {
    display: inline-flex;
    align-items: flex-end;
    gap: 12px;
    border: 1px solid rgba(255,196,0,.70);
    background: rgba(3, 22, 45, .65);
    border-radius: 18px;
    padding: 14px 20px;
}
.price-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.price-value { font-weight: 950; color: var(--amarelo); font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: .9; }

.content-shell {
    background: var(--cinza);
    border-radius: 34px 34px 0 0;
    padding: 34px 0 60px;
    min-height: 50vh;
}

.card-pro {
    background: #fff;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(18, 41, 76, .12);
}

.kpi {
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(18, 41, 76, .10);
    border: 1px solid rgba(14, 95, 184, .08);
    height: 100%;
}
.kpi .label { color: #64748b; font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; }
.kpi .value { font-size: 2.25rem; font-weight: 950; color: var(--azul-900); }
.kpi .icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #eaf4ff; color: var(--azul-700); }

.progress { background: #e8eef8; border-radius: 999px; overflow: hidden; }
.progress-bar { background: linear-gradient(90deg, var(--azul-700), var(--amarelo)); font-weight: 900; }

.btn-yellow {
    background: linear-gradient(180deg, var(--amarelo-2), var(--amarelo));
    color: var(--azul-950);
    border: 0;
    font-weight: 900;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(255,196,0,.22);
}
.btn-yellow:hover { filter: brightness(.97); color: var(--azul-950); }
.btn-primary-pro { background: var(--azul-700); color: #fff; border: 0; border-radius: 14px; font-weight: 800; }
.btn-primary-pro:hover { background: var(--azul-900); color: #fff; }

.form-control, .form-select { border-radius: 14px; padding: 12px 14px; border-color: #d9e2ef; }
.form-control:focus, .form-select:focus { border-color: var(--azul-500); box-shadow: 0 0 0 .25rem rgba(22, 137, 232, .12); }
.form-label { color: #24344d; }

.badge-status { border-radius: 999px; padding: .5rem .75rem; font-weight: 800; }
.badge-pendente { background: #fff7db; color: #8a6100; }
.badge-confirmado { background: #dcfce7; color: #166534; }
.badge-cancelado { background: #fee2e2; color: #991b1b; }

.table { vertical-align: middle; }
.table thead th { color: #475569; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }

.chart-row { display: grid; grid-template-columns: minmax(130px, 220px) 1fr 48px; align-items: center; gap: 12px; margin: 10px 0; }
.chart-bar { height: 12px; border-radius: 99px; background: #e5edf8; overflow: hidden; }
.chart-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--azul-700), var(--azul-500)); }

.footer-note { color: rgba(255,255,255,.70); font-size: .9rem; }
.admin-body { background: #f4f7fb; }
.admin-top { background: linear-gradient(135deg, var(--azul-950), var(--azul-700)); color: #fff; padding: 24px 0; }

@media (max-width: 768px) {
    .hero { padding-top: 24px; }
    .hero-card { border-radius: 22px; }
    .chart-row { grid-template-columns: 1fr; gap: 4px; }
    .table-responsive { font-size: .9rem; }
}


.success-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 29, 58, .82);
    backdrop-filter: blur(7px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.success-box {
    background: #fff;
    color: var(--azul-950);
    max-width: 430px;
    width: 100%;
    padding: 36px 28px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 28px 80px rgba(0,0,0,.38);
    animation: modalShow .25s ease;
}

.success-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--amarelo-2), var(--amarelo));
    color: var(--azul-950);
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    font-weight: 950;
}

.success-box h2 {
    font-weight: 950;
    margin-bottom: 10px;
}

.success-box p {
    color: #526174;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.success-box button {
    margin-top: 22px;
    border: 0;
    border-radius: 14px;
    padding: 12px 30px;
    background: var(--azul-700);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.success-box button:hover {
    background: var(--azul-900);
}

@keyframes modalShow {
    from { transform: scale(.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
