/* ===== Agility · Links — identidade oficial ===== */
@font-face {
  font-family: 'Exo 2';
  src: url('assets/fonts/Exo2.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --grafite: #1c1f26;
  --gelo: #f6f6f6;
  --roxo: #4d4bb2;
  --roxo-claro: #7063f0;
  --laranja: #ff7029;
  --laranja-forte: #ff4e00;

  --fundo: #111318; /* grafite da marca, um tom mais escuro */
  --texto: var(--gelo);
  --texto-suave: rgba(246, 246, 246, 0.66);
  --card: rgba(246, 246, 246, 0.06);
  --card-hover: rgba(246, 246, 246, 0.1);
  --borda: rgba(246, 246, 246, 0.12);
  --raio: 18px;
  --fonte: 'Exo 2', 'Segoe UI', system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte);
  font-weight: 400;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* fundo: grafite mais profundo + leves brilhos da marca */
.fundo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 110% -10%, rgba(112, 99, 240, 0.16), transparent 60%),
    radial-gradient(50vmax 50vmax at -20% 110%, rgba(77, 75, 178, 0.18), transparent 60%),
    radial-gradient(30vmax 30vmax at 100% 100%, rgba(255, 112, 41, 0.06), transparent 60%);
}

/* partículas (desenhadas pelo particulas.js) */
#particulas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.pagina {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 16px 32px;
}

/* ----- topo ----- */
.topo { text-align: center; margin-bottom: 28px; }

.logo {
  display: block;
  width: 210px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 20px;
}

.topo h1 {
  font-size: clamp(1.35rem, 5.4vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.topo h1 em { font-style: normal; font-weight: 800; color: var(--laranja); }

.topo p {
  margin-top: 8px;
  color: var(--texto-suave);
  font-size: 0.98rem;
}

/* ----- redes ----- */
.redes {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.redes a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--borda);
  color: var(--texto);
  transition: background .2s, transform .2s, border-color .2s;
}
.redes a:hover, .redes a:focus-visible {
  background: var(--roxo);
  border-color: var(--roxo-claro);
  transform: translateY(-2px);
}
.redes svg { width: 20px; height: 20px; }

/* ----- seções ----- */
.secao { margin-top: 26px; }
.secao h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin: 0 4px 10px;
}
.secao h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--borda);
}

.lista { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }

/* ----- botões ----- */
.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--raio);
  background: var(--card);
  border: 1px solid var(--borda);
  color: var(--texto);
  text-decoration: none;
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  transition: background .2s, transform .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.link:hover, .link:focus-visible {
  background: var(--card-hover);
  border-color: rgba(112, 99, 240, 0.6);
  transform: translateY(-2px);
}
.link:active { transform: scale(0.985); }

.link:focus-visible, .redes a:focus-visible {
  outline: 2px solid var(--laranja);
  outline-offset: 3px;
}

.icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--roxo), var(--roxo-claro));
  color: #fff;
}
.icone svg { width: 22px; height: 22px; }

.textos { flex: 1; min-width: 0; }
.titulo { display: block; font-weight: 700; font-size: 1.02rem; }
.sub {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--texto-suave);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* chevron da marca à direita: avançar */
.seta {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--texto-suave);
  transition: transform .2s, color .2s;
}
.link:hover .seta, .link:focus-visible .seta { transform: translateX(4px); color: var(--laranja); }

/* destaque principal (WhatsApp) */
.link.destaque {
  background: linear-gradient(120deg, var(--roxo) 0%, var(--roxo-claro) 100%);
  border-color: transparent;
  min-height: 76px;
  box-shadow: 0 10px 30px -10px rgba(112, 99, 240, 0.65);
}
.link.destaque .icone { background: linear-gradient(135deg, var(--laranja), var(--laranja-forte)); }
.link.destaque .sub { color: rgba(255, 255, 255, 0.82); }
.link.destaque .seta { color: #fff; }
.link.destaque:hover { border-color: transparent; filter: brightness(1.06); }

.selo {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ----- rodapé ----- */
.rodape {
  margin-top: 36px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--texto-suave);
}
.rodape a { color: var(--texto-suave); }
.rodape a:hover { color: var(--texto); }
.rodape .simbolo { width: 26px; height: auto; margin-bottom: 8px; opacity: .9; }

/* ----- entrada animada ----- */
@media (prefers-reduced-motion: no-preference) {
  .topo, .secao, .rodape {
    opacity: 0;
    transform: translateY(14px);
    animation: entrar .6s cubic-bezier(.2, .7, .2, 1) forwards;
  }
  .secao:nth-of-type(1) { animation-delay: .08s; }
  .secao:nth-of-type(2) { animation-delay: .16s; }
  .secao:nth-of-type(3) { animation-delay: .24s; }
  .rodape { animation-delay: .32s; }
}
@keyframes entrar { to { opacity: 1; transform: none; } }

@media (max-width: 360px) {
  .link { gap: 12px; padding-right: 12px; }
  .selo { display: none; }
}
