/* Nutra Sua Vida — v4 (app do paciente)
   1. Uma superfície só: seções de largura total separadas por respiro e linhas finas, sem "caixinhas" com borda.
   2. Tipografia com a escala do iPhone (Apple HIG / Dynamic Type): corpo 17 px, nada abaixo de 12 px, áreas de toque ≥ 44 px.
      O tamanho base acompanha o ajuste de fonte do navegador/celular (rem).
   3. Responsivo: celular (1 coluna, menu embaixo) · tablet (coluna central) · computador (menu lateral e 2 colunas). */
html { font-size: 106.25%; }   /* 17 px */
:root {
  --g: 20px;                                  /* margem lateral */
  --hair: rgba(43, 31, 32, .085);
  --fs-lt: 2rem; --fs-t1: 1.65rem; --fs-t2: 1.3rem; --fs-t3: 1.18rem;
  --fs-body: 1rem; --fs-call: .94rem; --fs-sub: .88rem; --fs-foot: .765rem; --fs-cap: .71rem;
}
.bg-deco .orn { display: none; }
.bg-deco .blob { opacity: .45; }
.screen { padding: 0 var(--g) 28px; }
.page-h { padding: 14px 0 10px; } .page-h h1 { font-size: var(--fs-lt); }
.eyebrow { font-size: var(--fs-cap); }
.small { font-size: var(--fs-sub); } .tiny { font-size: var(--fs-foot); }
.btn, .chip, .icon-btn, .tabbar button { min-height: 44px; }

/* ---------- seções integradas (largura total) ---------- */
section.block { margin: 0 calc(-1 * var(--g)); padding: 24px var(--g); border-top: 1px solid var(--hair); }
section.block .block-h h3, section.block > h3 { font-size: var(--fs-t2); }
.goal { background: transparent; border: 0; border-radius: 0; margin: 0; border-bottom: 1px solid var(--hair); }
.goal:last-child { border-bottom: 0; }
.goal.done { background: linear-gradient(90deg, rgba(237, 244, 227, 0), var(--leaf-s)); }
.empty { background: transparent; border: 0; padding: 8px 0; }
.mood-card { background: transparent; border: 0; padding: 0; }
.feature { border-radius: 0; box-shadow: none; background: transparent; margin: 0 calc(-1 * var(--g)); width: calc(100% + 2 * var(--g)); }
.feature .ft-img { height: 250px; }
.feature .ft-body { padding: 14px var(--g) 0; }
.feature .go { top: 226px; right: var(--g); }
.quick-cta { margin: 0 calc(-1 * var(--g)); width: calc(100% + 2 * var(--g)); border-radius: 0; box-shadow: none; padding: 18px var(--g); }

/* dias da semana e botão de marcar, sem caixas */
.days { background: transparent; border: 0; border-radius: 0; padding: 6px 0 14px; margin: 0; }
.day .lbl { font-size: var(--fs-cap); }
.day .c { width: 40px; height: 40px; font-size: var(--fs-foot); }
.g-main { padding: 16px 0; }
.g-check { width: 52px; height: 52px; align-self: center; margin-left: 8px; border: 2px solid var(--line); border-radius: 50%; background: transparent; color: #cdbfb1; font-size: 1.45rem; }
.g-check.on { border-color: var(--leaf); }
.g-check.static { border-style: dashed; }
.seal { background: transparent; border: 0; padding: 8px 4px; }
.optdots button { min-width: 40px; min-height: 40px; }

/* ---------- Jornada: capa = foto do capítulo ---------- */
.hero-j { margin: 0 calc(-1 * var(--g)); height: min(64vh, 540px); min-height: 420px; display: flex; align-items: flex-end; }
.hero-art { background-color: #d9c7b4; background-position: 62% 30%; background-size: cover; background-repeat: no-repeat; }
.hero-art::after { background: linear-gradient(180deg, rgba(28, 13, 10, .05) 0%, rgba(28, 13, 10, 0) 28%, rgba(28, 13, 10, .5) 60%, rgba(28, 13, 10, .66) 84%, var(--bg) 100%); }
.hero-txt { padding: 0 var(--g) 58px; color: #fff; width: 100%; }
.hero-txt .eyebrow { color: #f6dfb6; }
.hero-cap { display: block; margin-top: 14px; font-size: var(--fs-foot); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.hero-txt h1 { color: #fff; font-size: 3.1rem; line-height: .98; margin: 4px 0 8px; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.hero-txt p { color: rgba(255, 255, 255, .92); text-shadow: none; max-width: 30em; font-size: var(--fs-body); margin: 0; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-meta .pill { min-height: 36px; padding: 6px 13px; font-size: var(--fs-sub); }
button.pill { cursor: pointer; font-family: inherit; }
.pill.glass { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-meta .pill.gold { background: var(--gold); color: #3d2607; box-shadow: 0 6px 18px -6px rgba(226, 173, 91, .8); }
.stepper-cap { position: relative; z-index: 2; margin: -34px calc(-1 * var(--g)) 0; padding: 12px var(--g) 18px; }
.sc { width: 72px; font-size: var(--fs-cap); }
.sc .dot { width: 38px; height: 38px; font-size: var(--fs-foot); }
.sc.on .dot { transform: none; box-shadow: 0 0 0 4px rgba(226, 173, 91, .3); border-width: 2.5px; }
.sc-line { margin-top: 19px; }
.retorno { display: flex; align-items: center; gap: 14px; width: calc(100% + 2 * var(--g)); margin: 0 calc(-1 * var(--g)); padding: 16px var(--g); border: 0; border-top: 1px solid var(--hair); background: linear-gradient(90deg, var(--gold-s), rgba(251, 241, 225, .3)); text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.rt-ic { width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.retorno b { display: block; font-size: var(--fs-body); } .retorno small { display: block; color: var(--ink-2); font-size: var(--fs-sub); }
.retorno > .ti:last-child { font-size: 1.7rem; color: var(--leaf); }

/* ---------- Plano: refeições como seções, alimentos tocáveis ---------- */
.daybar { background: transparent; border: 0; border-radius: 0; margin: 0 calc(-1 * var(--g)); padding: 6px var(--g) 16px; }
.tip { border-radius: 14px; }
.swap-hint { display: flex; align-items: center; gap: 8px; margin: 0 calc(-1 * var(--g)); padding: 12px var(--g); border-top: 1px solid var(--hair); font-size: var(--fs-sub); color: var(--ink-2); }
.swap-hint > .ti { font-size: 1.3rem; color: var(--gold-d); flex: none; }
.swap-hint .link { margin-left: auto; white-space: nowrap; }
.meal { background: transparent; border: 0; border-top: 1px solid var(--hair); border-radius: 0; margin: 0 calc(-1 * var(--g)); padding: 22px var(--g); }
.meal.eaten { background: linear-gradient(180deg, var(--leaf-s), rgba(237, 244, 227, 0) 70%); }
.items.fooditems { margin-top: 6px; }
.items.fooditems li.fi { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 6px 0; border-bottom: 0; border-top: 1px solid var(--hair); font-size: var(--fs-body); }
.items.fooditems li.fi:first-child { border-top: 0; }
.fi-img { width: 46px; height: 46px; border-radius: 14px; flex: none; background: #efe6dc center / cover no-repeat; }
.fi-img.ic, .fi-img.noimg { display: flex; align-items: center; justify-content: center; background: var(--leaf-s); color: var(--leaf); font-size: 1.3rem; }
.fi-b { flex: 1; min-width: 0; min-height: 48px; border: 0; background: none; padding: 4px 0; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.fi-b b { display: block; font-weight: 500; line-height: 1.25; }
.fi-b span { display: block; font-size: var(--fs-sub); color: var(--ink-3); }
.fi-b small { display: flex; align-items: center; gap: 4px; color: var(--gold-d); font-size: var(--fs-foot); margin-top: 2px; }
.fi-x { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--hair); background: rgba(255, 255, 255, .7); color: var(--ink-2); cursor: pointer; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; }
.fi-x:active { transform: scale(.94); }
.fi.trocado .fi-img.ic { background: var(--gold-s); color: var(--gold-d); }
.fi.trocado .fi-x { color: var(--gold-d); border-color: rgba(226, 173, 91, .6); }
.meal-actions .btn { flex: 1; }

/* folha de troca */
.tc-orig { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 14px; margin-top: 8px; }
.tc-orig > .ti { font-size: 1.5rem; color: var(--gold-d); } .tc-orig b { display: block; } .tc-orig small { color: var(--ink-3); font-size: var(--fs-sub); }
.tc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tc { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden; border: 1.5px solid var(--line); background: #fff; border-radius: 18px; cursor: pointer; font: inherit; color: inherit; transition: transform .15s, border-color .2s, box-shadow .2s; }
.tc:hover { box-shadow: 0 10px 24px -16px rgba(94, 20, 24, .4); }
.tc:active { transform: scale(.97); }
.tc.on { border-color: var(--leaf); box-shadow: 0 0 0 3px var(--leaf-s); }
.tc-img { display: block; height: 92px; background: center / cover no-repeat; }
.tc-img.noimg { height: 54px; display: flex; align-items: center; justify-content: center; background: var(--leaf-s); color: var(--leaf); font-size: 1.5rem; }
.tc-b { display: block; padding: 10px 12px 12px; }
.tc-b b { display: block; font-size: var(--fs-call); line-height: 1.2; }
.tc-q { display: block; margin-top: 4px; font-weight: 600; color: var(--wine); font-size: var(--fs-sub); }
.tc-b small { display: block; margin-top: 2px; color: var(--ink-3); font-size: var(--fs-foot); }
.tc-ok { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--leaf); color: #fff; display: flex; align-items: center; justify-content: center; }
details.tt { border-top: 1px solid var(--hair); padding: 12px 0; }
details.tt summary { cursor: pointer; list-style: none; } details.tt summary::-webkit-details-marker { display: none; }
details.tt summary b { display: block; } details.tt summary small { color: var(--ink-3); font-size: var(--fs-sub); }
details.tt ul { margin: 8px 0 0; padding-left: 18px; font-size: var(--fs-sub); color: var(--ink-2); }

/* ---------- Corpo: tudo na mesma superfície ---------- */
.body-card2 { margin: 4px calc(-1 * var(--g)) 0; border: 0; border-radius: 0; padding: 16px var(--g) 22px; }
.bc-panel { border: 0; background: rgba(255, 255, 255, .72); }
.big-metrics { margin: 0 calc(-1 * var(--g)); padding: 4px var(--g) 18px; gap: 0; }
.bm-c { background: transparent; border: 0; border-left: 1px solid var(--hair); border-radius: 0; padding: 6px 14px; }
.bm-c:first-child { border-left: 0; padding-left: 0; }
.bm-c span { font-size: var(--fs-foot); }
.cheer { margin: 0 calc(-1 * var(--g)); border-radius: 0; padding: 18px var(--g); border: 0; }
.ind { background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: 12px 0; margin: 0; }
.mini-c { background: transparent; border: 0; border-left: 1px solid var(--hair); border-radius: 0; padding: 4px 14px; }
.duo { gap: 0; margin-top: 14px; } .duo .mini-c:first-child { border-left: 0; padding-left: 0; }
.chart-wrap { background: transparent; border: 0; padding: 0; }
.doc { background: transparent; border: 0; border-top: 1px solid var(--hair); border-radius: 0; margin: 0; padding: 14px 0; }
.phys.pics { gap: 8px; }
.phys.pics .pc { aspect-ratio: 3 / 4; padding: 0; overflow: hidden; position: relative; display: flex; align-items: flex-end; justify-content: center; background: #fff center 30% / cover no-repeat; }
.phys.pics .pc .pc-img { position: absolute; inset: 0; background: center 20% / cover no-repeat; mix-blend-mode: multiply; }
.phys.pics .pc span { position: relative; width: 100%; padding: 14px 4px 5px; font-size: var(--fs-cap); line-height: 1.15; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .95) 45%); }
.phys.pics .pc .ti { position: absolute; top: 6px; right: 6px; z-index: 1; color: var(--wine); font-size: 1.2rem; }
.phys.pics .pc:not(.on) { opacity: .62; filter: saturate(.6); }
.phys.pics .pc.on { opacity: 1; box-shadow: 0 0 0 2.5px var(--wine), 0 10px 22px -12px rgba(136, 33, 39, .55); }
.chart-caps { display: flex; justify-content: space-between; gap: 6px; font-size: var(--fs-cap); color: var(--ink-3); margin: 4px 2px 0; }

/* ---------- Guias: texto longo ganha fundo mais escuro ---------- */
.guide-story.dense .st-bg { filter: blur(5px) brightness(.55); transform: scale(1.06); }
.guide-story.dense .st-bg::after { background: rgba(28, 14, 12, .62); }
.guide-story .st-list li { font-size: var(--fs-call); line-height: 1.4; }

/* ---------- folhas (modal) ---------- */
.modal h2 { font-size: var(--fs-t1); }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  :root { --g: max(32px, calc((100vw - 720px) / 2)); }
  .tabbar .inner { max-width: 760px; }
  .hero-j { height: 520px; }
  .cookbook { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modal-wrap { align-items: center; }
  .modal { border-radius: 26px; max-width: 600px; }
  .modal::before { display: none; }
}

/* ---------- computador: menu lateral + duas colunas ---------- */
@media (min-width: 1024px) {
  :root { --g: 44px; --side: 248px; }
  .app { max-width: none; margin-left: var(--side); padding-bottom: 40px; }
  .topbar { padding: 14px var(--g); }
  .topbar .mark, .topbar .brand { visibility: hidden; }
  .screen { max-width: 1240px; margin: 0 auto; }
  .tabbar { top: 0; right: auto; width: var(--side); flex-direction: column; justify-content: flex-start; border-top: 0; border-right: 1px solid var(--line); background: #fffdf9; padding: 96px 16px 24px; }
  .tabbar::before { content: ''; position: absolute; top: 24px; left: 22px; width: 44px; height: 44px; background: url('../img/gerado/logo-a-transparente.png') center / contain no-repeat; }
  .tabbar::after { content: 'Nutra Sua Vida'; position: absolute; top: 34px; left: 76px; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--wine); }
  .tabbar .inner { flex-direction: column; gap: 4px; max-width: none; }
  .tabbar button { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 6px 10px; border-radius: 14px; font-size: var(--fs-body); position: relative; }
  .tabbar button:hover { background: rgba(136, 33, 39, .05); }
  .tabbar .ico { width: 40px; height: 40px; border-radius: 12px; }
  .tabbar button .ti { font-size: 1.35rem; }
  .tabbar .badge { position: static; margin-left: auto; }
  .demo-banner { margin-left: var(--side); }

  /* Jornada: capa larga; metas à esquerda, o resto à direita */
  .tab-jornada { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .tab-jornada > .hero-j, .tab-jornada > .stepper-cap, .tab-jornada > .retorno { grid-column: 1 / -1; }
  .tab-jornada > .hero-j { height: 520px; }
  .tab-jornada > .hero-j .hero-txt { padding-bottom: 64px; }
  .tab-jornada > .b-metas { grid-column: 1; grid-row: span 6; }
  .tab-jornada > .block:not(.b-metas), .tab-jornada > .quick-cta { grid-column: 2; }
  .tab-jornada > .block { margin: 0; padding-left: 0; padding-right: 0; }
  .tab-jornada > .quick-cta { margin: 24px 0 0; width: 100%; border-radius: 18px; }
  .tab-jornada > .block .feature { margin: 0; width: 100%; border-radius: 18px; overflow: hidden; }
  .tab-jornada > .block .feature .ft-body { padding: 14px 0 0; }

  /* Plano: refeições em duas colunas */
  .tab-plano { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; align-items: start; }
  .tab-plano > * { grid-column: 1 / -1; }
  .tab-plano > .meal { grid-column: auto; margin: 0; padding-left: 0; padding-right: 0; }
  .cookbook { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Corpo: figura fixa à esquerda, leitura à direita */
  .tab-corpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 56px; align-items: start; }
  .tab-corpo > * { grid-column: 2; }
  .tab-corpo > .page-h, .tab-corpo > .chips { grid-column: 1 / -1; }
  .tab-corpo > .body-card2 { grid-column: 1; grid-row: span 12; position: sticky; top: 84px; margin: 0; border-radius: 28px; }
  .tab-corpo > .big-metrics, .tab-corpo > .cheer, .tab-corpo > .block { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .tab-corpo > .cheer { padding: 18px 20px; border-radius: 18px; }
}

/* tipo físico com figuras: nome embaixo, figura inteira */
.phys.pics .pc { aspect-ratio: 2 / 3; flex-direction: column; justify-content: flex-end; color: var(--ink-2); background: #fff; border: 1px solid var(--hair); border-radius: 16px; }
.phys.pics .pc .pc-img { background-size: 100% auto; background-position: center top; }
.phys.pics .pc span:last-child { padding: 18px 4px 6px; color: var(--ink-2); font-weight: 500; }
.phys.pics .pc.on { background: #fff; color: var(--ink); border-color: transparent; }
.phys.pics .pc.on span:last-child { color: var(--wine); font-weight: 700; }

/* ---------- moldura em largura total ---------- */
.app { max-width: none; }
.topbar { padding: 10px var(--g); gap: 10px; }
.topbar .brand span { font-family: var(--font); font-size: var(--fs-cap); letter-spacing: .02em; text-transform: none; color: var(--ink-3); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .brand { min-width: 0; }
.demo-banner { text-align: center; }
.nu-btn { position: relative; border: 0; background: none; padding: 0; cursor: pointer; width: 44px; height: 44px; flex: none; }
.nu-av { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 2px; border-radius: 50%; background: var(--gold-s) center / cover no-repeat; color: var(--gold-t); font-weight: 700; font-size: .8rem; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--gold); }
.nu-av.lg { width: 64px; height: 64px; font-size: 1.2rem; margin: 0; flex: none; }
.nu-dot { position: absolute; right: 2px; bottom: 3px; width: 11px; height: 11px; border-radius: 50%; background: var(--leaf-l); border: 2px solid #fff; }

/* ---------- folhas (modais) alinhadas ---------- */
.modal { padding: 28px 22px 26px; }
.modal .btn.block { width: 100%; margin-left: 0; margin-right: 0; }
.sh-head { display: flex; align-items: center; gap: 14px; margin: 4px 48px 18px 0; }
.sh-head h2 { margin: 2px 0 0; line-height: 1.1; }
.me-av { width: 56px; height: 56px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--wine); color: #fff; font-weight: 700; font-size: 1.1rem; }
.sh-list { border-top: 1px solid var(--hair); }
.sh-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--hair); background: none; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.sh-row > .ti:first-child { font-size: 1.4rem; color: var(--wine); width: 28px; flex: none; }
.sh-row > .ti:last-child { color: var(--ink-3); }
.sh-row b { display: block; font-weight: 600; } .sh-row small { display: block; color: var(--ink-3); font-size: var(--fs-sub); }
.sh-row.static { cursor: default; }
.sh-link { display: block; margin: 16px auto 0; border: 0; background: none; color: var(--ink-3); font: inherit; font-size: var(--fs-foot); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sh-h3 { margin: 22px 0 4px; font-size: var(--fs-t3); }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mt-s { margin-top: 6px; margin-bottom: 14px; }
ol.passos { padding-left: 20px; line-height: 1.6; }

/* ---------- recado da nutri, surpresa, instalar ---------- */
.recado { display: flex; gap: 14px; align-items: flex-start; margin: 0 calc(-1 * var(--g)); padding: 18px var(--g); border-top: 1px solid var(--hair); background: linear-gradient(90deg, rgba(251, 241, 225, .9), rgba(251, 241, 225, .2)); }
.recado .nu-av { flex: none; }
.recado p { margin: 4px 0 6px; font-family: var(--serif); font-size: var(--fs-t3); line-height: 1.35; color: var(--ink); }
.recado .link { font-weight: 600; color: var(--wine); display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.surpresa, .instalar { display: flex; align-items: center; gap: 14px; width: calc(100% + 2 * var(--g)); margin: 0 calc(-1 * var(--g)); padding: 16px var(--g); border: 0; border-top: 1px solid var(--hair); background: transparent; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.surpresa { background: linear-gradient(90deg, var(--wine-s), rgba(246, 231, 232, .2)); }
.sp-box { width: 50px; height: 50px; flex: none; border-radius: 16px; background: var(--wine); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; animation: sacode 2.4s ease-in-out infinite; }
@keyframes sacode { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-9deg); } 88% { transform: rotate(8deg); } 92% { transform: rotate(-5deg); } 96% { transform: rotate(3deg); } }
.surpresa b, .instalar b { display: block; } .surpresa small, .instalar small { display: block; color: var(--ink-2); font-size: var(--fs-sub); }
.instalar { cursor: default; } .instalar img { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.sp-reveal { text-align: center; padding: 6px 4px 10px; }
.sp-ic { width: 76px; height: 76px; margin: 4px auto 10px; border-radius: 24px; display: flex; align-items: center; justify-content: center; font-size: 2.3rem; background: var(--gold-s); color: var(--gold-d); animation: popin .5s cubic-bezier(.2, 1.6, .4, 1); }
.sp-reveal p { font-size: var(--fs-body); color: var(--ink-2); }
.sp-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 10px; }
.mf { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 96px; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); text-align: center; transition: transform .15s, border-color .2s; }
.mf .ti { font-size: 1.8rem; color: var(--wine); } .mf span { font-weight: 600; font-size: var(--fs-call); line-height: 1.2; } .mf small { color: var(--ink-3); font-size: var(--fs-foot); }
.mf:active { transform: scale(.96); border-color: var(--wine); }
.recomeco { display: flex; gap: 12px; align-items: flex-start; margin: 0 calc(-1 * var(--g)); padding: 16px var(--g); border-top: 1px solid var(--hair); background: var(--leaf-s); color: var(--leaf-t); }
.recomeco > .ti { font-size: 1.5rem; margin-top: 2px; } .recomeco p { margin: 0; }
.sc.vol .dot { background: var(--gold-s); border-color: var(--gold); color: var(--gold-d); }
.antes-agora { margin: 0 calc(-1 * var(--g)); padding: 20px var(--g); border-top: 1px solid var(--hair); background: linear-gradient(120deg, var(--gold-s), rgba(251, 241, 225, .2)); }
.antes-agora h3 { margin: 2px 0 12px; font-size: var(--fs-t2); }
.aa-grid > div { display: grid; grid-template-columns: 80px auto 24px auto; align-items: baseline; gap: 8px; padding: 6px 0; border-top: 1px solid var(--hair); }
.aa-grid span { color: var(--ink-3); font-size: var(--fs-sub); } .aa-grid b { font-family: var(--serif); font-size: 1.35rem; } .aa-grid b small { font-family: var(--font); font-size: .75rem; color: var(--ink-3); margin-left: 2px; }
.aa-grid b:last-of-type { color: var(--wine); } .aa-grid .ti { color: var(--gold-d); }
@media (min-width: 1024px) {
  .tab-jornada > .recado, .tab-jornada > .surpresa, .tab-jornada > .instalar, .tab-jornada > .recomeco { grid-column: 1 / -1; }
  .tab-corpo > .antes-agora { margin: 0; padding: 20px; border-radius: 18px; }
}
.orient .or-txt p { margin: 6px 0; font-size: var(--fs-call); color: var(--ink-2); line-height: 1.45; }
.orient details.tt summary b { font-size: var(--fs-body); }

/* meta de peso e exames (aba Corpo) */
.mt-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mt-nums div { border-left: 1px solid var(--hair); padding: 0 12px; } .mt-nums div:first-child { border-left: 0; padding-left: 0; }
.mt-nums span { font-size: var(--fs-foot); color: var(--ink-3); } .mt-nums b { display: block; font-family: var(--serif); font-size: 1.6rem; } .mt-nums b small { font-family: var(--font); font-size: .8rem; color: var(--ink-3); margin-left: 2px; }
.mt-bar { height: 10px; border-radius: 5px; background: #ebe3da; margin-top: 12px; overflow: hidden; } .mt-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--leaf-l)); border-radius: 5px; }
.exs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.ex { padding: 10px 0; border-top: 1px solid var(--hair); } .ex-n { display: block; font-size: var(--fs-sub); color: var(--ink-2); }
.ex b { font-family: var(--serif); font-size: 1.3rem; } .ex b small { font-family: var(--font); font-size: .72rem; color: var(--ink-3); margin-left: 3px; }
.ex-s { display: block; font-size: var(--fs-foot); color: var(--leaf); } .ex.fora .ex-s { color: #b4553f; } .ex.fora b { color: #b4553f; }
.ex.atencao .ex-s, .ex.atencao b { color: #9a6b0c; }
body.previa { scrollbar-width: none; } body.previa::-webkit-scrollbar { display: none; }

/* ---- lembrete do retorno */
.lembrete-rt { display: flex; gap: 14px; align-items: flex-start; margin: 0 var(--g, 18px) 18px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid #efe4d6; }
.lembrete-rt.perto { background: linear-gradient(120deg, var(--gold-s), #fff); border-color: #ecd7ae; }
.lembrete-rt .rt-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--wine-s); color: var(--wine); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex: none; }
.lembrete-rt b { display: block; font-size: 1.05rem; } .lembrete-rt b::first-letter { text-transform: uppercase; }
.lembrete-rt small { color: var(--ink-3); display: block; margin-top: 2px; }
.rt-bts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
/* ---- semana corrida */
.corrida { display: flex; gap: 12px; align-items: center; width: 100%; margin-top: 12px; padding: 12px 14px; border-radius: 16px; border: 1px dashed #e2cfa8; background: #fffaf0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.corrida > .ti:first-child { font-size: 1.4rem; color: var(--gold-d); flex: none; }
.corrida span { flex: 1; font-size: .92rem; } .corrida.on { border-style: solid; cursor: default; background: var(--gold-s); }
/* ---- linha do tempo (balança + exames) */
.lt { list-style: none; margin: 6px 0 0; padding: 0; position: relative; }
.lt::before { content: ""; position: absolute; left: 58px; top: 6px; bottom: 6px; width: 2px; background: #eadfd3; }
.lt-i { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 8px 0; position: relative; }
.lt-i::before { content: ""; position: absolute; left: 53px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--wine); border: 2px solid #fff; box-shadow: 0 0 0 1px #eadfd3; }
.lt-d { text-align: right; } .lt-d b { display: block; font-size: .9rem; } .lt-d small { color: var(--ink-3); font-size: .74rem; }
.lt-c { display: flex; flex-direction: column; gap: 6px; }
.lt-l { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; } .lt-l > .ti { color: var(--ink-3); margin-top: 2px; }
.lt-l em { font-style: normal; font-weight: 700; font-size: .82rem; } .lt-l em.good { color: var(--leaf); } .lt-l em.bad { color: #b4553f; }
.lt-exs { display: flex; flex-wrap: wrap; gap: 5px; }
.lt-v { font-size: .78rem; padding: 2px 8px; border-radius: 8px; background: #eef4e6; color: #3c6c2c; }
.lt-v.atencao { background: #fbefcf; color: #7c570c; } .lt-v.fora { background: #fbdedb; color: #a3271f; }
/* ---- foto do prato */
.meal-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.foto-btn { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.foto-btn img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; }

/* cores do intestino marcadas pela nutri */
.ef-solta { color: #2e8b3e !important; } .ef-prende { color: #2563b8 !important; } .ef-gases { color: #c0392b !important; }
.ef-leg-app { font-size: .8rem; color: var(--ink-3); margin: 4px var(--g, 18px) 14px; line-height: 1.6; } .ef-leg-app span { font-weight: 700; }
.fv-app { margin: 0 0 10px; line-height: 1.8; font-size: .92rem; } .fv-app span { font-weight: 600; }
