/* ============================================================
   Agilize Já — Estilos da Landing Page
   ============================================================ */

:root {
  --primary:   #FF6B35;
  --primary-d: #E05520;
  --secondary: #1A1A2E;
  --accent:    #FFD166;
  --light-bg:  #FFF8F0;
  --text-dark: #1A1A2E;
  --text-mid:  #4A4A6A;
  --text-light:#8888AA;
  --white:     #FFFFFF;
  --radius:    14px;
  --shadow:    0 8px 40px rgba(255,107,53,0.12);
  --shadow-lg: 0 20px 60px rgba(26,26,46,0.15);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ---- NAVBAR ---- */
.navbar-brand img { height: 48px; }

.navbar-agilize {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,107,53,0.1);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
}
.navbar-agilize.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-link-custom {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 8px;
  transition: all .2s;
}
.nav-link-custom:hover { color: var(--primary) !important; background: var(--light-bg); }
.btn-nav-cta {
  background: var(--primary);
  color: white !important;
  border-radius: 50px;
  padding: 8px 22px !important;
  font-weight: 600;
  transition: all .2s;
}
.btn-nav-cta:hover { background: var(--primary-d); transform: translateY(-1px); }

/* ---- HERO ---- */
.hero-section {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--secondary) 0%, #2D2D4E 50%, #1A1A2E 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,209,102,0.08) 0%, transparent 70%);
  bottom: -100px; left: 10%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.5; transform:scale(1.3); }
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: white;
  margin-bottom: 24px;
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary), #FF8C00);
  color: white;
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all .3s;
  box-shadow: 0 8px 30px rgba(255,107,53,0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(255,107,53,0.5);
  color: white;
}
.btn-hero-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all .3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: white;
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}
.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ---- MOCKUP ---- */
.phone-mockup {
  position: relative;
  z-index: 2;
}
.mockup-frame {
  background: #0F0F23;
  border-radius: 40px;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 2px rgba(255,255,255,0.05);
  max-width: 280px;
  margin: 0 auto;
  position: relative;
}
.mockup-screen {
  background: white;
  border-radius: 28px;
  overflow: hidden;
}
.mockup-header {
  background: linear-gradient(135deg, var(--primary), #FF8C00);
  padding: 18px 16px 12px;
  text-align: center;
}
.mockup-header h6 { color: white; font-weight: 700; margin: 0; font-size: 13px; }
.mockup-header p  { color: rgba(255,255,255,.7); margin: 0; font-size: 11px; }
.mockup-body { padding: 14px; }
.mockup-cat {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.mockup-cat-item {
  flex-shrink: 0;
  background: var(--light-bg);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  border: 1.5px solid rgba(255,107,53,0.2);
}
.mockup-cat-item.active { background: var(--primary); color: white; border-color: transparent; }
.mockup-card {
  background: white;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.mockup-card-img {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFE8D6, #FFD0B0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.mockup-card-name  { font-size: 11px; font-weight: 700; color: var(--text-dark); }
.mockup-card-price { font-size: 12px; font-weight: 800; color: var(--primary); }
.mockup-card-desc  { font-size: 9px; color: var(--text-light); }
.mockup-btn-add {
  width: 24px; height: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: bold;
  margin-left: auto;
  flex-shrink: 0;
}
.float-badge {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-badge.top-right {
  top: 30px;
  right: -30px;
}
.float-badge.bottom-left {
  bottom: 60px;
  left: -40px;
}
.float-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ---- SECTIONS GENERAL ---- */
section { padding: 90px 0; }
.section-badge {
  display: inline-block;
  background: rgba(255,107,53,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- FEATURES ---- */
.features-section { background: var(--light-bg); }
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
  transition: all .3s;
  border: 1px solid transparent;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255,107,53,0.15);
}
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.feature-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.65;
  margin: 0;
}

/* ---- HOW IT WORKS ---- */
.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FF8C00);
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}
.step-line {
  position: absolute;
  top: 26px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: .3;
}

/* ---- QR SECTION ---- */
.qr-section {
  background: linear-gradient(135deg, var(--secondary) 0%, #2D2D4E 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.qr-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.12) 0%, transparent 70%);
  top: -150px; right: -100px;
}
.qr-mockup {
  background: white;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.qr-placeholder {
  width: 180px; height: 180px;
  margin: 0 auto 16px;
  background: repeating-conic-gradient(#1A1A2E 0% 25%, white 0% 50%) 0 0/20px 20px;
  border-radius: 12px;
}
.qr-text { font-size: .85rem; color: var(--text-mid); }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-left: 4px solid var(--primary);
}
.testimonial-text {
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author { font-weight: 700; font-size: .95rem; }
.testimonial-role   { font-size: .85rem; color: var(--text-light); }
.stars              { color: var(--accent); letter-spacing: 2px; margin-bottom: 16px; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #FF8C00 100%);
  color: white;
  text-align: center;
  padding: 90px 0;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 1.1rem;
  opacity: .85;
  max-width: 500px;
  margin: 0 auto 36px;
}
.btn-cta-white {
  background: white;
  color: var(--primary);
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all .3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
  color: var(--primary);
}

/* ---- FOOTER ---- */
.footer-main {
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}
.footer-logo img  { height: 42px; margin-bottom: 16px; }
.footer-desc      { font-size: .9rem; line-height: 1.7; max-width: 300px; }
.footer-title     { color: white; font-weight: 700; font-size: .95rem; margin-bottom: 16px; letter-spacing: .5px; }
.footer-link      { color: rgba(255,255,255,.6); text-decoration: none; font-size: .9rem; display: block; padding: 3px 0; transition: color .2s; }
.footer-link:hover{ color: var(--primary); }
.footer-divider   { border-color: rgba(255,255,255,.08); margin: 32px 0 20px; }
.footer-bottom    { font-size: .85rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 16px;
  transition: all .2s;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.08);
}
.social-btn:hover {
  background: var(--primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ---- ANIMATIONS ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero-section { min-height: auto; padding: 80px 0 60px; }
  .hero-stats { gap: 20px; }
  .float-badge { display: none; }
  .mockup-frame { max-width: 220px; }
}
