/* ============================================
   PEDRO DEV — STYLESHEET
   Autor: Pedro Augusto
   Versão: 1.0.0
   ============================================ */

/* Base */
* { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background-color: #020817;
  color: #e2e8f0;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Syne', sans-serif;
}

/* ── Scrollbar ───────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #020817; }
::-webkit-scrollbar-thumb { background: #0ea5e9; border-radius: 10px; }

/* ── Glassmorphism ───────────────────────── */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.07);
}
.glass-strong {
  background: rgba(14,165,233,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(14,165,233,0.18);
}

/* ── Glow effects ────────────────────────── */
.glow-blue     { box-shadow: 0 0 30px rgba(0,212,255,0.25); }
.glow-blue-sm  { box-shadow: 0 0 15px rgba(0,212,255,0.2); }
.text-glow     { text-shadow: 0 0 40px rgba(0,212,255,0.5); }

/* ── Gradient text ───────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #00d4ff 0%, #38bdf8 40%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Background mesh ─────────────────────── */
.bg-mesh {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(14,165,233,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(139,92,246,0.1) 0%, transparent 50%),
    #020817;
}
.bg-mesh-2 {
  background:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(14,165,233,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(139,92,246,0.08) 0%, transparent 50%),
    #040f28;
}

/* ── Animated grid ───────────────────────── */
.grid-bg {
  background-image:
    linear-gradient(rgba(14,165,233,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Buttons ─────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
  box-shadow: 0 0 25px rgba(14,165,233,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(14,165,233,0.55);
}
.btn-outline {
  border: 1.5px solid rgba(14,165,233,0.5);
  color: #38bdf8;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: #38bdf8;
  background: rgba(14,165,233,0.1);
  transform: translateY(-2px);
}

/* ── Card hover ──────────────────────────── */
.card-hover {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-8px);
  border-color: rgba(14,165,233,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px rgba(14,165,233,0.15);
}

/* ── Navbar ──────────────────────────────── */
.navbar-scroll {
  background: rgba(2,8,23,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(14,165,233,0.1);
}

/* ── Section tags ────────────────────────── */
.section-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0ea5e9;
}

/* ── Pricing card ────────────────────────── */
.price-featured {
  background: linear-gradient(145deg, rgba(14,165,233,0.15), rgba(139,92,246,0.1));
  border: 1.5px solid rgba(14,165,233,0.4);
  box-shadow: 0 0 60px rgba(14,165,233,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ── FAQ accordion ───────────────────────── */
.faq-item details summary       { cursor: pointer; list-style: none; }
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details[open] summary .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform 0.3s ease; }

/* ── Timeline ────────────────────────────── */
.timeline-line::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(14,165,233,0.4), transparent);
  transform: translateX(-50%);
}

/* ── Dot grid decoration ─────────────────── */
.dot-grid {
  background-image: radial-gradient(rgba(14,165,233,0.25) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── Scroll reveal ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Mobile menu ─────────────────────────── */
#mobile-menu       { display: none; }
#mobile-menu.open  { display: block; }

/* ── WhatsApp float button ───────────────── */
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 4px 25px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(37,211,102,0.55);
}

/* ── Portfolio ───────────────────────────── */
.portfolio-card {
  overflow: hidden;
  transition: all 0.4s ease;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-card:hover img                { transform: scale(1.05); }
.portfolio-overlay {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ── Testimonial stars ───────────────────── */
.star { color: #fbbf24; }
