/*
Theme Name: LiveFlow
Theme URI: https://liveflow.com.br
Author: LiveFlow
Author URI: https://liveflow.com.br
Description: Tema personalizado para a agência LiveFlow - Live Shop Commerce
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: liveflow
*/

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

:root {
  --bg: hsl(220, 20%, 6%);
  --fg: hsl(210, 20%, 95%);
  --card: hsl(220, 18%, 10%);
  --card-fg: hsl(210, 20%, 95%);
  --primary: hsl(190, 100%, 50%);
  --primary-fg: hsl(220, 20%, 6%);
  --secondary: hsl(330, 85%, 55%);
  --secondary-fg: hsl(210, 20%, 98%);
  --muted: hsl(220, 15%, 15%);
  --muted-fg: hsl(215, 15%, 55%);
  --accent: hsl(270, 70%, 55%);
  --border: hsl(220, 15%, 18%);
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, hsl(330, 85%, 55%), hsl(270, 70%, 55%), hsl(190, 100%, 50%));
  --gradient-glow: linear-gradient(135deg, hsl(190, 100%, 50%), hsl(270, 70%, 55%));
  --glass-bg: hsla(220, 18%, 10%, 0.6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* === UTILITIES === */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-brand { background: var(--gradient-primary); }

.glow-primary { box-shadow: 0 0 40px -10px hsla(190, 100%, 50%, 0.4); }
.glow-secondary { box-shadow: 0 0 40px -10px hsla(330, 85%, 55%, 0.4); }

.bg-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(220, 15%, 18%, 0.5);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-fg);
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--muted); }

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* === ANIMATIONS === */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.8s ease-out forwards; }
.animate-marquee { animation: marquee 30s linear infinite; }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsla(220, 15%, 18%, 0.5);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.site-header .logo img { height: 2.5rem; }

.site-header nav { display: flex; align-items: center; gap: 2rem; }

.site-header nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: color 0.3s;
}
.site-header nav a:hover { color: var(--fg); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.mobile-nav.active { display: flex; }

@media (max-width: 768px) {
  .site-header nav { display: none; }
  .mobile-toggle { display: block; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg-orb {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(120px);
}

.hero-bg-orb.left {
  top: 25%;
  left: -8rem;
  background: hsla(330, 85%, 55%, 0.2);
}

.hero-bg-orb.right {
  bottom: 25%;
  right: -8rem;
  background: hsla(190, 100%, 50%, 0.2);
  animation-delay: 1.5s;
}

.hero .container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: hsla(220, 15%, 15%, 0.5);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.hero-badge svg { color: var(--secondary); fill: var(--secondary); width: 14px; height: 14px; }

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-desc strong { color: var(--fg); }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.hero-stats .stat p:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}

.hero-stats .stat p:last-child {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.hero-stats .divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}

.hero-image { position: relative; }

.hero-image img {
  border-radius: 1rem;
  width: 100%;
}

.hero-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(220, 20%, 6%, 0.8), transparent, transparent);
  border-radius: 1rem;
}

.hero-float-card {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  padding: 1rem;
  border-radius: var(--radius);
}

.hero-float-card p:first-child { font-size: 0.875rem; color: var(--muted-fg); }
.hero-float-card p:last-child { font-size: 1.25rem; font-weight: 700; }

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}

@media (max-width: 640px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
}

/* === PLATFORMS BAR === */
.platforms {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.platforms .label {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.platforms .marquee-track {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.platforms .marquee-track span {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: hsla(215, 15%, 55%, 0.4);
  white-space: nowrap;
  transition: color 0.3s;
}

.platforms .marquee-track span:hover { color: var(--fg); }

/* === SERVICES === */
.services { padding: 6rem 0; position: relative; }

.services .top-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, hsla(190, 100%, 50%, 0.3), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted-fg);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.5s ease;
}

.service-card:hover { border-color: hsla(190, 100%, 50%, 0.3); }

.service-card .icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-fg);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card .desc {
  color: var(--muted-fg);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-card .highlight {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* === WHY US === */
.why-us { padding: 6rem 0; position: relative; }

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.5s ease;
}

.why-card:hover { border-color: hsla(330, 85%, 55%, 0.3); }

.why-card .icon-box {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: hsla(330, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: background 0.3s;
}

.why-card:hover .icon-box { background: hsla(330, 85%, 55%, 0.2); }

.why-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.why-card .desc {
  color: var(--muted-fg);
  line-height: 1.7;
}

.section-header .label-secondary { color: var(--secondary); }

@media (max-width: 768px) {
  .why-us-grid { grid-template-columns: 1fr; }
}

/* === TARGET === */
.target { padding: 6rem 0; }

.target-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.target-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.target-item:hover { border-color: hsla(190, 100%, 50%, 0.2); }

.target-item .check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
  color: var(--primary-fg);
  font-size: 0.75rem;
}

.target-item p { font-weight: 500; }

/* === CTA === */
.cta { padding: 6rem 0; position: relative; overflow: hidden; text-align: center; }

.cta .bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: hsla(190, 100%, 50%, 0.1);
  filter: blur(150px);
}

.cta .container { position: relative; z-index: 10; }

.cta h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  max-width: 48rem;
  margin: 0 auto 1.5rem;
}

.cta .desc {
  font-size: 1.125rem;
  color: var(--muted-fg);
  max-width: 42rem;
  margin: 0 auto 1rem;
}

.cta .promise {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
}

/* === FAQ === */
.faq { padding: 6rem 0; }

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.active { border-color: hsla(190, 100%, 50%, 0.3); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--fg);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-question .icon {
  font-size: 1.25rem;
  transition: transform 0.3s;
  color: var(--muted-fg);
}

.faq-item.active .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--muted-fg);
  line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-footer .brand { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer .brand img { height: 2rem; }

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--fg); }

.site-footer .copy {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

@media (max-width: 768px) {
  .site-footer .container {
    flex-direction: column;
    text-align: center;
  }
  .site-footer .brand { align-items: center; }
}

/* === SVG ICONS INLINE (for use without icon library) === */
.icon-svg {
  width: 1.25em;
  height: 1.25em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
