/*
Theme Name: ProFy Automações
Theme URI: https://profyautomacoes.com
Author: ProFy
Description: Tema personalizado para ProFy Automações - Automação Inteligente com IA
Version: 1.0.0
Text Domain: profy
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a2e;
  --border: rgba(255,255,255,0.06);
  --text: #e2e2e8;
  --text-muted: #8888a0;
  --primary: #6c3bfa;
  --primary-glow: #8b5cf6;
  --accent: #06b6d4;
  --danger: #ef4444;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary-glow), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.glow-primary { box-shadow: 0 0 30px rgba(108,59,250,0.3); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 80px;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15;
}
.hero-glow-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; }
.hero-glow-2 { width: 400px; height: 400px; background: var(--accent); bottom: -100px; left: -100px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: 3.2rem; margin-bottom: 24px; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; max-width: 540px; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.stat-number { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; display: block; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 500;
  background: rgba(108,59,250,0.1); border: 1px solid rgba(108,59,250,0.2);
  margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }

.hero-image-wrapper {
  border-radius: 16px; overflow: hidden; position: relative;
  border: 1px solid var(--border);
}
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(108,59,250,0.1), transparent);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.4rem; margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 0.8rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  background: rgba(108,59,250,0.1); color: var(--primary-glow); margin-bottom: 16px;
}
.tag-accent { background: rgba(6,182,212,0.1); color: var(--accent); }
.section-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0.3;
}
.section-line-accent { background: linear-gradient(90deg, transparent, var(--accent), transparent); }

/* ===== GRID ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; transition: all 0.3s;
}
.card:hover { background: var(--bg-card-hover); border-color: rgba(255,255,255,0.1); transform: translateY(-4px); }
.card h3 { font-size: 1.15rem; margin: 16px 0 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.card-icon-primary { background: rgba(108,59,250,0.15); color: var(--primary-glow); }
.card-icon-danger { background: rgba(239,68,68,0.15); color: var(--danger); }

/* Steps */
.card-step { position: relative; overflow: hidden; }
.step-number {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: rgba(108,59,250,0.08);
}

/* Results */
.card-result { text-align: center; padding: 40px 24px; }
.result-icon { margin: 0 auto 16px; color: var(--primary-glow); }
.result-value { font-family: var(--font-display); font-size: 3rem; font-weight: 800; display: block; margin-bottom: 8px; }

/* Testimonials */
.card-testimonial { display: flex; flex-direction: column; gap: 16px; }
.stars { color: #fbbf24; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-text { font-style: italic; color: var(--text-muted); flex: 1; }
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== CTA BOX ===== */
.cta-box {
  position: relative; border-radius: 16px; overflow: hidden; padding: 80px 40px;
  text-align: center; border: 1px solid var(--border);
}
.cta-bg { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(108,59,250,0.1), var(--bg), rgba(6,182,212,0.05)); }
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px; background: rgba(108,59,250,0.05); border-radius: 50%; filter: blur(100px);
}
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: 2.4rem; margin-bottom: 16px; }
.cta-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 32px; }

/* ===== FOOTER ===== */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); margin-top: 12px; font-size: 0.9rem; max-width: 280px; }
.footer h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text); }
.footer ul { list-style: none; }
.footer li { padding: 4px 0; font-size: 0.9rem; color: var(--text-muted); }
.footer a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }
.social-links { display: flex; gap: 16px; }
.social-links a { font-size: 1.2rem; transition: transform 0.2s; }
.social-links a:hover { transform: scale(1.2); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===== ANIMATIONS ===== */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.fade-in { animation: fadeIn 0.6s ease forwards; opacity: 0; }
.fade-in-right { animation: fadeInRight 0.6s ease forwards; opacity: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: rgba(10,10,15,0.95);
    padding: 24px; gap: 16px; backdrop-filter: blur(20px);
  }
  .mobile-toggle { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
  .mobile-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
}
@media (min-width: 769px) { .mobile-toggle { display: none; } }
