/* =========================================================
   Leão Concursos — página de lançamento
   Paleta de brasão: azul-marinho institucional + dourado de
   medalha, com um único acento de energia (ember) no CTA.
   ========================================================= */

:root {
  --ink:        #0C1E3E;  /* azul-marinho base (mundo oficial dos concursos) */
  --ink-2:      #14294d;  /* painel/linha */
  --gold:       #E4AE45;  /* dourado de medalha / aprovação */
  --gold-bright:#F6D488;  /* brilho do dourado */
  --ember:      #E1521C;  /* energia — só no CTA */
  --parchment:  #F5F1E6;  /* texto claro, levemente quente */
  --muted:      #A5B4CE;  /* texto secundário */

  --maxw: 940px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 90% at 50% 8%, #123059 0%, var(--ink) 55%, #081733 100%);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* moldura fina de "documento oficial" */
.frame {
  position: fixed;
  inset: 14px;
  border: 1px solid rgba(228, 174, 69, 0.22);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

/* ---------- layout ---------- */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.stack {
  width: 100%;
  max-width: var(--maxw);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- eyebrow ---------- */
.eyebrow {
  margin: 0 0 clamp(1.4rem, 4vw, 2.2rem);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- emblema (signature) ---------- */
.emblem {
  position: relative;
  width: clamp(112px, 20vw, 156px);
  aspect-ratio: 1;
  margin-bottom: clamp(1.5rem, 4vw, 2.2rem);
}

.emblem__glow {
  position: absolute;
  inset: -45%;
  background: radial-gradient(circle, rgba(228,174,69,0.32) 0%, rgba(228,174,69,0) 62%);
  filter: blur(4px);
  z-index: -1;
  animation: pulse 5.5s ease-in-out infinite;
}

.emblem__mark { width: 100%; height: 100%; display: block; }

.ring        { stroke: var(--gold); }
.ring--notch { stroke: rgba(228,174,69,0.55); stroke-dasharray: 1 7; }
.mane        { fill: var(--gold); }
.sep         { fill: var(--ink); }
.ear         { fill: var(--gold); }
.face        { fill: var(--gold-bright); }
.feat        { fill: var(--ink); }
.feat-stroke {
  fill: none;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linecap: round;
}
.feat-stroke--thin { stroke-width: 3; }

/* ---------- wordmark ---------- */
.wordmark {
  margin: 0 0 clamp(1.6rem, 4vw, 2.4rem);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--parchment);
}

/* ---------- headline ---------- */
.headline {
  margin: 0 auto clamp(1rem, 2.5vw, 1.4rem);
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 5.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--gold-bright);
}

/* ---------- subcopy ---------- */
.sub {
  margin: 0 auto clamp(2.4rem, 6vw, 3.4rem);
  max-width: 46ch;
  font-size: clamp(1.02rem, 2.3vw, 1.22rem);
  color: var(--muted);
}

/* ---------- value props ---------- */
.props {
  list-style: none;
  margin: 0 0 clamp(2.6rem, 6vw, 3.6rem);
  padding: clamp(1.4rem, 3vw, 1.8rem) 0;
  width: 100%;
  border-top: 1px solid rgba(165, 180, 206, 0.18);
  border-bottom: 1px solid rgba(165, 180, 206, 0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.prop {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0.6rem;
  position: relative;
}
.prop + .prop::before {
  content: "";
  position: absolute;
  left: 0; top: 12%;
  height: 76%;
  border-left: 1px solid rgba(165, 180, 206, 0.16);
}

.prop__value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  line-height: 1;
  color: var(--gold);
}
.prop__label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- actions ---------- */
.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(228,174,69,0.6);
  animation: blip 2.6s ease-out infinite;
}

.cta {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  background: var(--ember);
  color: var(--parchment);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 10px 30px -12px rgba(225, 82, 28, 0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.cta:hover {
  transform: translateY(-2px);
  background: #f05e26;
  box-shadow: 0 16px 34px -12px rgba(225, 82, 28, 0.85);
}
.cta:active { transform: translateY(0); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 1.8rem 1.5rem 2.2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.site-footer__line { margin: 0.2rem 0; }
.site-footer__copy { margin-top: 0.7rem; color: rgba(165,180,206,0.7); }
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- foco acessível ---------- */
a:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- animações ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d) * 110ms + 120ms);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.97); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
@keyframes blip {
  0%   { box-shadow: 0 0 0 0 rgba(228,174,69,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(228,174,69,0); }
  100% { box-shadow: 0 0 0 0 rgba(228,174,69,0); }
}

/* ---------- responsivo ---------- */
@media (max-width: 640px) {
  .props { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0.5rem; }
  .prop:nth-child(3)::before,
  .prop + .prop::before { border-left: none; }
  .prop { border-top: none; }
}

@media (max-width: 380px) {
  .frame { inset: 8px; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  .emblem__glow, .status::before { animation: none; }
  .cta { transition: none; }
}
