/* Ponto Fino Salgados — landing de franquias. Mesmo design system do PDV/dash. */
:root {
  --laranja: #f38b1c;
  --laranja-escuro: #d97b17;
  --marrom: #5c2f00;
  --ativo: #904d00;
  --texto: #1b1b1b;
  --suave: #554335;
  --creme: #f0e7cd;
  --input: #faf1d9;
  --cartao: #faf9f8;
  --verde: #198754;
  --whats: #25d366;
  --sombra: 0 8px 16px rgba(74, 35, 17, 0.1);
  --raio: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: #fffdf8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; color: var(--marrom); letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 2rem); margin-inline: auto; }
.estreito { width: min(820px, 100% - 2rem); }
.centro { text-align: center; }
.destaque { color: var(--laranja); }
.sobretitulo {
  display: inline-block; margin-bottom: 0.6rem; padding: 0.3rem 0.9rem; border-radius: 999px;
  background: #ffe8cf; color: var(--ativo); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.sobretitulo--claro { background: rgba(255, 255, 255, 0.2); color: #fff; }
.lead { font-size: 1.12rem; color: var(--suave); max-width: 760px; margin-inline: auto; }
.lead--claro { color: rgba(255, 255, 255, 0.92); }

/* ---- botões ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.4rem; border-radius: 0.9rem; border: 0; cursor: pointer;
  font: inherit; font-weight: 800; text-decoration: none; transition: transform 0.12s, box-shadow 0.2s, filter 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--grande { padding: 1.05rem 1.6rem; font-size: 1.08rem; }
.btn--peq { padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--cheio { width: 100%; }
.btn--whats { background: var(--whats); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35); }
.btn--whats:hover { filter: brightness(1.05); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45); }
.btn--laranja { background: var(--laranja); color: #fff; box-shadow: 0 6px 18px rgba(243, 139, 28, 0.35); }
.btn--laranja:hover { background: var(--laranja-escuro); }
.btn--claro { background: #fff; color: var(--ativo); box-shadow: var(--sombra); }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---- topo ---- */
/* transparente sobre o hero; ganha cor ao rolar (.rolou via JS). margin negativa põe o hero por baixo */
.topo { position: sticky; top: 0; z-index: 50; margin-bottom: -68px; background: transparent; transition: background 0.3s, box-shadow 0.3s; }
.topo .topo__menu { color: #fff; }
.topo .topo__logo img { filter: brightness(0) invert(1); transition: filter 0.3s; }
.topo.rolou .topo__logo img { filter: none; }
.topo.rolou { background: rgba(240, 231, 205, 0.95); backdrop-filter: blur(10px); box-shadow: 0 2px 12px rgba(74, 35, 17, 0.12); }
.topo.rolou .topo__menu { color: var(--suave); }
.topo__linha { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.topo__logo img { height: 46px; width: auto; }
.topo__menu { display: none; gap: 1.6rem; font-weight: 700; color: var(--suave); }
.topo__menu a { text-decoration: none; }
.topo__menu a:hover { color: var(--laranja); }
@media (min-width: 900px) { .topo__menu { display: flex; } }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, #ffb366 0%, var(--laranja) 45%, #e07812 100%); color: #fff; padding: calc(3.5rem + 68px) 0 4.5rem; }
.hero h1 { color: #fff; }
.hero .destaque { color: #fff3d6; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.5); text-underline-offset: 6px; }
.hero__grade { position: relative; z-index: 2; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero__grade { grid-template-columns: 1.25fr 0.85fr; } .hero { padding: 5rem 0 6rem; } }
.selo { display: inline-block; margin-bottom: 1rem; padding: 0.4rem 0.9rem; border-radius: 999px; background: rgba(0, 0, 0, 0.15); font-weight: 700; font-size: 0.9rem; }
.hero__sub { font-size: 1.15rem; color: rgba(255, 255, 255, 0.95); max-width: 600px; }
.hero__botoes { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 1.6rem 0 1.2rem; }
.hero__provas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; font-weight: 700; font-size: 0.95rem; }
.hero__cartao { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 2rem; padding: 2rem; text-align: center; backdrop-filter: blur(4px); }
.hero__logo { width: min(240px, 70%); margin: 0 auto 1.2rem; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15)); }
.hero__numeros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.hero__numeros div { background: #fff; color: var(--marrom); border-radius: 1rem; padding: 0.8rem 0.4rem; box-shadow: var(--sombra); }
.hero__numeros strong { display: block; font-size: 1.35rem; font-weight: 900; color: var(--laranja); }
.hero__numeros span { font-size: 0.75rem; font-weight: 600; color: var(--suave); line-height: 1.2; display: block; }

/* salgados flutuando no fundo do hero */
.hero__salgados { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__salgados span { position: absolute; font-size: 2.2rem; opacity: 0.22; animation: flutuar 9s ease-in-out infinite; }
@keyframes flutuar { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-22px) rotate(12deg); } }

/* ---- faixa de sabores ---- */
.faixa { overflow: hidden; background: var(--marrom); color: #fff; padding: 0.9rem 0; }
.faixa__trilho { display: flex; gap: 2.5rem; width: max-content; animation: deslizar 40s linear infinite; font-weight: 800; white-space: nowrap; }
.faixa__trilho span { display: inline-flex; align-items: center; gap: 0.5rem; }
.faixa__trilho b { font-size: 1.5rem; }
@keyframes deslizar { to { transform: translateX(-50%); } }

/* ---- seções ---- */
.secao { padding: 4.5rem 0; }
.secao--creme { background: var(--creme); }
.secao--laranja { background: linear-gradient(160deg, var(--laranja), #e07812); color: #fff; }
.secao--laranja h2 { color: #fff; }

.grade { display: grid; gap: 1.2rem; margin-top: 2.2rem; }
@media (min-width: 640px) { .grade--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grade--3 { grid-template-columns: repeat(3, 1fr); } }
.cartao { background: var(--cartao); border-radius: var(--raio); padding: 1.6rem; box-shadow: var(--sombra); transition: transform 0.2s; }
.cartao:hover { transform: translateY(-4px); }
.cartao__icone { width: 64px; height: 64px; display: grid; place-items: center; font-size: 2.1rem; border-radius: 1rem; background: #ffe8cf; margin-bottom: 1rem; }
.cartao p { color: var(--suave); margin: 0; }

/* ---- simulador ---- */
.simulador { margin-top: 2.2rem; display: grid; gap: 1.5rem; background: var(--cartao); border-radius: 1.6rem; padding: 1.6rem; box-shadow: var(--sombra); }
@media (min-width: 900px) { .simulador { grid-template-columns: 1.1fr 0.9fr; padding: 2.4rem; } }
.simulador__controles { display: grid; gap: 1.3rem; }
.simulador label { display: grid; gap: 0.4rem; font-weight: 700; color: var(--suave); }
.simulador output { justify-self: start; font-size: 1.25rem; font-weight: 900; color: var(--marrom); }
input[type="range"] { width: 100%; accent-color: var(--laranja); height: 2rem; }
.simulador__resultado { display: grid; gap: 0.9rem; align-content: start; }
.resultado { background: var(--input); border-radius: 1rem; padding: 1rem 1.2rem; }
.resultado span { display: block; font-weight: 700; color: var(--suave); font-size: 0.95rem; }
.resultado strong { font-size: 1.9rem; font-weight: 900; color: var(--marrom); }
.resultado--destaque { background: #d1e7dd; }
.resultado--destaque span, .resultado--destaque strong { color: #0f5132; }
.aviso { font-size: 0.8rem; color: #6b6b6b; margin: 0; }

/* ---- cardápio ---- */
.cardapio { margin-top: 2.2rem; display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cardapio { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .cardapio { grid-template-columns: repeat(5, 1fr); } }
.sabor { background: #fff; color: var(--marrom); border-radius: 1.1rem; padding: 1.1rem 0.8rem; text-align: center; box-shadow: 0 8px 18px rgba(92, 47, 0, 0.18); transition: transform 0.2s; }
.sabor:hover { transform: translateY(-4px) rotate(-1deg); }
.sabor__emoji { font-size: 2.6rem; display: grid; place-items: center; height: 4rem; margin: 0 auto 0.4rem; background: var(--input); border-radius: 50%; width: 4rem; }
.sabor h3 { font-size: 0.95rem; margin: 0; color: var(--marrom); }
.cardapio__extra { margin-top: 1.6rem; font-weight: 700; }

/* ---- passos ---- */
.passos { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .passos { grid-template-columns: repeat(4, 1fr); } }
.passos li { position: relative; background: var(--cartao); border-radius: var(--raio); padding: 2rem 1.4rem 1.4rem; box-shadow: var(--sombra); }
.passos__n { position: absolute; top: -18px; left: 1.4rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--laranja); color: #fff; font-weight: 900; box-shadow: 0 4px 10px rgba(243, 139, 28, 0.4); }
.passos p { color: var(--suave); margin: 0; }

/* ---- para quem ---- */
.lista-check { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.8rem; }
.lista-check li { background: #fff; border-radius: 1rem; padding: 1rem 1.2rem; box-shadow: 0 4px 10px rgba(74, 35, 17, 0.06); font-size: 1.05rem; }

/* ---- cadastro ---- */
.cadastro { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .cadastro { grid-template-columns: 1fr 1fr; } }
.cadastro__beneficios { list-style: none; padding: 0; display: grid; gap: 0.5rem; font-weight: 700; color: var(--verde); }
.emojis-decor { font-size: 2rem; letter-spacing: 0.4rem; margin-top: 1rem; }
.formulario { background: var(--cartao); border-radius: 1.6rem; padding: 1.6rem; box-shadow: 0 14px 34px rgba(74, 35, 17, 0.14); display: grid; gap: 0.9rem; border-top: 6px solid var(--laranja); }
.formulario h3 { margin: 0 0 0.3rem; }
.formulario__nota { font-size: 0.8rem; color: #6b6b6b; text-align: center; margin: 0; }
.formulario--ok { text-align: center; }
.formulario__ok-icone { font-size: 3.5rem; }

/* ---- FAQ ---- */
.faq { margin-top: 2rem; display: grid; gap: 0.8rem; }
.faq details { background: #fff; border-radius: 1rem; padding: 1rem 1.2rem; box-shadow: 0 4px 10px rgba(74, 35, 17, 0.06); }
.faq summary { cursor: pointer; font-weight: 800; color: var(--marrom); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--laranja); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.8rem 0 0; color: var(--suave); }

/* ---- CTA final e rodapé ---- */
.cta-final { background: var(--marrom); color: #fff; padding: 4.5rem 0; }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; }
.cta-final__emojis { font-size: 2.6rem; letter-spacing: 0.5rem; margin-bottom: 0.8rem; }
.rodape { background: #2b1600; color: rgba(255, 255, 255, 0.85); padding: 2.4rem 0 6rem; }
.rodape__grade { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.rodape img { width: 90px; }
.rodape a { color: #ffd29e; text-decoration: none; }
.rodape p { margin: 0.2rem 0; }
.rodape__mini { font-size: 0.8rem; opacity: 0.7; }
@media (min-width: 900px) { .rodape { padding-bottom: 2.4rem; } }

/* ---- WhatsApp flutuante e barra do celular ---- */
.whats-flutuante {
  position: fixed; right: 18px; bottom: 90px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--whats); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  animation: pulsar 2.4s infinite;
}
@keyframes pulsar { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.barra-celular { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); background: rgba(255, 253, 248, 0.96); box-shadow: 0 -4px 14px rgba(74, 35, 17, 0.12); }
@media (min-width: 900px) { .barra-celular { display: none; } .whats-flutuante { bottom: 24px; } }

/* ---- animação de entrada ---- */
.revelar { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .revelar { opacity: 1; transform: none; }
  .faixa__trilho, .hero__salgados span, .whats-flutuante { animation: none; }
  html { scroll-behavior: auto; }
}

/* Maranhão: parceiros por cidade */
.secao--marrom { background: var(--marrom); color: #fff; }
.secao--marrom h2 { color: #fff; }
.cidades { list-style: none; padding: 0; margin: 1.8rem auto 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; max-width: 900px; }
.cidades li { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 0.45rem 0.95rem; font-weight: 700; font-size: 0.95rem; }
.cidades li::before { content: "📍 "; }
