/* 
========================================
VARS & RESET
========================================
*/
:root {
  --primary: #00D4FF;
  --primary-dark: #00b0d4;
  --secondary: #8B5CF6;
  --secondary-light: #a78bfa;
  --accent: #F472B6;
  --bg: #F8FAFC;
  --text: #1E293B;
  --text-light: #64748b;
  --surface: #ffffff;

  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Inter', sans-serif;
}

html {
  font-size: 90%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.badge {
  font-family: var(--font-primary);
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 
========================================
UTILITY CLASSES
========================================
*/
.icon-xs {
  width: 16px;
  height: 16px;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.mb-4 {
  margin-bottom: 1rem;
}

.badge-wrapper {
  display: inline-flex;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(139, 92, 246, 0.1);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* 
========================================
BUTTONS
========================================
*/
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  padding: 1.125rem 2.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: var(--font-primary);
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.125rem 2rem;
  color: var(--secondary);
  font-weight: 600;
  font-family: var(--font-primary);
  font-size: 1.125rem;
  transition: all 0.3s ease;
  position: relative;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.btn-secondary:hover {
  color: var(--primary-dark);
}

.btn-secondary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
  background: var(--primary-dark);
}

.btn-secondary:hover .icon-right {
  transform: translateX(4px);
}

.icon-right {
  transition: transform 0.3s ease;
}

/* 
========================================
HERO SECTION
========================================
*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.hero-logo {
  max-width: 220px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #334155;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 90%;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero Media Queries */
@media (max-width: 768px) {
  .hero {
    background-image: url('https://painel.lipplead.com/wp-content/uploads/2026/02/fundo20120celular_converted-5.webp');
    background-position: top center;
    /* Aligns container to the bottom */
    align-items: flex-end;
  }

  .hero-container {
    padding: 0 1rem;
    padding-bottom: 0rem;
    height: 100vh;
    justify-content: flex-end;
  }

  .hero-content {
    /* centralizadas ao meio e um pouco mais para baixo */
    text-align: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin-top: auto;
    /* Pushes content down on mobile */
  }

  .hero-logo {
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .hero {
    background-image: url('https://painel.lipplead.com/wp-content/uploads/2026/02/fundo20120pc_converted-5.webp');
    align-items: center;
  }

  .hero-container {
    padding: 0 4rem;
  }

  .hero-content {
    /* informações par esquerda, direita livre */
    max-width: 55%;
    align-items: flex-start;
  }
}

/* 
========================================
FEATURES SECTION
========================================
*/
.features {
  padding: 8rem 2rem;
  background-color: var(--surface);
  text-align: center;
  position: relative;
}

.features-header {
  max-width: 800px;
  margin: 0 auto 5rem auto;
}

.features-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text);
  line-height: 1.2;
}

.features-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}

.feature-card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 45px rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.2);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 1.25rem;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  color: var(--secondary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.features-cta {
  margin-top: 3rem;
}

/* 
========================================
SOCIAL PROOF & LOCATION
========================================
*/
.social-proof {
  padding: 8rem 2rem;
  background-color: var(--bg);
  position: relative;
}

.social-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .social-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .badge-wrapper {
    justify-content: center;
  }
}

.sp-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.sp-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.map-placeholder {
  background: var(--surface);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  aspect-ratio: 1 / 1;
  position: relative;
  border: 1px solid #e2e8f0;
}

@media (min-width: 992px) {
  .map-placeholder {
    aspect-ratio: 4 / 3;
  }
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(80%) contrast(1.2) sepia(10%) hue-rotate(200deg);
  transition: filter 0.5s ease;
}

.map-placeholder:hover iframe {
  filter: none;
}

.reviews-bubble {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem;
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.map-placeholder:hover .reviews-bubble {
  transform: translateY(-5px);
}

.stars {
  color: #f59e0b;
  display: flex;
  gap: 0.25rem;
}

.review-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.review-text strong {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  color: var(--text);
}

.review-text span {
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
}

/* 
========================================
FOOTER
========================================
*/
footer {
  background: var(--surface);
  padding: 6rem 2rem 3rem 2rem;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.footer-logo {
  max-width: 180px;
  margin: 0 auto 3rem auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateY(-2px);
}

.footer-copy {
  color: #94a3b8;
  font-size: 0.875rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* 
========================================
ANIMATIONS
========================================
*/
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for grid items */
.features-grid .feature-card:nth-child(1) {
  transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
  transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
  transition-delay: 0.3s;
}