/* Planos, no visual do site antigo: garantias e perguntas comuns (/planos/) e a faixa "Quanto custa?" das
   páginas de sistema (jcs/plano-chamada.njk). A calculadora fica em jcs-calculadora.css */

.garantias {
  background: #fff;
}
.garantias .section-head {
  margin-bottom: min(5vh, 48px);
}
.garantia__selo {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.garantias__lista,
.perguntas__lista {
  margin: 0;
  padding: 0;
  list-style: none;
}
.garantias__lista {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.garantia {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e2eaf3;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.garantia:hover {
  border-color: #bfd3e7;
  box-shadow: 0 26px 60px rgba(16, 42, 71, 0.08);
}
.garantia__cabeca {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.garantia__icone {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(145deg, #0e3359, #0b2748);
  color: var(--primaria);
  font-size: 18px;
}
.garantia__selo {
  height: 22px;
  padding: 0 10px;
  background: #e6f0fa;
  color: #0b5db8;
  font-size: 9px;
}
.garantia h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: #112842;
}
.garantia p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #607286;
}

/* Perguntas comuns: título à esquerda, lista que abre e fecha à direita */
.perguntas {
  background: #f7fafd;
}
.perguntas__grade {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}
.perguntas__lista {
  display: grid;
  gap: 10px;
}
.pergunta {
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f5f8fc);
  border: 1px solid #e2eaf3;
}
.pergunta[open] {
  border-color: #bfd3e7;
}
.pergunta summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: #112842;
  cursor: pointer;
  list-style: none;
}
.pergunta summary::-webkit-details-marker {
  display: none;
}
.pergunta summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 500;
  color: #0b5db8;
  transition: transform 0.25s;
}
.pergunta[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.pergunta p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #607286;
}

/* Faixa "Quanto custa?" das páginas de sistema */
.plano-chamada {
  padding: min(6vh, 56px) 0;
  background: #fff;
}
.plano-chamada__faixa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding: 30px 36px;
  border-radius: 28px;
  background: linear-gradient(120deg, #e3effc, #f5f9fd 60%);
  border: 1px solid #d3e3f3;
}
.plano-chamada .kicker {
  margin-bottom: 8px;
}
.plano-chamada h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.04em;
  color: #112842;
}
.plano-chamada p {
  max-width: 640px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4d6178;
}
.plano-chamada .btn {
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .plano-chamada__faixa {
    flex-direction: column;
    align-items: flex-start;
  }
  .perguntas__grade {
    grid-template-columns: 1fr;
  }
  .garantias__lista {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .garantias__lista {
    grid-template-columns: 1fr;
  }
  .garantia,
  .plano-chamada__faixa {
    padding: 22px;
    border-radius: 20px;
  }
}

@media (min-width: 961px) and (max-height: 820px) {
  .garantias.section,
  .perguntas.section {
    padding: min(9vh, 80px) 0;
  }
  .garantia {
    padding: 20px;
  }
  .garantia__cabeca {
    margin-bottom: 12px;
  }
}
