/* Vakyrion — preto, vermelho, dourado.
   Regra da paleta: dourado = identidade (marca, titulos, fios);
   vermelho = SO acao (botao de compra). Se o vermelho aparece em outro
   lugar, ele deixa de dizer "clique aqui". */
:root {
  color-scheme: dark;
  --bg: #0b0a0b;
  --bg-elevado: #141214;
  --bg-elevado-2: #1b181a;
  --fg: #ece6d9;
  --muted: #9a917f;
  --ouro: #c9a24d;
  --ouro-claro: #e8cb7e;
  --ouro-fio: rgba(201, 162, 77, 0.28);
  --ouro-fio-forte: rgba(201, 162, 77, 0.55);
  --vermelho: #b3121d;
  --vermelho-vivo: #d11a26;
  --erro: #ff8a80;
  --fonte-marca: "Cinzel", "Trajan Pro", Georgia, serif;
  --fonte-omega: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --fonte-corpo: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --raio: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(179, 18, 29, 0.10), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--fonte-corpo);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--ouro); color: var(--bg); }

a { color: var(--ouro-claro); }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--ouro-claro); outline-offset: 3px; }

/* ---------- cabecalho ---------- */
.topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--ouro-fio);
  background: rgba(11, 10, 11, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.marca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--fg);
}

.marca-omega {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--ouro);
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px var(--ouro-fio-forte);
  font-family: var(--fonte-omega);
  font-weight: 600;
  font-size: 1.45rem;
  line-height: 1;
  padding-bottom: 0.1rem;
  color: var(--ouro-claro);
}

.marca-texto { display: flex; flex-direction: column; line-height: 1.15; }

.marca-nome {
  font-family: var(--fonte-marca);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  color: var(--fg);
}

.marca-lema {
  font-family: var(--fonte-marca);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  color: var(--ouro);
}

.topo nav a {
  font-family: var(--fonte-marca);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.topo nav a:hover { color: var(--ouro-claro); }

/* ---------- conteudo ---------- */
main {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 3rem;
}

h1, h2, h3 {
  font-family: var(--fonte-marca);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(1.45rem, 3.6vw, 2.05rem); margin: 0 0 1.25rem; }

h2 {
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  color: var(--ouro-claro);
  letter-spacing: 0.08em;
  margin: 3rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
/* fio dourado depois de cada titulo de secao */
h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--ouro-fio-forte), transparent);
}

h3 { font-size: 1.05rem; letter-spacing: 0.06em; margin: 0 0 0.5rem; }

strong { color: #fff8ea; }
em { color: var(--ouro-claro); font-style: normal; }

ul { padding-left: 1.25rem; }
li { margin-bottom: 0.6rem; }
li::marker { color: var(--ouro); }

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  color: var(--ouro-claro);
  background: var(--bg-elevado-2);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

pre {
  background: var(--bg-elevado);
  border: 1px solid var(--ouro-fio);
  border-left: 3px solid var(--ouro);
  padding: 1.25rem;
  border-radius: var(--raio);
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #e4dccb;
}

/* ---------- hero da pagina inicial ---------- */
.hero {
  text-align: center;
  padding: clamp(1rem, 4vw, 2.5rem) 0 1rem;
}

.emblema {
  position: relative;
  width: min(300px, 72vw);
  margin: 0 auto 2rem;
  isolation: isolate; /* sem isto o brilho (z-index -1) some atras do fundo */
}

/* brilho vermelho atras do emblema -- lento, e some com reduced-motion */
.emblema::before {
  content: "";
  position: absolute;
  inset: -14%; /* halo por FORA do selo: o preenchimento preto cobre o centro */
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 26, 38, 0.30) 40%, transparent 70%);
  filter: blur(28px);
  animation: pulso 6s ease-in-out infinite;
  z-index: -1;
}

.emblema svg { display: block; width: 100%; height: auto; }

.emblema .anel-texto {
  font-family: var(--fonte-marca);
  font-weight: 600;
  font-size: 14px;
  fill: var(--ouro-claro);
}

.emblema .omega {
  font-family: var(--fonte-omega);
  font-weight: 600;
  font-size: 118px;
}

@keyframes pulso {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50%      { opacity: 1;    transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .emblema::before { animation: none; opacity: 0.8; }
}

.hero h1 { max-width: 28ch; margin-inline: auto; text-wrap: balance; }
.hero p { color: var(--muted); max-width: 52ch; margin: 0 auto 2rem; }

/* ---------- botoes: o unico vermelho do site ---------- */
.botao {
  display: inline-block;
  background: linear-gradient(180deg, var(--vermelho-vivo), var(--vermelho));
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  border: 1px solid rgba(232, 203, 126, 0.45);
  font-family: var(--fonte-marca);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 24px -8px rgba(209, 26, 38, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.botao:hover {
  color: #fff;
  transform: translateY(-1px);
  border-color: var(--ouro-claro);
  box-shadow: 0 10px 30px -8px rgba(209, 26, 38, 0.8);
}
.botao:disabled {
  background: #3a3537;
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ---------- cartoes ---------- */
.grade-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.card-produto {
  display: block;
  background: linear-gradient(180deg, var(--bg-elevado-2), var(--bg-elevado));
  border: 1px solid var(--ouro-fio);
  border-radius: var(--raio);
  padding: 1.35rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card-produto p { color: var(--muted); margin: 0; font-size: 0.92rem; }
a.card-produto:hover { border-color: var(--ouro); transform: translateY(-2px); color: inherit; }
a.card-produto h3 { color: var(--ouro-claro); }

.card-produto.em-breve { opacity: 0.55; }

.selo-em-breve {
  display: inline-block;
  font-family: var(--fonte-marca);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--ouro-fio);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-top: 0.75rem;
}

/* ---------- precos ---------- */
.precos { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }

.plano {
  flex: 1 1 240px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-elevado-2), var(--bg-elevado));
  border: 1px solid var(--ouro-fio);
  border-top: 2px solid var(--ouro);
  border-radius: var(--raio);
  padding: 1.75rem 1.5rem;
}
.plano h3 { color: var(--ouro-claro); }
.plano .preco {
  font-family: var(--fonte-marca);
  font-size: 2.4rem;
  margin: 0.25rem 0;
  color: #fff8ea;
}
.plano p { color: var(--muted); }

.mensagem-erro { color: var(--erro); min-height: 1.5em; }

/* ---------- fundador ---------- */
.fundador {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ouro-fio);
}
.fundador-retrato {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--ouro-fio-forte);
}
.fundador h2 { margin: 0 0 1rem; font-size: 1.15rem; letter-spacing: 0; }
.fundador h2::after { display: none; }
.fundador-texto { min-width: 0; }
.fundador-texto p { margin: 0 0 0.8rem; }
.fundador-nome { font-weight: 600; }
.fundador-nome span {
  display: inline-block;
  margin-left: 0.6rem;
  padding-left: 0.6rem;
  border-left: 1px solid var(--ouro-fio-forte);
  color: var(--ouro-claro);
  font-size: 0.85rem;
  font-weight: 400;
}
.fundador-texto a { overflow-wrap: anywhere; text-underline-offset: 4px; }
@media (max-width: 560px) {
  .fundador { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .fundador-retrato { max-width: 200px; }
}

/* ---------- rodape ---------- */
footer {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 1rem;
  font-size: 0.8rem;
  border-top: 1px solid var(--ouro-fio);
}
footer .lema {
  font-family: var(--fonte-marca);
  letter-spacing: 0.3em;
  color: var(--ouro);
  font-size: 0.65rem;
  margin: 0 0 0.35rem;
}
footer p { margin: 0; }

@media (max-width: 480px) {
  .marca-lema { font-size: 0.5rem; letter-spacing: 0.26em; }
  .marca-nome { font-size: 1rem; }
  .botao { width: 100%; text-align: center; }
}
