/* OS-Church — página pública e login
   Cores tiradas do logo: preto puro, azul #065AF5, branco. */
:root {
  --os-preto: #000000;
  --os-azul: #065af5;
  --os-azul-texto: #6d9dff;   /* azul legível sobre preto */
  --os-branco: #ffffff;
  --os-linha: #23262d;
  --os-claro: #f2f4f8;
  --os-suave: #a3aab8;
  --os-tinta: #10131a;
  --os-display: "Michroma", "Plus Jakarta Sans", system-ui, sans-serif;
}
.os { background: var(--os-preto); color: var(--os-branco); font-family: var(--bs-body-font-family); }
.os a { color: inherit; }
.os :focus-visible { outline: 2px solid var(--os-azul-texto); outline-offset: 3px; border-radius: 6px; }
.os-container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Topo ---------- */
.os-topo { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--os-linha); }
.os-topo .os-container { display: flex; align-items: center; gap: 2rem; height: 68px; }
.os-marca img { height: 22px; display: block; }
.os-nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .92rem; }
.os-nav a { text-decoration: none; color: var(--os-suave); }
.os-nav a:hover { color: var(--os-branco); }
@media (max-width: 860px) { .os-nav { display: none; } .os-topo .os-container { justify-content: space-between; } }

.os-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 10px; padding: .78rem 1.25rem; font-weight: 700; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.os-btn-azul { background: var(--os-azul); color: #fff !important; }
.os-btn-azul:hover { background: #0a4fd6; }
.os-btn-linha { border-color: #3a3f4a; color: #fff !important; background: transparent; }
.os-btn-linha:hover { border-color: #fff; }
.os-btn-peq { padding: .5rem .95rem; font-size: .88rem; }

/* ---------- Abertura ---------- */
.os-abertura { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.os-abertura .os-container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.os-titulo { font-family: var(--os-display); font-weight: 400; font-size: clamp(1.85rem, 3.6vw, 3rem); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 1.4rem; max-width: 15ch; }
.os-lead { font-size: 1.12rem; line-height: 1.65; color: #d4d8e0; max-width: 34rem; margin: 0 0 2rem; }
.os-acoes { display: flex; flex-wrap: wrap; gap: .8rem; }
.os-nota { margin-top: 1.4rem; color: var(--os-suave); font-size: .9rem; }

.os-rede { position: relative; aspect-ratio: 561 / 588; width: min(100%, 450px); justify-self: center; }
.os-rede .cruz { width: 100%; height: 100%; display: block; }
.os-papel { position: absolute; font-size: .86rem; line-height: 1.35; width: 8.2rem; }
.os-papel strong { display: block; font-size: .98rem; color: #fff; }
.os-papel span { color: var(--os-suave); }
.os-papel-1 { top: -1%; left: 56%; width: 11rem; }
.os-papel-2 { bottom: 63%; left: 0; }
.os-papel-3 { bottom: 63%; right: 0; text-align: right; }
.os-papel-4 { bottom: -2%; left: 56%; width: 11rem; }
@media (max-width: 960px) {
  .os-abertura .os-container { grid-template-columns: 1fr; }
  .os-rede { width: min(100%, 380px); margin-top: 1rem; }
}
@media (max-width: 480px) {
  .os-papel { width: 6.2rem; font-size: .74rem; }
  .os-papel-1, .os-papel-4 { width: 9rem; }
  .os-papel strong { font-size: .86rem; }
  .os-papel-2 { left: 0; } .os-papel-3 { right: 0; }
}

/* Único momento animado: o logo aparece e os papéis surgem um a um */
@media (prefers-reduced-motion: no-preference) {
  .cruz-animada { opacity: 0; transform: scale(.94); animation: os-revelar 1s cubic-bezier(.2, .7, .2, 1) .15s forwards; }
  .os-rede .os-papel { opacity: 0; animation: os-surgir .5s forwards; }
  .os-papel-1 { animation-delay: .9s !important; } .os-papel-2 { animation-delay: 1.05s !important; }
  .os-papel-3 { animation-delay: 1.2s !important; } .os-papel-4 { animation-delay: 1.35s !important; }
}
@keyframes os-revelar { to { opacity: 1; transform: none; } }
@keyframes os-surgir { to { opacity: 1; } }

/* ---------- Seções ---------- */
.os-secao { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.os-secao h2 { font-family: var(--os-display); font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 1rem; max-width: 22ch; }
.os-secao .os-intro { font-size: 1.05rem; line-height: 1.65; max-width: 32rem; margin: 0; }
.os-clara { background: var(--os-branco); color: var(--os-tinta); }
.os-clara .os-intro { color: #4a5263; }
.os-cinza { background: var(--os-claro); color: var(--os-tinta); }
.os-cinza .os-intro { color: #4a5263; }

/* Recursos: itens pendurados numa trilha de circuito */
.os-recursos { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
.os-recursos-intro { position: sticky; top: 100px; }
.os-trilha { list-style: none; margin: 0; padding: 0 0 0 2.2rem; position: relative; }
.os-trilha::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 3px; background: var(--os-tinta); border-radius: 2px; }
.os-trilha li { position: relative; padding: 0 0 2.1rem; }
.os-trilha li:last-child { padding-bottom: 0; }
.os-trilha li::before { content: ""; position: absolute; left: calc(-2.2rem + 1px); top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--os-azul); border: 3px solid var(--os-tinta); box-shadow: 0 0 0 3px #fff; }
.os-trilha h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 .3rem; }
.os-trilha p { margin: 0; color: #4a5263; line-height: 1.6; max-width: 36rem; }
@media (max-width: 860px) { .os-recursos { grid-template-columns: 1fr; gap: 2rem; } .os-recursos-intro { position: static; } }

/* Parceiras */
.os-parceiras-topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.os-parceiras { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; }
.os-parceira { background: #fff; border: 1px solid #dfe3ea; border-radius: 14px; padding: 1.1rem; text-decoration: none; color: var(--os-tinta) !important; display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center; }
.os-parceira:hover { border-color: var(--os-azul); }
.os-parceira-logo { height: 92px; width: 100%; display: grid; place-items: center; }
.os-parceira-logo img { max-height: 92px; max-width: 100%; object-fit: contain; }
.os-parceira-iniciais { width: 76px; height: 76px; border-radius: 50%; background: var(--os-tinta); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; }
.os-parceira-nome { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.os-parceira-cidade { font-size: .82rem; color: #6b7287; margin-top: -.55rem; }
.os-parceira-entrar { font-size: .82rem; font-weight: 700; color: var(--os-azul); }
.os-sem-parceiras { border: 1.5px dashed #c5cbd6; border-radius: 14px; padding: 2rem; text-align: center; color: #4a5263; }

/* Interesse */
.os-interesse { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.os-interesse .os-intro { color: #d4d8e0; }
.os-form { background: var(--os-tinta); border: 1px solid var(--os-linha); border-radius: 16px; padding: 1.6rem; }
.os-form .form-label { color: #e6e9ef; font-weight: 600; font-size: .88rem; }
.os-form .form-control, .os-form .form-select { background: #000; border-color: #343944; color: #fff; border-radius: 10px; padding: .7rem .85rem; }
.os-form .form-control::placeholder { color: #6b7180; }
.os-form .form-control:focus, .os-form .form-select:focus { border-color: var(--os-azul); box-shadow: 0 0 0 3px rgba(6, 90, 245, .3); background: #000; color: #fff; }
.os-form .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a3aab8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.os-form .erro { color: #ff8f8f; font-size: .84rem; margin-top: .3rem; }
.os-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.os-sucesso { background: rgba(6, 90, 245, .14); border: 1px solid var(--os-azul); color: #fff; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.os-contato { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .6rem; color: var(--os-suave); font-size: .95rem; }
.os-contato a { color: var(--os-azul-texto); text-decoration: none; font-weight: 600; }
@media (max-width: 860px) { .os-interesse { grid-template-columns: 1fr; gap: 2rem; } }

/* Rodapé */
.os-rodape { border-top: 1px solid var(--os-linha); padding: 2rem 0; color: var(--os-suave); font-size: .88rem; }
.os-rodape .os-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.os-rodape img { height: 18px; }

/* ---------- Login ---------- */
.os-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.os-login-arte { background: #000; color: #fff; padding: 2.5rem 3rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; border-right: 1px solid var(--os-linha); }
.os-login-arte .cruz { width: min(300px, 62%); height: auto; margin: 0 auto; display: block; }
.os-login-arte p { color: var(--os-suave); max-width: 26rem; margin: 0; line-height: 1.6; }
.os-login-form { background: #fff; color: var(--os-tinta); display: grid; place-items: center; padding: 2.5rem 1.5rem; }
.os-login-form form { width: 100%; max-width: 380px; }
.os-login-form h1 { font-family: var(--os-display); font-weight: 400; font-size: 1.45rem; line-height: 1.3; margin: 0 0 .4rem; }
.os-login-form .sub { color: #5a6275; margin-bottom: 1.8rem; }
.os-login-igreja { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem; }
.os-login-igreja .logo { width: 64px; height: 64px; border-radius: 14px; border: 1px solid #e3e6ec; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; background: #fff; }
.os-login-igreja .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.os-login-igreja .iniciais { width: 64px; height: 64px; border-radius: 14px; background: var(--os-tinta); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.os-login-form .form-label { font-weight: 600; font-size: .9rem; }
.os-login-form .form-control { border-radius: 10px; }
.os-login-form .form-control:focus { border-color: var(--os-azul); box-shadow: 0 0 0 3px rgba(6, 90, 245, .2); }
.os-login-form .os-btn { width: 100%; padding: .9rem; font-size: 1rem; }
.os-voltar { display: inline-flex; gap: .4rem; align-items: center; color: #5a6275 !important; text-decoration: none; font-size: .9rem; margin-top: 1.5rem; }
.os-login-topo-mobile { display: none; }
@media (max-width: 860px) {
  .os-login { grid-template-columns: 1fr; }
  .os-login-arte { display: none; }
  .os-login-topo-mobile { display: flex; justify-content: center; background: #000; padding: 1.1rem; }
  .os-login-topo-mobile img { height: 22px; }
  .os-login-form { place-items: start center; padding-top: 2rem; }
}

/* Planos */
.os-planos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.os-plano { border: 1.5px solid #dfe3ea; border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.os-plano-nome { font-weight: 800; font-size: 1.05rem; }
.os-plano-preco { font-family: var(--os-display); font-size: 1.9rem; line-height: 1.1; }
.os-plano-preco span { font-size: 1rem; vertical-align: .55rem; }
.os-plano-preco small { font-family: var(--bs-body-font-family); font-size: .9rem; color: #6b7287; }
.os-plano p { color: #4a5263; margin: 0; flex-grow: 1; }
.os-btn-linha-escura { border-color: #c5cbd6; color: var(--os-tinta) !important; margin-top: .4rem; }
.os-btn-linha-escura:hover { border-color: var(--os-azul); color: var(--os-azul) !important; }

/* Esqueci minha senha */
.os-link-senha { display: block; width: fit-content; margin-top: 1rem; font-size: .92rem; font-weight: 600; color: var(--os-azul) !important; text-decoration: none; }
.os-link-senha:hover { text-decoration: underline; }
.os-enviado { width: 100%; max-width: 380px; }
.os-enviado-icone { width: 56px; height: 56px; border-radius: 50%; background: var(--os-azul); color: #fff; display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 1.2rem; }
.os-btn-whats { width: 100%; padding: .9rem; font-size: 1rem; background: #1f9d55; color: #fff !important; }
.os-btn-whats:hover { background: #18814a; }

/* Login: cruz com os papéis + nome OS-Church embaixo (logo completo) */
.os-login-arte { justify-content: center; align-items: center; gap: 0; position: relative; }
.os-login-marca { display: flex; flex-direction: column; align-items: center; gap: 2.2rem; width: 100%; }
.os-login-arte .os-rede { width: min(100%, 400px); }
.os-login-arte .os-rede .cruz { width: 100%; height: 100%; margin: 0; }
.os-login-nome img { height: 46px; width: auto; }
.os-login-arte > p { position: absolute; left: 3rem; right: 3rem; bottom: 2.5rem; text-align: center; margin: 0 auto; max-width: 26rem; }
.os-login-marca { gap: 2.8rem; }
/* telas baixas ou painel estreito: cruz menor, rótulos menores para não encostar nas linhas */
@media (max-height: 760px), (max-width: 1100px) {
  .os-login-arte .os-rede { width: min(100%, 330px); }
  .os-login-arte .os-papel { width: 6.2rem; font-size: .7rem; }
  .os-login-arte .os-papel strong { font-size: .8rem; }
  .os-login-arte .os-papel-1, .os-login-arte .os-papel-4 { width: 9.5rem; }
  .os-login-nome img { height: 36px; }
  .os-login-marca { gap: 2rem; }
}
