/* =============================================================
   GUARACI — The first light from Pindorama
   Visual direction: G-A "Meridiano"
   ============================================================= */

:root {
  --preto: #0F0F0F;
  --preto-warmer: #1A1410;
  --creme-luz: #FAF5E8;
  --ouro-queimado: #E8A33D;
  --terracota-cobre: #C9561F;
  --palha-clara: #F4D58D;
  --marrom-tostado: #5A3921;

  --font-display: "Newsreader", "GT Sectra", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--preto);
  color: var(--creme-luz);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  /* Subtle radial warmth from the sun */
  background: radial-gradient(ellipse at 50% 38%, #1F1710 0%, #0F0F0F 55%);
}

a { color: inherit; text-decoration: none; }

/* ---------- STAGE ---------- */
.stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
  position: relative;
}

.stage-inner {
  max-width: 560px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- MARK ---------- */
.mark {
  width: clamp(180px, 34vw, 280px);
  height: auto;
  margin-bottom: 3rem;
  filter: drop-shadow(0 0 80px rgba(232, 163, 61, 0.15));
}

/* ---------- TYPE ---------- */
.h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--creme-luz);
  margin: 0 0 1.75rem;
  max-width: 18ch;
}

.sub {
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--creme-luz);
  opacity: 0.78;
  margin: 0 0 3rem;
  max-width: 44ch;
  width: 100%;
  padding: 0 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.sub em { font-style: italic; color: var(--palha-clara); }

.soon {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ouro-queimado);
  margin: 0 0 2.5rem;
  opacity: 0.85;
}

/* ---------- CTA ---------- */
.cta-wrap {
  display: flex;
  justify-content: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ouro-queimado);
  padding: 0.875rem 1.5rem;
  border: 1.5px solid rgba(232, 163, 61, 0.5);
  border-radius: 999px;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.cta span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.cta:hover {
  color: var(--preto);
  background: var(--ouro-queimado);
  border-color: var(--ouro-queimado);
}

.cta:hover span {
  transform: translateX(3px);
}

/* ---------- FOOTER ---------- */
.foot {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
}

.foot-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--creme-luz);
  opacity: 0.45;
  transition: opacity 0.25s ease;
  letter-spacing: 0.02em;
}

.foot-link:hover { opacity: 1; color: var(--ouro-queimado); }
.foot-mark { width: 20px; height: 20px; }
.foot-link .arrow { font-size: 0.75rem; opacity: 0.7; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .stage { padding: 2rem 1.25rem 5rem; }
  .mark { margin-bottom: 2.25rem; }
  .h1 {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  .sub {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    line-height: 1.55;
    max-width: 90%;
  }
  .sub br { display: none; }
  .soon { margin-bottom: 2rem; font-size: 0.75rem; letter-spacing: 0.24em; }
  .foot { bottom: 1.25rem; }
  .cta { font-size: 0.9375rem; padding: 0.8125rem 1.375rem; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .stage {
    padding: 1rem 1.5rem 1.25rem;
    min-height: auto;
    justify-content: flex-start;
  }
  .mark { width: 72px; margin-bottom: 0.75rem; }
  .h1 {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
    line-height: 1.15;
  }
  /* Keep <br> in H1 for natural line break — just render as inline space if collapsed */
  .sub {
    font-size: 0.8125rem;
    margin-bottom: 0.875rem;
    line-height: 1.45;
  }
  .sub br { display: none; }
  .soon { margin-bottom: 1rem; font-size: 0.6875rem; letter-spacing: 0.22em; }
  .cta { font-size: 0.875rem; padding: 0.625rem 1.25rem; }
  .foot {
    position: static;
    transform: none;
    margin-top: 1.25rem;
    bottom: auto;
  }
  .foot-link { font-size: 0.75rem; }
  .foot-mark { width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
