:root { --navy:#0b2744; --navy2:#123a63; --blue:#1e6fb8; --orange:#f39200; --ink:#1a1c1e; --muted:#5b6673; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
body {
  min-height: 100vh; color: #fff;
  background:
    radial-gradient(1200px 600px at 10% -10%, #1e6fb855, transparent 60%),
    radial-gradient(900px 500px at 110% 110%, #f3920022, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
  display: grid; place-items: center; padding: 24px 16px;
}
.lg { width: min(1040px, 100%); display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lg-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.lg-brand img { height: 112px; width: auto; filter: drop-shadow(0 6px 14px #0006); }
.lg-brand b { display: block; font-size: 15px; letter-spacing: .02em; }
.lg-brand span { font-size: 13px; opacity: .75; }
.lg-hero h1 { font-size: 40px; font-weight: 700; margin: 0 0 12px; letter-spacing: -.01em; }
.lg-hero h1::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--orange); margin-top: 14px; }
.lg-hero p { font-size: 16px; line-height: 1.55; opacity: .88; max-width: 470px; margin: 18px 0 22px; }
.lg-pontos { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; opacity: .9; }
.lg-pontos li { padding-left: 26px; position: relative; }
.lg-pontos li::before { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--orange); }
.lg-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 34px 30px 22px; box-shadow: 0 24px 60px #0006; }
.lg-logo-sm { display: none; height: 96px; margin: 0 auto 12px; }
.lg-card h2 { margin: 0; font-size: 22px; color: var(--navy); }
.lg-sub { margin: 4px 0 22px; color: var(--muted); font-size: 14px; }
.lg-card label { display: block; font-size: 13px; font-weight: 600; color: #34404c; margin: 14px 0 6px; }
.lg-card input { width: 100%; height: 44px; padding: 0 14px; border: 1.5px solid #c9d2dc; border-radius: 8px; font: inherit; font-size: 15px; color: var(--ink); background: #fbfcfd; transition: border-color .15s, box-shadow .15s; }
.lg-card input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #1e6fb826; background: #fff; }
.lg-pwd { position: relative; }
.lg-pwd input { padding-right: 46px; }
.lg-pwd button { position: absolute; right: 4px; top: 4px; width: 38px; height: 36px; border: 0; background: transparent; color: #6b7785; cursor: pointer; border-radius: 6px; }
.lg-pwd button:hover { background: #eef2f6; }
.lg-pwd svg { width: 20px; height: 20px; }
.lg-erro { margin: 12px 0 0; padding: 9px 12px; border-radius: 8px; background: #fdecea; color: #b42318; font-size: 13px; }
.lg-entrar { width: 100%; height: 46px; margin-top: 20px; border: 0; border-radius: 8px; background: var(--orange); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: filter .15s; }
.lg-entrar:hover { filter: brightness(1.05); }
.lg-entrar:disabled { opacity: .7; cursor: wait; }
.lg-ajuda { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.lg-rodape { margin-top: 24px; padding-top: 14px; border-top: 1px solid #e6ebf0; display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.lg-rodape b { color: var(--navy); }
.lg-rodape a { color: #1f8f4e; font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 860px) {
  .lg { grid-template-columns: 1fr; gap: 0; }
  .lg-hero { display: none; }
  .lg-card { padding: 26px 20px 18px; }
  .lg-logo-sm { display: block; }
  .lg-card h2, .lg-sub { text-align: center; }
  .lg-card input { font-size: 16px; }
  .lg-rodape { flex-direction: column; text-align: center; }
}
/* páginas públicas (pré-cadastro e reserva de culto) */
.wrap { display: grid; place-items: center; width: min(560px, 100%); }
.card { background: #fff; color: var(--ink); border-radius: 12px; padding: 26px 22px; width: 100%; box-shadow: 0 18px 50px #0005; }
.card .logo { text-align: center; font-weight: 800; color: var(--blue); font-size: 18px; margin-bottom: 14px; }
.card .logo img { height: 84px; display: block; margin: 0 auto 8px; }
.card label { display: block; font-size: 13px; margin: 10px 0 4px; color: #445; }
.card input { width: 100%; height: 42px; padding: 0 12px; border: 1.5px solid #c9d2dc; border-radius: 8px; font: inherit; }
.orange { background: var(--orange); color: #fff; border: 0; width: 100%; height: 44px; border-radius: 8px; font-weight: 700; cursor: pointer; margin-top: 14px; }
.erro { color: #b42318; font-size: 13px; }
/* páginas públicas: inscrição em evento e pagamento */
body.pub { display: block; padding: 0; background: #eef2f6; color: #1a1c1e; }
.pub-wrap { max-width: 980px; margin: 0 auto; padding: 18px 16px 30px; }
.pub-cab { display: flex; gap: 14px; align-items: center; background: #0b2744; color: #fff; border-radius: 12px; padding: 14px 18px; }
.pub-cab img { height: 70px; }
.pub-cab b { display: block; font-size: 16px; }
.pub-cab span { display: block; font-size: 12.5px; opacity: .85; }
.pub-card { background: #fff; border-radius: 12px; padding: 20px 22px; margin-top: 14px; box-shadow: 0 6px 24px #0b274414; }
.pub-card h1 { margin: 0 0 10px; font-size: 22px; color: #0b2744; }
.pub-sec { border: 1px solid #e3e9ef; border-radius: 10px; padding: 12px 14px; margin-top: 12px; }
.pub-sec h2 { margin: 0 0 10px; font-size: 14px; color: #1e6fb8; font-weight: 600; }
.pub-g2, .pub-g3 { display: grid; gap: 10px 14px; align-items: end; }
.pub-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pub-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pub-card label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: #34404c; font-weight: 600; }
.pub-card input, .pub-card select { height: 42px; border: 1.5px solid #c9d2dc; border-radius: 8px; padding: 0 12px; font: inherit; font-weight: 400; background: #fff; }
.pub-card input:focus, .pub-card select:focus { outline: none; border-color: #1e6fb8; box-shadow: 0 0 0 3px #1e6fb826; }
.pub-btn { height: 42px; border: 0; border-radius: 8px; background: #1e6fb8; color: #fff; font: inherit; font-weight: 700; cursor: pointer; padding: 0 18px; }
.pub-btn.grande { display: block; width: min(360px, 100%); margin: 16px auto 0; background: #2ea44f; height: 46px; }
.pub-btn:disabled { opacity: .7; }
.pub-lgpd { background: #e8f2fc; border-radius: 8px; padding: 12px; font-size: 13px; line-height: 1.5; }
.pub-chk { flex-direction: row !important; align-items: center; gap: 8px !important; margin-top: 8px; }
.pub-chk input { height: 18px; width: 18px; }
.pub-erro { background: #fdecea; color: #b42318; padding: 9px 12px; border-radius: 8px; font-size: 13px; }
.pub-aviso { background: #fff7e0; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; }
.pub-mini { font-size: 12.5px; color: #5b6673; }
.pub-ok { background: #f2f8f3; border: 1px solid #cfe7d4; border-radius: 10px; padding: 10px 14px; }
.pub-ok p { margin: 4px 0; }
.pub-ok-txt { color: #1f8f4e; font-weight: 700; }
.pub-pix { text-align: center; border: 1px solid #e3e9ef; border-radius: 12px; padding: 16px; margin-top: 14px; }
.pub-pix h3 { margin: 0 0 6px; color: #0b2744; }
.pub-qr { display: inline-block; padding: 10px; background: #fff; border: 1px solid #e3e9ef; border-radius: 10px; margin: 6px 0; }
.pub-valor { font-size: 17px; }
.pub-copia { display: flex; gap: 8px; max-width: 520px; margin: 4px auto 0; }
.pub-copia input { flex: 1; font-size: 12px; }
.pub-copia button { border: 0; border-radius: 8px; background: #2ea44f; color: #fff; font-weight: 700; padding: 0 14px; cursor: pointer; }
.pub-pix label { display: block; margin-top: 10px; }
.pub-rodape { text-align: center; color: #7a8794; font-size: 12px; margin-top: 18px; }
@media (max-width: 720px) { .pub-g2, .pub-g3 { grid-template-columns: 1fr; } .pub-cab img { height: 50px; } }
