/* Visual copiado dos prints do original (Lovable/InLead): fundo cinza-claro, Inter, cartões brancos arredondados, roxo #7e1491 */
:root { --roxo:#7e1491; --roxo-claro:#bf88c9; --borda:#e2e8f0; --fundo:#f8f9fb; --texto:#030712; --cinza:#64748b; --verde:#03a10a; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--fundo); color: var(--texto); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
body { min-height: 100vh; display: flex; flex-direction: column; }
.barra { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: var(--borda); z-index: 10; }
.barra.oculta { visibility: hidden; }
.barra-fill { height: 100%; width: 0; background: var(--roxo); transition: width .35s ease; }
.app { width: 100%; max-width: 480px; margin: 0 auto; padding: 56px 16px 24px; flex: 1; }
.tela { animation: entra .25s ease; }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

h1 { font-size: 24px; line-height: 1.25; font-weight: 700; text-align: center; margin: 0 0 12px; letter-spacing: -.01em; }
h1.caps { text-transform: uppercase; }
h1 mark { background: #facc15; color: inherit; padding: 0 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sub { text-align: center; font-size: 16px; line-height: 1.5; text-decoration: underline; margin: 0 0 18px; }
.txt { text-align: center; font-size: 16px; line-height: 1.5; margin: 16px 0; }
.nota { text-align: center; font-size: 16px; line-height: 1.5; font-style: italic; margin: 18px 4px; }
.mini { text-align: center; font-size: 12px; color: var(--cinza); margin: 8px 0 0; }
img { max-width: 100%; height: auto; display: block; }
.img-capa { width: 100%; border-radius: 24px; margin: 18px 0; }
.img-meio { width: 50%; margin: 0 auto 16px; }
.img-card { width: 100%; background: #fff; border-radius: 24px; padding: 8px; margin: 8px 0 16px; }

/* opções */
.ops { display: grid; gap: 12px; margin: 0 0 16px; }
.ops.c2 { grid-template-columns: 1fr 1fr; }
.op { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; background: #fff; border: 1px solid var(--borda); border-radius: 24px;
      padding: 18px 16px; font: inherit; font-size: 16px; font-weight: 600; color: var(--texto); text-align: left; cursor: pointer; min-height: 56px; transition: border-color .15s, transform .1s; }
.op:active { transform: scale(.98); }
.op.sel { border-color: var(--roxo-claro); }
.op .rot { flex: 1; line-height: 1.4; }
.op .rot small { display: block; font-weight: 400; color: var(--cinza); font-size: 15px; margin-top: 2px; }
.op .emo { font-size: 26px; line-height: 1; width: 30px; text-align: center; flex: none; }
.op .mini-img { width: 52px; height: 44px; object-fit: contain; flex: none; }
.radio { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--borda); background: var(--fundo); flex: none; display: grid; place-items: center; }
.op.sel .radio { background: var(--roxo); border-color: var(--roxo); }
.op.sel .radio::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.chev { width: 10px; height: 10px; border: solid var(--cinza); border-width: 2px 2px 0 0; transform: rotate(45deg); flex: none; margin-right: 6px; }
/* cartão com imagem em cima (idade, quilos, frutas, corpo dos sonhos, gênero) */
.op.vert { flex-direction: column; align-items: stretch; padding: 12px 12px 14px; gap: 10px; }
.op.vert img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 16px; }
.op.vert.kg img { aspect-ratio: 2 / 3; object-fit: cover; background: #eceae6; }
.op.vert.fruta img { aspect-ratio: 4 / 3; padding: 8px 18px 0; }
.op.vert.sonho img { aspect-ratio: 6 / 5; object-fit: contain; }
.op.vert .rot { padding: 0 4px; }
.op.vert .chev { margin: 2px 0 0 8px; transform: rotate(45deg); }
.op.vert .radio { margin-left: 4px; }
.op.gen { padding: 12px; }
.op.gen img { aspect-ratio: 1 / 1; }
.op.alto { align-items: center; min-height: 92px; }

/* botões */
.btn { display: block; width: 100%; border: 0; border-radius: 999px; background: var(--roxo); color: #fff; font: inherit; font-size: 18px; font-weight: 600;
       padding: 17px 20px; cursor: pointer; text-align: center; text-decoration: none; margin: 8px 0; }
.btn:disabled { background: var(--roxo-claro); cursor: default; }
.btn.pulsa:not(:disabled) { animation: pulsa 1.6s infinite; }
@keyframes pulsa { 0% { box-shadow: 0 0 0 0 rgba(126,20,145,.45); } 70% { box-shadow: 0 0 0 10px rgba(126,20,145,0); } 100% { box-shadow: 0 0 0 0 rgba(126,20,145,0); } }
.btn.caps { text-transform: uppercase; }
.btn-verde { display: block; width: 86%; margin: 16px auto 8px; background: var(--verde); color: #fff; border: 0; border-radius: 12px; font: inherit; font-size: 24px;
             font-weight: 500; padding: 16px 12px; text-align: center; text-decoration: none; cursor: pointer; animation: pulsav 1.4s infinite; }
@keyframes pulsav { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.oculto { display: none !important; }

/* campos */
.rotulo { display: block; font-size: 16px; font-weight: 500; margin: 6px 2px 8px; }
.campo { width: 100%; font: inherit; font-size: 17px; padding: 17px 22px; border: 1px solid var(--borda); border-radius: 999px; background: #fff; color: var(--texto); outline: none; margin-bottom: 8px; }
textarea.campo { border-radius: 24px; resize: none; }
.campo:focus { border-color: var(--roxo-claro); }
.tel { display: flex; gap: 8px; }
.tel .pref { width: 92px; flex: none; text-align: center; padding-left: 10px; padding-right: 10px; }
.erro { color: #dc2626; font-size: 14px; margin: 0 4px 8px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--cinza); margin: 4px 4px 10px; }

/* régua de peso/altura */
.regua { background: #fff; border: 1px solid var(--borda); border-radius: 24px; padding: 18px 16px 14px; text-align: center; }
.regua .valor { font-size: 54px; font-weight: 700; line-height: 1.1; }
.regua .valor small { font-size: 22px; color: var(--cinza); font-weight: 600; margin-left: 6px; }
.regua input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; margin: 18px 0 14px; outline: none;
  background: linear-gradient(to right, var(--roxo) var(--p, 25%), #e9d5ef var(--p, 25%)); }
.regua input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--roxo-claro); cursor: pointer; }
.regua input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--roxo-claro); cursor: pointer; }
.regua .lim { display: flex; justify-content: space-between; color: var(--cinza); font-size: 14px; }

/* carregamento */
.carga { padding-top: 40px; text-align: center; }
.carga .trilho { height: 8px; border-radius: 99px; background: var(--borda); overflow: hidden; margin: 18px 0 14px; }
.carga .fill { height: 100%; width: 0; background: var(--roxo); border-radius: 99px; }
.carga .pct { color: var(--roxo); font-size: 32px; font-weight: 700; }

/* vídeo */
.video { position: relative; width: 100%; background: #000; overflow: hidden; margin: 8px 0 12px; }
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video.vazio { background: #1f1f24; display: grid; place-items: center; }
.video.vazio::after { content: ""; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.14);
  -webkit-mask: radial-gradient(circle, #000 0 0) ; }
.video.vazio .play { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.video.vazio .play::before { content: ""; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent rgba(255,255,255,.8); margin-left: 6px; }
.video.vazio::after { display: none; }

/* áudio / fala da Abuela (tela 25) */
.audio { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--borda); border-radius: 24px; padding: 12px 14px; margin: 12px 0; }
.audio img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.audio .play { width: 46px; height: 46px; border-radius: 50%; background: var(--roxo); border: 0; display: grid; place-items: center; flex: none; cursor: pointer; }
.audio .play::before { content: ""; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.audio .play.tocando::before { border-width: 0 5px; border-color: transparent #fff; border-style: solid; width: 4px; height: 16px; margin: 0; }
.audio .trilho { flex: 1; }
.audio .trilho div { height: 6px; background: var(--borda); border-radius: 99px; overflow: hidden; }
.audio .trilho div span { display: block; height: 100%; width: 0; background: var(--roxo); }
.audio .trilho small { color: var(--cinza); font-size: 13px; }
.fala { background: #fff; border: 1px solid var(--borda); border-radius: 24px; padding: 14px 16px; margin: 12px 0; }
.fala .quem { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; }
.fala .quem img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.fala p { margin: 0; font-size: 15px; line-height: 1.55; }

/* IMC */
.imc-tit { text-align: center; font-size: 20px; font-weight: 600; margin: 18px 0 2px; }
.imc-val { text-align: center; font-weight: 600; margin: 0 0 18px; }
.imc-val b { color: #2563eb; }
.metrica { padding: 10px 2px 26px; }
.metrica .cab { display: flex; justify-content: space-between; align-items: flex-end; font-size: 14px; }
.metrica .cab b { font-weight: 600; }
.metrica .faixas { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 10px 0 6px; }
.metrica .faixas i { height: 8px; border-radius: 99px; }
.metrica .faixas i:nth-child(1) { background: linear-gradient(90deg,#2dd4bf,#86c66b); }
.metrica .faixas i:nth-child(2) { background: linear-gradient(90deg,#9ccc65,#e3d23c); }
.metrica .faixas i:nth-child(3) { background: linear-gradient(90deg,#f5d63d,#facc15); }
.metrica .faixas i:nth-child(4) { background: linear-gradient(90deg,#fbbf24,#f97316); }
.metrica .faixas i:nth-child(5) { background: linear-gradient(90deg,#f97316,#dc2626); }
.metrica .dot { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--roxo); transform: translate(-50%, -50%); }
.metrica .legendas { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 13px; text-align: center; }
.alerta { background: #ede1f2; border-left: 4px solid var(--roxo); border-radius: 24px; padding: 18px 16px 18px 18px; font-weight: 600; font-size: 15.5px; line-height: 1.55; margin: 20px 0; }
.alerta p { margin: 0 0 10px; }
.alerta p:last-child { margin: 0; }

/* comparativo (tela 35) */
.comp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.comp > div { background: #fff; border: 1px solid var(--borda); border-radius: 24px; padding: 10px 8px 8px; text-align: center; }
.comp img { width: 100%; aspect-ratio: 2 / 3; object-fit: contain; }
.comp .tag { display: inline-block; font-size: 22px; font-weight: 700; padding: 6px 30px; border-radius: 999px; margin: 6px 0 10px; }
.comp .ahora .tag { background: #ffe4e6; }
.comp .obj .tag { background: #ecfdf3; }
.comp .desc { font-size: 15px; line-height: 1.35; margin: 0 0 12px; }
.comp .medidor { display: flex; align-items: center; gap: 8px; margin: 0 2px 10px; font-weight: 700; font-size: 16px; }
.comp .medidor div { flex: 1; height: 10px; border-radius: 99px; background: var(--borda); position: relative; }
.comp .medidor div span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.comp .medidor div em { position: absolute; top: 50%; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--borda); transform: translate(-50%, -50%); }
.comp .ahora .medidor span { background: #e11d48; width: 15%; }
.comp .obj .medidor span { background: #16b84e; width: 90%; }
.comp .call { display: flex; gap: 6px; align-items: center; text-align: left; border-radius: 16px; padding: 10px 8px; font-size: 14px; line-height: 1.3; }
.comp .ahora .call { background: #ffe4e6; }
.comp .ahora .call b { color: #e11d48; }
.comp .obj .call { background: #ecfdf3; }
.comp .obj .call b { color: #16a34a; }
.comp .call .raio { font-size: 20px; }

/* VSL */
.pago { text-align: center; font-size: 14px; color: #374151; margin: 4px 8px; line-height: 1.5; }

.rodape { max-width: 480px; margin: 0 auto; padding: 8px 20px 22px; text-align: center; color: #94a3b8; font-size: 11px; line-height: 1.5; }
.rodape p { margin: 4px 0; }
.rodape a { color: #94a3b8; }
