/* Conta da Encomenda — página inicial (index.html). Sem dependências externas.
   Paleta de 01-marca/paleta.json. As outras páginas continuam usando style.css. */
@font-face { font-family: "Vera"; src: url("fontes/Vera.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vera"; src: url("fontes/VeraBd.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --verde: #174C42; --verde-2: #1F6355; --verde-suave: #E9F1ED;
  --creme: #FFF8ED; --creme-2: #F6EBD8; --barro: #A4412B; --barro-2: #7E3322;
  --tinta: #183A33; --tinta-2: #4A6B63; --ouro: #E8B04B;
  --raio: 20px; --sombra: 0 18px 50px -20px rgba(24,58,51,.35);
  --fonte: "Vera", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--fonte); font-size: 17px; line-height: 1.6; color: var(--tinta); background: var(--creme); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--barro-2); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 6vw, 44px); }
p { margin: 0 0 14px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--barro); margin-bottom: 12px; }
section { padding: 72px 0; position: relative; }
.sub { color: var(--tinta-2); font-size: 18px; max-width: 640px; }
.centro { text-align: center; } .centro .sub { margin-left: auto; margin-right: auto; }

/* ---------- botões ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--barro); color: #fff; font-weight: 700; font-size: 18px; padding: 17px 30px; border-radius: 999px; text-decoration: none; min-height: 56px; box-shadow: 0 12px 30px -10px rgba(164,65,43,.7); transition: transform .2s, box-shadow .2s, background .2s; overflow: hidden; }
.btn:hover, .btn:focus-visible { background: var(--barro-2); transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(164,65,43,.8); color: #fff; }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: brilho 4.5s infinite; }
@keyframes brilho { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn .seta { transition: transform .2s; } .btn:hover .seta { transform: translateX(4px); }
.btn-ghost { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid rgba(255,255,255,.55); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .2s; }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- topo ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 12px 0; transition: background .3s, box-shadow .3s, padding .3s; }
.topo .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topo.cheio { background: rgba(23,76,66,.94); backdrop-filter: blur(10px); box-shadow: 0 8px 30px -12px rgba(0,0,0,.4); padding: 8px 0; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.marca img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,248,237,.25); }

/* ---------- hero ---------- */
.hero { padding: 120px 0 90px; color: #fff; background:
  radial-gradient(900px 500px at 85% 10%, rgba(232,176,75,.22), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(164,65,43,.35), transparent 60%),
  linear-gradient(160deg, #123C34 0%, var(--verde) 55%, #1C5A4D 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero .wrap { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 8.4vw, 62px); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #F7C77A, #F09A6E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { color: #DCE9E3; font-size: 19px; }
.hero .eyebrow { color: #F7C77A; }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 26px; }
.hero-acoes .nota { color: #CFE0D9; font-size: 15px; margin: 0; }
.selos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.selos li { font-size: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.selos b { color: #F7C77A; }

/* palco do hero: celular + doces flutuando */
.palco { position: relative; width: min(100%, 420px); margin: 0 auto; aspect-ratio: 1 / 1.08; }
.celular { position: absolute; left: 50%; top: 4%; width: 62%; height: 92%; transform: translateX(-50%) rotate(-4deg); background: #0E2621; border-radius: 34px; padding: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 2px rgba(255,255,255,.08); }
.celular .tela { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #fff; position: relative; }
.celular .tela img { width: 100%; height: 100%; object-fit: cover; object-position: top left; animation: rolar-tela 14s ease-in-out infinite alternate; }
@keyframes rolar-tela { 0%, 15% { object-position: 0 0; } 85%, 100% { object-position: 0 100%; } }
.celular::before { content: ""; position: absolute; top: 18px; left: 50%; width: 60px; height: 6px; margin-left: -30px; border-radius: 4px; background: #0E2621; z-index: 2; }
.doce { position: absolute; filter: drop-shadow(0 16px 20px rgba(0,0,0,.35)); animation: flutuar 6s ease-in-out infinite; }
.doce.bolo { width: 44%; left: -6%; bottom: -2%; }
.doce.brig { width: 28%; right: -4%; top: 2%; animation-delay: -2s; }
.doce.cox { width: 24%; right: 0; bottom: 6%; animation-delay: -4s; }
@keyframes flutuar { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(3deg); } }
.chip { position: absolute; background: #fff; color: var(--tinta); border-radius: 14px; padding: 10px 14px; font-size: 13px; line-height: 1.3; box-shadow: var(--sombra); animation: flutuar 7s ease-in-out infinite; white-space: nowrap; }
.chip b { display: block; font-size: 18px; color: var(--verde); }
.chip.c1 { left: -4%; top: 16%; animation-delay: -1s; }
.chip.c2 { right: -2%; top: 44%; animation-delay: -3s; }
.chip.c2 b { color: var(--barro); }

/* ---------- faixa de números ---------- */
.numeros { padding: 0; margin-top: -40px; z-index: 2; }
.numeros ul { list-style: none; margin: 0; padding: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); }
.numeros li { text-align: center; }
.numeros b { display: block; font-size: 34px; color: var(--verde); line-height: 1.1; }
.numeros span { font-size: 14px; color: var(--tinta-2); }

/* ---------- 4 custos ---------- */
.cards { display: grid; gap: 18px; margin-top: 36px; }
.card { background: #fff; border-radius: var(--raio); padding: 26px; box-shadow: 0 10px 30px -18px rgba(24,58,51,.35); border: 1px solid #EFE4D1; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.card .ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--verde-suave); margin-bottom: 16px; }
.card .ico svg { width: 30px; height: 30px; stroke: var(--verde); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--tinta-2); margin: 0; font-size: 16px; }
.card .num { float: right; font-size: 14px; font-weight: 700; color: var(--barro); }

/* ---------- simulador ---------- */
.simulador { background: linear-gradient(180deg, var(--creme) 0%, var(--creme-2) 100%); }
.sim { display: grid; gap: 22px; margin-top: 34px; }
.sim-painel { background: #fff; border-radius: var(--raio); padding: 24px; box-shadow: var(--sombra); }
.presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.presets button { font: inherit; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 2px solid #E6DAC5; background: var(--creme); color: var(--tinta); cursor: pointer; min-height: 44px; transition: border-color .2s, background .2s; }
.presets button img { width: 28px; height: 28px; }
.presets button[aria-pressed="true"] { border-color: var(--verde); background: var(--verde-suave); }
.campo { margin-bottom: 14px; }
.campo label { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.campo output { color: var(--barro); }
.campo input[type=range] { width: 100%; accent-color: var(--verde); height: 28px; }
.sim-resultado { background: var(--verde); color: #fff; border-radius: var(--raio); padding: 26px; box-shadow: var(--sombra); position: relative; overflow: hidden; }
.sim-resultado::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(rgba(232,176,75,.35), transparent 70%); }
.linha { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 16px; }
.linha span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; }
.destaque-preco { margin-top: 18px; text-align: center; padding: 18px; border-radius: 16px; background: rgba(255,255,255,.08); }
.destaque-preco small { display: block; color: #CFE0D9; font-size: 14px; }
.destaque-preco strong { display: block; font-size: clamp(40px, 11vw, 56px); color: #F7C77A; line-height: 1.1; font-variant-numeric: tabular-nums; }
.barra { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 18px 0 8px; background: rgba(255,255,255,.12); }
.barra i { display: block; height: 100%; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: #DCE9E3; padding: 0; margin: 0; list-style: none; }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.aviso { font-size: 14px; color: var(--tinta-2); margin-top: 16px; }

/* ---------- demonstração (abas) ---------- */
.demo { background: var(--verde); color: #fff; overflow: hidden; }
.demo .sub { color: #DCE9E3; }
.abas { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 26px 0 8px; scrollbar-width: none; }
.abas::-webkit-scrollbar { display: none; }
.abas button { font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; padding: 10px 18px; min-height: 44px; border-radius: 999px; border: 2px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.abas button[aria-selected="true"] { background: var(--creme); color: var(--verde); border-color: var(--creme); }
.janela { background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); overflow: hidden; }
.janela .barra-topo { display: flex; gap: 6px; padding: 12px 14px; background: #F2EEE6; }
.janela .barra-topo i { width: 11px; height: 11px; border-radius: 50%; background: #E1D6C4; }
.janela .barra-topo i:first-child { background: var(--barro); } .janela .barra-topo i:nth-child(2) { background: var(--ouro); } .janela .barra-topo i:nth-child(3) { background: var(--verde-2); }
.trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.trilho::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; padding: 14px; display: grid; place-items: start center; max-height: 560px; overflow: auto; }
.slide img { border-radius: 6px; }
.slide.largo img { max-width: none; width: 900px; }
.legenda-demo { margin-top: 16px; min-height: 52px; color: #DCE9E3; font-size: 16px; }

/* ---------- incluído ---------- */
.kit { display: grid; gap: 16px; margin-top: 34px; }
.item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--raio); padding: 22px; border: 1px solid #EFE4D1; }
.item .ico { flex: none; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--barro), #C9603F); display: grid; place-items: center; }
.item .ico svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.item h3 { font-size: 18px; margin-bottom: 4px; }
.item p { margin: 0; color: var(--tinta-2); font-size: 15.5px; }

/* ---------- preço ---------- */
.preco-sec { background: radial-gradient(700px 400px at 50% 0%, rgba(232,176,75,.25), transparent 70%), var(--creme-2); }
.preco { max-width: 520px; margin: 0 auto; background: #fff; border-radius: 28px; padding: 36px 26px; text-align: center; box-shadow: 0 40px 80px -30px rgba(24,58,51,.45); position: relative; border: 2px solid transparent; background-clip: padding-box; }
.preco::before { content: ""; position: absolute; inset: -2px; border-radius: 30px; z-index: -1; background: conic-gradient(from var(--ang, 0deg), var(--barro), var(--ouro), var(--verde), var(--barro)); animation: girar 6s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes girar { to { --ang: 360deg; } }
.preco .selo { display: inline-block; background: var(--verde-suave); color: var(--verde); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.preco .valor { font-size: 76px; font-weight: 700; color: var(--verde); line-height: 1; margin: 18px 0 6px; letter-spacing: -.04em; }
.preco .valor sup { font-size: 28px; vertical-align: top; margin-right: 4px; position: relative; top: 12px; }
.preco ul { text-align: left; list-style: none; padding: 0; margin: 22px 0 26px; }
.preco li { padding: 9px 0 9px 32px; position: relative; border-bottom: 1px dashed #E6DAC5; }
.preco li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.preco .btn { width: 100%; }
.nota { font-size: 14px; color: var(--tinta-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 30px auto 0; }
.faq details { background: #fff; border-radius: 16px; margin-bottom: 10px; border: 1px solid #EFE4D1; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 17px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--verde-suave); color: var(--verde); display: grid; place-items: center; font-size: 20px; transition: transform .3s, background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--verde); color: #fff; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--tinta-2); }

/* ---------- CTA final ---------- */
.final { background: linear-gradient(160deg, var(--barro) 0%, #8E3824 100%); color: #fff; text-align: center; overflow: hidden; }
.final h2 { max-width: 760px; margin: 0 auto 24px; }
.final .btn { background: #fff; color: var(--barro); box-shadow: 0 16px 40px -14px rgba(0,0,0,.5); }
.final .btn:hover { background: var(--creme); color: var(--barro-2); }
.final .enfeite { position: absolute; width: 120px; opacity: .9; animation: flutuar 7s ease-in-out infinite; }
.final .e1 { left: -30px; bottom: 10px; } .final .e2 { right: -24px; top: 16px; animation-delay: -3s; }

/* ---------- rodapé ---------- */
footer { background: #0F302A; color: #CFE0D9; font-size: 15px; padding: 40px 0 110px; }
footer a { color: #fff; }
footer .nota { color: #9FBDB3; }

/* ---------- barra fixa de compra (celular) ---------- */
.barra-compra { position: fixed; left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 20px; background: rgba(15,48,42,.97); backdrop-filter: blur(10px); color: #fff; box-shadow: 0 8px 24px -8px rgba(0,0,0,.4); transform: translateY(calc(100% + 40px)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.barra-compra.on { transform: none; }
.barra-compra > div { min-width: 0; }
.barra-compra b { font-size: 18px; line-height: 1.25; } .barra-compra small { display: block; font-size: 12px; line-height: 1.4; color: #CFE0D9; }
.barra-compra .btn { flex: 0 0 auto; width: auto; padding: 12px 16px; font-size: 15px; line-height: 1.3; min-height: 46px; white-space: nowrap; }

/* ---------- revelar ao rolar (só com JS) ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .1s; } .js .rv.d2 { transition-delay: .2s; } .js .rv.d3 { transition-delay: .3s; }

@media (min-width: 720px) {
  .numeros ul { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .kit { grid-template-columns: repeat(2, 1fr); }
  .barra-compra { display: none; }
  footer { padding-bottom: 40px; }
}
@media (min-width: 980px) {
  .hero { padding: 150px 0 120px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .sim { grid-template-columns: 1.1fr .9fr; align-items: start; }
  .sim-resultado { position: sticky; top: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
