/* =====================================================================
   Visual novo do painel (botões, ícones, títulos e fundo).
   Fica por cima do estilo original do index.html: para voltar ao visual
   antigo, apague a linha que inclui visual.css no index.html.
   ===================================================================== */

:root {
  --navy-900: #071E3D;
  --navy-800: #0B2A52;
  --navy-700: #0F3A69;
  --navy-500: #2B5F99;
  --ink: #0E1F35;
  --muted: #5F6E80;
  --card: #FFFFFF;
  --card-hover: #F6F9FD;
  --raio: 18px;
}

/* ---------- fundo: azul mais profundo, com brilho no topo e textura de pontos ---------- */
body {
  background-color: var(--navy-800);
}
/* o degradê fica numa camada fixa própria (em vez de background-attachment:
   fixed, que no celular redesenha a tela inteira a cada rolagem) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    radial-gradient(1200px 520px at 50% -140px, rgba(110,170,255,0.30), transparent 70%),
    radial-gradient(900px 600px at 50% 120%, rgba(4,14,32,0.65), transparent 70%),
    linear-gradient(180deg, #123F72 0%, #0B2A52 55%, #071E3D 100%);
  transform: translateZ(0);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

.page { max-width: 500px; }

/* ---------- slogan ---------- */
.tagline { font-family: 'Sora', sans-serif; font-size: 14px; letter-spacing: 0.01em; color: rgba(255,255,255,0.9); }
.tag-line { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8)); }
.tag-line-right { background: linear-gradient(90deg, rgba(255,255,255,0.8), transparent); }

/* ---------- títulos das seções: marcador + texto + linha que se estende ---------- */
.group { margin-bottom: 32px; }
.eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  gap: 10px;
  margin: 0 2px 14px;
}
.eyebrow::before {
  width: 8px; height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, #8FC1FF, #fff);
  box-shadow: 0 0 10px rgba(143,193,255,0.9);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.35), transparent);
}

/* ---------- cartões ---------- */
.links { gap: 12px; }
.link-card {
  gap: 14px;
  padding: 14px 14px 14px 14px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--raio);
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 2px 4px rgba(3,18,40,0.10),
    0 14px 30px -16px rgba(3,18,40,0.65);
  transition: translate 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
/* "translate" (e não "transform") para o hover funcionar mesmo com a animação de entrada */
.link-card:hover {
  translate: 0 -3px;
  border-color: rgba(255,255,255,0.9);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--card-hover) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 4px 8px rgba(3,18,40,0.12),
    0 22px 40px -18px rgba(3,18,40,0.75);
}
.link-card:active { translate: 0 0; }

.link-card .title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.link-card .sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ícone: quadradinho colorido com brilho, cor por tipo de link */
.link-card .icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, #2B5F99), var(--c2, #0F3A69));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -2px 0 rgba(0,0,0,0.12),
    0 8px 16px -8px var(--c2, #0F3A69);
  position: relative;
  overflow: hidden;
}
.link-card .icon::after {        /* reflexo no alto do ícone */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), transparent);
  pointer-events: none;
}
.link-card .icon svg { width: 22px; height: 22px; stroke-width: 2.2; position: relative; z-index: 1; }

.tom-whats   { --c1: #3DDC84; --c2: #12A150; }
.tom-mail    { --c1: #5AA2FF; --c2: #1D5FD8; }
.tom-local   { --c1: #FF8A5B; --c2: #E5484D; }
.tom-insta   { --c1: #F9A23B; --c2: #D3277F; background: radial-gradient(circle at 30% 110%, #FDDB6D 0%, #F77737 30%, #E1306C 60%, #833AB4 100%) !important; }
.tom-blog    { --c1: #A78BFA; --c2: #6D28D9; }
.tom-loja    { --c1: #FFC14D; --c2: #EA7A0C; }
.tom-apple   { --c1: #4A4A4E; --c2: #0B0B0C; }
.tom-play    { --c1: #34D399; --c2: #0E8FD6; }
.tom-marca   { --c1: #3A79C4; --c2: #0F3A69; }
.tom-estrela { --c1: #FFD45C; --c2: #F59E0B; }
.tom-vagas   { --c1: #2DD4BF; --c2: #0F766E; }

/* seta: vira um botãozinho redondo que se enche no hover */
.link-card .arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-700);
  background: rgba(15,58,105,0.07);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.link-card .arrow svg { width: 16px; height: 16px; stroke-width: 2.6; }
.link-card:hover .arrow { background: var(--navy-700); color: #fff; transform: translateX(3px); }

/* ---------- cartões com mapa ---------- */
.location-card {
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--raio);
  box-shadow:
    0 2px 4px rgba(3,18,40,0.10),
    0 14px 30px -16px rgba(3,18,40,0.65);
  transition: translate 0.2s ease, box-shadow 0.2s ease;
}
.location-card:hover { translate: 0 -3px; border-color: rgba(255,255,255,0.9); }
.location-card .link-card { background: transparent; translate: none; }
.location-card .link-card:hover { translate: none; background: rgba(15,58,105,0.035); }
.map-frame { height: 170px; border-top: 1px solid #E6EBF1; }
.map-frame::before {          /* leve sombra interna no topo do mapa */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 14px;
  background: linear-gradient(180deg, rgba(3,18,40,0.12), transparent);
  z-index: 401;
  pointer-events: none;
}

/* ---------- redes sociais ---------- */
.social { gap: 10px; margin-top: 42px; }
.social-icon {
  width: 48px; height: 48px;
  border: none;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,0.6);
  transition: translate 0.2s ease, box-shadow 0.2s ease, scale 0.2s ease;
}
.social-icon:hover { translate: 0 -4px; scale: 1.06; box-shadow: 0 14px 24px -10px rgba(0,0,0,0.7); }
.social-icon svg { width: 26px; height: 26px; }
/* o logo do YouTube é mais largo que alto: um pouco maior para ter o mesmo peso */
.social-icon[aria-label="YouTube"] svg { width: 30px; height: 30px; }

footer {
  margin-top: 30px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 420px) {
  .tagline { font-size: 12.5px; gap: 8px; white-space: nowrap; }
  .tag-line { width: 16px; }
  .social { gap: 6px; flex-wrap: nowrap; }
  .social-icon { width: 40px; height: 40px; flex: 0 0 auto; }
  .social-icon svg { width: 22px; height: 22px; }
  .social-icon[aria-label="YouTube"] svg { width: 26px; height: 26px; }
  .link-card { padding: 12px; gap: 12px; }
  .link-card .icon { width: 42px; height: 42px; border-radius: 13px; }
  .link-card .title { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .link-card, .location-card, .social-icon, .link-card .arrow { transition: none; }
}
