/* ============================================
   Guild Labs — Landing "Em breve"
   Paleta e tipografia conforme diretriz da marca
   ============================================ */

:root {
  /* Cores principais */
  --navy: #132134;
  --cyan: #2dd4db;

  /* Cores secundárias */
  --purple: #7C3AED;
  --slate: #33415B;
  --offwhite: #F8FAFC;
  --pink: #FF2271;
  --blue: #1B91FF;
  --green: #2DDB6D;

  --navy-deep: #0c1624;
  --text-muted: rgba(248, 250, 252, 0.68);

  --font: "Poppins", system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--offwhite);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Glows de fundo ---------- */

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow--top {
  width: 560px;
  height: 560px;
  top: -220px;
  right: -140px;
  background: radial-gradient(circle, rgba(45, 212, 219, 0.22), transparent 70%);
}

.glow--bottom {
  width: 640px;
  height: 640px;
  bottom: -280px;
  left: -180px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
}

/* ---------- Blocos flutuantes (conceito modular) ---------- */

.blocks {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.block {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1.5px solid;
  opacity: 0.35;
  animation: float 14s ease-in-out infinite;
}

.block--sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.block--cyan   { border-color: var(--cyan);   background: rgba(45, 212, 219, 0.06); }
.block--purple { border-color: var(--purple); background: rgba(124, 58, 237, 0.06); }
.block--pink   { border-color: var(--pink);   background: rgba(255, 34, 113, 0.06); }
.block--blue   { border-color: var(--blue);   background: rgba(27, 145, 255, 0.06); }
.block--green  { border-color: var(--green);  background: rgba(45, 219, 109, 0.06); }

.block:nth-child(1) { top: 12%; left: 7%;  animation-delay: 0s;    animation-duration: 13s; }
.block:nth-child(2) { top: 24%; right: 9%; animation-delay: -3s;   animation-duration: 16s; }
.block:nth-child(3) { top: 62%; left: 5%;  animation-delay: -6s;   animation-duration: 15s; }
.block:nth-child(4) { top: 74%; right: 12%; animation-delay: -9s;  animation-duration: 12s; }
.block:nth-child(5) { top: 44%; right: 4%; animation-delay: -4s;   animation-duration: 17s; }
.block:nth-child(6) { top: 84%; left: 32%; animation-delay: -7s;   animation-duration: 14s; }
.block:nth-child(7) { top: 8%;  left: 38%; animation-delay: -11s;  animation-duration: 18s; }
.block:nth-child(8) { top: 52%; left: 22%; animation-delay: -2s;   animation-duration: 13s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50%      { transform: translateY(-32px) rotate(-6deg); }
}

/* ---------- Layout ---------- */

.page {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(48px, 9vh, 96px) 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(56px, 9vh, 104px);
}

/* ---------- Animação de entrada ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__logo {
  width: clamp(120px, 18vw, 180px);
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 0 32px rgba(45, 212, 219, 0.35));
  animation: pulse-logo 4s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { filter: drop-shadow(0 0 24px rgba(45, 212, 219, 0.25)); }
  50%      { filter: drop-shadow(0 0 44px rgba(45, 212, 219, 0.5)); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 219, 0.4);
  background: rgba(45, 212, 219, 0.08);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 1.8s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--cyan); }
  50%      { opacity: 0.35; box-shadow: none; }
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero__title-accent {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__tagline {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 56ch;
}

/* ---------- Countdown ---------- */

.countdown {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.countdown__label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2.5vw, 24px);
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.countdown__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: clamp(20px, 4vw, 36px) 12px;
  border-radius: 20px;
  background: rgba(248, 250, 252, 0.04);
  border: 1px solid rgba(248, 250, 252, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown__card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 212, 219, 0.45);
}

.countdown__value {
  font-size: clamp(2rem, 6.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--offwhite), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.countdown__unit {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Sobre ---------- */

.section-title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.about {
  text-align: center;
  max-width: 680px;
}

.about__text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
}

.about__text + .about__text {
  margin-top: 16px;
}

/* ---------- Cards missão / visão ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
}

.card {
  padding: 36px 32px;
  border-radius: 24px;
  background: rgba(248, 250, 252, 0.04);
  border: 1px solid rgba(248, 250, 252, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card:nth-child(1):hover { border-color: rgba(45, 212, 219, 0.45); }
.card:nth-child(2):hover { border-color: rgba(124, 58, 237, 0.45); }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__icon--cyan {
  color: var(--cyan);
  background: rgba(45, 212, 219, 0.1);
  border: 1px solid rgba(45, 212, 219, 0.3);
}

.card__icon--purple {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card__text {
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- Rodapé ---------- */

.footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.footer__domain {
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__social:hover,
.footer__social:focus-visible {
  color: var(--cyan);
}

.footer__social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__copy {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(248, 250, 252, 0.45);
}

/* ---------- Responsivo ---------- */

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .countdown__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .block {
    opacity: 0.22;
  }
}

/* ---------- Acessibilidade: reduzir movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  .block,
  .hero__logo,
  .hero__badge::before {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}