/* Nossa Mesa, página de vendas. Mesma identidade do jogo: papel creme, tinta petróleo, mostarda e tijolo. */
:root {
  --fundo: #F3EFE6;
  --cartao: #FFFDF8;
  --cartao-2: #F8F4EA;
  --tinta: #1F2A2C;
  --suave: #55635F;
  --linha: #E1DACB;
  --pet: #1E6C78;
  --pet-fundo: #175A64;
  --pet-claro: #D8EBEC;
  --mostarda: #E3A92F;
  --mostarda-claro: #FAEBC4;
  --tijolo: #C4572F;
  --tijolo-claro: #F7DDD1;
  --serifa: "Fraunces", Georgia, "Times New Roman", serif;
  --texto: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fundo); color: var(--tinta);
  font: 18px/1.55 var(--texto); -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serifa); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
.miolo { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Topo */
.topo { padding: 14px 0 0; }
.topo-in { display: flex; align-items: center; }
.marca { display: inline-flex; align-items: center; gap: 10px; font: 600 21px/1 var(--serifa); color: var(--tinta); text-decoration: none; letter-spacing: -.01em; }
.marca-mesa {
  width: 26px; height: 26px; border-radius: 50%; background: var(--pet); flex: none; position: relative;
  box-shadow: 0 -10px 0 -7px var(--mostarda), 0 10px 0 -7px var(--tijolo), 10px 0 0 -7px var(--tijolo), -10px 0 0 -7px var(--mostarda);
}
.marca-mesa::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); }

/* Botão */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 62px; padding: 14px 32px; border-radius: 14px;
  background: var(--pet); color: #fff; font: 800 20px/1.2 var(--texto); text-decoration: none; text-align: center;
  box-shadow: 0 5px 0 #124A53;
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
}
.botao:hover { background: #1A606B; }
.botao:active { transform: translateY(4px); box-shadow: 0 1px 0 #124A53; }
.botao:focus-visible, summary:focus-visible { outline: 3px solid var(--mostarda); outline-offset: 3px; }
.botao.largo { width: 100%; }
.nota { font-size: 15.5px; color: var(--suave); margin-top: 18px; }

/* Hero */
.hero { padding: 26px 0 40px; }
.hero-in { display: grid; gap: 36px; }
.etiqueta { font-weight: 800; font-size: 15px; color: var(--pet); }
.hero h1 { font-size: clamp(40px, 11.4vw, 76px); margin: 14px 0 20px; line-height: 1.04; text-wrap: pretty; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--mostarda) 62%, var(--mostarda) 92%, transparent 92%); padding: 0 2px; }
.lead { font-size: 19.5px; line-height: 1.5; max-width: 34em; margin-bottom: 26px; }
.hero .botao { width: 100%; }
.hero-tela { display: flex; justify-content: center; padding: 8px 0 0; position: relative; }
.hero-tela::before { content: ""; position: absolute; left: 50%; top: 14%; bottom: -3%; width: min(100%, 420px); transform: translateX(-50%); background: var(--mostarda-claro); border-radius: 28px; }
.hero-tela .celular { position: relative; margin-top: 0; }

/* Moldura de celular */
.celular {
  --w: 260px; width: var(--w); flex: none; position: relative;
  background: var(--tinta); border-radius: calc(var(--w) * .15); padding: calc(var(--w) * .035);
  box-shadow: 0 2px 0 #3a4749 inset, 0 26px 40px -18px rgba(31, 42, 44, .5), 0 4px 10px rgba(31, 42, 44, .12);
}
.celular img { border-radius: calc(var(--w) * .12); width: 100%; background: var(--fundo); }
.celular::before { content: ""; position: absolute; top: calc(var(--w) * .052); left: 50%; width: 24%; height: calc(var(--w) * .03); margin-left: -12%; border-radius: 99px; background: var(--tinta); z-index: 1; }
.celular.grande { --w: min(76vw, 300px); }

/* Problemas */
.problemas { background: var(--tijolo-claro); color: var(--tinta); padding: 64px 0 72px; }
.problemas h2 { font-size: clamp(32px, 8vw, 52px); margin-bottom: 30px; }
.lista-problemas { list-style: none; margin: 0; padding: 0; counter-reset: p; border-top: 3px solid var(--tinta); }
.lista-problemas li {
  counter-increment: p; position: relative; padding: 24px 0 24px 58px; border-bottom: 1px solid rgba(31, 42, 44, .28);
  font: 500 clamp(21px, 5.3vw, 27px)/1.32 var(--serifa); letter-spacing: -.005em;
}
.lista-problemas li::before { content: counter(p); position: absolute; left: 0; top: 18px; font: 600 44px/1 var(--serifa); color: var(--tijolo); }
.fecho { margin-top: 36px; font: 500 clamp(22px, 5.6vw, 30px)/1.3 var(--serifa); max-width: 26em; }
.fecho strong { font-weight: 600; background: var(--mostarda); color: var(--tinta); padding: 1px 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Virada */
.virada { background: var(--pet); color: #fff; padding: 56px 0 60px; }
.virada h2 { font-size: clamp(32px, 8.4vw, 56px); margin-bottom: 18px; }
.virada p { font-size: 20px; line-height: 1.5; max-width: 32em; color: #EAF5F5; }

/* O que resolve */
.resolve { padding: 72px 0 24px; }
.titulo-secao { font-size: clamp(32px, 8vw, 52px); margin-bottom: 40px; }
.item { display: grid; gap: 26px; margin-bottom: 64px; align-items: center; }
.item-tela { display: flex; justify-content: center; padding: 28px 0 0; border-radius: 26px; background: var(--c-fundo, var(--mostarda-claro)); overflow: hidden; }
.item-tela .celular { margin-bottom: -60px; }
.item-texto { max-width: 30em; }
.rotulo { display: inline-block; font-weight: 800; font-size: 15px; color: var(--c-tom, var(--tijolo)); background: var(--c-fundo, var(--mostarda-claro)); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.item h3 { font-size: clamp(26px, 6.6vw, 36px); margin-bottom: 14px; }
.item-texto p:last-child { font-size: 18.5px; }
.c1 { --c-fundo: var(--mostarda-claro); --c-tom: #8A5A00; }
.c2 { --c-fundo: var(--pet-claro); --c-tom: var(--pet-fundo); }
.c3 { --c-fundo: var(--tijolo-claro); --c-tom: #9B3C18; }
.c4 { --c-fundo: var(--mostarda-claro); --c-tom: #8A5A00; }
.c5 { --c-fundo: var(--pet-claro); --c-tom: var(--pet-fundo); }
.c6 { --c-fundo: var(--tijolo-claro); --c-tom: #9B3C18; }
.c7 { --c-fundo: var(--mostarda-claro); --c-tom: #8A5A00; }

/* Como começar */
.comeco { padding: 24px 0 72px; }
.passos { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.passos li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: start; padding: 22px 0; border-top: 2px solid var(--tinta); font-size: 20px; line-height: 1.45; }
.passos li::before { content: counter(s); font: 600 54px/.95 var(--serifa); color: var(--tijolo); }
.passos li:last-child { border-bottom: 2px solid var(--tinta); }

/* Adventista e igreja */
.igreja { background: var(--mostarda-claro); padding: 64px 0; }
.igreja-in { display: grid; gap: 48px; }
.igreja h2 { font-size: clamp(28px, 7vw, 42px); margin-bottom: 16px; }
.igreja p { font-size: 19px; max-width: 32em; }
.destaque { font-family: var(--serifa); font-weight: 600; font-size: 1.12em; color: var(--tijolo); }

/* Segurança */
.seguranca { padding: 68px 0 20px; }
.seguranca h2 { font-size: clamp(28px, 7vw, 42px); margin-bottom: 26px; max-width: 18em; }
.seguranca ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.seguranca li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: 19.5px; font-weight: 600; }
.seguranca svg { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--pet); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.quem-fez { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--linha); color: var(--suave); font-size: 17px; }

/* Perguntas */
.faq { padding: 44px 0 72px; }
.faq h2 { font-size: clamp(28px, 7vw, 42px); margin-bottom: 22px; }
.faq-lista { border-top: 2px solid var(--tinta); }
details { border-bottom: 1px solid var(--linha); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 21px/1.3 var(--serifa); min-height: 64px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 3px solid var(--pet); border-bottom: 3px solid var(--pet); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details p { padding: 0 0 22px; max-width: 34em; font-size: 18.5px; animation: abre .22s ease both; }
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } }

/* Final */
.final { background: var(--pet-fundo); color: #fff; padding: 64px 0 76px; }
.final h2 { font-size: clamp(32px, 8.4vw, 58px); max-width: 15em; margin-bottom: 30px; }
.final .botao { background: var(--mostarda); color: #2b1c05; box-shadow: 0 5px 0 #A87812; width: 100%; }
.final .botao:hover { background: #EDB94B; }
.final .botao:active { box-shadow: 0 1px 0 #A87812; }
.final .botao:focus-visible { outline-color: #fff; }
.final .nota { color: #CFE3E5; }
.rodape { padding: 26px 0 30px; background: var(--fundo); }

/* Barra fixa (celular) */
.barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--cartao); border-top: 1px solid var(--linha); box-shadow: 0 -8px 24px rgba(31, 42, 44, .1);
  transform: translateY(110%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s;
}
.barra.ligada { transform: none; visibility: visible; transition: transform .28s ease; }
.barra .botao { min-height: 56px; }

/* Computador */
@media (min-width: 560px) {
  .hero .botao, .final .botao { width: auto; }
}
@media (min-width: 900px) {
  body { font-size: 19px; }
  .miolo { padding: 0 32px; }
  .hero { padding: 48px 0 84px; }
  .hero-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .hero h1 { margin-top: 18px; }
  .hero-tela::before { top: 8%; bottom: -6%; width: 420px; }
  .celular.grande { --w: 310px; }
  .problemas { padding: 92px 0 100px; }
  .problemas-in { display: grid; grid-template-columns: 5fr 7fr; column-gap: 72px; align-items: start; }
  .problemas h2 { grid-column: 1; position: sticky; top: 32px; margin: 0; }
  .lista-problemas { grid-column: 2; grid-row: 1 / span 2; }
  .fecho { grid-column: 1; grid-row: 2; margin-top: 28px; align-self: start; }
  .virada { padding: 84px 0; }
  .resolve { padding-top: 104px; }
  .titulo-secao { margin-bottom: 64px; }
  .item { grid-template-columns: 1fr 1fr; gap: 72px; margin-bottom: 96px; }
  .item:nth-of-type(even) .item-tela { order: 2; }
  .item-tela { padding-top: 40px; }
  .item-texto { justify-self: start; }
  .item:nth-of-type(even) .item-texto { justify-self: end; }
  .item-texto p:last-child { font-size: 20px; }
  .comeco { padding-bottom: 104px; }
  .passos { grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
  .passos li { grid-template-columns: 1fr; border-bottom: 2px solid var(--tinta); gap: 14px; padding: 26px 0 30px; }
  .passos li:last-child { border-bottom: 2px solid var(--tinta); }
  .passos li::before { font-size: 72px; }
  .igreja { padding: 92px 0; }
  .igreja-in { grid-template-columns: 1fr 1fr; gap: 80px; }
  .seguranca { padding-top: 96px; }
  .seguranca ul { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .seguranca li { grid-template-columns: 1fr; gap: 12px; }
  .faq { padding: 64px 0 104px; }
  .faq-in { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; align-items: start; }
  .faq h2 { margin: 0; }
  .final { padding: 100px 0 112px; }
  .barra { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
