/* Look Certo · página de vendas e checkout (celular primeiro) */
:root {
  --bg: #FBF7F2; --card: #FFFFFF; --ink: #1F2A2A; --muted: #5E6968; --line: #E6DDD2; --sand: #F2EBE2;
  --petrol: #0F5257; --petrol-2: #0A3D41; --coral: #E07A5F; --coral-2: #C9603F; --coral-ink: #A8452B; --coral-soft: #FCEDE6;
  --ok: #1E7B4F; --serif: "Fraunces", Georgia, serif; --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.travado { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: var(--petrol); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }

.pagina { max-width: 520px; margin: 0 auto; padding: 18px 18px 26px; }
.marca { display: flex; justify-content: center; margin-bottom: 14px; }
.logo { font: 700 24px/1 var(--serif); color: var(--ink); display: inline-flex; align-items: center; white-space: nowrap; }
.logo em { font-style: italic; font-weight: 600; color: var(--petrol); margin-right: 6px; }
.logo svg { width: 22px; height: 22px; color: var(--coral); margin-left: 3px; }
.logo-p { font-size: 17px; }

.titulo { font: 600 31px/1.12 var(--serif); text-align: center; letter-spacing: -.015em; }
.titulo em { display: block; font-style: italic; color: var(--petrol); }
.subtitulo { text-align: center; color: var(--muted); font-weight: 700; margin: 10px auto 18px; max-width: 400px; font-size: 16.5px; }

/* ---------- VSL ---------- */
.vsl-caixa {
  position: relative; width: 100%; max-width: 360px; margin: 0 auto; aspect-ratio: 9 / 16;
  border-radius: 26px; overflow: hidden; background: #0B1111;
  box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 22px 50px rgba(15,82,87,.22);
}
.vsl-player, .vsl-player iframe, .vsl-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vsl-capa { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; }
.vsl-capa img { width: 100%; height: 100%; object-fit: cover; }
.vsl-play {
  position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(224,122,95,.28), 0 10px 30px rgba(0,0,0,.3); animation: pulso 1.8s ease-in-out infinite;
}
.vsl-play svg { width: 40px; height: 40px; margin-left: 5px; }
.vsl-som {
  position: absolute; left: 50%; top: calc(50% + 66px); transform: translateX(-50%); white-space: nowrap;
  background: rgba(0,0,0,.55); color: #fff; font-weight: 800; font-size: 14.5px; padding: 8px 14px; border-radius: 999px;
}
.vsl-pausa { position: absolute; inset: 0; z-index: 3; border: 0; background: transparent; cursor: pointer; }
.vsl.parado .vsl-pausa::after {
  content: "▶"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff; font-size: 30px; display: grid; place-items: center; padding-left: 6px;
}
@keyframes pulso { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.07); } }

/* ---------- depois do preço ---------- */
.depois { margin-top: 22px; animation: entrar .5s ease-out; }
@keyframes entrar { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cta {
  width: 100%; min-height: 64px; border: 0; border-radius: 18px; cursor: pointer;
  background: linear-gradient(180deg, #E88A6F, var(--coral) 55%, var(--coral-2)); color: #fff;
  font: 900 19px/1.1 var(--sans); letter-spacing: .02em; box-shadow: 0 10px 24px rgba(224,122,95,.42), inset 0 -3px 0 rgba(0,0,0,.12);
  animation: chama 2.4s ease-in-out infinite;
}
.cta:active { transform: scale(.985); }
@keyframes chama { 0%, 100% { box-shadow: 0 10px 24px rgba(224,122,95,.42), inset 0 -3px 0 rgba(0,0,0,.12); } 50% { box-shadow: 0 10px 34px rgba(224,122,95,.7), inset 0 -3px 0 rgba(0,0,0,.12); } }
.cta-sob { text-align: center; color: var(--muted); font-weight: 700; font-size: 15px; margin: 10px 0 0; }
.cta-sob b { color: var(--ink); }
.selos { list-style: none; padding: 0; margin: 16px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-weight: 700; font-size: 14px; }
.selos li { display: inline-flex; align-items: center; gap: 6px; }
.selos svg { width: 19px; height: 19px; color: var(--petrol); }

.depois h2 { font: 600 24px/1.2 var(--serif); letter-spacing: -.01em; margin-bottom: 14px; }
.dentro { margin: 34px -18px 0; }
.dentro h2 { padding: 0 18px; }
.trilho { display: flex; gap: 10px; overflow-x: auto; padding: 0 18px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trilho::-webkit-scrollbar { display: none; }
.trilho figure { margin: 0; flex: none; width: 140px; scroll-snap-align: start; }
.trilho img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: var(--sand); }
.trilho figcaption { font-weight: 800; font-size: 14px; margin-top: 6px; }

.recebe { margin-top: 30px; background: var(--card); border-radius: 22px; padding: 22px 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 26px rgba(15,82,87,.07); }
.recebe ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.recebe li { padding-left: 34px; position: relative; font-size: 16.5px; }
.recebe li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--coral-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23A8452B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.garantia { margin-top: 18px; display: flex; gap: 14px; align-items: flex-start; background: var(--petrol); color: #fff; border-radius: 22px; padding: 20px; }
.garantia svg { width: 46px; height: 46px; flex: none; color: #F6C6B6; }
.garantia h2 { color: #fff; margin-bottom: 6px; font-size: 21px; }
.garantia p { opacity: .92; font-size: 16px; }
.perguntas { margin: 30px 0 26px; }
.perguntas details { background: var(--card); border-radius: 16px; margin-bottom: 10px; border: 1px solid var(--line); }
.perguntas summary { cursor: pointer; padding: 16px 44px 16px 16px; font-weight: 800; list-style: none; position: relative; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--coral); font-weight: 700; }
.perguntas details[open] summary::after { content: "–"; }
.perguntas details p { padding: 0 16px 16px; color: var(--muted); font-weight: 600; }

.rodape { margin-top: 34px; text-align: center; color: var(--muted); font-size: 13.5px; display: grid; gap: 6px; }
.rodape a { color: var(--muted); }
.aviso-meta { font-size: 12px; opacity: .8; }

/* ---------- camada (checkout / saída) ---------- */
.camada { position: fixed; inset: 0; z-index: 50; background: rgba(12,24,24,.58); display: flex; align-items: flex-end; justify-content: center; }
.folha {
  width: 100%; max-width: 520px; max-height: 94vh; max-height: 94dvh; overflow-y: auto; background: var(--bg);
  border-radius: 26px 26px 0 0; padding: 0 0 calc(22px + var(--safe-b)); animation: subir .32s cubic-bezier(.2,.8,.2,1);
  overscroll-behavior: contain;
}
@keyframes subir { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.folha-topo {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.folha-topo .produto { flex: 1; min-width: 0; }
.folha-topo b { display: block; font: 600 18px/1.2 var(--serif); }
.folha-topo small { color: var(--muted); font-weight: 700; font-size: 13.5px; }
.folha-topo .preco { font: 900 22px/1 var(--sans); color: var(--petrol); white-space: nowrap; }
.fechar { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sand); cursor: pointer; display: grid; place-items: center; flex: none; }
.fechar svg { width: 20px; height: 20px; }
.voltar-passo { background: none; border: 0; color: var(--petrol); font-weight: 800; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; }
.passos { display: flex; gap: 6px; padding: 12px 16px 0; }
.passos span { flex: 1; height: 5px; border-radius: 9px; background: var(--line); }
.passos span.on { background: var(--petrol); }
.corpo { padding: 16px 18px 6px; display: grid; gap: 16px; }
.corpo h3 { font: 600 23px/1.2 var(--serif); }
.corpo .lead { color: var(--muted); font-weight: 600; margin-top: -8px; }
.campo { display: grid; gap: 7px; }
.campo span { font-weight: 800; font-size: 15.5px; }
.campo input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 15px; background: var(--card); padding: 15px 16px;
  font: 700 17px/1.3 var(--sans); color: var(--ink);
}
.campo input:focus { outline: 0; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(15,82,87,.1); }
.campo.erro input { border-color: var(--coral-2); }
.msg-erro { color: var(--coral-ink); background: var(--coral-soft); border-radius: 12px; padding: 11px 13px; font-weight: 700; font-size: 15px; }
.btn {
  width: 100%; min-height: 58px; border: 0; border-radius: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 900 17px/1.1 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center;
}
.btn:disabled { opacity: .6; cursor: wait; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(224,122,95,.35); }
.btn-petroleo { background: var(--petrol); color: #fff; }
.btn-linha { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-link { background: none; color: var(--petrol); min-height: 44px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.nota-segura { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: 13.5px; font-weight: 700; text-align: center; }
.nota-segura svg { width: 16px; height: 16px; flex: none; }

.metodos { display: grid; gap: 12px; }
.metodo {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 18px; cursor: pointer; text-align: left;
  border: 2px solid var(--line); background: var(--card);
}
.metodo:hover { border-color: var(--petrol); }
.metodo .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--sand); color: var(--petrol); }
.metodo .ico svg { width: 26px; height: 26px; }
.metodo b { display: block; font: 900 17px/1.2 var(--sans); }
.metodo small { color: var(--muted); font-weight: 700; font-size: 14px; }
.metodo .tag { margin-left: auto; background: #E3F2EA; color: var(--ok); font-weight: 900; font-size: 12px; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }

.pix-caixa { background: var(--card); border-radius: 20px; padding: 18px; display: grid; gap: 14px; justify-items: center; border: 1px solid var(--line); }
.pix-qr { width: 210px; height: 210px; image-rendering: pixelated; border-radius: 10px; }
.pix-codigo { width: 100%; border: 1.5px dashed var(--line); border-radius: 12px; padding: 10px 12px; font: 600 12.5px/1.4 ui-monospace, Consolas, monospace; color: var(--muted); word-break: break-all; max-height: 64px; overflow: hidden; background: var(--sand); }
.pix-passos { width: 100%; margin: 0; padding-left: 22px; color: var(--ink); font-weight: 700; font-size: 15.5px; display: grid; gap: 4px; }
.pix-tempo { font-weight: 800; color: var(--coral-ink); font-size: 15px; }
.pix-recebedor { width: 100%; background: var(--sand); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; font-weight: 700; color: var(--muted); }
.pix-recebedor b { color: var(--ink); }
.aguardando { display: flex; align-items: center; gap: 10px; justify-content: center; font-weight: 800; color: var(--petrol); }
.giro { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(15,82,87,.2); border-top-color: var(--petrol); animation: girar .9s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.carregando { display: grid; place-items: center; gap: 12px; padding: 40px 0; font-weight: 800; color: var(--petrol); }
.carregando .giro { width: 34px; height: 34px; border-width: 4px; }
#brick-cartao { min-height: 120px; }

.saida { width: 100%; max-width: 520px; background: var(--card); border-radius: 26px 26px 0 0; padding: 26px 22px calc(22px + var(--safe-b)); display: grid; gap: 14px; text-align: center; animation: subir .32s cubic-bezier(.2,.8,.2,1); }
.saida h3 { font: 600 26px/1.15 var(--serif); }
.saida p { color: var(--muted); font-weight: 600; }
.saida .mini-looks { display: flex; justify-content: center; gap: 8px; }
.saida .mini-looks img { width: 30%; aspect-ratio: 9/16; object-fit: cover; border-radius: 14px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-b)); z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; font-weight: 800; font-size: 15px; transition: opacity .25s, transform .25s; max-width: 90vw; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- página de acesso ---------- */
.acesso { text-align: center; display: grid; gap: 16px; padding-top: 10px; }
.acesso .selo-ok { width: 74px; height: 74px; border-radius: 50%; margin: 6px auto 0; background: #E3F2EA; color: var(--ok); display: grid; place-items: center; }
.acesso .selo-ok svg { width: 40px; height: 40px; }
.acesso h1 { font: 600 30px/1.15 var(--serif); }
.acesso .lead { color: var(--muted); font-weight: 700; }
.acesso .caixa { background: var(--card); border-radius: 22px; padding: 20px 18px; text-align: left; display: grid; gap: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 26px rgba(15,82,87,.07); }
.acesso .caixa h2 { font: 600 20px/1.2 var(--serif); }
.acesso .caixa p { color: var(--muted); font-weight: 600; font-size: 15.5px; }
.link-copiar { display: flex; gap: 8px; }
.link-copiar input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: 13px; padding: 12px; font: 600 13.5px var(--sans); background: var(--sand); color: var(--ink); }
.link-copiar .btn { width: auto; min-height: 48px; padding: 0 16px; font-size: 15px; }

.legal { max-width: 640px; }
.legal h1 { font: 600 28px/1.2 var(--serif); margin: 10px 0 16px; }
.legal h2 { font: 600 19px/1.3 var(--serif); margin: 22px 0 8px; }
.legal p, .legal li { color: var(--muted); font-weight: 600; font-size: 15.5px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
