/* ==========================================================================
   RS Carros — landing page de captação
   --------------------------------------------------------------------------
   Só a LP carrega este arquivo. Ela tem um objetivo único (converter revenda
   em assinante) e poucas saídas, então vale ter estilos próprios em vez de
   forçar os componentes do site a servirem dois propósitos.

   Depende dos tokens de style.css.
   ========================================================================== */

/* ------------------------------------------------------------- cabeçalho */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(23, 23, 23, .92);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lp-header .container { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.lp-header .acoes { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ------------------------------------------------------------------ herói */

.lp-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 72px 0 80px;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center right;
  opacity: .16;
}
.lp-hero::after {
  content: "";
  position: absolute; top: -40%; left: -10%;
  width: 780px; height: 780px;
  background: radial-gradient(circle, rgba(255, 86, 3, .22) 0%, transparent 62%);
  pointer-events: none;
}
.lp-hero .container { position: relative; z-index: 1; }

.lp-hero h1 {
  max-width: 780px;
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.lp-hero h1 em { font-style: normal; color: #FF8A90; }
.lp-hero .chamada {
  max-width: 620px;
  margin-top: 18px;
  font-size: clamp(15px, 1.7vw, 18px);
  color: #CBD5E1;
  line-height: 1.55;
}

.lp-cta { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.lp-cta .garantia { font-size: 13px; color: var(--muted-2); display: flex; align-items: center; gap: 7px; }
.lp-cta .garantia .ic { color: var(--green); }

/* Números logo abaixo do herói, ainda no escuro */
.lp-numeros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.lp-numeros strong {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
}
.lp-numeros span { display: block; margin-top: 5px; font-size: 13px; color: var(--muted-2); }

/* --------------------------------------------------------- prova social */

.lp-logos { padding: 34px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.lp-logos p {
  text-align: center;
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.lp-logos .faixa {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.lp-logos .marca {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.lp-logos .marca span {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 7px;
  background: var(--ink); color: #fff;
  font-size: 9.5px; font-weight: 800;
}

/* ------------------------------------------------------------- seções -- */

.lp-secao { padding: 68px 0; }
.lp-secao.clara { background: var(--surface); }
.lp-secao-topo { max-width: 640px; margin-bottom: 40px; }
.lp-secao-topo.centro { margin-inline: auto; text-align: center; }
.lp-secao-topo h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
}
.lp-secao-topo p { margin-top: 14px; font-size: 15.5px; color: var(--muted); line-height: 1.6; }

/* ------------------------------------------------------------ dor/ganho */

.lp-dores { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.lp-dor {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform .22s var(--ease), box-shadow .22s;
}
.lp-dor:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.lp-dor .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--brand-soft); color: var(--brand-texto);
  margin-bottom: 18px;
}
.lp-dor .ico .ic { width: 22px; height: 22px; }
.lp-dor .antes {
  display: block;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.lp-dor h3 { font-size: 17px; font-weight: 700; }
.lp-dor p { margin-top: 9px; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ------------------------------------------------------------ simulador */

.lp-simulador {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 40px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-2);
}
.lp-simulador .controle { margin-top: 26px; }
.lp-simulador .valor-atual {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 14px;
}
.lp-simulador .valor-atual strong {
  font-size: 40px; font-weight: 800; letter-spacing: -.035em; line-height: 1;
}
.lp-simulador .valor-atual span { font-size: 15px; color: var(--muted); }

.lp-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  border-radius: 99px;
  background: var(--line);
  outline: none;
}
.lp-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: var(--sh-2);
  cursor: pointer;
}
.lp-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: var(--sh-2);
  cursor: pointer;
}
.lp-slider-escala {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font-size: 11.5px; color: var(--muted-2);
}

.lp-resultado {
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.lp-resultado .rotulo {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold);
}
.lp-resultado .plano { margin-top: 10px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.lp-resultado .preco { margin-top: 14px; display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.lp-resultado .preco .cifrao { font-size: 16px; color: var(--muted-2); }
.lp-resultado .preco .num { font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.lp-resultado .preco .periodo { font-size: 14px; color: var(--muted-2); }
.lp-resultado .detalhe { margin-top: 12px; font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.lp-resultado .btn { margin-top: 20px; }
.lp-resultado .por-carro {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px; color: var(--muted-2);
}
.lp-resultado .por-carro b { color: #fff; }

/* ----------------------------------------------------- comparativo -- */

.lp-comparativo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.lp-coluna {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.lp-coluna.faz { border-color: #A7E8CD; background: var(--st-ok-bg, #E8F8F1); }
.lp-coluna.nao-faz { border-color: var(--line); background: var(--bg); }
.lp-coluna h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700;
  margin-bottom: 18px;
}
.lp-coluna.faz h3 { color: #07523A; }
.lp-coluna.nao-faz h3 { color: var(--muted); }
.lp-coluna ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.lp-coluna li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.55; }
.lp-coluna li .ic { flex: none; margin-top: 2px; }
.lp-coluna.faz li .ic { color: var(--green); }
.lp-coluna.nao-faz li { color: var(--muted); }
.lp-coluna.nao-faz li .ic { color: var(--muted-2); }

/* ------------------------------------------------------------ depoimento */

.lp-depoimento {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.lp-depoimento blockquote {
  margin: 0;
  font-size: clamp(19px, 2.4vw, 25px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -.02em;
}
.lp-depoimento .autor {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 26px;
}
.lp-depoimento .autor .foto {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 800;
}
.lp-depoimento .autor b { display: block; font-size: 14px; }
.lp-depoimento .autor small { display: block; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ FAQ */

.lp-faq { max-width: 780px; margin-inline: auto; }
.lp-faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  margin-bottom: 10px;
  overflow: hidden;
}
.lp-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .ic { color: var(--muted-2); transition: transform .22s var(--ease); flex: none; }
.lp-faq details[open] summary { color: var(--brand-texto); }
.lp-faq details[open] summary .ic { transform: rotate(180deg); color: var(--brand-texto); }
.lp-faq details p { padding: 0 20px 18px; font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.lp-faq details p + p { padding-top: 0; }

/* ------------------------------------------------------------ formulário */

.lp-form-secao {
  background: var(--ink);
  color: #fff;
  padding: 68px 0;
  position: relative;
  overflow: hidden;
}
.lp-form-secao::before {
  content: "";
  position: absolute; bottom: -40%; right: -5%;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(255, 86, 3, .2) 0%, transparent 62%);
  pointer-events: none;
}
.lp-form-secao .container { position: relative; z-index: 1; }
.lp-form-grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 48px;
  align-items: start;
}
.lp-form-grade h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.lp-form-grade > div > p { margin-top: 16px; font-size: 15.5px; color: var(--muted-2); line-height: 1.6; }

.lp-vantagens { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.lp-vantagens li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.lp-vantagens .ic { color: var(--green); flex: none; }

.lp-form {
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--sh-4);
}
.lp-form h3 { font-size: 18px; font-weight: 700; }
.lp-form > p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.lp-form .campos { display: grid; gap: 14px; margin-top: 22px; }
.lp-form .ou {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0;
  font-size: 12.5px; color: var(--muted-2);
}
.lp-form .ou::before, .lp-form .ou::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.lp-form .rodape-form {
  margin-top: 16px;
  font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5;
}

/* ---------------------------------------------------------------- rodapé */

.lp-footer { background: var(--ink); color: var(--muted-2); padding: 30px 0; border-top: 1px solid rgba(255,255,255,.09); }
.lp-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; }
.lp-footer nav { display: flex; gap: 20px; }
.lp-footer a:hover { color: #fff; }

/* ------------------------------------------------------------ responsivo */

@media (max-width: 900px) {
  .lp-simulador { grid-template-columns: 1fr; gap: 28px; padding: 26px; }
  .lp-form-grade { grid-template-columns: 1fr; gap: 32px; }
  .lp-hero { padding: 52px 0 60px; }
  .lp-secao { padding: 52px 0; }
  .lp-header .acoes .header-link { display: none; }
}

@media (max-width: 640px) {
  .lp-numeros { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
  .lp-cta .btn { width: 100%; justify-content: center; }
  .lp-form { padding: 22px; }
}
