    :root {
      --primary: #041e42;
      --primary-light: #e0e0e0;
      --primary-dark: #041e42;
      --secondary: #e8f0fe;
      --bg: #f1f3f4;
      --card: #ffffff;
      --text: #202124;
      --border: #dadce0 !important;
      --border-radius: 8px;
    }

    h1 {
      text-align: center;
      font-weight: 500;
      padding: 30px 20px 10px;
      font-size: 24px;
    }

    .container {
      max-width: 960px;
      margin: 0 auto;
      padding: 0 20px 40px;
    }

    .card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--border-radius);
      box-shadow: 0 1px 4px rgba(60,64,67,0.1);
      padding: 24px;
      margin-bottom: 30px;
      transition: box-shadow 0.2s ease-in-out;
    }

    .card:hover {
      box-shadow: 0 4px 12px rgba(60,64,67,0.15);
    }

    .card h2 {
      margin-top: 0;
      font-size: 18px;
      font-weight: 500;
      border-bottom: 1px solid var(--border);
      padding-bottom: 8px;
      margin-bottom: 16px;
    }

    label {
      display: block;
      margin-bottom: 6px;
      font-size: 14px;
      color: #444;
    }

    input[type="number"], select {
      width: 100%;
      padding: 10px;
      margin-bottom: 16px;
      border: 1px solid var(--border);
      border-radius: 4px;
      font-size: 14px;
      background: #fff;
      transition: border-color 0.2s ease-in-out;
    }
    input[type=range] {
      width: 100%;
      margin-top: 6px;
      accent-color: var(--primary);
    }

    input:focus, select:focus {
      border-color: var(--primary);
      outline: none;
    }
    input[type="number"], select {
      padding: 0px 10px;
      margin-bottom: 12px;
      border: 1px solid var(--border);
      border-radius: 4px;
      font-size: 13px;
      background: #fff;
      transition: border-color 0.2s ease-in-out;
      height: 36px; /* altura reduzida */
      max-width: 90%;
    }

    .input-pequeno {
      font-size: 13px;
      padding: 6px 8px;
      max-width: 90%;
    }

    .form-row {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .form-group {
      flex: 1 1 10px;
    }

    .img-piscina {
      width: 100%;
      height: auto;
      border-radius: var(--border-radius);
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      margin-bottom: 20px;
    }
      button {
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      transition: background 0.3s;
      margin-top: 10px;
    }

    .linha-produto-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 20px;
    }

    .linha-produto-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 16px;
      background: #fff;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      border: 2px solid transparent;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 180px;
      user-select: none;
    }

    .linha-produto-card:hover {
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      background: var(--secondary);
      border: 2px solid var(--primary);
    }

    .linha-produto-card.active {
      background: var(--secondary);
      border: 2px solid var(--primary);
      color: #000000;
    }

    .linha-produto-card img {
      width: 150px;
      height: auto;
      margin-bottom: 8px;
      border-radius: 4px;
      transition: transform 0.2s;
      bottom: 15px;
    }

    .linha-produto-card.active img {
      transform: scale(1.05);
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }

    .linha-produto-card span {
      font-size: 14px;
      font-weight: 500;
    }

    button:hover {
      background: var(--primary-dark);
    }

    .toggle-group {
      display: flex;
      overflow: hidden;
      margin-bottom: 16px;
    }

    .toggle-button {
      flex: 1;
      text-align: center;
      padding: 10px;
      cursor: pointer;
      font-size: 14px;
      background: var(--primary-light);
      color: var(--primary);
      transition: background 0.2s, color 0.2s;
      user-select: none;
      margin: 0 2px;
      border: 1px solid var(--border);
      border-radius: 6px;
    }

    .toggle-button-explain {
      font-size: 11px;
    }

    .toggle-button-explain.active {
      font-size: 11px;
    }


    .toggle-button.active {
      background: var(--primary);
      color: #fff;
    }

    .toggle-button:hover {
      background: var(--primary-dark);
      color: #fff;
    }
    .radio-group {
      display: flex;
      gap: 20px;
      align-items: center;
      flex-wrap: wrap;
    }

    .radio-option {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      border: 2px solid transparent;
      border-radius: 8px;
      padding: 10px;
      transition: border-color 0.2s ease-in-out, box-shadow 0.2s;
    }

    .radio-option input[type="radio"] {
      display: none;
    }

    .radio-option img {
      width: 80px;
      height: auto;
      margin-bottom: 6px;
    }

    .radio-option input[type="radio"]:checked + img,
    .radio-option:hover {
      border-color: var(--primary);
    }

    .radio-option input[type="radio"]:checked + img {
      box-shadow: 0 0 0 3px var(--primary-light);
      border-radius: 6px;
    }

    .radio-option span {
      font-size: 14px;
      text-align: center;
    }
    .hidden {
       display: none !important;
    }
    @media (max-width: 600px) {
      .form-row {
        flex-direction: column;
      }

    .form-group {
      flex: 1 1 100%;
    }

    .radio-group {
      flex-direction: column;
      align-items: stretch;
    }

    .radio-option {
      flex-direction: row;
      justify-content: flex-start;
      gap: 12px;
      padding: 12px;
    }

    .radio-option img {
      width: 60px;
    }

    h1 {
      font-size: 20px;
    }

    .card {
      padding: 16px;
    }

    button {
      width: 100%;
      font-size: 16px;
    }
  }


  /* Estilo dos Resultados*/
    .resultado-modelos {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
  }

  .modelo-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex: 1 1 200px;
    transition: transform 0.3s;
    max-width: 300px;
  }

  .modelo-card img {
    max-width: 100px;
    margin: 12px auto;
  }

  .modelo-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary-dark);
  }

  .modelo-card .modelo-nome {
    font-weight: bold;
    margin: 8px 0 4px;
  }

  .modelo-card .modelo-kcal {
    font-size: 13px;
    color: #666;
  }

  /* Estilo destaque */
  .modelo-card.destaque {
    transform: scale(1.05);
    background: var(--secondary);
    border: 2px solid var(--primary);
  }

  .modelo-card.destaque h3 {
    font-size: 18px;
    color: var(--primary);
  }
  #leadForm input[type="text"],
  #leadForm input[type="email"],
  #leadForm input[type="tel"],
  #leadForm input[type="number"] {
    width: 90%;
    height: 40px;
    margin-bottom: 16px;
    padding: 0 10px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
  }


  .consentimento-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #555;
  margin-top: -4px;
  max-width: 100%;
}

.consentimento-container input[type="checkbox"] {
  margin-top: 3px;
  transform: scale(1);
  flex-shrink: 0;
}

.consentimento-container label {
  line-height: 1.4;
  flex: 1;
  font-weight: 400;
}

.consentimento-container a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

/* Oculta no mobile */
.texto-explicativo-desktop {
  display: block;
}
.texto-explicativo-mobile {
  display: none;
}

.inline-prompt {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  background: #fffefc;
  border-radius: 8px;
  max-width: 520px;
}
.inline-prompt-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}
.inline-prompt input[type="text"] {
  flex: 1;
  height: 36px;
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}


@media (max-width: 768px) {
  .texto-explicativo-desktop {
    display: none;
  }
  .texto-explicativo-mobile {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    text-align: left;
  }
}

#textoExplicativo {
  margin: 35px 0;
}

#incidenciaVento .toggle-button[data-value="Não Interfere"] {
  display: none;
}

.linha-produto-card span:nth-child(3) {
  font-size: 12px;
  opacity: 0.6;
}


#graficoConsumoWrapper-desktop,
[id^="graficoConsumoMobileWrapper-"] {
  height: 60vh;
  min-height: 300px; /* Altura mínima opcional */
  max-height: 700px; /* Altura máxima opcional */
}

#graficoConsumo-desktop,
[id^="graficoConsumoMobile-"] {
  width: 100% !important;
  height: 100% !important;
  display: block;
}


 .termos-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #555;
  margin-top: -4px;
  max-width: 100%;
}

.termos-container input[type="checkbox"] {
  margin-top: 3px;
  transform: scale(1);
  flex-shrink: 0;
}

.termos-container label {
  line-height: 1.4;
  flex: 1;
  font-weight: 400;
}

.termos-container a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.termos-scroll {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 14px 16px;
  background: #fafbfc;
  font-size: 14.5px;
  margin-bottom: 5px;
  color: #222;
}
.termos-scroll h2 {
  font-size: 17px;
  color: #052046;
  margin-bottom: 8px;
}
.termos-scroll p {
  margin: 0 0 8px 0;
}

/* Estilo tooltip */
.tooltip-bubble {
  position: absolute;
  background: rgba(4, 30, 66, 0.95);
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 280px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  white-space: pre-line; /* permite quebra de linha no texto */
}

.tooltip-bubble.visible {
  opacity: 1;
}

.input-error {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 3px rgba(217,48,37,0.1);
}
