/* Main Content Styles */


/* Hero Section */
.hero-section {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.hero-content {
  opacity: 0;
  animation: slide-in-left 0.8s ease-out 0.2s forwards;
}

.hero-visual {
  opacity: 0;
  animation: slide-in-right 0.8s ease-out 0.4s forwards;
}

.badge {
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--hvac-blue);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
  
  /* 🚫 ANTI-FLICKER: Prevenir mudanças visuais abruptas */
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  will-change: opacity, transform;
  
  /* ⚡ MOSTRAR IMEDIATAMENTE: Badge sempre visível, sem esconder */
  opacity: 1;
  transform: translateY(0);
}

/* ✅ ESTADO CARREGADO: Mostrar badge quando dados confirmados */
.badge.loaded,
.hero-section.ready .badge {
  opacity: 1;
  transform: translateY(0);
}

/* 🔄 PLACEHOLDER: Estado de carregamento suave (desabilitado para evitar flicker) */
.badge.loading {
  /* Manter aparência normal durante loading para evitar mudanças visuais */
  opacity: 1;
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--hvac-blue);
}

/* ✨ TRANSIÇÃO ULTRA-SUAVE: Sem animações abruptas */
@keyframes badge-smooth-update {
  0% {
    opacity: 0.95;
  }
  100% {
    opacity: 1;
  }
}

.badge.updating {
  animation: badge-smooth-update 0.3s ease-in-out;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 500;
}


/* Buttons */
.btn-primary-large {
  background: linear-gradient(135deg, var(--hvac-blue) 0%, var(--hvac-deep-blue) 50%, var(--hvac-darker-blue) 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary-large:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
}

.btn-secondary-large {
  border: 2px solid var(--hvac-blue);
  color: var(--hvac-blue);
  background: transparent;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-secondary-large:hover {
  background: var(--hvac-blue);
  color: white;
  transform: scale(1.05);
}


/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--hvac-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #374151;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Hero Visual Card */
.hero-card {
  position: relative;
  background: linear-gradient(135deg, var(--hvac-blue) 0%, var(--hvac-deep-blue) 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.feature-card {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.central-propeller {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.propeller-container {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  padding: 2rem;
}

/* Sections */
.products-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.5);
}

.markets-section {
  padding: 5rem 0;
}

.technology-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.5);
}

.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--hvac-blue) 0%, var(--hvac-deep-blue) 100%);
  color: white;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  background-color: rgba(14, 165, 233, 0.1);
  color: var(--hvac-blue);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-description {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 4xl;
  margin: 0 auto;
  line-height: 1.7;
}

/* Products Grid - MELHORADO PARA MELHOR LEGIBILIDADE */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

/* Classe para centralizar o estado vazio */
.products-grid.is-empty {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Product Card - MELHORADO PARA MELHOR LEGIBILIDADE */
.product-card-detailed {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  border: 1px solid #e5e7eb;
  height: 520px;
  display: flex;
  flex-direction: column;
  max-width: 380px;
  margin: 0 auto;
}

.product-card-detailed.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card-detailed:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: #3b82f6;
}

/* Image Container - AUMENTADO PARA MELHOR VISUALIZAÇÃO */
.product-image-container {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card-detailed:hover .product-image {
  transform: scale(1.05);
}


/* Badges - MENORES E MAIS LIMPOS */
.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #f59e0b;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-efficiency {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #10b981;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Content - MELHOR ESPAÇAMENTO PARA LEGIBILIDADE */
.product-content-detailed {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.product-header {
  margin-bottom: 1rem;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-align: center;
}

.product-category {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.product-description {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: auto;
  min-height: 4.2em;
  flex-shrink: 0;
  font-weight: 500;
}

/* Specs - LAYOUT FLEXÍVEL E COMPACTO */
.product-specs-simple {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 0.75rem;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  gap: 0.4rem;
  border: 1px solid #e2e8f0;
}

.spec-item-simple {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  padding: 0.5rem 0.75rem;
  background: white;
  border-radius: 8px;
  justify-content: center;
}

/* Features - TAGS MENORES E CENTRADAS */
.product-features-simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: auto;
  min-height: 1.5rem;
}

.feature-tag-simple {
  background: #eff6ff;
  color: #3b82f6;
  padding: 0.2rem 0.4rem;
  border-radius: 0.375rem;
  font-size: 0.65rem;
  font-weight: 600;
  border: 1px solid #dbeafe;
}

/* Action Button - MAIS ELEGANTE */
.btn-quote-request {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-top: 1rem;
  flex-shrink: 0;
}

.btn-quote-request:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
}
  margin-bottom: 8px;
  color: #1f2937;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}

.product-feature {
  background: #f3f4f6;
  color: #374151;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.product-specs {
  background: linear-gradient(to right, rgba(14, 165, 233, 0.05), rgba(16, 185, 129, 0.05));
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}

.product-specs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.product-specs-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #1f2937;
  font-size: 0.85rem;
}

.product-specs-warranty {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #059669;
  font-weight: 600;
}

.product-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  font-size: 0.7rem;
  color: #374151;
  font-weight: 500;
}


.product-price-section {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.product-price-installments {
  font-size: 0.8rem;
  color: #059669;
  margin-bottom: 10px;
  font-weight: 600;
}

.product-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.product-btn:hover {
  background: #e55a2b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.product-btn:active {
  transform: translateY(0);
}

/* Gallery Section */
.gallery-section {
  margin-bottom: 4rem;
}

.gallery-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.gallery-description {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: white;
}

.gallery-item-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-item-description {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(to right, var(--hvac-blue), var(--hvac-deep-blue));
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  color: white;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.btn-cta-primary {
  background: white;
  color: var(--hvac-blue);
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-cta-primary:hover {
  background: #f3f4f6;
}

.btn-cta-secondary {
  border: 2px solid white;
  color: white;
  background: transparent;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-cta-secondary:hover {
  background: white;
  color: var(--hvac-blue);
}

/* Markets Grid */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.market-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  border: none;
}

.market-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.market-icon {
  background: linear-gradient(135deg, var(--hvac-blue) 0%, var(--hvac-deep-blue) 100%);
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.market-card:hover .market-icon {
  transform: none;
}

.market-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.market-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.market-btn {
  border: 2px solid var(--hvac-blue);
  color: var(--hvac-blue);
  background: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.market-btn:hover {
  background: var(--hvac-blue);
  color: white;
}

/* Technology Features */
.technology-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tech-icon {
  border-radius: 50%;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-feature-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tech-feature-description {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Technology Visual */
.technology-visual {
  margin-top: 2rem;
}

.tech-card {
  background: linear-gradient(135deg, var(--hvac-blue) 0%, var(--hvac-deep-blue) 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.tech-speed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.tech-speed-item {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.tech-control-panel {
  text-align: center;
}

.tech-control-header {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
}

.tech-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  color: white;
  font-size: 0.875rem;
}

/* Contact Section */
.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-description {
  font-size: 1.125rem;
  opacity: 0.9;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  color: white;
}

.contact-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-card-info {
  opacity: 0.9;
}

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

.btn-contact-primary {
  background: white;
  color: var(--hvac-blue);
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-contact-primary:hover {
  background: #f3f4f6;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
  
  .product-card-detailed {
    height: 480px;
    max-width: 320px;
  }
  
  .product-image-container {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .btn-primary-large,
  .btn-secondary-large {
    width: 100%;
    justify-content: center;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn-cta-primary,
  .btn-cta-secondary {
    width: 100%;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
  }
  
  .product-card-detailed {
    height: 450px;
    max-width: 300px;
  }
  
  .product-image-container {
    height: 200px;
  }
  
  .product-title {
    font-size: 1.1rem;
  }
  
  .product-description {
    font-size: 0.9rem;
  }
  
  .product-price {
    font-size: 1.3rem;
  }
  
  .product-content {
    padding: 12px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .markets-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-speed-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .tech-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-speed-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-specs {
    grid-template-columns: 1fr;
  }
  
  .product-features {
    grid-template-columns: 1fr;
  }
  
  .product-specs-grid {
    grid-template-columns: 1fr;
  }
  
  .product-price-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .product-btn {
    width: 100%;
    justify-content: center;
  }
  
  .product-card {
    width: 180px;
    max-width: 90%;
  }
  
  .products-grid {
    justify-content: center;
  }
}

/* Product Modal */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  animation: fadeIn 0.2s ease;
}

.product-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 15px;
  width: 95%;
  max-width: 700px;
  max-height: 95vh;
  overflow-y: auto;
  animation: slideIn 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 20px 25px;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.modal-header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.modal-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 500;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 25px;
}

.modal-product-showcase {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
}

.modal-image-container {
  position: relative;
  flex-shrink: 0;
}

.modal-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #ff6b35, #f7931e);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.modal-price-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.modal-financing {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-financing-details {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 4px;
}

.modal-price-highlight {
  background: #f8fafc;
  color: #1f2937;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}


.modal-benefits {
  background: #f0fdf4;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #bbf7d0;
}

.modal-benefits-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: #047857;
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.modal-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-weight: 600;
  font-size: 1.05rem;
}

.modal-benefit i {
  color: #10b981;
  flex-shrink: 0;
}

.modal-guarantee {
  background: #fef3c7;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #fcd34d;
}

.modal-guarantee-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.modal-guarantee-content i {
  color: #d97706;
  flex-shrink: 0;
}

.modal-guarantee-content h4 {
  color: #92400e;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.modal-guarantee-content p {
  color: #b45309;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

.modal-product-image {
  width: 300px;
  height: 250px;
  object-fit: contain;
  border-radius: 15px;
  background: #f8fafc;
  margin-bottom: 20px;
}

.modal-product-info {
  text-align: center;
  margin-bottom: 25px;
}

.modal-product-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 15px;
  line-height: 1.3;
}

.modal-product-price {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modal-product-installments {
  color: #4b5563;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
  font-style: normal;
}

.modal-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.modal-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 0.85rem;
}

.modal-feature i {
  color: #0ea5e9;
}

.modal-actions {
  display: flex;
  gap: 15px;
}

.modal-btn {
  flex: 1;
  padding: 18px 25px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.modal-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.modal-btn-secondary {
  background: #f3f4f6;
  color: #4b5563;
  border: 2px solid #e5e7eb;
}

.modal-btn-secondary:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}


.modal-specs {
  background: linear-gradient(to right, rgba(14, 165, 233, 0.05), rgba(16, 185, 129, 0.05));
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 0.85rem;
  color: #4b5563;
}

.modal-form {
  background: #faf5ff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e9d5ff;
}

.modal-form-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9d5ff;
}

.modal-form-header i {
  color: #7c3aed;
  flex-shrink: 0;
}

.modal-form-header h4 {
  color: #581c87;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.modal-form-header p {
  color: #7c2d12;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

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

.form-group label {
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
  font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes priceGlow {
  0% {
    box-shadow: 0 12px 35px rgba(22, 163, 74, 0.5);
  }
  100% {
    box-shadow: 0 15px 45px rgba(22, 163, 74, 0.7);
  }
}

@keyframes priceShine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes priceScale {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes cooling {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
}

@keyframes btusGlow {
  0%, 100% {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
  }
  50% {
    color: #dc2626;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
  }
}

@keyframes airflowMove {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(3px) rotate(5deg);
  }
  75% {
    transform: translateX(-3px) rotate(-5deg);
  }
}

@keyframes cyclesRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}









/* Modal Responsive */
@media (max-width: 768px) {
  .modal-content {
    width: 98%;
    margin: 15px;
    max-width: none;
  }
  
  .modal-header {
    padding: 25px 20px;
  }
  
  .modal-body {
    padding: 25px 20px;
  }
  
  .modal-title {
    font-size: 1.4rem;
  }
  
  .modal-subtitle {
    font-size: 1rem;
  }
  
  .modal-product-name {
    font-size: 1.5rem;
  }
  
  .modal-product-price {
    font-size: 2rem;
  }
  
  .modal-product-image {
    width: 100%;
    height: 200px;
  }
  
  .modal-features {
    grid-template-columns: 1fr;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .modal-specs-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .modal-form {
    padding: 20px;
  }
  
  .modal-product-showcase {
    flex-direction: column;
    gap: 15px;
  }
  
  .modal-benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
}

/* Performance optimizations */
* {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.product-card, .market-card, .gallery-item {
  will-change: auto;
  transform: translateZ(0);
  contain: layout style paint;
}

.transition-all {
  transition: all 0.2s ease;
}

/* Reduce repaints */
img {
  transform: translateZ(0);
  will-change: auto;
}

/* ===== NOVOS ESTILOS DOS CARDS PROFISSIONAIS ===== */

/* Branding da CLIMAX no card */
.climax-branding {
  display: flex;
  align-items: center;
  color: #0EA5E9;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.climax-branding i {
  color: #F59E0B;
}

/* Botão WhatsApp Premium */
.btn-whatsapp-quote {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 50%, #075E54 100%);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 
              0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-whatsapp-quote:hover {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 50%, #054840 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5),
              0 0 0 2px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-quote:hover::before {
  left: 100%;
}

.btn-whatsapp-quote:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-whatsapp-quote i {
  animation: pulse 2s infinite;
  margin-right: 8px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Card compacto igual produto.html */
.product-card-detailed {
  height: 520px;
  max-width: 350px;
}

/* Footer Premium do Card */
.product-footer {
  margin-top: auto;
  padding: 24px;
  border-top: 2px solid rgba(14, 165, 233, 0.1);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  border-radius: 0 0 20px 20px;
  position: relative;
}

.product-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
}

/* Specs com mais itens */
.product-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 16px 0;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #374151;
}

.spec-item i {
  color: #0EA5E9;
  flex-shrink: 0;
}

/* Product Info Premium */
.product-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(248, 250, 252, 0.8));
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  line-height: 1.3;
  background: linear-gradient(135deg, #1f2937, #374151);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-description {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 400;
}

/* Features Premium */
.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-tag {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  color: #1e40af;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #bfdbfe;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.1);
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(30, 64, 175, 0.2);
}

/* Responsivo para cards */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .product-card {
    max-width: 100%;
    min-height: 450px;
  }
  
  .btn-whatsapp-quote {
    font-size: 0.85rem;
    padding: 10px 16px;
  }
}

/* ===== ESTILOS PARA ADMIN - CONFIGURAÇÕES ===== */

/* Separador de configurações */
.settings-separator {
  margin: 30px 0 20px 0;
  padding: 15px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 8px;
  border-left: 4px solid #0EA5E9;
}

.settings-separator h3 {
  margin: 0;
  color: #0369a1;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Switch/Toggle personalizado */
.switch-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 8px;
}

.form-switch {
  appearance: none;
  width: 50px;
  height: 26px;
  background: #d1d5db;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-switch:checked {
  background: #10b981;
}

.form-switch::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.form-switch:checked::before {
  transform: translateX(24px);
}

.switch-text {
  font-weight: 500;
  color: #374151;
}

/* Texto de ajuda */
.form-help {
  color: #6b7280;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
  line-height: 1.4;
}

.form-help::before {
  content: "💡 ";
  margin-right: 4px;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* GPU acceleration for critical elements */
.modal-content,
.product-modal,
.hero-card,
.tech-card {
  transform: translateZ(0);
  will-change: auto;
}

/* Reduce box-shadow complexity */
.box-shadow-light {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.box-shadow-medium {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.box-shadow-strong {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* ===== PRODUCT CARDS DETALHADOS ===== */

.product-card-detailed {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 320px; /* MUITO MENOR */
  max-width: 100%;
  min-height: 480px; /* MUITO MENOR */
  margin: 0 auto 1.5rem;
}

.product-card-detailed:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.15);
  border-color: #0ea5e9;
}

.product-content-detailed {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-header {
  margin-bottom: 20px;
}

.product-category {
  display: flex;
  align-items: center;
  color: #0ea5e9;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Especificações Compactas */
.product-specs-compact {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  border: 1px solid #e2e8f0;
}

.specs-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.specs-row:last-child {
  margin-bottom: 0;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.spec-text {
  font-size: 0.8rem;
  color: #374151;
  font-weight: 600;
}

.spec-item i {
  color: #0ea5e9;
}

.specs-title {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(14, 165, 233, 0.2);
}

/* Seções das Especificações */
.specs-section {
  margin-bottom: 20px;
}

.specs-section:last-child {
  margin-bottom: 0;
}

.specs-subtitle {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-left: 4px;
}

/* Grid Principal para Especificações Importantes */
.specs-grid-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.spec-detail-main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border-radius: 12px;
  border: 2px solid rgba(14, 165, 233, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.spec-detail-main:hover {
  border-color: #0ea5e9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.spec-icon {
  width: 20px;
  height: 20px;
  color: #0ea5e9;
  flex-shrink: 0;
}

.spec-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.spec-info .spec-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.spec-info .spec-value {
  font-size: 0.9rem;
  color: #1f2937;
  font-weight: 700;
}

/* Grid Padrão para Outras Especificações */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.spec-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: white;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}

.spec-detail:hover {
  border-color: #0ea5e9;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.spec-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

.spec-value {
  font-size: 0.85rem;
  color: #1f2937;
  font-weight: 700;
  text-align: right;
}

/* Destacar valores importantes */
.spec-value:contains("BTU"),
.spec-value:contains("kW"),
.spec-value:contains("A+++") {
  color: #0ea5e9;
}

/* Responsivo para Especificações */
@media (max-width: 768px) {
  .specs-grid-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .spec-detail-main {
    padding: 10px 12px;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .spec-detail {
    padding: 8px 12px;
  }
  
  .product-technical-specs {
    padding: 20px 16px;
  }
  
  .specs-title {
    font-size: 1rem;
  }
  
  .specs-subtitle {
    font-size: 0.85rem;
  }
}

.product-features-section,
.product-applications {
  margin: 20px 0;
}

.features-title,
.applications-title {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}

.applications-list {
  display: grid;
  gap: 8px;
}

.application-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 8px;
  font-size: 0.85rem;
  color: #166534;
  font-weight: 500;
}

.application-item i {
  color: #22c55e;
}

/* Benefícios Simples */
.product-benefits-simple {
  display: flex;
  justify-content: space-between;
  margin: 16px 0;
  gap: 8px;
}

.benefit-simple {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 600;
  flex: 1;
  text-align: center;
  justify-content: center;
}

.benefit-simple i {
  color: #10b981;
}

.benefit-item {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 12px 14px;
  background: rgba(239, 246, 255, 0.8);
  border-radius: 12px;
  font-size: 0.75rem;
  color: #1e40af;
  font-weight: 600;
  border: 1px solid rgba(59, 130, 246, 0.2);
  gap: 8px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(219, 234, 254, 0.9);
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.benefit-item i {
  color: #3b82f6;
  flex-shrink: 0;
}

.product-footer-detailed {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(14, 165, 233, 0.1);
}

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

.btn-quote-request {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-quote-request:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.quote-info {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 500;
}

/* ===== MODAL DE ORÇAMENTO ===== */

.quote-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10001;
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 20px 0;
}

.quote-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
}

.quote-modal-content {
  background: white;
  border-radius: 24px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 2px solid rgba(14, 165, 233, 0.2);
  margin: 20px auto;
  position: relative;
}

.quote-modal-header {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  color: white;
}

.quote-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quote-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.quote-icon-large {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: float 3s ease-in-out infinite;
}

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

.quote-modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.quote-modal-subtitle {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
  font-weight: 500;
}

.quote-modal-body {
  padding: 32px 28px;
  max-height: 70vh;
  overflow-y: auto;
}

.product-summary {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.product-summary-badge {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-summary-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 16px 0;
}

.product-summary-details {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 600;
}

.detail-item i {
  color: #0ea5e9;
}

/* ===== FORMULÁRIO ===== */

.quote-form {
  width: 100%;
}

.form-section {
  margin-bottom: 32px;
}

.form-section-title {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(14, 165, 233, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.5;
}

/* ===== AÇÕES DO MODAL ===== */

.quote-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid rgba(14, 165, 233, 0.1);
}

.btn-quote-submit {
  flex: 2;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 18px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-quote-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
}

.btn-quote-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* WhatsApp Confirmation Modal Premium */
.whatsapp-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10001;
  animation: fadeIn 0.3s ease;
}

.whatsapp-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal-content {
  background: white;
  border-radius: 24px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 2px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-modal-header {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  padding: 24px;
  text-align: center;
  position: relative;
}

.whatsapp-modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
  pointer-events: none;
}

.whatsapp-icon-large {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: bounce 2s infinite;
}

.whatsapp-modal-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.whatsapp-modal-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 8px 0 0 0;
  font-weight: 500;
}

.whatsapp-modal-body {
  padding: 32px 24px;
  text-align: center;
}

.product-preview {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

.product-preview-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.product-preview-badge {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 12px;
}

.whatsapp-message-preview {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #365314;
  max-height: 200px;
  overflow-y: auto;
}

.whatsapp-modal-actions {
  display: flex;
  gap: 12px;
}

.btn-whatsapp-confirm {
  flex: 2;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-confirm:hover {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-modal-cancel {
  flex: 1;
  background: #f3f4f6;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal-cancel:hover {
  background: #e5e7eb;
  color: #374151;
  transform: translateY(-1px);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0, -8px, 0);
  }
  70% {
    transform: translate3d(0, -4px, 0);
  }
  90% {
    transform: translate3d(0, -2px, 0);
  }
}

/* Email Client Modal Styles */
.email-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10001;
  animation: fadeIn 0.2s ease;
}

.email-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.email-client-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.email-client-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gmail-btn:hover {
  border-color: #ea4335;
  color: #ea4335;
}

.outlook-btn:hover {
  border-color: #0078d4;
  color: #0078d4;
}

.yahoo-btn:hover {
  border-color: #6001d1;
  color: #6001d1;
}

.default-btn:hover {
  border-color: #10b981;
  color: #10b981;
}

.email-icon {
  font-size: 2rem;
}

.download-btn {
  background: #10b981;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* ===== RESPONSIVO CARDS E MODAL ===== */

@media (max-width: 768px) {
  /* Products Grid Mobile */
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
  }
  
  /* Product Cards Mobile */
  .product-card-detailed {
    width: 100%;
    max-width: 100%;
    min-height: 450px;
    margin: 0;
  }
  
  .product-content-detailed {
    padding: 16px;
  }
  
  .product-specs-compact {
    padding: 12px;
    margin: 12px 0;
  }
  
  .spec-text {
    font-size: 0.75rem;
  }
  
  .product-benefits-simple {
    margin: 12px 0;
    gap: 4px;
  }
  
  .benefit-simple {
    font-size: 0.7rem;
    gap: 3px;
  }
  
  .btn-quote-request {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  
  /* Modal Mobile */
  .quote-modal {
    padding: 10px 0;
  }
  
  .quote-modal-content {
    width: 95%;
    max-width: 95%;
    margin: 10px auto;
  }
  
  .quote-modal-header {
    padding: 24px 20px;
  }
  
  .quote-modal-body {
    padding: 24px 20px;
    max-height: 65vh;
  }
  
  .quote-modal-title {
    font-size: 1.5rem;
  }
  
  .quote-modal-subtitle {
    font-size: 0.9rem;
  }
  
  .product-summary {
    padding: 20px 16px;
  }
  
  .product-summary-details {
    flex-direction: column;
    gap: 12px;
  }
  
  /* Form Mobile */
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px; /* Evita zoom no iOS */
  }
  
  .quote-modal-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-quote-submit,
  .btn-modal-cancel {
    flex: none;
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
  }
  
  .quote-icon-large {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 480px) {
  .product-card-detailed {
    min-height: 550px;
  }
  
  .product-content-detailed {
    padding: 20px 16px;
  }
  
  .quote-modal-header {
    padding: 20px 16px;
  }
  
  .quote-modal-body {
    padding: 20px 16px;
  }
  
  .quote-modal-title {
    font-size: 1.3rem;
  }
  
  .form-section-title {
    font-size: 1rem;
  }
}

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