/* ADFIB — camada Petróleo (parte escrita à mão). Alinha o site WordPress ao
   sistema aprovado em 09/10/2026 (petróleo matiz 189 + lima #ABD301), escuro.
   TODA cor vem de design_aprovado/tokens.json (rev. 3). Fora do :root, só var(--…).
   @layer declarada primeiro: para !important a ordem de camadas é invertida,
   então !important aqui vence o !important sem camada dos plugins e o style="" inline.
   O petroleo.css final = este arquivo + o bloco gerado por creme_translucido.py. */
@layer adfib-petroleo;

:root{
  /* escala verde -> petróleo, cada degrau mapeado para um valor do tokens.json */
  --green-980:#00272D; --green-960:#002E36; --green-940:#00353E; --green-920:#003B45;
  --green-900:#004049; --green-800:#004049; --green-700:#00605C; --green-600:#00807A;
  --green-500:#00A294; --green-400:#4ECABF; --green-200:#B9D0CD; --green-50:#EAF4F3;
  --cream-50:#EAF4F3; --cream-100:#B9D0CD;
  --stone-300:#86A5A1; --stone-400:#5C7F7B; --stone-700:#5C7F7B;
  --ink-900:#06201C; --ink-800:#06201C;
  --lime-500:#ABD301; --lime-400:#C4EC2A; --lime-300:#C4EC2A;
  --cyan-500:#4ECABF; --yellow-500:#F4B860;
  --gold-700:#C27A10; --gold-600:#C27A10; --gold-500:#F4B860; --gold-300:#F4B860;
  --success:#4ADE80; --danger:#F87171; --info:#4ECABF;

  --bg:#00272D; --bg-alt:#002E36; --bg-elevated:#00353E; --bg-deep:#00272D;
  --bg-brand:#00605C; --bg-brand-soft:rgba(171,211,1,.14);
  --fg:#EAF4F3; --fg-body:#B9D0CD; --fg-muted:#86A5A1; --fg-subtle:#5C7F7B;
  --fg-on-brand:#06201C;
  --brand:#ABD301; --brand-hover:#C4EC2A; --brand-soft:rgba(171,211,1,.14);
  --accent:#ABD301; --accent-warm:#F4B860; --accent-cool:#4ECABF;
  --border:rgba(255,255,255,.08); --border-soft:rgba(255,255,255,.06);
  --border-strong:rgba(255,255,255,.12);
  --line:rgba(255,255,255,.08); --line-soft:rgba(255,255,255,.06);
  --radius-card:14px;
}

@layer adfib-petroleo{
  /* lima antigo #A3E635 escrito à mão nos plugins -> lima do sistema */
  .mmg-recent-dept,.blogc-date,.adfib-timeline-year,.section-divider__label-text,
  .mm-yt-meta,.escala-day-name,.escala-event-time,.escala-header-icon,
  .adfib-churches-badge,.adfib-churches-badge-icon,.adfib-churches-stat-number,
  .adfib-history-badge,.adfib-history-badge-icon,.adfib-history-cta,
  .blogc-btn{color:var(--lime-500) !important}
  .escala-day-badge,.btn.btn--primary{background:var(--lime-500) !important;
    color:var(--fg-on-brand) !important;border-color:var(--lime-500) !important}

  html,body{background:var(--bg) !important}

  /* header fixo: superfície do sistema, borda NEUTRA (regra 3 do spec) */
  .site-header.is-scrolled{background:var(--bg-alt) !important;
    border-bottom-color:var(--line) !important}

  .escala-semana,.adfib-churches-section,.adfib-history-section{
    background:var(--bg-alt) !important;border:1px solid var(--border) !important;
    border-radius:var(--radius-card) !important}
}

@layer adfib-petroleo{
  /* Calendário: a cor do departamento vem do BANCO (department_color) e o plugin
     a grava inline como cor do texto; cor escura escolhida no admin reprova.
     Texto sempre neutro; a cor fica na borda esquerda e no tingimento (inline).
     Padrão "StatusBadge vazada" do spec. Vale para qualquer cor futura. */
  .adfib-event-pill,
  .adfib-event-pill .adfib-event-time{color:var(--fg) !important}
}

@layer adfib-petroleo{
  /* Rodapé: --bg-deep = página no sistema aprovado; separação por tom. */
  .site-footer{background:var(--bg-alt) !important}
}

@layer adfib-petroleo{
  /* Texto creme/branco translúcido 30–59% dos plugins -> ink-muted.
     GERADO por creme_translucido.py — não editar à mão; regere se o CSS
     dos plugins mudar. 70 seletores. */
  .ebd-hero__scroll-hint,
  .ebd-mini-card__date,
  .ebd-stat-card__label,
  .ebd-stats__note,
  .ebd-prof-card__photo-ph,
  .ebd-prof-card__origem,
  .ebd-aula-card__date,
  .ebd-filter-group__label,
  .ebd-licao-pill,
  .ebd-video-card__date,
  .ebd-field label,
  .ebd-agradecimento__verse cite,
  .adfib-loading span,
  .adfib-churches-stat-label,
  .adfib-inst-stat-label,
  .adfib-inst-card-location,
  .adfib-inst-card-pastor-icon,
  .adfib-inst-card-pastor span,
  .adfib-inst-card-desc,
  .adfib-inst-card-stat,
  .adfib-inst-dir-cargo-sm,
  .adfib-inst-dir-demais-titulo,
  .badge-label,
  .adfib-inst-single-distance,
  .adfib-inst-single-festivity-desc,
  .adfib-inst-single-festivity-day-time,
  .adfib-inst-single-proximo-month,
  .adfib-inst-single-proximo-meta,
  .adfib-inst-single-festivity-banner-text,
  .adfib-inst-single-dept-meta,
  .adfib-inst-map-desc,
  .adfib-dept-header-subtitle,
  .adfib-dept-info-label,
  .adfib-dept-stat-label,
  .adfib-dept-ocorrencia-month,
  .adfib-dept-ocorrencia-meta,
  .adfib-dept-festivity-duration,
  .adfib-dept-festivity-info p,
  .adfib-dept-festivity-day-time,
  .adfib-dept-festivity-day-set,
  .adfib-dept-festivity-day-tbd,
  .adfib-inst-pastor-signature__bio,
  .adfib-inst-single-badge .badge-label,
  .adfib-inst-single-section-label,
  .adfib-inst-single-map h3,
  .adfib-dept-person-avatar-placeholder,
  .adfib-inst-single-festivity-duration,
  .adfib-inst-single-festivity-day-tbd,
  .adfib-dept-congfest-date,
  .adfib-timeline-desc,
  .blogc-excerpt,
  .blogg-filter-count,
  .blogg-dropdown-item-count,
  .blogg-excerpt,
  .blogg-empty,
  .blogg-page-btn,
  .mmg-dropdown-item-count,
  .mmg-lb-date,
  .mmg-old-modal-loading,
  .mmg-old-photos-btn,
  .mmg-back-link,
  .mmg-lightbox__counter,
  .mmg-live-placeholder,
  .fi-stats,
  .fi-stat,
  .fi-cap,
  .ytg-filter-count,
  .ytg-dropdown-item-count,
  .ytg-pagination__info,
  .ytg-loading{color:var(--fg-muted) !important}
}
