/* =============================================================================
   TEMA ESCURO: Core Peptides (/entre/)
   Preto do rascunho + o dourado oficial do logo (paradas do gradiente do SVG).
   Texto #F4EFE4 sobre preto; acento de texto #D6B878 (ouro médio, 10:1 sobre preto).
   Gradiente como TEXTO só em título grande (parada mais escura #A9722C: 4,0:1 sobre
   #000, passa 3:1 de texto grande). Contas em ../../contraste.py.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg:        #050505;
  --bg-2:      #000000;
  --surface:   #0F0E0C;
  --surface-2: #171512;

  --acc:        #D6B878;
  --acc-bright: #FAEFB3;
  --acc-dim:    #A9722C;
  --acc-rgb:    214 184 120;
  --acc-bright-rgb: 250 239 179;
  --accent-grad: var(--gold);

  --line:        rgb(214 184 120 / .12);
  --line-strong: rgb(214 184 120 / .22);
  --line-acc:    rgb(214 184 120 / .42);

  --text:       #F4EFE4;
  --heading:    #FFFFFF;
  --text-muted: #BBB2A2;
  --text-faint: #948B7D;

  --atmosfera:
    radial-gradient(52rem 32rem at 78% -12%, rgb(214 184 120 / .13), transparent 62%),
    radial-gradient(40rem 26rem at 4% 4%, rgb(169 114 44 / .07), transparent 60%);
  --grade: rgb(214 184 120 / .025);

  --shadow-card: 0 1px 0 rgb(250 239 179 / .06) inset, 0 24px 56px -32px rgba(0,0,0,1);

  --ghost-bg: rgb(214 184 120 / .06);
  --ghost-bg-hover: rgb(214 184 120 / .12);
  --seller-bg: transparent;
  --seller-bg-hover: rgb(214 184 120 / .06);
  --seller-line: rgb(214 184 120 / .3);
  --seller-line-hover: rgb(214 184 120 / .55);

  --topbar-bg: #0C0B09;
  --topbar-line: rgb(214 184 120 / .16);
  --topbar-ink: #BBB2A2;
  --topbar-strong: #F4EFE4;
  --topbar-icon: #D6B878;

  --header-stuck: rgba(0, 0, 0, .86);
  --mark-bg: radial-gradient(120% 120% at 30% 20%, #1C1914, #000 70%);
  --phone-bg: linear-gradient(160deg, #2A251C, #0B0A08 60%);

  --trust-bg: linear-gradient(180deg, var(--surface), var(--bg-2));
  --trust-item-bg: var(--bg-2);

  --card-bg: linear-gradient(170deg, #16140F, #0B0A08 70%);
  --card-top: linear-gradient(90deg, transparent, rgb(250 239 179 / .5) 50%, transparent);
  --card-icon-line: rgb(214 184 120 / .45);
  --card-icon-bg: radial-gradient(120% 120% at 30% 20%, rgb(214 184 120 / .2), rgb(214 184 120 / .04));
  --card-icon-ink: #E9D39A;

  --step-bg: linear-gradient(170deg, #12100D, #050505);

  --finale-bg:
    radial-gradient(80% 120% at 50% 0%, rgb(214 184 120 / .16), transparent 60%),
    linear-gradient(170deg, #15130F, #000 75%);

  --footer-bg: #000;
  --footer-line: rgb(214 184 120 / .14);
  --footer-ink: var(--text);
  --footer-link: var(--text-muted);
  --footer-link-hover: var(--acc);
  --footer-faint: var(--text-faint);
  --footer-strong: var(--text-muted);

  --sticky-bg: rgba(0,0,0,.92);
  --consent-bg: rgba(15, 14, 12, .97);
}

/* Ritmo: seções alternam preto e quase-preto, com filete dourado curto na emenda */
main > .section:nth-of-type(even):not(.team):not(.finale) { background: #0A0908; }
main > .section:not(.team) + .section:not(.team)::before {
  content: ""; display: block; width: min(12rem, 40%); height: 1px; margin: calc(-1 * var(--pad-section)) auto var(--pad-section);
  background: linear-gradient(90deg, transparent, rgb(214 184 120 / .45), transparent);
}

/* Faixa CLARA dentro da página escura (seção "A comunidade"): marfim quente, com os tokens do
   tema claro recalculados nela. A foto da equipe vem opaca, composta na cor exata #F2EDE3. */
main > .section.team {
  --team-bg: #F2EDE3;
  --text: #16130E;
  --heading: #0B0A08;
  --text-muted: #574E41;
  --acc: #8A5A1C;
  --acc-rgb: 138 90 28;
  --acc-bright: #BD924E;
  --acc-bright-rgb: 189 146 78;
  --badge-ink: #3A3125;
  color: var(--text);
}

@media (prefers-contrast: more) {
  :root {
    --line: rgb(214 184 120 / .3);
    --line-strong: rgb(214 184 120 / .45);
    --text-muted: #D6CFC2;
    --text-faint: #B5AC9E;
  }
}
