/* ===== VIP LEILÕES - Branco e Azul Escuro ===== */
:root {
    --blue-900: #0b1f4d;
    --blue-800: #12306e;
    --blue-700: #1e3a8a;
    --blue-600: #2447a8;
    --blue-100: #e6ecf8;
    --blue-50: #f3f6fc;
    --white: #ffffff;
    --text: #1b2437;
    --muted: #5b667d;
    --line: #d9e0ee;
    --danger: #b3261e;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(11, 31, 77, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== Botões ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 24px; border-radius: var(--radius);
    font: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer;
    border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, .icon-btn:focus-visible { outline: 3px solid #7aa2ff; outline-offset: 2px; }
.btn-primary { background: var(--blue-700); color: var(--white); border-color: var(--blue-700); }
.btn-primary:hover { background: var(--blue-900); border-color: var(--blue-900); }
.btn-outline { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: var(--white); }
.btn-light { background: var(--white); color: var(--blue-900); border-color: var(--white); }
.btn-light:hover { background: var(--blue-100); border-color: var(--blue-100); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: var(--white); color: var(--blue-900); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* ===== Header ===== */
.header {
    position: sticky; top: 0; z-index: 50;
    background: var(--white); border-bottom: 1px solid var(--line);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; letter-spacing: .5px; color: var(--blue-900); }
.logo__mark {
    width: 40px; height: 40px; border-radius: 10px; background: var(--blue-700); color: var(--white);
    display: grid; place-items: center; font-size: 1.05rem;
}
.nav__list { display: flex; gap: 28px; }
.nav__link { font-weight: 600; font-size: .95rem; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav__link:hover { color: var(--blue-700); border-bottom-color: var(--blue-700); }
.header__actions { display: flex; gap: 10px; }
.header__actions .btn { padding: 10px 20px; }

/* ===== Hero ===== */
.hero { background: var(--blue-900); color: var(--white); position: relative; overflow: hidden; }
.hero::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
    border-radius: 50%; background: var(--blue-800); opacity: .55;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 96px 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #9db6f0; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.12; font-weight: 900; margin-bottom: 20px; }
.hero p { font-size: 1.1rem; color: #cfdaf5; max-width: 560px; margin-bottom: 32px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__card {
    background: var(--white); color: var(--text); border-radius: 16px; padding: 28px; box-shadow: var(--shadow);
}
.hero__card h2 { font-size: 1.1rem; color: var(--blue-900); margin-bottom: 18px; }
.steps-mini li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps-mini li:last-child { border-bottom: 0; }
.steps-mini__n {
    flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--blue-700); color: var(--white);
    display: grid; place-items: center; font-weight: 800; font-size: .9rem;
}
.steps-mini strong { display: block; color: var(--blue-900); }
.steps-mini span { color: var(--muted); font-size: .9rem; }

/* ===== Seções ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--blue-50); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head .eyebrow { color: var(--blue-600); }
.section__head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--blue-900); line-height: 1.2; margin-bottom: 12px; }
.section__head p { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 32px 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.card h3 { color: var(--blue-900); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: p; }
.process__item { background: var(--white); border-radius: 14px; border: 1px solid var(--line); padding: 28px 24px; position: relative; }
.process__item::before {
    counter-increment: p; content: counter(p);
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--blue-700); color: var(--white); font-weight: 800; margin-bottom: 16px;
}
.process__item h3 { color: var(--blue-900); font-size: 1.05rem; margin-bottom: 6px; }
.process__item p { color: var(--muted); font-size: .92rem; }

.company { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.company__box { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.company__box h3 { color: var(--blue-900); margin-bottom: 18px; }
.data-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.data-list li:last-child { border-bottom: 0; }
.data-list i { color: var(--blue-700); width: 20px; margin-top: 4px; }
.data-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.data-list span { font-weight: 600; color: var(--text); }
.company__cta { background: var(--blue-900); color: var(--white); border-radius: 14px; padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.company__cta h3 { font-size: 1.5rem; }
.company__cta p { color: #cfdaf5; }
.company__cta .btn { align-self: flex-start; }

/* ===== Footer ===== */
.footer { background: var(--blue-900); color: #cfdaf5; padding: 56px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer .logo { color: var(--white); margin-bottom: 14px; }
.footer .logo__mark { background: var(--white); color: var(--blue-900); }
.footer h4 { color: var(--white); margin-bottom: 14px; }
.footer li { margin-bottom: 8px; font-size: .93rem; }
.footer li i { width: 20px; color: #9db6f0; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__copy { padding-top: 22px; font-size: .85rem; text-align: center; color: #9db6f0; }

/* ===== Modal de acesso ===== */
.overlay {
    position: fixed; inset: 0; z-index: 100; background: rgba(11, 31, 77, .7);
    display: none; align-items: center; justify-content: center; padding: 16px; overflow-y: auto;
}
.overlay.open { display: flex; }
.modal {
    background: var(--white); width: 100%; max-width: 480px; border-radius: 16px; box-shadow: var(--shadow);
    position: relative; overflow: hidden; animation: pop .25s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.modal__top { background: var(--blue-900); color: var(--white); padding: 24px 28px; }
.modal__brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .5px; margin-bottom: 12px; font-size: 1rem; }
.modal__top h2 { font-size: 1.4rem; line-height: 1.25; }
.modal__top p { color: #cfdaf5; font-size: .92rem; margin-top: 4px; }
.modal__body { padding: 28px; }
.icon-btn {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.14); color: var(--white); border: 0; cursor: pointer; font-size: 1rem;
}
.icon-btn:hover { background: rgba(255,255,255,.28); }

.stepper { display: flex; gap: 6px; margin-bottom: 14px; }
.stepper span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); }
.stepper span.on { background: var(--white); }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--blue-900); margin-bottom: 6px; }
.field__wrap { position: relative; }
.field input {
    width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
    font: inherit; color: var(--text); background: var(--white); transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(30, 58, 138, .15); }
.field input.invalid { border-color: var(--danger); }
.field__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px 10px; }
.field__toggle:hover { color: var(--blue-700); }
.field__wrap input[type="password"], .field__wrap input.has-toggle { padding-right: 46px; }
.error { color: var(--danger); font-size: .82rem; margin-top: 6px; min-height: 0; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }

.panel { display: none; }
.panel.active { display: block; }

/* Tela Agendamento 0 */
.agenda { text-align: center; }
.agenda__count {
    width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; background: var(--blue-50);
    border: 3px solid var(--blue-700); color: var(--blue-700); display: grid; place-items: center;
    font-size: 2.8rem; font-weight: 900;
}
.agenda__label { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--blue-600); font-weight: 700; }
.agenda h3 { color: var(--blue-900); font-size: 1.25rem; margin: 6px 0 10px; }
.agenda__text { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.summary { background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px; margin-bottom: 20px; text-align: left; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); }
.summary dd { color: var(--blue-900); font-weight: 700; text-align: right; word-break: break-word; }
.status { display: inline-block; background: var(--blue-100); color: var(--blue-800); font-weight: 700; font-size: .78rem; padding: 4px 12px; border-radius: 999px; }
.link-btn { background: none; border: 0; color: var(--blue-700); font: inherit; font-weight: 600; cursor: pointer; margin-top: 14px; text-decoration: underline; }

/* ===== Responsivo ===== */
@media (max-width: 960px) {
    .hero__grid { grid-template-columns: 1fr; padding: 64px 0; gap: 40px; }
    .cards { grid-template-columns: 1fr; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .company { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .nav { display: none; }
}
@media (max-width: 560px) {
    .container { padding: 0 16px; }
    .header__bar { height: 64px; gap: 8px; }
    .logo { font-size: .95rem; gap: 8px; white-space: nowrap; }
    .logo__mark { width: 30px; height: 30px; font-size: .85rem; border-radius: 8px; }
    .header__actions { gap: 6px; }
    .header__actions .btn { padding: 8px 10px; font-size: .78rem; border-width: 1.5px; white-space: nowrap; }
    .section { padding: 60px 0; }
    .process { grid-template-columns: 1fr; }
    .hero__buttons .btn { width: 100%; }
    .modal__body, .modal__top { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
