:root {
  --bg-dark: #1e2a36;
  --bg-teal: #0b6e5f;
  --green: #33cc99;
  --green-deep: #00826a;
  --white: #fafafa;
  --muted: #b9cbc6;
  --glass: rgba(255, 255, 255, .06);
  --glass-line: rgba(51, 204, 153, .35);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--white);
  background: var(--bg-dark) url("/assets/img/bg-gradient.webp") center / cover no-repeat fixed;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 6vw, 72px);
  overflow: hidden;
}

/* Brilho suave atrás do conteúdo central. */
.page::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  background: radial-gradient(circle, rgba(51, 204, 153, .18), transparent 62%);
  pointer-events: none;
  animation: glow 9s ease-in-out infinite alternate;
}

.top, .hero, .bottom { position: relative; }

.top { display: flex; justify-content: center; }
.logo { display: block; width: clamp(120px, 14vw, 155px); height: auto; }

.hero {
  align-self: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 0;
  text-align: center;
  animation: rise .8s ease-out both;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px 16px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(6px);
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(51, 204, 153, .6);
  animation: pulse 2s ease-out infinite;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 6.2vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.accent {
  background: linear-gradient(100deg, var(--green), #9ff0d2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: var(--glass);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}

.social a:hover {
  border-color: var(--green);
  background: rgba(51, 204, 153, .12);
  transform: translateY(-2px);
}

.social a:focus-visible,
.bottom a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
}

.social svg .fill { fill: var(--green); stroke: none; }

.bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 14px;
}

.bottom p { margin: 0; }
.bottom a { color: var(--green); text-decoration: none; }
.bottom a:hover { text-decoration: underline; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(51, 204, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(51, 204, 153, 0); }
}

@keyframes glow {
  from { opacity: .6; scale: .9; }
  to { opacity: 1; scale: 1.05; }
}

@media (max-width: 640px) {
  body { background-attachment: scroll; }
  .bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}
