/* 
 * TPAFest - Landing Page Stylesheet (Light Theme / Tom Claro)
 * Premium Clean Design System for Party Equipment Rental Management Software
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-dark: #F8FAFC;         /* Light body background */
  --bg-surface: #FFFFFF;      /* Clean surface white */
  --bg-card: #FFFFFF;         /* Card background */
  --bg-card-hover: #F1F5F9;   /* Hover state background */
  --bg-alt: #F1F5F9;          /* Alternate section background */
  
  --primary-blue: #2563EB;
  --primary-blue-hover: #1D4ED8;
  --blue-gradient: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  
  --primary-gold: #D97706;
  --primary-gold-hover: #B45309;
  --gold-glow: rgba(217, 119, 6, 0.15);
  --gold-gradient: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
  
  --accent-cyan: #0284C7;
  --accent-emerald: #059669;
  --accent-indigo: #4F46E5;
  --danger-red: #DC2626;
  
  --text-main: #0F172A;       /* Deep slate/navy charcoal for text */
  --text-muted: #475569;      /* Medium slate grey */
  --text-dim: #64748B;        /* Muted caption text */
  
  --border-light: #E2E8F0;
  --border-subtle: #CBD5E1;
  --border-gold: rgba(217, 119, 6, 0.4);
  --border-blue: rgba(37, 99, 235, 0.3);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 4px 15px rgba(15, 23, 42, 0.04);
  --shadow-main: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  --shadow-gold: 0 10px 25px -5px rgba(217, 119, 6, 0.25);
  --shadow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
}

.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-blue-text {
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-center {
  text-align: center;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.brand-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-logo .logo-text span {
  color: var(--primary-gold);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.4);
}

.btn-gold {
  background: var(--gold-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
  background: #F1F5F9;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #E2E8F0;
  color: var(--primary-blue);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.15rem;
}

.btn-pulse {
  animation: pulse-glow-light 2.5s infinite;
}

@keyframes pulse-glow-light {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #B45309;
}

.badge-blue {
  background: #DBEAFE;
  border: 1px solid #93C5FD;
  color: #1E40AF;
}

/* Hero Section */
.hero-section {
  padding-top: 9.5rem;
  padding-bottom: 5.5rem;
  position: relative;
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

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

.hero-headline {
  font-size: 3.25rem;
  font-weight: 900;
  margin: 1.25rem 0 1.25rem 0;
  letter-spacing: -1px;
  color: var(--text-main);
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.hero-trust-proof {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.trust-item svg {
  color: var(--primary-gold);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  background: #FFFFFF;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.hero-floating-stat {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #FFFFFF;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);
  z-index: 10;
}

.hero-floating-stat .stat-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary-gold);
  font-family: var(--font-heading);
  line-height: 1;
}

.hero-floating-stat .stat-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Section Common Header */
.section-header {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* SEÇÃO DA DOR (O Caos do Mercado) */
.pain-section {
  padding: 6rem 0;
  background: #FFFFFF;
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.pain-card {
  background: #FFF5F5;
  border: 1px solid #FECDD3;
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
}

.pain-card:hover {
  transform: translateY(-5px);
  border-color: #FDA4AF;
  box-shadow: 0 15px 30px rgba(220, 38, 38, 0.08);
}

.pain-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #FEE2E2;
  color: var(--danger-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pain-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.pain-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* SEÇÃO DA SOLUÇÃO (Por que o TPAFest é o Melhor do Brasil?) */
.solution-section {
  padding: 7rem 0;
  background: var(--bg-dark);
}

.solution-hero-banner {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-main);
}

.solution-hero-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.solution-hero-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.solution-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.benefit-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue-gradient);
  opacity: 0;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-main);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: #EFF6FF;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Interactive Calculator Tool */
.calculator-section {
  padding: 5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calc-box {
  background: #F8FAFC;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  box-shadow: var(--shadow-main);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.range-slider {
  width: 100%;
  accent-color: var(--primary-blue);
}

.calc-result-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.calc-val {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--danger-red);
  margin: 1rem 0;
}

/* SEÇÃO DE AUTORIDADE / DIFERENCIAL */
.authority-section {
  padding: 7rem 0;
  background: var(--bg-dark);
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.authority-features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.auth-feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.auth-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #D1FAE5;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-feature-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.auth-feature-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.stat-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-subtle);
}

.stat-box h3 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--primary-gold);
  font-family: var(--font-heading);
}

.stat-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
}

.faq-accordion {
  max-width: 850px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary-blue);
  background: #FFFFFF;
  box-shadow: var(--shadow-subtle);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  user-select: none;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* SEÇÃO DE CTA FINAL */
.cta-final-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
  position: relative;
  text-align: center;
}

.cta-box {
  background: #FFFFFF;
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  max-width: 950px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.1);
}

.cta-box h2 {
  font-size: 2.75rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.cta-box p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

/* ==========================================================================
   Seção de Clientes - Carrossel de Logomarcas
   ========================================================================== */
.clients-section {
  padding: 5.5rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.clients-carousel-container {
  width: 100%;
  position: relative;
  margin-top: 1rem;
}

.clients-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Gradient fade masks on left and right for seamless infinite flow */
.clients-carousel-wrapper::before,
.clients-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 3;
  pointer-events: none;
}

.clients-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.clients-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
}

.clients-carousel {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1.25rem 0;
  cursor: grab;
  user-select: none;
}

.clients-carousel::-webkit-scrollbar {
  display: none;
}

.clients-carousel:active {
  cursor: grabbing;
}

.clients-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  align-items: center;
}

.client-logo-card {
  position: relative;
  flex: 0 0 210px;
  width: 210px;
  height: 96px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.16);
  z-index: 4;
}

.client-logo-card img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.72);
  transition: all 0.3s ease;
  pointer-events: none;
}

.client-logo-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* Tooltip on hover */
.client-logo-tooltip {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--text-main);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.client-logo-tooltip::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 4px 4px 4px;
  border-style: solid;
  border-color: transparent transparent var(--text-main) transparent;
}

.client-logo-card:hover .client-logo-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Carousel Control Buttons */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.carousel-control:hover {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
  left: 1.5rem;
}

.carousel-control.next {
  right: 1.5rem;
}

.clients-stats-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Footer */
.footer {
  padding: 4rem 0 2rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-dim);
}

/* Modal Form */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.form-select {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
}

/* Floating WhatsApp Button */
.float-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: var(--transition);
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.float-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero-grid,
  .authority-grid,
  .solution-hero-banner,
  .calc-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .solution-benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-headline {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-box h2 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-headline {
    font-size: 2.1rem;
  }
  
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }
  
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-control {
    display: none;
  }
  
  .clients-carousel-wrapper::before,
  .clients-carousel-wrapper::after {
    width: 45px;
  }
  
  .client-logo-card {
    flex: 0 0 160px;
    width: 160px;
    height: 82px;
    padding: 0.75rem 1rem;
  }
  
  .client-logo-card img {
    max-height: 40px;
  }
  
  .clients-stats-hint {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }
}
