/* Telas de login / cadastro / acesso — identidade PAULO NEIME (preto · branco · dourado), layout dividido 50/50 */
:root {
    --pn-black: #0a0a0a;
    --pn-ink: #14130f;
    --pn-gold: #c9a24d;
    --pn-gold-hover: #d9b762;
    --pn-gold-deep: #906b17;
    --pn-ivory: #f6f4ef;
    --pn-line: #e4dfd2;
    --pn-muted: #6b665b;
    --font-ui: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-ui);
    background: #ffffff;
    color: var(--pn-ink);
    -webkit-font-smoothing: antialiased;
}
.auth-wrap { display: flex; min-height: 100vh; }

/* ── Lado esquerdo: preto com brilho dourado ── */
.auth-hero {
    flex: 1 1 50%;
    width: 50%;
    background:
        radial-gradient(ellipse at 18% 12%, rgba(201,162,77,.20), transparent 52%),
        radial-gradient(ellipse at 90% 100%, rgba(201,162,77,.10), transparent 50%),
        linear-gradient(160deg, #141414 0%, #0a0a0a 55%, #050505 100%);
    color: #ffffff;
    padding: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.auth-hero::after {
    content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(201,162,77,.7), transparent);
}
.auth-hero .logo-box { display: flex; align-items: center; margin-bottom: 40px; }
.auth-hero .logo-box img { width: min(100%, 380px); height: auto; background: none; border-radius: 0; padding: 0; }
.auth-hero .tagline {
    letter-spacing: 4px; font-size: 12px; font-weight: 700; color: var(--pn-gold);
    margin-bottom: 18px; display: flex; align-items: center; gap: 14px;
}
.auth-hero .tagline::before { content: ''; width: 36px; height: 1px; background: var(--pn-gold); }
.auth-hero h1 {
    font-family: var(--font-display); font-size: 58px; margin: 0 0 14px; font-weight: 600;
    line-height: 1.02; color: #ffffff; letter-spacing: .5px;
}
.auth-hero p.desc { color: #cfc9bb; max-width: 440px; line-height: 1.65; font-size: 16px; margin: 0; }
.auth-hero .features { margin-top: 46px; display: flex; flex-direction: column; gap: 18px; }
.auth-hero .feature { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 14.5px; color: #f4f1ea; }
.auth-hero .feature .ico {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(201,162,77,.10); color: var(--pn-gold); border: 1px solid rgba(201,162,77,.38);
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}

/* ── Lado direito: branco ── */
.auth-panel {
    flex: 1 1 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #ffffff;
    overflow-y: auto;
}
.auth-card { width: 100%; max-width: 440px; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: #f7f0de; color: var(--pn-gold-deep); border: 1px solid #ead9aa;
    font-size: 11px; font-weight: 700; letter-spacing: 1.2px;
    padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.auth-card h2 { font-family: var(--font-display); font-size: 36px; margin: 0 0 6px; font-weight: 700; color: var(--pn-black); line-height: 1.1; }
.auth-card h3 { font-family: var(--font-display) !important; font-size: 24px; font-weight: 700; color: var(--pn-black); }
.auth-card .sub { color: var(--pn-muted); margin-bottom: 22px; font-size: 15px; }

.tabs { display: flex; background: #f3f0e8; border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.tabs a { flex: 1; text-align: center; padding: 10px 0; border-radius: 999px; font-weight: 700; color: var(--pn-muted); font-size: 13.5px; text-decoration: none; letter-spacing: .3px; }
.tabs a.active { background: var(--pn-black); color: var(--pn-gold); }
.tabs a:hover { text-decoration: none; }

.form-group { margin-bottom: 15px; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
label { display: block; font-weight: 700; font-size: 11.5px; margin-bottom: 6px; color: var(--pn-muted); text-transform: uppercase; letter-spacing: .8px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--pn-line);
    border-radius: 10px; font-size: 14.5px; background: #fbfaf7; color: var(--pn-ink);
    font-family: var(--font-ui);
}
input:focus, select:focus { outline: none; border-color: var(--pn-gold); box-shadow: 0 0 0 3px rgba(201,162,77,.22); background: #fff; }
.hint { font-size: 11.5px; color: var(--pn-muted); margin-top: 5px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px 16px; border: none; border-radius: 10px;
    font-weight: 800; font-size: 14.5px; cursor: pointer; letter-spacing: .3px;
    background: var(--pn-gold); color: var(--pn-black);
    transition: .15s; font-family: var(--font-ui);
    box-shadow: 0 6px 18px rgba(201,162,77,.28);
}
.btn:hover { background: var(--pn-gold-hover); transform: translateY(-1px); }
.auth-foot { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--pn-muted); }
.auth-foot a { color: var(--pn-gold-deep); text-decoration: none; font-weight: 700; }
.auth-foot a:hover { text-decoration: underline; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.alert-erro { background: #fdeceb; color: #b3261e; border: 1px solid #f6c9c5; }
.alert-ok { background: #f7f0de; color: #5c4510; border: 1px solid #ead9aa; }

@media (max-width: 900px) {
    .auth-wrap { flex-direction: column; }
    .auth-hero { width: 100%; padding: 36px 28px; }
    .auth-hero::after { display: none; }
    .auth-hero .logo-box img { width: min(100%, 300px); }
    .auth-hero h1 { font-size: 44px; }
    .auth-hero .features { margin-top: 28px; }
    .auth-panel { width: 100%; padding: 32px 24px; }
}
