/* Ferramenta "Quanto vale meu carro": formulário de avaliação, resultado
   com faixas, anúncio em 2 canais e fatura — mesmo tema do site
   (vermelho #ea3636, escuro #14191d, texto #2d3643, Inter). */

/* Hero (mesma base do .coming-hero) */
.qv-hero {
  background-color: #14191d;
  /* fundo abstrato dos títulos (escuro à esquerda, curvas e vermelho à
     direita) com um véu à esquerda para o texto ler bem */
  background-image: linear-gradient(90deg, rgba(5, 7, 10, 0.78) 0%, rgba(5, 7, 10, 0.6) 40%, rgba(5, 7, 10, 0.12) 68%, rgba(5, 7, 10, 0) 100%),
    url("../img/bg-top-titulos.webp");
  background-size: cover;
  background-position: center;
  padding: 9rem 0 7rem;
}

/* Em telas estreitas a diagonal de 115deg passava por cima do título (o
   trecho em vermelho sumia sobre o vermelho): vira uma faixa no pé do hero,
   dentro do padding inferior. */
@media (max-width: 991px) {
  .qv-hero {
    /* mostra o lado escuro e as curvas; o vermelho ficaria sob o título */
    background-image: linear-gradient(rgba(5, 7, 10, 0.45), rgba(5, 7, 10, 0.45)),
      url("../img/bg-top-titulos.webp");
    background-position: 30% center;
  }
}

.qv-hero .tag {
  display: inline-block;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: #ea3636;
  border: 1px solid #ea3636;
  border-radius: 3rem;
  padding: 0.8rem 2rem;
  margin-bottom: 2.4rem;
}

.qv-hero h1 {
  font-size: 4.6rem;
  color: #fff;
  max-width: 68rem;
}

.qv-hero h1 strong {
  color: #ea3636;
}

.qv-hero > .container > p {
  font-size: 1.9rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 56rem;
  margin-top: 1.6rem;
}

.qv-hero-result {
  padding: 7rem 0 5rem;
}

/* Formulário (avaliação e anúncio) */
.qv-form-section {
  padding: 6rem 0 8rem;
}

.qv-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.qv-card {
  background: #fff;
  border: 1px solid #e5e9ec;
  border-radius: 2rem;
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.qv-card h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: #2d3643;
}

.qv-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.qv-field label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3643;
}

.qv-field label small {
  font-weight: 400;
  color: #5b6672;
}

.qv-field select,
.qv-field input,
.qv-field textarea {
  font-family: inherit;
  font-size: 1.5rem;
  color: var(--campo-texto);
  background: var(--campo-fundo);
  border: 1px solid #ccd4db;
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.qv-field select:focus,
.qv-field input:focus,
.qv-field textarea:focus {
  border-color: #ea3636;
}

.qv-field select:disabled {
  background: #f3f5f7;
  color: #98a2ac;
  cursor: not-allowed;
}

.qv-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.qv-hint {
  font-size: 1.3rem;
  color: #5b6672;
}

.qv-error {
  font-size: 1.3rem;
  color: #ea3636;
}

.qv-alert {
  background: #fdecec;
  border: 1px solid #ea3636;
  border-radius: 1rem;
  color: #b02a2a;
  font-size: 1.5rem;
  padding: 1.2rem 1.6rem;
}

.qv-submit {
  border-radius: 3rem;
  padding: 1.6rem 3.6rem;
  font-size: 1.6rem;
  font-family: inherit;
  background: #ea3636;
  color: #fff;
  transition: filter 0.3s ease;
}

.qv-submit:hover {
  filter: brightness(1.08);
}

.qv-login-note {
  font-size: 1.4rem;
  color: #5b6672;
  line-height: 1.5;
}

/* Coluna lateral */
.qv-aside {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.qv-aside-card {
  background: #fff;
  border: 1px solid #e5e9ec;
  border-radius: 2rem;
  padding: 2.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.qv-aside-card strong {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #2d3643;
}

.qv-aside-card p,
.qv-aside-card li {
  font-size: 1.5rem;
  color: #5b6672;
  line-height: 1.5;
}

.qv-aside-card ol {
  padding-left: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Resultado: faixas de preço */
.qv-result-section {
  padding: 6rem 0 8rem;
}

.qv-ranges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.qv-range {
  border-radius: 2rem;
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.qv-range-sale {
  background: #ea3636;
  color: #fff;
}

.qv-range-trade {
  background: #14191d;
  color: #fff;
}

.qv-range-label {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  color: #fff;
}

.qv-range-price {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 1.1;
  color: #fff;
}

.qv-range-to {
  font-size: 1.8rem;
  opacity: 0.85;
  color: #fff;
}

.qv-disclaimer {
  font-size: 1.5rem;
  color: #5b6672;
  margin-top: 2.4rem;
  max-width: 72rem;
  line-height: 1.5;
}

.qv-plate-note {
  font-size: 1.4rem;
  color: #5b6672;
  margin-top: 0.8rem;
}

/* Formas de anunciar */
.qv-ad-ways {
  margin-top: 5rem;
}

.qv-ad-ways h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  color: #2d3643;
}

.qv-ad-subtitle {
  font-size: 1.7rem;
  color: #5b6672;
  margin-top: 0.8rem;
}

.qv-ad-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.qv-ad-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e5e9ec;
  border-radius: 2rem;
  padding: 3rem;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.qv-ad-card:hover {
  border-color: #ea3636;
  transform: translateY(-0.4rem);
}

.qv-ad-card.is-disabled {
  pointer-events: none;
  opacity: 0.6;
}

.qv-ad-card strong {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #2d3643;
}

.qv-ad-card span {
  font-size: 1.5rem;
  color: #5b6672;
  line-height: 1.5;
}

.qv-ad-card em {
  font-style: normal;
  align-self: flex-start;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ea3636;
  border: 1px solid #ea3636;
  border-radius: 3rem;
  padding: 0.5rem 1.4rem;
  margin-top: 0.6rem;
}

.qv-ad-card-dealers em {
  color: #14191d;
  border-color: #14191d;
}

.qv-back {
  margin-top: 4rem;
  display: flex;
  gap: 3rem;
}

.qv-back a {
  font-size: 1.5rem;
  color: #ea3636;
  text-decoration: none;
}

.qv-back a:hover {
  text-decoration: underline;
}

/* Canal do anúncio (radios estilizados) */
.qv-channel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.qv-channel-card {
  border: 1px solid #ccd4db;
  border-radius: 1.4rem;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.qv-channel-card:hover {
  border-color: #ea3636;
}

.qv-channel-card:has(input:checked) {
  border-color: #ea3636;
  background: #fff7f7;
}

.qv-channel-card.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.qv-channel-card input {
  accent-color: #ea3636;
}

.qv-channel-card strong {
  font-size: 1.7rem;
  color: #2d3643;
}

.qv-channel-card span {
  font-size: 1.3rem;
  color: #5b6672;
  line-height: 1.4;
}

.qv-channel-card em {
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ea3636;
}

/* Fatura */
.qv-invoice-wrap {
  max-width: 72rem;
}

.qv-invoice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.qv-badge {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  border-radius: 3rem;
  padding: 0.5rem 1.4rem;
  border: 1px solid;
}

.qv-badge-pending {
  color: #b07a00;
  border-color: #e0a800;
  background: #fff8e5;
}

.qv-badge-paid {
  color: #1d7a3e;
  border-color: #35a862;
  background: #ecf9f0;
}

.qv-badge-canceled {
  color: #a12f2f;
  border-color: #ea3636;
  background: #fdecec;
}

.qv-invoice-vehicle {
  font-size: 1.6rem;
  color: #2d3643;
}

.qv-invoice-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 3rem;
}

.qv-invoice-details dt {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #98a2ac;
}

.qv-invoice-details dd {
  font-size: 1.6rem;
  color: #2d3643;
  margin-top: 0.3rem;
}

.qv-invoice-next {
  border-top: 1px solid #e5e9ec;
  padding-top: 2rem;
  font-size: 1.5rem;
  color: #5b6672;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .qv-form-grid,
  .qv-ranges,
  .qv-ad-cards,
  .qv-channel,
  .qv-field-row,
  .qv-invoice-details {
    grid-template-columns: 1fr;
  }

  .qv-hero h1 {
    font-size: 3.6rem;
  }

  .qv-range-price {
    font-size: 3.4rem;
  }
}
