/* Página de vendas do Preço Certo — confeitaria: framboesa, chocolate, baunilha, morango e menta. */
@font-face { font-family: 'Nunito'; font-weight: 400; font-display: swap; src: url(app/fonts/nunito-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-display: swap; src: url(app/fonts/nunito-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-display: swap; src: url(app/fonts/nunito-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 600; font-display: swap; src: url(app/fonts/fraunces-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 700; font-display: swap; src: url(app/fonts/fraunces-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 600; font-display: swap; src: url(app/fonts/fraunces-latin-600-italic.woff2) format('woff2'); }

:root {
  --framboesa: #b83d6a;
  --framboesa-escura: #8f2a50;
  --morango: #e2304d;
  --rosa: #fbe4ec;
  --rosa-2: #f6c6d6;
  --chocolate: #4a2c21;
  --chocolate-2: #6e4535;
  --cacau: #2e180f;
  --baunilha: #fff7ef;
  --baunilha-2: #fdebd3;
  --caramelo: #d98e3a;
  --menta: #2f7d68;
  --menta-claro: #dcf2ea;
  --titulo: 'Fraunces', Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--baunilha); color: var(--chocolate); font: 17px/1.55 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.08; margin: 0; letter-spacing: -.015em; }
em.doce { font-style: italic; color: var(--framboesa); font-weight: 600; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sec { padding: 72px 0; position: relative; }
.kicker { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--framboesa); margin: 0 0 10px; }
.sec h2 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--chocolate-2); }
.doce-svg { display: block; }

/* Botões */
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  background: linear-gradient(180deg, #cf4f7e, var(--framboesa)); color: #fff; font-weight: 800; font-size: 1.1rem;
  padding: 16px 30px; border-radius: 999px; box-shadow: 0 10px 24px rgb(184 61 106 / .35), inset 0 -3px 0 rgb(0 0 0 / .12);
  transition: transform .15s, box-shadow .15s;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgb(184 61 106 / .4), inset 0 -3px 0 rgb(0 0 0 / .12); }
.cta.big { width: 100%; font-size: 1.2rem; padding: 18px 24px; }
.cta-note { font-size: .92rem; color: var(--chocolate-2); margin: 12px 0 0; }

/* Topo */
.hero {
  position: relative; overflow: hidden; padding: 28px 0 90px;
  background:
    radial-gradient(circle at 12% 18%, rgb(255 255 255 / .7) 0 2px, transparent 3px) 0 0 / 46px 46px,
    radial-gradient(1200px 600px at 85% -10%, #ffd9e6 0%, transparent 60%),
    linear-gradient(180deg, #fff0f5 0%, var(--baunilha) 100%);
}
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.25rem var(--titulo); color: var(--framboesa-escura); }
.brand img { border-radius: 10px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin-top: 34px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--rosa-2); color: var(--framboesa); font-weight: 800; border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.hero h1 { font-size: clamp(2.3rem, 6.4vw, 4rem); margin: 18px 0 18px; color: var(--cacau); }
.hero h1 em { font-style: italic; color: var(--framboesa); font-weight: 600; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .22em; background: var(--rosa-2); z-index: -1; border-radius: 99px; }
.hero .lead { max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.selos { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 22px 0 0; padding: 0; list-style: none; font-weight: 700; color: var(--chocolate-2); font-size: .95rem; }
.selos li::before { content: '✓'; color: var(--menta); font-weight: 900; margin-right: 6px; }
.hero-visual { position: relative; justify-self: center; width: min(360px, 82vw); }
.phone {
  position: relative; z-index: 2; margin: 0; border-radius: 40px; padding: 10px; background: var(--cacau);
  box-shadow: 0 30px 60px rgb(74 44 33 / .28), 0 0 0 2px #5b3a2c inset;
}
.phone img { border-radius: 31px; }
.phone.sm { width: min(300px, 78vw); margin-inline: auto; }
.sticker {
  position: absolute; z-index: 3; background: #fff; border-radius: 18px; padding: 10px 14px; font-weight: 800;
  box-shadow: 0 12px 28px rgb(74 44 33 / .18); display: grid; line-height: 1.2;
}
.sticker small { font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--chocolate-2); }
.sticker strong { font: 700 1.5rem var(--titulo); }
.sticker.custo { left: -58px; top: 22%; transform: rotate(-6deg); }
.sticker.preco { right: -48px; top: 52%; transform: rotate(5deg); background: var(--framboesa); color: #fff; }
.sticker.preco small { color: #ffd6e4; }
.deco { position: absolute; z-index: 1; filter: drop-shadow(0 12px 16px rgb(74 44 33 / .22)); }
.deco.brig1 { width: 120px; left: -96px; bottom: 24px; transform: rotate(-8deg); }
.deco.cup { width: 132px; right: -84px; top: -18px; transform: rotate(9deg); }
.deco.mor { width: 64px; right: -30px; bottom: -10px; transform: rotate(-14deg); }

/* Calda de chocolate entre seções */
.calda { display: block; width: 100%; height: 70px; margin-top: -1px; }
.calda.cima { transform: scaleY(-1); margin: 0 0 -1px; }
.chocolate { background: var(--chocolate); color: #fdeee6; }
.chocolate .kicker { color: #ffb3cc; }
.chocolate h2 { color: #fff; }
.chocolate .lead { color: #f3d8cc; }

/* A dor */
.dor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.dores { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.dores li { display: flex; gap: 12px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); border-radius: 16px; padding: 14px 16px; }
.dores li b { flex: none; font-size: 1.3rem; }
.nota {
  background: #fffdf8; color: var(--chocolate); border-radius: 6px; padding: 26px 24px 30px; transform: rotate(1.5deg);
  box-shadow: 0 24px 50px rgb(0 0 0 / .35); font-family: 'Courier New', ui-monospace, monospace; font-size: .98rem; position: relative;
  -webkit-mask: radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) -10px 100% / 20px 100% repeat-x;
  mask: radial-gradient(circle at 10px 100%, transparent 7px, #000 7.5px) -10px 100% / 20px 100% repeat-x;
}
.nota h3 { font: 700 1.2rem var(--titulo); margin-bottom: 4px; text-align: center; }
.nota p.sub { text-align: center; margin: 0 0 14px; font-size: .85rem; color: var(--chocolate-2); }
.nota dl { margin: 0; display: grid; gap: 4px; }
.nota dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted #d7c4b8; padding-bottom: 3px; }
.nota dd { margin: 0; font-weight: 700; white-space: nowrap; }
.nota .esquecido { color: var(--morango); }
.nota .esquecido dt::after { content: ' ← esquecido'; font-size: .78rem; font-weight: 700; }
.nota .tot { border: 0; font-weight: 800; font-size: 1.08rem; margin-top: 6px; }
.comparativo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; font-family: 'Nunito', sans-serif; }
.comparativo div { border-radius: 14px; padding: 10px 12px; text-align: center; }
.comparativo small { display: block; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.comparativo strong { font: 700 1.5rem var(--titulo); }
.comparativo .chute { background: #fde3df; color: #a3271a; }
.comparativo .certo { background: var(--menta-claro); color: var(--menta); }
.punch { font: italic 600 clamp(1.3rem, 3.6vw, 1.8rem)/1.3 var(--titulo); margin: 34px 0 0; color: #fff; text-align: center; }
.punch strong { color: #ffb3cc; font-style: normal; }

/* Simulador */
.simulador {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 60px rgb(74 44 33 / .14); border: 1.5px solid var(--rosa-2); margin-top: 26px; text-align: left;
}
.sim-campos { padding: 26px; display: grid; gap: 14px; }
.sim-campos label { display: grid; gap: 6px; font-weight: 800; font-size: .92rem; }
.sim-campos small { font-weight: 600; color: var(--chocolate-2); }
.sim-input { display: flex; align-items: center; border: 1.5px solid var(--rosa-2); border-radius: 14px; background: var(--baunilha); padding: 0 12px; }
.sim-input:focus-within { border-color: var(--framboesa); box-shadow: 0 0 0 3px rgb(184 61 106 / .15); }
.sim-input span { color: var(--chocolate-2); font-weight: 700; font-size: .9rem; }
.sim-input input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 8px; font: 700 1.1rem 'Nunito', sans-serif; color: var(--chocolate); outline: none; text-align: right; }
.sim-res {
  padding: 26px; display: grid; align-content: center; gap: 12px; color: #fff;
  background: radial-gradient(circle at 80% 10%, #d65a88, var(--framboesa) 45%, var(--framboesa-escura));
}
.sim-res small { font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: #ffd6e4; }
.sim-res .grande { font: 700 clamp(2.6rem, 8vw, 3.6rem)/1 var(--titulo); }
.sim-res .linha { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid rgb(255 255 255 / .2); padding-top: 10px; font-weight: 700; }
.sim-res p { margin: 0; font-size: .92rem; color: #ffe3ec; }

/* Recursos */
.feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; margin-top: 64px; }
.feature.rev { grid-template-columns: 1.15fr .85fr; }
.feature.rev > :first-child { order: 2; }
.feature h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 12px; }
.feature p { margin: 0 0 10px; color: var(--chocolate-2); }
.feature ul { padding-left: 0; list-style: none; margin: 14px 0 0; display: grid; gap: 8px; }
.feature li { display: flex; gap: 10px; font-weight: 700; }
.feature li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--rosa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b83d6a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.paper { margin: 0; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 24px 50px rgb(74 44 33 / .18); transform: rotate(-2deg); }
.paper img { border-radius: 6px; }

.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 56px 0 0; padding: 0; list-style: none; }
.extras li { background: #fff; border: 1.5px solid var(--rosa-2); border-radius: 22px; padding: 18px; display: grid; gap: 4px; }
.extras b { font-size: 1.6rem; }
.extras strong { font-size: 1.05rem; }
.extras span { color: var(--chocolate-2); font-size: .93rem; }

/* Passos */
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 30px 0 0; counter-reset: p; }
.passos li { background: #fff; border-radius: 24px; padding: 24px 20px; position: relative; box-shadow: 0 10px 30px rgb(74 44 33 / .08); counter-increment: p; text-align: left; }
.passos li::before { content: counter(p); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rosa); color: var(--framboesa); font: 700 1.4rem var(--titulo); margin-bottom: 12px; }
.passos strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.passos span { color: var(--chocolate-2); }

/* Oferta */
.oferta { background: linear-gradient(180deg, var(--baunilha) 0%, #ffe9f0 100%); }
.price-card { background: #fff; border-radius: 30px; padding: 30px 26px; box-shadow: 0 30px 60px rgb(184 61 106 / .18); border: 2px solid var(--rosa-2); position: relative; margin-top: 26px; text-align: left; }
.price-card .deco-oferta { position: absolute; width: 96px; right: -20px; top: -56px; transform: rotate(10deg); filter: drop-shadow(0 10px 14px rgb(74 44 33 / .25)); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-weight: 700; }
.ticks li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--menta-claro); color: var(--menta); font-weight: 900; font-size: .85rem; }
.price { text-align: center; padding: 18px 0 20px; border-top: 2px dashed var(--rosa-2); }
.price small { display: block; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--chocolate-2); }
.price strong { font: 700 4rem/1.05 var(--titulo); color: var(--framboesa); }
.price .cur { font-size: 1.6rem; vertical-align: .9em; margin-right: 4px; }
.installments { display: block; color: var(--chocolate-2); font-weight: 700; }
.badge { display: inline-block; margin-top: 8px; background: var(--menta-claro); color: var(--menta); font-weight: 800; border-radius: 999px; padding: 4px 12px; font-size: .88rem; }
.guarantee { display: flex; align-items: center; gap: 18px; margin-top: 22px; background: #fff; border-radius: 22px; padding: 16px 20px; border: 1.5px dashed var(--caramelo); text-align: left; }
.guarantee p { margin: 0; }
.seal { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--caramelo); color: #fff; display: grid; place-items: center; align-content: center; font: 700 1.9rem/1 var(--titulo); box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--caramelo); }
.seal small { font: 800 .7rem 'Nunito', sans-serif; text-transform: uppercase; letter-spacing: .08em; }

/* Depoimentos */
.depo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 20px; text-align: left; }
.depo { background: #fff; border-radius: 22px; padding: 20px; margin: 0; box-shadow: 0 10px 30px rgb(74 44 33 / .08); }
.depo blockquote { margin: 0 0 10px; font-style: italic; }
.depo figcaption { font-weight: 800; }
.depo figcaption small { display: block; font-weight: 600; color: var(--chocolate-2); }
.depo img { border-radius: 12px; margin-bottom: 12px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 20px; text-align: left; }
.faq details { background: #fff; border-radius: 18px; padding: 4px 20px; border: 1.5px solid var(--rosa-2); }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 700 1.4rem/1 var(--titulo); color: var(--framboesa); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 16px; color: var(--chocolate-2); }

/* Final */
.final { text-align: center; overflow: hidden; }
.final .doces-linha { display: flex; justify-content: center; align-items: flex-end; gap: 14px; margin: 0 auto 22px; }
.final .doces-linha svg { filter: drop-shadow(0 10px 12px rgb(74 44 33 / .22)); }
.final h2 { max-width: 16em; margin-inline: auto; }

.footer { background: var(--cacau); color: #e9d3c7; padding: 34px 0 calc(100px + env(safe-area-inset-bottom)); font-size: .92rem; }
.footer a { color: #ffc2d6; }
.footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer .small { color: #bfa294; font-size: .82rem; }

.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: none;
  align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: 22px; padding: 10px 10px 10px 18px;
  box-shadow: 0 14px 40px rgb(74 44 33 / .25); border: 1.5px solid var(--rosa-2); transform: translateY(140%); transition: transform .25s;
}
.sticky-cta.show { transform: none; }
.sticky-cta div { display: grid; line-height: 1.15; }
.sticky-cta strong { font: 700 1.25rem var(--titulo); color: var(--framboesa); }
.sticky-cta small { color: var(--chocolate-2); font-weight: 700; }
.sticky-cta .cta { padding: 12px 20px; font-size: 1rem; }

@media (max-width: 860px) {
  .hero-grid, .dor-grid, .feature, .feature.rev, .simulador { grid-template-columns: 1fr; }
  .feature.rev > :first-child { order: 0; }
  .hero { padding-bottom: 70px; }
  .hero-visual { margin-top: 16px; }
  .extras, .passos { grid-template-columns: 1fr; }
  .feature { gap: 26px; margin-top: 52px; }
  .sticky-cta { display: flex; }
  .sec { padding: 56px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .sticker.custo { left: -14px; top: 14%; }
  .sticker.preco { right: -10px; }
  .deco.brig1 { left: -30px; bottom: -14px; width: 92px; }
  .deco.cup { right: -26px; top: -30px; width: 96px; }
  .deco.mor { display: none; }
  .extras { grid-template-columns: 1fr 1fr; }
  .extras li { padding: 14px; }
  .sim-campos, .sim-res { padding: 20px; }
  .price-card { padding: 24px 18px; }
  .price-card .deco-oferta { width: 74px; right: -8px; top: -46px; }
  .nota { font-size: .86rem; padding: 22px 16px 26px; }
  .nota .esquecido dt::after { content: ' ←'; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
