/* ==========================================================================
   MISSÃO BÍBLIA 365 — estilos da jornada
   Carregado SOMENTE em /biblia-365/ e /minha-jornada/.
   A Home e as demais páginas não recebem nenhum byte deste arquivo.

   Padrão visual: herda os tokens oficiais da loja (main.css).
   Contraste: todos os pares texto/fundo abaixo passam WCAG AA (>= 4.5:1).
   ========================================================================== */

.b365 {
  --b365-azul: #0038A8;
  --b365-azul-esc: #002a7d;
  --b365-tinta: var(--gray-800, #1e2e28);
  --b365-suave: var(--gray-600, #4d6b61);
  --b365-linha: var(--gray-200, #d5ddd9);
  --b365-fundo: var(--gray-50, #f8faf9);
  color: var(--b365-tinta);
}

/* ---------- tipografia ---------- */
.b365-h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 .5rem;
  letter-spacing: -.02em;
}
.b365-h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 .75rem;
  letter-spacing: -.01em;
}
.b365-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--b365-azul);
  margin: 0 0 .6rem;
}
.b365-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--b365-suave);
  margin: 0 0 1rem;
}
.b365-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.4rem;
  max-width: 46ch;
}

/* ---------- botões ---------- */
.b365-btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  font-size: 1rem;
  line-height: 1.2;
}
.b365-btn--primary {              /* branco sobre #0038A8 = 8.59:1 (AA/AAA) */
  background: var(--b365-azul);
  color: #fff;
}
.b365-btn--primary:hover,
.b365-btn--primary:focus-visible { background: var(--b365-azul-esc); color: #fff; }

.b365-btn--ghost {                /* #0038A8 sobre branco = 8.59:1 */
  background: transparent;
  color: var(--b365-azul);
  border-color: var(--b365-azul);
}
.b365-btn--ghost:hover,
.b365-btn--ghost:focus-visible { background: var(--b365-azul); color: #fff; }

.b365-btn--gold {                 /* #1e2e28 sobre gold-400 = 9.4:1 */
  background: var(--gold-400, #f0bd35);
  color: var(--gray-800, #1e2e28);
}
.b365-btn--gold:hover,
.b365-btn--gold:focus-visible { background: var(--gold-500, #d4a017); color: var(--gray-800, #1e2e28); }

.b365-btn--full { display: block; width: 100%; text-align: center; }
.b365-btn:focus-visible { outline: 3px solid var(--gold-500, #d4a017); outline-offset: 2px; }

/* ---------- hero ---------- */
.b365-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: linear-gradient(180deg, var(--b365-fundo) 0%, #fff 100%); }
.b365-hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.b365-hero__marcas { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.b365-hero__marcas li {
  font-size: .85rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--b365-linha); color: var(--b365-suave);
}
.b365-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; }
.b365-hero__nota { font-size: .85rem; color: var(--b365-suave); margin: 0; }
.b365-hero__img img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 48px rgba(0,56,168,.18); display: block; }

/* ---------- faixa de promessa ---------- */
.b365-promessa { background: var(--b365-azul); color: #fff; padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.b365-promessa__txt { margin: 0; text-align: center; font-size: clamp(1.05rem, 2.4vw, 1.4rem); line-height: 1.5; }
.b365-promessa__txt strong { color: var(--gold-400, #f0bd35); }

/* ---------- seções ---------- */
.b365-sec { padding: clamp(2.5rem, 6vw, 4.25rem) 0; }
.b365-sec--alt { background: var(--b365-fundo); }
.b365-sec__lead { color: var(--b365-suave); max-width: 62ch; margin: 0 0 2rem; font-size: 1.02rem; line-height: 1.6; }

/* ---------- passos ---------- */
.b365-passos { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.b365-passos li { background: #fff; border: 1px solid var(--b365-linha); border-radius: 14px; padding: 1.25rem; }
.b365-passos span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--b365-azul); color: #fff; font-weight: 700; margin-bottom: .7rem;
}
.b365-passos b { display: block; margin-bottom: .3rem; font-size: 1.02rem; }
.b365-passos i { font-style: normal; color: var(--b365-suave); font-size: .92rem; line-height: 1.5; }

/* ---------- módulos ---------- */
.b365-modulos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.b365-modulo { background: #fff; border: 1px solid var(--b365-linha); border-left: 4px solid var(--b365-azul); border-radius: 12px; padding: 1.15rem 1.25rem; }
.b365-modulo__sem { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--b365-azul); margin: 0 0 .35rem; }
.b365-modulo__tit { font-size: 1.1rem; margin: 0 0 .3rem; }
.b365-modulo__liv { font-size: .88rem; color: var(--b365-suave); margin: 0 0 .5rem; font-weight: 600; }
.b365-modulo__res { font-size: .92rem; color: var(--b365-suave); line-height: 1.55; margin: 0; }

/* ---------- planos ---------- */
.b365-planos { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.b365-plano { background: #fff; border: 1px solid var(--b365-linha); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; }
.b365-plano--destaque { border: 2px solid var(--b365-azul); box-shadow: 0 12px 36px rgba(0,56,168,.14); }
.b365-plano__selo {
  display: inline-block; align-self: flex-start; background: var(--b365-azul); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px; margin: 0 0 .75rem;
}
.b365-plano__nome { font-size: 1.3rem; margin: 0 0 .25rem; }
.b365-plano__preco { font-size: 2rem; font-weight: 800; color: var(--b365-azul); margin: 0 0 1rem; letter-spacing: -.02em; }
.b365-plano__itens { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.b365-plano__itens li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; font-size: .94rem; line-height: 1.5; color: var(--b365-suave); }
.b365-plano__itens li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700, #0f6e56); font-weight: 800; }

/* ---------- produto de entrada ---------- */
.b365-entrada {
  margin-top: 2rem; padding: 1.5rem; border-radius: 16px;
  background: var(--b365-fundo); border: 1px dashed var(--b365-linha);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.b365-entrada h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.b365-entrada p { margin: 0; color: var(--b365-suave); font-size: .95rem; }

/* ---------- FAQ ---------- */
.b365-faq { display: grid; gap: .6rem; max-width: 62rem; }
.b365-faq__item { background: #fff; border: 1px solid var(--b365-linha); border-radius: 12px; padding: 1rem 1.15rem; }
.b365-faq__item summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; list-style: none; }
.b365-faq__item summary::-webkit-details-marker { display: none; }
.b365-faq__item summary::after { content: "+"; float: right; color: var(--b365-azul); font-weight: 800; }
.b365-faq__item[open] summary::after { content: "−"; }
.b365-faq__item p { margin: .75rem 0 0; color: var(--b365-suave); line-height: 1.6; font-size: .95rem; }

/* ---------- fechamento ---------- */
.b365-final { background: var(--b365-azul); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; text-align: center; }
.b365-final h2 { font-size: clamp(1.5rem, 3.4vw, 2.25rem); margin: 0 0 .6rem; }
.b365-final p { margin: 0 0 1.5rem; opacity: .95; }

/* ==========================================================================
   ÁREA DO ALUNO
   ========================================================================== */
.b365-aluno { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.b365-aluno__head { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; }

.b365-progresso { min-width: 260px; flex: 1; max-width: 420px; }
.b365-progresso__barra { height: 10px; background: var(--b365-linha); border-radius: 999px; overflow: hidden; }
.b365-progresso__barra span { display: block; height: 100%; background: var(--b365-azul); border-radius: 999px; transition: width .3s ease; }
.b365-progresso__txt { margin: .5rem 0 0; font-size: .9rem; color: var(--b365-suave); }

.b365-player-card { background: #fff; border: 1px solid var(--b365-linha); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 10px 30px rgba(0,56,168,.08); }
.b365-player-card__mod { font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--b365-azul); margin: 0 0 .4rem; }
.b365-player-card__tit { font-size: clamp(1.25rem, 3vw, 1.75rem); margin: 0 0 1.25rem; }

.b365-audio { width: 100%; margin-bottom: 1rem; }
.b365-player-acoes { display: flex; flex-wrap: wrap; gap: .6rem; }
.b365-player-acoes .b365-btn { padding: .65rem 1.1rem; font-size: .92rem; }

.b365-embreve { background: var(--b365-fundo); border: 1px dashed var(--b365-linha); border-radius: 12px; padding: 1.5rem; text-align: center; }
.b365-embreve__tit { font-weight: 700; color: var(--b365-azul); margin: 0 0 .5rem; font-size: 1.05rem; }
.b365-embreve p { margin: 0; color: var(--b365-suave); font-size: .95rem; line-height: 1.6; max-width: 52ch; margin-inline: auto; }

.b365-nav-ep { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; margin: 1.5rem 0 2.5rem; }
.b365-aluno__modulos { margin-top: 2rem; }

.b365-gate { text-align: center; padding: clamp(2.5rem, 8vw, 5rem) 0; }
.b365-gate p { color: var(--b365-suave); margin: 0 0 1.5rem; }
.b365-gate__alt { font-size: .92rem; margin-top: 1.25rem; }
.b365-gate__alt a { color: var(--b365-azul); font-weight: 600; }

/* ==========================================================================
   CARD DA BÍBLIA 365 NA CENTRAL DE ATENDIMENTO (WhatsApp)
   Herda .mlo-atd-prod do main.css; só acrescenta o acento azul.
   ========================================================================== */
.mlo-atd-prod--b365 { border-left: 3px solid #0038A8; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 860px) {
  .b365-hero__in { grid-template-columns: 1fr; }
  .b365-hero__img { order: -1; max-width: 340px; margin-inline: auto; }
  .b365-aluno__head { align-items: flex-start; }
  .b365-entrada { flex-direction: column; align-items: flex-start; }
  .b365-nav-ep .b365-btn { flex: 1; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .b365-btn, .b365-progresso__barra span { transition: none; }
}

/* ==========================================================================
   CAPA PROVISÓRIA — exibida enquanto a arte definitiva não é publicada.
   Painel de identidade em CSS puro: nunca imagem quebrada, nunca placeholder
   genérico. Substituída automaticamente ao subir assets/images/biblia365-capa.webp
   ========================================================================== */
.b365-capa-provisoria {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: radial-gradient(120% 90% at 50% 0%, #1a56d6 0%, #0038A8 45%, #002a7d 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-shadow: 0 18px 48px rgba(0,56,168,.28);
}
.b365-capa-provisoria__logo { width: 30%; max-width: 180px; height: auto; margin-bottom: 1rem; }
.b365-capa-provisoria__n {
  font-size: clamp(3rem, 11vw, 5.5rem); font-weight: 800; line-height: 1;
  margin: 0; color: var(--gold-400, #f0bd35); letter-spacing: -.03em;
}
.b365-capa-provisoria__t { font-size: clamp(1.1rem, 3.4vw, 1.7rem); font-weight: 700; margin: .35rem 0 0; letter-spacing: .02em; }
.b365-capa-provisoria__s { font-size: clamp(.8rem, 2vw, .95rem); margin: .5rem 0 0; opacity: .92; }

/* leitura do dia no card do player */
.b365-player-card__leitura {
  margin: -.5rem 0 1.25rem;
  padding: .85rem 1rem;
  background: var(--b365-fundo);
  border-left: 3px solid var(--b365-azul);
  border-radius: 0 8px 8px 0;
  font-size: .96rem;
  color: var(--b365-tinta);
}
.b365-player-card__nota {
  display: block;
  margin-top: .25rem;
  font-size: .85rem;
  color: var(--b365-suave);
}
