/* LP Food — paleta Brasa. Mobile-first: as regras base são do celular; o
   desktop só reorganiza o topo em duas colunas a partir de 960px. */

:root {
  --carvao: #161412;
  --carvao-2: #1f1b18;
  --brasa: #ff6a13;
  --brasa-claro: #ff8a3d;
  --tinta: #1d0b00;
  --fumaca: #cfc8c2;
  --papel: #ffffff;
  --texto-form: #1b1918;
  --borda-form: #e3ddd7;
  --placeholder: #7c746d;
  --erro: #b42318;
  --foco-claro: #c2410c;

  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --corpo: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;

  --gutter: 16px;
  --raio: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--carvao);
  color: var(--papel);
  font-family: var(--corpo);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ol {
  margin: 0;
}

a {
  color: inherit;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--brasa);
  outline-offset: 2px;
}

/* ---------- Faixa de qualificação ---------- */
.faixa {
  background: var(--brasa);
  color: var(--tinta);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 10px var(--gutter);
}

/* ---------- Topo ---------- */
.hero {
  padding: 20px var(--gutter) 28px;
}

.hero__texto {
  text-align: center;
}

.titulo {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 8vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.destaque {
  color: var(--brasa-claro);
}

.subtitulo {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 12px;
}

.prova {
  color: var(--fumaca);
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}

.hero__form {
  margin-top: 18px;
}

/* ---------- Comanda (formulário) ----------
   O card é uma comanda de cozinha: bordas picotadas em cima e embaixo feitas
   com máscara (nada de imagem), cabeçalho mono e a barra que enche conforme os
   campos ficam válidos. */
.comanda {
  --dente: 14px;
  background: var(--papel);
  color: var(--texto-form);
  border-radius: 4px;
  padding: 20px 16px 18px;
  -webkit-mask:
    radial-gradient(circle at 50% 0, #0000 5px, #000 5.5px) top / var(--dente) 51% repeat-x,
    radial-gradient(circle at 50% 100%, #0000 5px, #000 5.5px) bottom / var(--dente) 51% repeat-x;
  mask:
    radial-gradient(circle at 50% 0, #0000 5px, #000 5.5px) top / var(--dente) 51% repeat-x,
    radial-gradient(circle at 50% 100%, #0000 5px, #000 5.5px) bottom / var(--dente) 51% repeat-x;
}

.comanda :focus-visible {
  outline-color: var(--foco-claro);
}

.comanda__topo {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5c544d;
  padding-bottom: 10px;
  border-bottom: 1px dashed #cbc3bb;
}

.comanda__rotulo {
  font-weight: 700;
  color: var(--texto-form);
}

.progresso {
  height: 6px;
  margin: 12px 0 14px;
  background: #f1ece7;
  border-radius: 999px;
  overflow: hidden;
}

.progresso__barra {
  height: 100%;
  width: 0;
  background: var(--brasa);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.campo + .campo {
  margin-top: 8px;
}

.comanda input,
.comanda select {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 14px;
  font: 500 16px/1 var(--corpo); /* 16px evita o zoom automático do iOS */
  color: var(--texto-form);
  background: #fff;
  border: 1.5px solid var(--borda-form);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.comanda input::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

.comanda select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c746d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.comanda select:invalid {
  color: var(--placeholder);
}

.comanda input:hover,
.comanda select:hover {
  border-color: #cfc6bd;
}

.comanda input:focus,
.comanda select:focus {
  border-color: var(--foco-claro);
}

.comanda [aria-invalid='true'] {
  border-color: var(--erro);
}

.campo__erro {
  color: var(--erro);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  padding: 4px 2px 0;
}

.campo__erro:empty {
  display: none;
}

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  font: 700 16px/1.2 var(--corpo);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease;
}

.botao:active {
  transform: scale(0.98);
}

.botao--brasa {
  width: 100%;
  margin-top: 14px;
  background: var(--brasa);
  color: var(--tinta);
}

.botao--brasa:hover {
  background: #ff7a2b;
}

.botao__seta {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

.botao[aria-busy='true'] {
  cursor: progress;
  opacity: 0.85;
}

.botao[aria-busy='true'] .botao__seta {
  display: none;
}

.botao--carvao {
  background: var(--carvao);
  color: var(--papel);
}

.botao--carvao:hover {
  background: #2a2522;
}

.seguranca {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: #6b635c;
  text-align: center;
}

.seguranca svg {
  flex: none;
  width: 14px;
  height: 14px;
}

.estrelas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--fumaca);
  text-align: center;
}

.estrelas strong {
  color: var(--papel);
}

.estrelas__icones {
  color: #ffc23d;
  font-size: 17px;
  letter-spacing: 2px;
}

/* ---------- Seções ---------- */
.secao__titulo {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.75rem, 7.5vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  padding: 0 var(--gutter);
}

/* ---------- Depoimentos (Shorts) ---------- */
.depoimentos {
  background: var(--carvao-2);
  padding: 40px 0 36px;
}

.carrossel {
  margin-top: 20px;
}

.shorts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 12px;
  margin: 0;
  padding: 0 var(--gutter) 6px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}

.shorts::-webkit-scrollbar {
  display: none;
}

.short {
  scroll-snap-align: start;
}

.short__midia {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--raio);
  overflow: hidden;
  background: #0d0c0b;
}

.short__midia--vazio {
  display: grid;
  place-items: center;
  border: 1.5px dashed #4a433e;
  background: transparent;
  color: #9b928a;
  font-size: 14px;
  font-weight: 600;
}

.short__capa,
.short__midia iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.short__capa {
  object-fit: cover;
}

.short__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  border: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0) 55%);
  color: var(--tinta);
  cursor: pointer;
}

.short__play svg {
  width: 64px;
  height: 64px;
  padding: 18px 16px 18px 20px;
  border-radius: 50%;
  background: var(--brasa);
  fill: currentColor;
  stroke: none;
}

.short__legenda {
  margin-top: 10px;
  font-size: 13px;
  color: var(--fumaca);
}

.short__legenda strong {
  color: var(--papel);
}

/* ---------- Aviso ---------- */
.aviso {
  background: var(--brasa);
  color: var(--tinta);
  text-align: center;
  padding: 44px var(--gutter);
}

.aviso__rotulo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.aviso__titulo {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 8.2vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 10px auto 22px;
  max-width: 18ch;
}

.aviso .botao {
  width: 100%;
  max-width: 420px;
}

.aviso :focus-visible {
  outline-color: var(--tinta);
}

/* ---------- Como funciona ---------- */
.como {
  padding: 44px 0 40px;
}

.passos {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 0 var(--gutter);
  list-style: none;
  counter-reset: passo;
}

.passo {
  counter-increment: passo;
  position: relative;
  background: var(--papel);
  color: var(--texto-form);
  border-radius: var(--raio);
  padding: 18px 18px 18px 66px;
  font-size: 15px;
}

.passo::before {
  content: counter(passo);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brasa);
  color: var(--tinta);
  font: 400 19px/1 var(--display);
}

.passo__titulo {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.passo p {
  color: #4f4842;
}

/* ---------- Rodapé ---------- */
.rodape {
  background: #0e0c0b;
  color: #8f8780;
  text-align: center;
  font-size: 12px;
  padding: 32px var(--gutter) 40px;
}

.rodape p + p {
  margin-top: 6px;
}

.rodape__marca {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
  color: var(--papel);
  letter-spacing: 0.02em;
}

/* ---------- /obrigado ---------- */
.hero--obrigado {
  padding-top: 32px;
}

.selo {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tinta);
  background: var(--brasa);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 14px;
}

.recibo {
  list-style: none;
  padding: 0;
  margin: 14px 0 4px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.recibo__item {
  position: relative;
  padding-left: 30px;
}

.recibo__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #cbc3bb;
}

.recibo__item--feito::before {
  border-color: var(--brasa);
  background: var(--brasa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d0b00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Desktop ---------- */
@media (min-width: 640px) {
  .hero__texto {
    max-width: 640px;
    margin-inline: auto;
  }

  .hero__form {
    max-width: 480px;
    margin-inline: auto;
  }

  .shorts {
    grid-auto-columns: 240px;
  }

  .passos {
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 32px 64px;
  }

  .hero__texto {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .titulo {
    font-size: 3.4rem;
  }

  .subtitulo {
    font-size: 18px;
  }

  .prova {
    font-size: 17px;
  }

  .hero__form {
    max-width: none;
    margin: 0;
  }

  .shorts {
    justify-content: center;
  }

  .passos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1080px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
