﻿/* Turma dos Achados v2 (23/11/2026) — "claro refinado". Plus Jakarta Sans, ícones SVG, mobile first. */
:root {
  --fundo: #FBF8F3;
  --papel: #FFFFFF;
  --tinta: #14201A;
  --suave: #5C665F;          /* 6.1:1 sobre o fundo */
  --linha: #EAE3D8;
  --cor: #1F7A4D;            /* cor do grupo (sobrescrita no body) */
  --cor-escura: color-mix(in srgb, var(--cor) 72%, black);
  --cor-clara: color-mix(in srgb, var(--cor) 10%, white);
  --limao: #C6FF4F;
  --sombra: 0 1px 2px rgba(20, 32, 26, .05), 0 8px 24px rgba(20, 32, 26, .07);
  --raio: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fundo); color: var(--tinta);
  font: 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.1; margin: 0; }
:focus-visible { outline: 3px solid var(--limao); outline-offset: 3px; border-radius: 8px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic.grande { width: 40px; height: 40px; }

/* topo */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 243, .88); backdrop-filter: blur(10px); }
.topo-in { max-width: 1080px; margin: 0 auto; padding: 12px 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 17px; }
.logo-marca { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #17321F; color: var(--limao); font-size: 13px; font-weight: 800; letter-spacing: -.02em; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px 40px; }

/* botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--cor); color: #fff; font: 700 17px/1 "Plus Jakarta Sans", sans-serif; text-decoration: none;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--cor) 35%, transparent);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.botao:hover { background: var(--cor-escura); transform: translateY(-1px); }
.botao:active { transform: translateY(1px); }
.botao.grande { min-height: 60px; font-size: 18px; padding: 16px 30px; width: 100%; }
.botao.claro { background: var(--limao); color: #17321F; box-shadow: none; }
.botao.claro:hover { background: #B4F233; }
.botao.breve { background: #D9D2C7; color: #4B514D; box-shadow: none; cursor: default; }

/* hero */
.hero { display: grid; gap: 28px; padding: 22px 0 36px; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 14px; border-radius: 999px;
  background: var(--cor-clara); color: var(--cor-escura); font-weight: 700; font-size: 14px; }
.chip .ic { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(34px, 8.6vw, 58px); font-weight: 800; }
.lead { font-size: 18px; color: var(--suave); margin: 16px 0 24px; max-width: 34em; }
.selos-hero { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--suave); font-size: 14px; font-weight: 600; }
.selos-hero li { display: inline-flex; align-items: center; gap: 6px; }
.selos-hero .ic { width: 16px; height: 16px; color: var(--cor); }
.hero-foto { margin: 0; position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hero-foto img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 32px; box-shadow: var(--sombra); }
.hero-foto figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .94);
  border-radius: 16px; padding: 10px 14px; display: flex; flex-direction: column; box-shadow: var(--sombra); }
.hero-foto figcaption b { font-size: 16px; }
.hero-foto figcaption span { font-size: 13px; color: var(--suave); }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.15fr .85fr; align-items: center; padding: 48px 0 56px; gap: 48px; }
  .botao.grande { width: auto; }
  .hero-inicio { grid-template-columns: 1fr; max-width: 760px; }
}

/* seções */
.secao { padding: 36px 0; border-top: 1px solid var(--linha); }
.sobre { margin: 0 0 8px; color: var(--cor); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.secao h2, .final h2, .regras-sec h2 { font-size: clamp(26px, 6vw, 38px); font-weight: 800; margin-bottom: 14px; }
.texto { color: var(--suave); font-size: 17px; margin: 0 0 20px; max-width: 38em; }
.duas { display: grid; gap: 28px; }
@media (min-width: 860px) { .duas { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } }

.beneficios { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.beneficios li { display: flex; gap: 14px; align-items: flex-start; background: var(--papel); border-radius: 16px; padding: 14px 16px; box-shadow: var(--sombra); }
.beneficios .ic { width: 22px; height: 22px; color: var(--cor); margin-top: 2px; }
.beneficios b { display: block; }
.beneficios span { color: var(--suave); font-size: 15px; }

/* prévia da mensagem (celular) */
.celular { background: #E9E2D6; border-radius: 28px; padding: 0 0 14px; max-width: 380px; width: 100%; justify-self: center; overflow: hidden; box-shadow: var(--sombra); }
.celular-topo { display: flex; align-items: center; gap: 10px; background: #17321F; color: #fff; padding: 12px 16px; }
.celular-topo img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.celular-topo b { display: block; font-size: 14px; }
.celular-topo small { font-size: 12px; opacity: .75; }
.balao { position: relative; background: #fff; margin: 14px 14px 0 14px; border-radius: 4px 16px 16px 16px; padding: 10px 12px 22px; font-size: 14.5px; line-height: 1.45; }
.balao p { margin: 0 0 8px; }
.balao-foto { display: grid; place-items: center; height: 120px; margin: -2px -4px 10px; border-radius: 10px; background: linear-gradient(135deg, var(--cor-clara), #F3EEE5); color: var(--cor); }
.b-nome { font-weight: 700; }
.b-de { color: var(--suave); text-decoration: line-through; margin-bottom: 2px !important; }
.b-por { font-weight: 800; font-size: 16px; }
.b-link { color: #0B6BCB; }
.b-pe { color: var(--suave); font-size: 12.5px; }
.b-hora { position: absolute; right: 10px; bottom: 6px; font-size: 11px; color: var(--suave); }
.celular-legenda { margin: 12px 14px 0; font-size: 13px; color: var(--suave); text-align: center; }

/* ofertas */
.ofertas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .ofertas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.oferta { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--papel); border-radius: 18px; padding: 10px; box-shadow: var(--sombra); min-width: 0; transition: transform .15s ease; }
.oferta:hover { transform: translateY(-2px); }
.oferta img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: #fff; }
.o-nome { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.o-meta { font-size: 12.5px; color: var(--suave); }
.o-preco { font-size: 20px; font-weight: 800; color: var(--cor-escura); }
.o-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.o-ver { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--cor); margin-top: auto; }
.o-ver .ic { width: 15px; height: 15px; }
.reserva[hidden] { display: none; }

/* passos */
.passos { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .passos { grid-template-columns: repeat(3, 1fr); } }
.passos li { background: var(--papel); border-radius: 18px; padding: 18px; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 4px; }
.passos .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--cor-clara); color: var(--cor-escura); font-weight: 800; margin-bottom: 6px; }
.passos li > span:last-child { color: var(--suave); font-size: 15px; }

/* perguntas */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--papel); border-radius: 16px; box-shadow: var(--sombra); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--cor); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--suave); }

/* regras */
.regras { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.regras li { display: flex; gap: 10px; align-items: flex-start; }
.regras .ic { color: var(--cor); margin-top: 2px; }

/* fechamento */
.final { margin: 20px 0 0; background: #17321F; color: #fff; border-radius: 28px; padding: 32px 22px; text-align: center; }
.final p { color: #CFE3D6; margin: 0 0 20px; }
.final h2 { color: #fff; }

/* botão fixo no celular */
.cta-fixo { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 243, .96); border-top: 1px solid var(--linha); transform: translateY(110%); transition: transform .25s ease; }
.cta-fixo.visivel { transform: none; }
.cta-fixo .botao { width: 100%; }
@media (min-width: 860px) { .cta-fixo { display: none; } }

/* início */
.grupos { display: grid; gap: 12px; }
@media (min-width: 720px) { .grupos { grid-template-columns: 1fr 1fr; } }
.grupo-card { display: flex; align-items: center; gap: 14px; text-decoration: none; background: var(--papel); border-radius: 20px; padding: 14px; box-shadow: var(--sombra); transition: transform .15s ease; }
.grupo-card:hover { transform: translateY(-2px); }
.grupo-card img { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; flex: none; }
.g-txt { display: flex; flex-direction: column; min-width: 0; }
.g-tema { font-size: 13px; font-weight: 700; color: var(--cor); }
.g-nome { font-size: 20px; font-weight: 800; line-height: 1.2; }
.g-frase { font-size: 14px; color: var(--suave); line-height: 1.4; }
.g-seta { margin-left: auto; color: var(--cor); }
.em-breve { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; }

/* rodapé */
.rodape { border-top: 1px solid var(--linha); margin-top: 24px; padding-bottom: 90px; }
.rodape-in { max-width: 1080px; margin: 0 auto; padding: 22px 16px; font-size: 13px; color: var(--suave); }
.rodape p { margin: 6px 0; }
@media (min-width: 860px) { .rodape { padding-bottom: 0; } }

.texto-longo { max-width: 720px; padding-top: 16px; }
.texto-longo h1 { font-size: 34px; margin: 10px 0; }
.texto-longo h2 { font-size: 21px; margin-top: 26px; }

/* página de produto (/p/...) — markup do deploy/worker.js */
.produto { padding-top: 8px; }
.voltar { display: inline-block; margin: 6px 0 10px; color: var(--suave); text-decoration: none; font-weight: 700; }
.bloco { background: var(--papel); border-radius: var(--raio); padding: 20px 18px; margin-top: 14px; box-shadow: var(--sombra); }
.bloco h2 { font-size: 22px; font-weight: 800; margin-bottom: 14px; }
.centro { text-align: center; }
.sub { color: var(--suave); font-size: 14px; margin: 12px 0 0; }
.topo-produto { display: grid; gap: 18px; }
@media (min-width: 720px) { .topo-produto { grid-template-columns: 300px 1fr; align-items: center; } }
.topo-produto .foto { width: 100%; max-width: 320px; aspect-ratio: 1; object-fit: contain; border-radius: 16px; background: #fff; margin: 0 auto; }
.topo-produto h1 { font-size: clamp(22px, 5vw, 30px); line-height: 1.2; margin: 4px 0 10px; font-weight: 800; }
.topo-produto .loja { color: var(--suave); font-size: 14px; margin: 0; font-weight: 600; }
.topo-produto .agora { font-size: 17px; margin: 0 0 10px; }
.topo-produto .agora b { font-size: 30px; font-weight: 800; color: var(--cor-escura); }
.topo-produto .cond { color: var(--suave); font-size: 14px; margin: -6px 0 10px; }
.topo-produto .botao { margin-top: 14px; width: 100%; }
@media (min-width: 720px) { .topo-produto .botao { width: auto; } }
.selo { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; background: #EFE9DF; color: var(--tinta); }
.selo.bom { background: #DDF6E6; color: #146C3A; }
.selo.ruim { background: #FBE3DE; color: #A1321C; }
.numeros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.numeros div { background: var(--fundo); border-radius: 12px; padding: 10px; text-align: center; }
.numeros small { display: block; color: var(--suave); font-size: 12px; }
.numeros b { font-size: 19px; font-weight: 800; }
.grafico { width: 100%; height: auto; display: block; }
.g-linha { fill: none; stroke: var(--cor); stroke-width: 2.2; stroke-linejoin: round; }
.g-grade { stroke: var(--linha); stroke-width: 1; }
.g-txt { fill: var(--suave); font: 11px "Plus Jakarta Sans", sans-serif; }
.g-atual { fill: var(--cor); }
.g-oferta { fill: #fff; stroke: var(--tinta); stroke-width: 2.5; }
.g-rot { fill: var(--tinta); font: 700 10.5px "Plus Jakarta Sans", sans-serif; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.lista-ofertas { list-style: none; margin: 0; padding: 0; }
.lista-ofertas li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--linha); }
.lista-ofertas li:first-child { border-top: 0; }
.lista-ofertas s { color: var(--suave); font-size: 14px; }
.tag { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; letter-spacing: .02em; }
.tag.pix { background: #DDF6E6; color: #146C3A; }
.tag.cupom { background: #FFF1C9; color: #7A5200; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
.o-tags .tag { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
