/* Fideliza360 Landing - Laranja vibrante, profissional */
:root {
  --primary: #FF6B35;
  --primary-foreground: #ffffff;
  --foreground: #1a1a1a;
  --muted-foreground: #666666;
  --border: #e5e5e5;
  --background: #ffffff;
  --secondary: #FFF5F0;
  --radius: 0.65rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h3 { font-size: 1.5rem; font-weight: 600; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* Loading screen */
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slide-in-left { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slide-in-right { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes bounce-in { 0% { opacity: 0; transform: scale(0.8); } 100% { opacity: 1; transform: scale(1); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes pulse-glow { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.loading-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
  z-index: 9999;
  animation: fade-in 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
.loading-screen.hidden { opacity: 0; pointer-events: none; }
.loading-container { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.loading-logo {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #E85A2A 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: bold; color: white;
  animation: bounce-in 0.6s ease-out;
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
}
.loading-spinner {
  width: 50px; height: 50px;
  border: 4px solid rgba(255, 107, 53, 0.1);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin-slow 1s linear infinite;
}
.loading-text { font-size: 16px; font-weight: 500; color: var(--foreground); animation: pulse-glow 1.5s ease-in-out infinite; }

/* Scroll animations */
.fade-in-on-scroll { opacity: 0; }
.fade-in-on-scroll.visible { animation: fade-in 0.6s ease-out forwards; }
.slide-up-on-scroll { opacity: 0; transform: translateY(30px); }
.slide-up-on-scroll.visible { animation: slide-up 0.6s ease-out forwards; }
.slide-in-left-on-scroll { opacity: 0; transform: translateX(-40px); }
.slide-in-left-on-scroll.visible { animation: slide-in-left 0.7s ease-out forwards; }
.slide-in-right-on-scroll { opacity: 0; transform: translateX(40px); }
.slide-in-right-on-scroll.visible { animation: slide-in-right 0.7s ease-out forwards; }
.bounce-in-on-scroll { opacity: 0; transform: scale(0.8); }
.bounce-in-on-scroll.visible { animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Header */
.landing-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.landing-header.scrolled { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.landing-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; }
.logo-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-box-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(255,107,53,0.8) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: bold; font-size: 1.125rem;
}
.logo-box-text { font-weight: 700; font-size: 1.25rem; color: var(--primary); }
@media (max-width: 640px) { .logo-box-text { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem 1rem; font-weight: 600; font-size: 0.875rem; border-radius: var(--radius); cursor: pointer; text-decoration: none; border: none; transition: all 0.2s; font-family: inherit; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: #E85A2A; }
.btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: rgba(255,107,53,0.08); }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-white-outline { background: transparent; border: 2px solid white; color: white; }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); }

/* Hero */
.landing-hero { padding: 8rem 1rem 5rem; background: #fff; position: relative; overflow: hidden; }
.landing-hero .blur-bg { position: absolute; top: 0; right: 0; width: 24rem; height: 24rem; background: linear-gradient(135deg, rgba(255,107,53,0.05) 0%, rgba(255,107,53,0.1) 100%); border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.landing-hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,107,53,0.1); color: var(--primary); padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.1; color: var(--foreground); margin-bottom: 1rem; }
.hero-desc { font-size: 1.25rem; color: var(--muted-foreground); max-width: 32rem; line-height: 1.6; margin-bottom: 2rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
.hero-trust span { display: flex; align-items: center; gap: 0.5rem; }
.hero-video-wrap { position: relative; min-height: 24rem; border-radius: 1rem; overflow: hidden; background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, rgba(255,107,53,0.05) 100%); }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); }

/* Sections */
.landing-section { padding: 5rem 1rem; }
.landing-section.alt { background: linear-gradient(90deg, rgba(26,26,26,0.03) 0%, rgba(255,107,53,0.05) 100%); }
.landing-section.primary-bg { background: linear-gradient(90deg, rgba(255,107,53,0.05) 0%, rgba(255,107,53,0.1) 100%); }
.section-header { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--muted-foreground); }

/* Problem/Solution text */
.problem-text { font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; }
.problem-text p { margin-bottom: 1rem; }
.problem-text strong { color: var(--primary); }
.problem-text .lead { font-size: 1.25rem; font-weight: 600; color: var(--foreground); }

/* Steps list */
.steps-list { list-style: none; }
.steps-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem; }
.steps-num { width: 2rem; height: 2rem; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.steps-list p { color: var(--muted-foreground); padding-top: 0.25rem; }

/* Cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; transition: box-shadow 0.3s; }
.card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.card-icon { width: 3rem; height: 3rem; background: rgba(255,107,53,0.1); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--primary); }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--muted-foreground); font-size: 0.9375rem; }
.grid-2 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 2rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Video card */
.video-card .thumb-wrap { position: relative; height: 16rem; background: rgba(26,26,26,0.05); border-radius: 1rem; overflow: hidden; margin-bottom: 1rem; }
.video-card .thumb-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-card .play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); cursor: pointer; transition: background 0.3s; }
.video-card .play-btn:hover { background: rgba(0,0,0,0.4); }
.video-card .play-circle { width: 4rem; height: 4rem; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 4px 14px rgba(255,107,53,0.4); }
.video-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.video-card p { font-size: 0.875rem; color: var(--muted-foreground); }

/* Stats */
.stat-item { text-align: center; }
.stat-num { font-size: 2.25rem; font-weight: bold; color: var(--primary); margin-bottom: 0.25rem; }
.stat-label { font-size: 0.875rem; color: var(--muted-foreground); }

/* Testimonial */
.testimonial-card { padding: 2rem; border-radius: 1rem; border: 1px solid var(--border); background: #fff; }
.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.testimonial-stars span { width: 1.25rem; height: 1.25rem; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.625rem; }
.testimonial-quote { color: var(--muted-foreground); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { padding-top: 1rem; border-top: 1px solid var(--border); }
.testimonial-author .name { font-weight: 600; }
.testimonial-author .role { font-size: 0.875rem; color: var(--muted-foreground); }
.testimonial-author .metric { font-size: 0.875rem; font-weight: bold; color: var(--primary); margin-top: 0.5rem; }

/* CTA section */
.cta-section { padding: 5rem 1rem; background: linear-gradient(90deg, var(--primary) 0%, rgba(255,107,53,0.8) 100%); position: relative; overflow: hidden; }
.cta-section .blur { position: absolute; width: 24rem; height: 24rem; background: rgba(255,255,255,0.1); border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cta-section .blur-1 { top: 0; right: 0; }
.cta-section .blur-2 { bottom: 0; left: 0; }
.cta-section .container { position: relative; z-index: 1; }
.cta-inner { text-align: center; max-width: 42rem; margin: 0 auto; }
.cta-inner h2 { color: white; margin-bottom: 1rem; font-size: clamp(1.75rem, 4vw, 3rem); }
.cta-inner > p { color: rgba(255,255,255,0.9); font-size: 1.125rem; margin-bottom: 2rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* FAQ */
.faq-item { padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; margin-bottom: 1rem; transition: box-shadow 0.2s; }
.faq-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.faq-item h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.faq-item p { color: var(--muted-foreground); }

/* Pricing */
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; margin-bottom: 2rem; }
.pricing-toggle span { font-size: 0.875rem; font-weight: 500; }
.pricing-toggle .toggler { width: 3.5rem; height: 2rem; background: #d1d5db; border-radius: 9999px; position: relative; cursor: pointer; transition: background 0.3s; }
.pricing-toggle .toggler.on { background: var(--primary); }
.pricing-toggle .toggler::after { content: ''; position: absolute; width: 1.5rem; height: 1.5rem; background: white; border-radius: 50%; top: 0.25rem; left: 0.25rem; transition: transform 0.3s; }
.pricing-toggle .toggler.on::after { transform: translateX(1.5rem); }
.pricing-badge { display: inline-block; background: rgba(255,107,53,0.15); color: var(--primary); padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; margin-left: 0.5rem; }
.pricing-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { border-radius: 1rem; padding: 2rem; transition: transform 0.3s; position: relative; }
.pricing-card.highlight { background: linear-gradient(135deg, var(--primary) 0%, rgba(255,107,53,0.8) 100%); color: white; transform: scale(1.02); box-shadow: 0 25px 50px -12px rgba(255,107,53,0.3); }
.pricing-card:not(.highlight) { background: #fff; border: 1px solid var(--border); }
.pricing-card h3 { margin-bottom: 0.5rem; }
.pricing-card .pricing-desc { font-size: 0.875rem; opacity: 0.9; margin-bottom: 1.5rem; }
.pricing-card.highlight .pricing-desc { color: rgba(255,255,255,0.8); }
.pricing-price { font-size: 3rem; font-weight: bold; margin-bottom: 0.5rem; }
.pricing-price span { font-size: 1rem; font-weight: 400; opacity: 0.9; }
.pricing-card .btn { width: 100%; margin-bottom: 2rem; }
.pricing-features { list-style: none; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; font-size: 0.875rem; }
.pricing-features .check { color: var(--primary); flex-shrink: 0; }
.pricing-card.highlight .pricing-features .check { color: #86efac; }
.pricing-ribbon { position: absolute; top: -1rem; right: -1rem; background: #22c55e; color: white; padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: bold; box-shadow: 0 4px 14px rgba(34,197,94,0.4); }
.pricing-cta-custom { margin-bottom: 2rem; }
.pricing-cta-text { font-size: 1rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.pricing-card-enterprise .pricing-cta-custom .btn { width: 100%; }

.pricing-note { background: #fff; border: 1px solid var(--border); border-radius: 1rem; padding: 2rem; text-align: center; }
.pricing-note p { color: var(--muted-foreground); margin-bottom: 0.5rem; }
.pricing-note a { color: var(--primary); font-weight: 600; text-decoration: none; }
.pricing-note a:hover { text-decoration: underline; }

/* Footer */
.landing-footer { background: var(--foreground); color: white; padding: 3rem 1rem; }
.landing-footer .grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .landing-footer .grid { grid-template-columns: repeat(4, 1fr); } }
.landing-footer h4 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.landing-footer p, .landing-footer ul { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.landing-footer ul { list-style: none; }
.landing-footer ul li { margin-bottom: 0.5rem; }
.landing-footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.landing-footer a:hover { color: white; }
.landing-footer .copy { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 2rem; text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.7); }

/* Two columns */
.two-cols { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .two-cols { grid-template-columns: 1fr 1fr; } }
.two-cols img { width: 100%; height: 24rem; object-fit: cover; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); }
