/* ============================================================================
   Fastback · site/site.css — o site público (e-fastback.com.br)

   Usa os tokens e a letra de assets/css/fastback.css (carregado antes) e só
   acrescenta o que uma página de venda precisa: faixas largas, o cartão do
   preço, o simulador e o celular de exemplo. Nada vem de fora do site.
   ========================================================================= */

.site {
  --largura: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  background: var(--fb-fundo);
  overflow-x: hidden;
}

.site a {
  text-decoration: none;
}

.st-faixa {
  padding: clamp(56px, 9vw, 104px) var(--gutter);
}

.st-faixa.branca {
  background: var(--fb-superficie);
}

.st-faixa.tinta {
  background: var(--fb-tinta);
  color: #fff;
}

.st-dentro {
  max-width: var(--largura);
  margin: 0 auto;
}

.st-sobretitulo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 12px/1 var(--fb-fonte);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fb-acento-escuro);
  background: var(--fb-acento-suave);
  padding: 8px 12px;
  border-radius: 999px;
}

.st-faixa.tinta .st-sobretitulo {
  color: var(--fb-ceu-forte);
  background: rgba(142, 160, 255, 0.14);
}

.st-titulo {
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.08;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  max-width: 22ch;
}

.st-titulo.centro,
.st-texto.centro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.st-texto {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--fb-tinta-2);
  margin-top: 16px;
  max-width: 62ch;
}

.st-faixa.tinta .st-texto {
  color: #c9cff0;
}

/* ---- topo ---------------------------------------------------------------- */

.st-topo {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 245, 251, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(220, 225, 239, 0.7);
}

.st-topo .st-dentro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  max-width: calc(var(--largura) + 2 * var(--gutter));
}

.st-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.st-nav a:not(.botao) {
  color: var(--fb-tinta-2);
  font-weight: 500;
  font-size: 15px;
}

.st-nav a:not(.botao):hover {
  color: var(--fb-tinta);
}

@media (max-width: 860px) {
  .st-nav a:not(.botao) {
    display: none;
  }
}

/* ---- abertura ------------------------------------------------------------ */

.st-abertura {
  padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(56px, 8vw, 96px);
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(46, 68, 242, 0.13), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(142, 160, 255, 0.18), transparent 60%),
    var(--fb-fundo);
}

.st-abertura .st-dentro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (max-width: 920px) {
  .st-abertura .st-dentro {
    grid-template-columns: minmax(0, 1fr);
  }
}

.st-abertura h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
}

.st-abertura h1 em {
  font-style: normal;
  color: var(--fb-acento);
}

.st-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site .botao.grande {
  min-height: 54px;
  padding: 0 26px;
  font-size: 16px;
}

.st-selos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--fb-tinta-2);
  font-size: 14px;
}

.st-selos li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.st-selos li::before,
.st-lista li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--fb-acento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* O celular de exemplo: o portal da cliente, com o código na tela. */
.st-celular {
  justify-self: center;
  width: min(340px, 100%);
  border-radius: 38px;
  padding: 12px;
  background: var(--fb-tinta);
  box-shadow: 0 40px 90px rgba(11, 18, 54, 0.28), 0 0 0 1px rgba(11, 18, 54, 0.4);
  transform: rotate(2deg);
}

.st-tela {
  border-radius: 28px;
  background: var(--fb-fundo);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.st-tela-topo {
  padding: 18px 18px 14px;
  background: var(--fb-superficie);
  border-bottom: 1px solid var(--fb-borda);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.st-tela-marca {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #f15a7a, #ff9a6b);
}

.st-tela-corpo {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.st-tela-passo {
  font-size: 12px;
  color: var(--fb-tinta-3);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st-tela-cartao {
  background: var(--fb-superficie);
  border: 1px solid var(--fb-borda);
  border-radius: 16px;
  padding: 14px;
  font-size: 14px;
}

.st-tela-codigo {
  background: var(--fb-acento);
  color: #fff;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--fb-sombra-acento);
}

.st-tela-codigo strong {
  display: block;
  font: 700 22px/1.2 var(--fb-mono);
  letter-spacing: 0.08em;
  margin: 6px 0 4px;
}

.st-tela-linha {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--fb-tinta-2);
}

.st-etiqueta-ok {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--fb-ok);
  background: var(--fb-ok-fundo);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---- grades de cartões ---------------------------------------------------- */

.st-grade {
  display: grid;
  gap: 16px;
  margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.st-cartao {
  background: var(--fb-superficie);
  border: 1px solid var(--fb-borda);
  border-radius: var(--fb-raio-g);
  padding: 24px;
  box-shadow: var(--fb-sombra);
}

.st-faixa.branca .st-cartao {
  background: var(--fb-fundo);
  box-shadow: none;
}

/* As cinco dores: três e duas por linha, em vez de quatro e uma sobrando. */
.st-grade.dores {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.st-cartao h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 14px 0 8px;
}

.st-cartao p {
  color: var(--fb-tinta-2);
  line-height: 1.55;
}

.st-icone {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--fb-acento-suave);
  color: var(--fb-acento-escuro);
  font-size: 22px;
}

.st-dor .st-icone {
  background: var(--fb-erro-fundo);
  color: var(--fb-erro);
}

.st-dor .st-resposta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--fb-borda-forte);
  color: var(--fb-tinta);
  font-weight: 500;
}

.st-dor .st-resposta::before {
  content: 'Com o e-Fastback: ';
  color: var(--fb-acento-escuro);
  font-weight: 700;
}

/* ---- passos --------------------------------------------------------------- */

.st-passos {
  counter-reset: passo;
  display: grid;
  gap: 18px;
  margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  padding: 0;
  list-style: none;
}

.st-passos li {
  counter-increment: passo;
  position: relative;
  padding: 26px 22px 22px;
  border-radius: var(--fb-raio-g);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.st-faixa:not(.tinta) .st-passos li {
  background: var(--fb-superficie);
  border-color: var(--fb-borda);
}

.st-passos li::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--fb-acento);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}

.st-passos h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.st-passos p {
  color: inherit;
  opacity: 0.82;
  line-height: 1.55;
}

/* ---- preço ---------------------------------------------------------------- */

.st-preco {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 44px;
  align-items: stretch;
}

@media (max-width: 860px) {
  .st-preco {
    grid-template-columns: minmax(0, 1fr);
  }
}

.st-preco-cartao {
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--fb-tinta);
  color: #fff;
  box-shadow: var(--fb-sombra-g);
  position: relative;
  overflow: hidden;
}

.st-preco-cartao::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 68, 242, 0.55), transparent 70%);
}

.st-preco-valor {
  font: 700 clamp(48px, 8vw, 76px) / 1 var(--fb-fonte);
  font-stretch: 125%;
  letter-spacing: -0.03em;
  margin: 18px 0 6px;
}

.st-preco-valor small {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0;
  color: #c9cff0;
}

.st-lista {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.st-lista li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.45;
}

.st-lista li::before {
  margin-top: 2px;
}

.st-comparacao {
  margin-top: 26px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.5;
  color: #dfe3fa;
}

.st-simulador {
  background: var(--fb-superficie);
  border: 1px solid var(--fb-borda);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.st-simulador input[type='range'] {
  width: 100%;
  accent-color: var(--fb-acento);
}

.st-simulador .st-numero {
  font: 700 34px/1 var(--fb-fonte);
  font-stretch: 125%;
}

.st-barras {
  display: grid;
  gap: 14px;
}

.st-barra {
  display: grid;
  gap: 6px;
}

.st-barra-linha {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--fb-tinta-2);
}

.st-barra-linha strong {
  color: var(--fb-tinta);
}

.st-barra-trilho {
  height: 14px;
  border-radius: 999px;
  background: var(--fb-neutra-fundo);
  overflow: hidden;
}

.st-barra-cheia {
  height: 100%;
  border-radius: 999px;
  background: var(--fb-tinta-3);
  transition: width 0.25s ease;
}

.st-barra.nossa .st-barra-cheia {
  background: var(--fb-acento);
}

.st-economia {
  border-radius: 16px;
  padding: 16px;
  background: var(--fb-ok-fundo);
  color: var(--fb-ok);
  font-weight: 600;
  line-height: 1.45;
}

/* ---- perguntas ------------------------------------------------------------ */

.st-perguntas {
  margin: 36px auto 0;
  max-width: 820px;
  display: grid;
  gap: 12px;
}

.st-perguntas details {
  background: var(--fb-superficie);
  border: 1px solid var(--fb-borda);
  border-radius: 18px;
  padding: 4px 20px;
}

.st-perguntas summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 600;
  position: relative;
}

.st-perguntas summary::-webkit-details-marker {
  display: none;
}

.st-perguntas summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 22px;
  color: var(--fb-acento);
}

.st-perguntas details[open] summary::after {
  content: '–';
}

.st-perguntas details p {
  padding: 0 0 18px;
  color: var(--fb-tinta-2);
  line-height: 1.6;
}

/* ---- chamada final e rodapé ---------------------------------------------- */

.st-chamada {
  text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(46, 68, 242, 0.45), transparent 70%),
    var(--fb-tinta);
}

.st-chamada .st-acoes {
  justify-content: center;
}

.st-rodape {
  background: var(--fb-tinta);
  color: #aab2dc;
  padding: 40px var(--gutter) 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.6;
}

.st-rodape .st-dentro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.st-rodape a {
  color: #dfe3fa;
}

.st-rodape nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* ---- páginas de texto (termos e privacidade) ------------------------------- */

.st-documento {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) var(--gutter) 72px;
  line-height: 1.7;
  color: var(--fb-tinta-2);
}

.st-documento h1 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--fb-tinta);
  margin-bottom: 8px;
}

.st-documento h2 {
  font-size: 20px;
  color: var(--fb-tinta);
  margin: 36px 0 10px;
}

.st-documento p,
.st-documento ul {
  margin: 0 0 14px;
}

.st-documento li {
  margin-bottom: 6px;
}

.st-documento .st-identidade {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--fb-superficie);
  border: 1px solid var(--fb-borda);
  font-size: 14px;
}
