/* ==========================================================================
   CALCULADORA DE VAZÃO DE AR - ECOBRISA MT (ESTILOS MODULARES)
   ========================================================================== */

.calc-section {
  position: relative;
  padding: 5rem 0;
  background: #0b2b4d url('../../climatizadores/assets/images/lp_maquinas.jpg') center/cover no-repeat fixed;
  color: #ffffff;
  overflow: hidden;
}

.calc-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(11, 43, 77, 0.93) 0%, rgba(0, 86, 179, 0.88) 100%);
  z-index: 1;
}

.calc-section .container {
  position: relative;
  z-index: 2;
}

.calc-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
}

.calc-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.calc-header .badge-pill {
  display: inline-block;
  background: rgba(255, 140, 0, 0.25);
  color: #ff9800;
  border: 1px solid #ff9800;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.calc-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.calc-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

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

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

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

.calc-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.calc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #0b2b4d;
  transition: all 0.25s ease;
}

.calc-input:focus {
  outline: none;
  border-color: #ff9800;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.25);
}

.calc-unit {
  position: absolute;
  right: 1.2rem;
  font-weight: 700;
  color: #64748b;
  font-size: 0.9rem;
  pointer-events: none;
}

.calc-select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #0b2b4d;
  cursor: pointer;
  transition: all 0.25s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230b2b4d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
}

.calc-select:focus {
  outline: none;
  border-color: #ff9800;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.25);
}

.calc-btn-submit {
  width: 100%;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #ff9800 0%, #e65100 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(230, 81, 0, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
}

.calc-btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(230, 81, 0, 0.5);
  background: linear-gradient(135deg, #ffa726 0%, #f57c00 100%);
}

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

/* Responsividade da Calculadora */
@media (max-width: 768px) {
  .calc-card {
    padding: 2rem 1.5rem;
  }

  .calc-header h2 {
    font-size: 1.7rem;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   LANDING PAGE CALCULADORA - ESTILOS DE ALTA CONVERSÃO (ADS)
   ========================================================================== */

/* Header LP Exclusivo sem Vazamento de Tráfego */
.lp-header {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.lp-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lp-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lp-logos img {
  height: 38px;
  object-fit: contain;
}

.lp-logo-divider {
  width: 1px;
  height: 28px;
  background: #cbd5e1;
}

.lp-header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.lp-header-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #0b2b4d;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid #cbd5e1;
}

.lp-wsp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
}

.lp-wsp-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

/* Hero Section LP */
.lp-hero {
  background: linear-gradient(135deg, #0b2b4d 0%, #004085 60%, #0056b3 100%);
  color: #ffffff;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.lp-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.lp-badge-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 152, 0, 0.18);
  color: #ff9800;
  border: 1px solid rgba(255, 152, 0, 0.6);
  padding: 0.45rem 1.3rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(255, 152, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 152, 0, 0); }
}

.lp-headline {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  max-width: 960px;
  margin: 0 auto 1.2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.lp-headline span.highlight {
  background: linear-gradient(120deg, #ff9800, #ffb74d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.lp-subheadline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 780px;
  margin: 0 auto 2.2rem;
  line-height: 1.6;
}

.lp-hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff9800 0%, #e65100 100%);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 1.1rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 30px rgba(230, 81, 0, 0.45);
  transition: all 0.3s ease;
}

.lp-btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(230, 81, 0, 0.55);
  color: #ffffff;
}

.lp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  font-weight: 700;
  padding: 1.1rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.lp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
}

/* CARDS DE CONSCIENTIZAÇÃO E PERSUASÃO (ANTES DA CALCULADORA) */
.lp-precalc-section {
  padding: 5rem 0 3rem;
  background: #f8fafc;
}

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

.lp-section-tag {
  display: inline-block;
  background: rgba(11, 43, 77, 0.08);
  color: #0b2b4d;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.lp-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b2b4d;
  margin-bottom: 0.8rem;
}

.lp-section-desc {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto;
}

.lp-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.lp-card-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(11, 43, 77, 0.05);
  transition: all 0.35 ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.lp-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff9800, #0056b3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lp-card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11, 43, 77, 0.12);
  border-color: #cbd5e1;
}

.lp-card-item:hover::before {
  opacity: 1;
}

.lp-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(11, 43, 77, 0.08) 0%, rgba(255, 152, 0, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #0b2b4d;
}

.lp-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0b2b4d;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.lp-card-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  flex-grow: 1;
}

.lp-card-highlight {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #e65100;
  background: rgba(255, 152, 0, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

/* TABELA COMPARATIVA */
.lp-compare-section {
  padding: 4rem 0 5rem;
  background: #ffffff;
}

.lp-table-card {
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.lp-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.lp-compare-table th,
.lp-compare-table td {
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.lp-compare-table th {
  background: #0b2b4d;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.lp-compare-table th.col-eco {
  background: #0056b3;
  color: #ff9800;
}

.lp-compare-table tr:nth-child(even) {
  background: #f8fafc;
}

.lp-compare-table td.col-eco {
  background: rgba(0, 86, 179, 0.04);
  font-weight: 700;
  color: #0056b3;
}

.tag-check {
  color: #10b981;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-cross {
  color: #ef4444;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* BARRAS DE PROVA SOCIAL & STATS */
.lp-stats-bar {
  background: #0b2b4d;
  padding: 3rem 0;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.lp-stat-item strong {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: #ff9800;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.lp-stat-item span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* RODAPÉ LEVE PARA ADS */
.lp-footer {
  background: #071a2f;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.lp-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lp-footer-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lp-footer-logos img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* Responsividade Geral LP */
@media (max-width: 992px) {
  .lp-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .lp-headline {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .lp-cards-grid {
    grid-template-columns: 1fr;
  }
  .lp-stats-grid {
    grid-template-columns: 1fr;
  }
  .lp-headline {
    font-size: 1.65rem;
  }
  .lp-subheadline {
    font-size: 1rem;
  }
  .lp-header-tag {
    display: none;
  }
  .lp-btn-primary {
    width: 100%;
    justify-content: center;
  }
  .lp-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   WHATSAPP FLOATING WIDGET - PADRÃO LP ECOBRISA MT
   ========================================================================== */

.wa-widget-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.wa-widget-container > * {
  pointer-events: auto;
}

.wa-floating-btn {
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.wa-chat-popup {
  width: 320px;
  background: #e5ddd5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  transform: scale(0);
  transform-origin: bottom right;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.wa-chat-popup.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.wa-chat-header {
  background: #075e54;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wa-header-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.wa-header-info p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

.wa-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s;
}

.wa-close-btn:hover {
  opacity: 1;
}

.wa-chat-body {
  padding: 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png");
  background-size: cover;
}

.wa-message {
  background: white;
  padding: 10px 15px;
  border-radius: 8px 8px 8px 0;
  max-width: 85%;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  animation: slideInWa 0.3s ease forwards;
}

.wa-message p {
  margin: 0 0 5px 0;
  font-size: 0.95rem;
  color: #303030;
  line-height: 1.4;
}

.wa-time {
  font-size: 0.7rem;
  color: #999;
  display: block;
  text-align: right;
}

.wa-chat-footer {
  background: #f0f0f0;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.wa-chat-footer input {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 20px;
  outline: none;
  font-size: 0.95rem;
}

.wa-chat-footer button {
  background: #008f82;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.2s;
}

.wa-chat-footer button:hover {
  background: #075e54;
}

@keyframes slideInWa {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .wa-chat-popup {
    width: calc(100vw - 40px);
  }
}
