:root {
  --vermelho: #d71920;
  --vermelho-escuro: #a80f15;
  --amarelo: #ffc400;
  --amarelo-claro: #fff5c7;
  --preto: #1d1d1f;
  --cinza: #626262;
  --borda: #ededed;
  --fundo: #ffffff;
  --verde: #20b15a;
  --sombra: 0 18px 45px rgba(0, 0, 0, 0.08);
  --raio: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  background: var(--fundo);
  color: var(--preto);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.topo {
  padding: 18px 16px 8px;
  background:
    radial-gradient(circle at top left, rgba(255, 196, 0, 0.22), transparent 35%),
    linear-gradient(180deg, #fff 0%, #fff8dc 100%);
}

.logo-box {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.logo {
  width: min(210px, 68vw);
  max-height: 96px;
  object-fit: contain;
}

.hero-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 26px 22px;
  border-radius: var(--raio);
  background: #fff;
  box-shadow: var(--sombra);
  border: 1px solid rgba(215, 25, 32, 0.08);
  text-align: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--amarelo-claro);
  color: var(--vermelho-escuro);
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 7vw, 2.5rem);
  line-height: 1.08;
  font-weight: 800;
}

.hero-text {
  margin-bottom: 22px;
  color: var(--cinza);
  font-size: 0.97rem;
  line-height: 1.55;
}

.botao-principal,
.botao-resumo,
.botao-whatsapp,
.botao-secundario,
.selecionar-prato {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.botao-principal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  color: #fff;
  background: var(--vermelho);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(215, 25, 32, 0.22);
}

.botao-principal:active,
.botao-resumo:active,
.botao-whatsapp:active,
.botao-secundario:active,
.selecionar-prato:active {
  transform: scale(0.98);
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 16px 38px;
}

.secao {
  margin-top: 30px;
}

.secao-titulo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.secao-titulo span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  color: var(--vermelho-escuro);
  background: var(--amarelo);
  font-weight: 800;
}

.secao-titulo h2 {
  margin-bottom: 3px;
  font-size: 1.22rem;
  line-height: 1.15;
}

.secao-titulo p {
  color: var(--cinza);
  font-size: 0.88rem;
  line-height: 1.4;
}

.slides-pratos {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(82%, 1fr);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 18px;
  scrollbar-width: thin;
}

.card-prato {
  scroll-snap-align: center;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 2px solid var(--borda);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.07);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card-prato.ativo {
  border-color: var(--vermelho);
  box-shadow: 0 18px 48px rgba(215, 25, 32, 0.16);
}

.foto-prato {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background: #fff4c9;
}

.foto-prato::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.28) 45%, rgba(255, 255, 255, 0) 82%);
  pointer-events: none;
}

.prato-img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #fff4c9;
}

.foto-overlay {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  top: 16px;
  color: var(--preto);
}

.foto-overlay h3 {
  margin: 0 0 4px;
  max-width: 78%;
  color: var(--vermelho);
  font-size: clamp(1.7rem, 8vw, 2.55rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.foto-overlay p {
  max-width: 78%;
  margin: 0;
  color: var(--preto);
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 700;
}

.card-conteudo {
  padding: 19px;
}

.preco {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--vermelho);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.descricao {
  margin-bottom: 14px;
  color: var(--cinza);
  font-size: 0.86rem;
  line-height: 1.45;
}

.opcoes-proteina,
fieldset {
  display: grid;
  gap: 9px;
}

.opcoes-proteina label,
fieldset label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 16px;
  background: #fafafa;
  border: 1px solid #efefef;
  color: #2c2c2c;
  font-size: 0.9rem;
  font-weight: 600;
}

input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: var(--vermelho);
}

.selecionar-prato {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  background: var(--amarelo);
  color: var(--vermelho-escuro);
}

.card-prato.ativo .selecionar-prato {
  color: #fff;
  background: var(--vermelho);
}

.grade-acompanhamentos {
  display: grid;
  gap: 14px;
}

fieldset {
  margin: 0;
  padding: 15px;
  border: 1px solid var(--borda);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.045);
}

legend {
  padding: 0 8px;
  color: var(--vermelho-escuro);
  font-weight: 800;
}

.formulario {
  display: grid;
  gap: 14px;
}

.formulario label {
  display: grid;
  gap: 7px;
  color: #2b2b2b;
  font-size: 0.9rem;
  font-weight: 700;
}

input[type="text"],
input[type="number"],
select,
textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 15px 14px;
  color: var(--preto);
  background: #fff;
  font-size: 1rem;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--amarelo);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.22);
}

.aviso-entrega {
  padding: 14px;
  border-radius: 18px;
  background: #fff1f1;
  color: var(--vermelho-escuro);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

.campos-entrega {
  display: grid;
  gap: 14px;
}

.botao-resumo {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  color: #fff;
  background: var(--vermelho);
  font-size: 1rem;
  box-shadow: 0 12px 30px rgba(215, 25, 32, 0.22);
}

.resumo {
  margin-top: 30px;
}

.resumo-card {
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #fff9df 100%);
  border: 1px solid #f1e2b0;
  box-shadow: var(--sombra);
}

.resumo-conteudo {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.linha-resumo {
  display: grid;
  gap: 4px;
  padding: 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.linha-resumo strong {
  color: var(--vermelho-escuro);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.linha-resumo span {
  font-size: 0.95rem;
  line-height: 1.45;
}

.total-resumo {
  padding: 16px;
  border-radius: 20px;
  background: var(--vermelho);
  color: #fff;
  text-align: center;
}

.total-resumo strong {
  display: block;
  font-size: 0.8rem;
  opacity: 0.92;
}

.total-resumo span {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
}

.acoes-resumo {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.botao-secundario,
.botao-whatsapp {
  width: 100%;
  min-height: 54px;
  font-size: 0.96rem;
}

.botao-secundario {
  color: var(--vermelho-escuro);
  background: #fff;
  border: 1px solid rgba(215, 25, 32, 0.18);
}

.botao-whatsapp {
  color: #fff;
  background: var(--verde);
  box-shadow: 0 12px 30px rgba(32, 177, 90, 0.2);
}

.rodape {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 24px 16px 34px;
  color: var(--cinza);
  text-align: center;
  font-size: 0.84rem;
}

.rodape strong {
  color: var(--preto);
}

@media (min-width: 680px) {
  .topo {
    padding-top: 28px;
  }

  .botao-principal {
    width: auto;
    min-width: 220px;
  }

  .slides-pratos {
    grid-auto-columns: minmax(310px, 1fr);
  }

  .grade-acompanhamentos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saladas {
    grid-column: 1 / -1;
  }

  .acoes-resumo {
    grid-template-columns: 1fr 1.4fr;
  }
}

@media (min-width: 980px) {
  .slides-pratos {
    grid-auto-flow: initial;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }

  .card-prato {
    scroll-snap-align: initial;
  }
}
