/* ══════════════════════════════════════════════
   MANINHO CRIATIVOS — Premium v4
   ══════════════════════════════════════════════ */

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

:root {
  --cyan:   #00d4ff;
  --blue:   #0055ff;
  --dark:   #000000;
  --dark2:  #060a12;
  --dark3:  #0a1020;
  --border: rgba(0,212,255,0.18);
  --text:   #ffffff;
  --text2:  rgba(255,255,255,0.55);
  --text3:  rgba(255,255,255,0.28);
  --ease:   cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ══ HERO ══ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Foto de fundo — desktop usa banner pc, mobile usa banner mobile */
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('Images/banner pc.png') center top / cover no-repeat;
  z-index: 0;
}

@media (max-width: 600px) {
  .hero-bg { background-image: url('Images/banner mobile.png'); background-position: right top; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.1) 100%),
    linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 25%, rgba(0,0,0,0) 55%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 60% 60% at 20% 60%, black, transparent 80%);
}

/* Conteúdo do hero — alinhado à esquerda */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 48px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
  filter: drop-shadow(0 0 20px rgba(0,212,255,0.45));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.4px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

.hero-name {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
}
.hero-name span {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-size: 1rem;
  color: var(--text2);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: -12px;
}

.hero-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-chip {
  padding: 6px 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text2);
  backdrop-filter: blur(6px);
}

.scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--text2);
  text-decoration: none;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  animation: bounce-y 2.5s ease-in-out infinite;
  transition: border-color 0.2s, color 0.2s;
  margin-top: 8px;
}
.scroll-btn:hover { border-color: var(--cyan); color: var(--cyan); }
@keyframes bounce-y {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ══ LINKS SECTION ══ */
.links-section {
  background: var(--dark);
  padding: 0 0 48px;
}

.links-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Banner card ── */
.link-banner {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 52px;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  height: 80px;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  user-select: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.link-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,212,255,0.3);
}
.link-banner:active { transform: translateY(-1px); }

/* Bloco ícone esquerdo */
.banner-icon-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.banner-icon-bg {
  position: absolute;
  inset: 0;
  background: var(--card-grad, linear-gradient(135deg, var(--cyan), var(--blue)));
}

.banner-icon-svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.banner-icon-svg svg {
  width: 100%;
  height: 100%;
  fill: white;
  display: block;
}

/* Bloco texto central */
.banner-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
  background: linear-gradient(to right, rgba(8,14,26,0.97), rgba(6,10,18,0.99));
  position: relative;
  gap: 5px;
  overflow: hidden;
}

/* Borda luminosa esquerda da cor do card */
.banner-text-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--card-grad, linear-gradient(to bottom, var(--cyan), var(--blue)));
  opacity: 0.6;
}

.banner-name {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
}

.banner-cta {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Seta direita */
.banner-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,10,18,0.99);
  color: var(--text3);
  font-size: 1rem;
  transition: color 0.2s;
  border-left: 1px solid rgba(255,255,255,0.04);
}
.link-banner:hover .banner-arrow { color: var(--cyan); }

/* Ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.08);
  animation: ripple-anim 0.55s linear;
  pointer-events: none;
  z-index: 10;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* Skeleton */
.banner-skeleton {
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(90deg, #080e1a 25%, #101828 50%, #080e1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ══ BIO ══ */
.bio-section {
  background: var(--dark2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 24px 72px;
}

.bio-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.bio-avatar-wrap {
  position: relative;
  width: 78px; height: 78px;
}

.bio-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2.5px solid rgba(0,212,255,0.4);
  display: block;
  position: relative;
  z-index: 1;
}

.bio-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--cyan);
  border-bottom-color: var(--blue);
  animation: spin-ring 4s linear infinite;
}
@keyframes spin-ring { to { transform: rotate(360deg); } }

.bio-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bio-name {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.bio-check {
  width: 18px; height: 18px;
  background: var(--cyan);
  color: var(--dark);
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-desc {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.8;
  max-width: 380px;
}

.bio-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.bio-social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text2);
  transition: all 0.2s var(--ease);
}
.bio-social-btn svg { width: 17px; height: 17px; fill: currentColor; }
.bio-social-btn:hover {
  background: rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.3);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ══ FOOTER ══ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.76rem;
  color: var(--text3);
}
.footer-admin { color: var(--text3); text-decoration: none; opacity: 0.4; transition: opacity 0.2s; }
.footer-admin:hover { opacity: 0.8; }

/* ══ RESPONSIVE ══ */
@media (max-width: 600px) {
  .hero-content { padding: 32px 24px 48px; gap: 20px; }
  .links-wrap { padding: 0 16px; }
  .link-banner { grid-template-columns: 70px 1fr 44px; height: 72px; }
  .banner-name { font-size: 0.88rem; letter-spacing: 1px; }
  .srv-grid { grid-template-columns: 1fr; }
  .srv-title { font-size: 1.7rem; }
}

/* ══ PARALLAX — JS controla via CSS var ══ */
.hero-bg {
  will-change: transform;
}

/* ══ SERVIÇOS ══ */
.services-section {
  background: var(--dark2);
  padding: 88px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.services-inner {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.srv-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.srv-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 52px;
}

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

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

/* ── Card de serviço ── */
.srv-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
  cursor: default;
}

.srv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.srv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,255,0.15);
}
.srv-card:hover::before { opacity: 1; }

.srv-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,212,255,0.25);
  position: relative;
  z-index: 1;
}

.srv-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.srv-card-desc {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.75;
  flex: 1;
  position: relative;
  z-index: 1;
}

.srv-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.5px;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

/* ── Reveal animation ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
