/* =========================================================
   Ritual de la Vitalidad: design tokens
   Mesmo sistema do Efecto Imán (branco dominante, serifa editorial + Inter,
   ícones Lucide, cartões suaves), com DOURADO como acento e escala maior para 60+.
   Tamanhos em rem: "Tamaño de letra" muda só o font-size da raiz.
   ========================================================= */
:root {
  --bg: #FFFFFF;
  --surface: #F7F4EF;
  --surface-2: #EFEAE2;
  --line: #ECE5DA;
  --ink: #1C1610;
  --ink-2: #5B5248;
  --ink-3: #8C8277;           /* contraste ≥ 4.5 sobre branco para textos pequenos */
  --gold: #A8670F;            /* acento (texto branco em cima: 4.6:1) */
  --gold-press: #8C5409;
  --gold-50: #FCF5E8;
  --gold-100: #F6E4C0;
  --gold-glow: rgba(230,160,40,.55);
  --green: #2F7D4F;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --r-lg: 1.5rem;
  --r-md: 1.125rem;
  --r-sm: .75rem;
  --gutter: 20px;
  --tabs-h: 84px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --grad-ink: radial-gradient(120% 90% at 100% 100%, rgba(230,160,40,.55) 0%, rgba(230,160,40,0) 60%), #1C1610;
  --grad-soft: radial-gradient(120% 90% at 100% 100%, #F6E4C0 0%, rgba(246,228,192,0) 65%), #F7F4EF;
}
html { font-size: 17px; }
html.fs-1 { font-size: 19px; }
html.fs-2 { font-size: 21px; }

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--ink); background: #EFEBE5; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
a { color: inherit; }
[data-lucide], svg.lucide { width: 1.25rem; height: 1.25rem; stroke-width: 1.75; flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #E9A93A; outline-offset: 2px; border-radius: 8px; }

/* ---------- moldura de celular no desktop ---------- */
.stage { min-height: 100dvh; display: grid; place-items: center; }
.phone { position: relative; width: 100%; max-width: 440px; height: 100dvh; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; }
@media (min-width: 640px) {
  .stage { padding: 32px; }
  .phone { height: min(900px, calc(100dvh - 64px)); border-radius: 44px; box-shadow: 0 40px 90px -30px rgba(28,22,16,.35), 0 0 0 1px rgba(28,22,16,.06); }
}

/* ---------- barra superior ---------- */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 5; height: 64px; display: flex; align-items: center; gap: 8px; padding: 0 12px;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav:empty { display: none; }
.nav .t { flex: 1; text-align: center; font-weight: 600; font-size: .95rem; opacity: 0; transition: opacity .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav.scrolled .t { opacity: 1; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); transition: background .15s; flex: none; }
.icon-btn:active { background: var(--surface); }
.icon-btn.on svg { fill: var(--gold); color: var(--gold); }

/* ---------- área rolável ---------- */
.screen { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) calc(var(--tabs-h) + 32px); }
.screen.has-nav { padding-top: 64px; }
.screen.no-tabs { padding-bottom: 130px; }
.screen.has-cta { padding-bottom: calc(var(--tabs-h) + 100px); }
.screen::-webkit-scrollbar { display: none; }
.enter { animation: enter .45s var(--ease) both; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }

/* ---------- tipografia ---------- */
.kicker { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.kicker.gold { color: var(--gold); }
.display { font-family: var(--serif); font-weight: 400; font-size: 2.5rem; line-height: 1.05; letter-spacing: -.01em; }
.display em, .title em { font-style: italic; color: var(--gold); }
.title { font-family: var(--serif); font-weight: 400; font-size: 2.05rem; line-height: 1.1; letter-spacing: -.005em; }
.h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; }
.body { font-size: 1rem; color: var(--ink-2); }
.small { font-size: .9rem; color: var(--ink-2); }
.tiny { font-size: .8rem; color: var(--ink-3); }
.head { padding: 28px 0 8px; }
.head .title, .head .display { margin-top: 6px; }
.head .body { margin-top: 10px; }
.section { margin-top: 32px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.link { font-size: .9rem; font-weight: 600; color: var(--gold); padding: 8px 0; }

/* ---------- botões ---------- */
.btn { min-height: 60px; width: 100%; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px;
  font-weight: 600; font-size: 1.02rem; background: var(--ink); color: #fff; transition: transform .12s var(--ease), background .15s; text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--gold); }
.btn.gold:active { background: var(--gold-press); }
.btn.soft { background: var(--surface); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink-2); min-height: 52px; font-weight: 500; }
.btn.done { background: var(--gold-50); color: var(--gold); }
.btn.wa { background: #E7F6EC; color: #17663A; }
.btn:disabled { opacity: .6; }
.btn + .btn { margin-top: 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row2 .btn + .btn { margin-top: 0; }

.dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; padding: 16px var(--gutter) calc(20px + env(safe-area-inset-bottom)); background: linear-gradient(to top, #fff 72%, rgba(255,255,255,0)); }
.dock:empty { display: none; }
.dock .btn + .btn { margin-top: 6px; }
.dock.above-tabs { bottom: var(--tabs-h); }
/* botão principal único: encostado embaixo, largura total, topo em arco (padrão Efecto Imán) */
.dock.arch { padding: 0; background: none; }
.dock.arch .btn { height: 66px; border-radius: 50% 50% 0 0 / 30px 30px 0 0; font-size: 1.05rem; padding-top: 4px; box-shadow: 0 -10px 30px -12px rgba(28,22,16,.35); }
.dock.arch .btn.gold { box-shadow: 0 -10px 30px -12px var(--gold-glow); }
.dock:not(.above-tabs).arch .btn { height: calc(70px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
.dock.arch .btn:active { transform: none; filter: brightness(.94); }

/* ---------- superfícies ---------- */
.card { background: var(--surface); border-radius: var(--r-lg); padding: 20px; }
.card.white { background: #fff; box-shadow: 0 1px 2px rgba(28,22,16,.04), 0 8px 24px -12px rgba(28,22,16,.14); }
.card.gold { background: var(--gold-50); }
.list { display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); transition: transform .12s var(--ease), background .15s; text-decoration: none; }
.item:active { transform: scale(.985); background: var(--surface-2); }
.item .lead { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none; color: var(--ink); font-weight: 600; font-size: .9rem; }
.item .lead.gold { background: var(--gold); color: #fff; }
.item .lead.tint { color: var(--gold); }
.item .txt { flex: 1; min-width: 0; }
.item .txt b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.item .txt span { display: block; font-size: .85rem; color: var(--ink-3); margin-top: 2px; }
.item .end { color: var(--ink-3); }
.thumb { width: 64px; height: 64px; border-radius: 16px; flex: none; background-size: cover; background-position: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 99px; background: var(--surface); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.chip.gold { background: var(--gold-50); color: var(--gold); }
.chip svg { width: .95rem; height: .95rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- onboarding ---------- */
.ob { min-height: 100%; display: flex; flex-direction: column; padding-top: 48px; }
.ob-art { height: 290px; display: grid; place-items: center; position: relative; }
.ob-copy { margin-top: 20px; }
.dots { display: flex; gap: 6px; margin-top: 26px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: width .3s var(--ease), background .3s; }
.dots i.on { width: 24px; background: var(--ink); }

/* arte: xícara dourada com anéis de calor */
.glow { position: relative; width: 230px; height: 230px; }
.glow .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold-100); animation: pulse 3.6s var(--ease) infinite; }
.glow .ring:nth-child(2) { animation-delay: 1.2s; }
.glow .ring:nth-child(3) { animation-delay: 2.4s; }
.glow .core { position: absolute; inset: 68px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F2B94B, var(--gold) 70%); display: grid; place-items: center; color: #fff; box-shadow: 0 20px 40px -14px var(--gold-glow); }
.glow .core svg { width: 38px; height: 38px; stroke-width: 1.6; }
.glow .core.ink { background: var(--ink); box-shadow: 0 20px 40px -14px rgba(28,22,16,.5); }
.glow img { position: absolute; inset: 45px; width: 140px; height: 140px; border-radius: 32px; box-shadow: 0 20px 40px -14px var(--gold-glow); }
@keyframes pulse { 0% { transform: scale(.45); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* ---------- hoy: cartão escuro do ritual ---------- */
.today { display: block; width: 100%; text-align: left; background: var(--ink); color: #fff; border-radius: 28px; padding: 22px 22px 20px; position: relative; overflow: hidden; margin-top: 20px; }
.today::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, var(--gold-glow), rgba(230,160,40,0) 70%); }
.today > * { position: relative; z-index: 1; }
.today .kicker { color: rgba(255,255,255,.6); }
.today .big { font-family: var(--serif); font-size: 4rem; line-height: 1; margin-top: 10px; }
.today .big small { font-size: 1.3rem; color: rgba(255,255,255,.55); margin-left: 6px; }
.ticks { display: grid; grid-template-columns: repeat(var(--n, 30), 1fr); gap: 3px; margin-top: 18px; }
.ticks i { height: 22px; border-radius: 3px; background: rgba(255,255,255,.14); }
.ticks i.on { background: #F2C063; }
.ticks i.now { background: #fff; }
.today .meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: .8rem; color: rgba(255,255,255,.65); }

.task { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 16px; border-radius: var(--r-md); background: var(--surface); }
.task + .task { margin-top: 10px; }
.task .check { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #D5CABB; flex: none; display: grid; place-items: center; color: #fff; transition: .2s; }
.task.done .check { background: var(--gold); border-color: var(--gold); }
.task.done .check svg { width: 1rem; height: 1rem; stroke-width: 3; }
.task .txt { flex: 1; }
.task .txt b { display: block; font-weight: 600; font-size: 1rem; }
.task.done .txt b { color: var(--ink-3); text-decoration: line-through; }
.task .txt span { font-size: .85rem; color: var(--ink-3); }

.quote { position: relative; padding: 24px 22px 20px; border-radius: var(--r-lg); background: var(--gold-50); overflow: hidden; }
.quote .mark { position: absolute; right: 14px; top: -14px; font-family: var(--serif); font-size: 7rem; line-height: 1; color: var(--gold-100); }
.quote p { position: relative; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--ink); }
.quote .who { position: relative; margin-top: 12px; font-size: .85rem; color: var(--ink-2); font-weight: 500; }
.quote .chip { position: relative; margin-bottom: 12px; background: #fff; }

.help { display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px; border-radius: var(--r-lg); background: #EEF7F1; text-decoration: none; }
.help .lead { width: 48px; height: 48px; border-radius: 50%; background: #25A55A; color: #fff; display: grid; place-items: center; flex: none; }
.help b { display: block; font-weight: 600; }
.help span { font-size: .85rem; color: var(--ink-2); }

.rail { display: flex; gap: 12px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rcard { flex: none; width: 200px; border-radius: var(--r-lg); background: var(--surface); overflow: hidden; scroll-snap-align: start; text-align: left; display: flex; flex-direction: column; }
.rcard .img { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.rcard .t { padding: 12px 14px 14px; }
.rcard b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.1; }
.rcard span { display: block; font-size: .8rem; color: var(--ink-3); margin-top: 6px; }

/* ---------- mi ritual (calendário) ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.stat { background: var(--surface); border-radius: var(--r-md); padding: 14px 12px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.stat span { display: block; margin-top: 6px; font-size: .75rem; color: var(--ink-3); font-weight: 600; }
.month { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 12px; }
.wds, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.wds span { text-align: center; font-size: .75rem; font-weight: 600; color: var(--ink-3); padding-bottom: 4px; }
.day { aspect-ratio: 1; min-height: 44px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: transform .12s var(--ease); }
.day:active { transform: scale(.94); }
.day.on { background: var(--gold); color: #fff; }
.day.now { background: #fff; color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.day.now.on { background: var(--gold); color: #fff; box-shadow: 0 0 0 3px var(--gold-100); }
.day.locked { background: transparent; color: #CFC6BA; }
.day.empty { background: transparent; }

/* ---------- recetas ---------- */
.mod-card { background: var(--surface); border-radius: var(--r-lg); padding: 18px; }
.mod-head { display: flex; align-items: flex-start; gap: 14px; }
.mod-head .num { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); flex: none; width: 26px; }
.mod-txt b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.mod-txt span { display: block; margin-top: 4px; font-size: .85rem; line-height: 1.4; color: var(--ink-3); }
.mod-items { display: grid; gap: 8px; margin-top: 14px; }
.mod-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 8px 12px 8px 8px; text-align: left; background: #fff; border-radius: 16px; }
.mod-item:active { background: var(--surface-2); }
.mod-item .thumb { width: 56px; height: 56px; border-radius: 12px; }
.mod-item .mc { flex: 1; min-width: 0; }
.mod-item .mc b { display: block; font-size: .95rem; font-weight: 600; line-height: 1.3; }
.mod-item .mc span { display: block; margin-top: 2px; font-size: .8rem; color: var(--ink-3); }
.mod-item .heart { color: var(--gold); }
.mod-item .heart svg { fill: var(--gold); width: 1.1rem; height: 1.1rem; }

.screen.has-hero { padding-top: 0; }
.hero-img { position: relative; margin: 0 calc(var(--gutter) * -1); aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.hero-img::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 110px; background: linear-gradient(to bottom, rgba(28,22,16,.5), rgba(28,22,16,0)); pointer-events: none; }
.hero-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60px; background: linear-gradient(to top, #fff, rgba(255,255,255,0)); }
.nav.on-hero:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.on-hero:not(.scrolled) .icon-btn { color: #fff; background: rgba(28,22,16,.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav.on-hero:not(.scrolled) .icon-btn.on svg { fill: #F2C063; color: #F2C063; }

.player { aspect-ratio: 16/9; border-radius: var(--r-lg); background: var(--grad-ink); position: relative; overflow: hidden; display: grid; place-items: center; margin-top: 16px; }
.player .play { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.player .play svg { width: 28px; height: 28px; fill: currentColor; margin-left: 3px; }
.player .dur { position: absolute; left: 16px; bottom: 14px; font-size: .8rem; color: rgba(255,255,255,.7); }
.player.vert { aspect-ratio: 9/16; max-height: 72vh; margin-left: auto; margin-right: auto; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }

.ing { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 14px 0; text-align: left; }
.ing + .ing { border-top: 1px solid var(--line); }
.ing .check { width: 30px; height: 30px; border-radius: 10px; border: 2px solid #D5CABB; flex: none; display: grid; place-items: center; color: #fff; margin-top: -2px; transition: .15s; }
.ing.done .check { background: var(--gold); border-color: var(--gold); }
.ing.done .check svg { width: 1rem; height: 1rem; stroke-width: 3; }
.ing.done span { color: var(--ink-3); text-decoration: line-through; }
.steps { counter-reset: s; }
.step { display: flex; gap: 14px; padding: 16px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; }
.step p { flex: 1; font-size: 1rem; color: var(--ink); padding-top: 5px; }
.secret { position: relative; padding: 22px 20px; border-radius: var(--r-lg); background: var(--ink); color: #fff; overflow: hidden; }
.secret::after { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, var(--gold-glow), rgba(230,160,40,0) 70%); }
.secret > * { position: relative; z-index: 1; }
.secret .kicker { color: #F2C063; display: flex; align-items: center; gap: 6px; }
.secret p { margin-top: 10px; font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; }
.disclaimer { margin-top: 24px; font-size: .78rem; color: var(--ink-3); text-align: center; }

/* modo cocina */
.cook { position: absolute; inset: 0; z-index: 25; background: #fff; display: flex; flex-direction: column; padding: 18px var(--gutter) calc(20px + env(safe-area-inset-bottom)); animation: fadein .25s ease both; }
.cook-top { display: flex; align-items: center; justify-content: space-between; }
.progress { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 14px; }
.progress i { display: block; height: 100%; background: var(--gold); border-radius: 99px; transition: width .4s var(--ease); }
.cook-body { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.cook-body .n { font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--gold); }
.cook-body p { margin-top: 14px; font-size: 1.6rem; line-height: 1.35; font-weight: 500; }

/* ---------- abas ---------- */
.tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; height: var(--tabs-h); display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-top: 1px solid var(--line); }
.tabs:empty { display: none; }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink-3); font-size: 12.5px; font-weight: 600; position: relative; }
.tab svg { width: 26px; height: 26px; }
.tab.on { color: var(--ink); }
.tab.on::before { content: ""; position: absolute; top: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- celebração ---------- */
.overlay { position: absolute; inset: 0; z-index: 30; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; animation: fadein .3s ease both; }
@keyframes fadein { from { opacity: 0; } }
.burst { position: relative; width: 210px; height: 210px; display: grid; place-items: center; }
.burst::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from 0deg, var(--gold-100) 0 8deg, transparent 8deg 20deg); animation: spin 18s linear infinite, grow .8s var(--ease) both; mask: radial-gradient(circle, #000 35%, transparent 70%); -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%); }
.burst span { position: relative; width: 100px; height: 100px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; animation: pop .6s var(--ease) both .1s; box-shadow: 0 24px 48px -18px var(--gold-glow); }
.burst span svg { width: 46px; height: 46px; stroke-width: 2.4; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { from { transform: scale(.3); opacity: 0; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.overlay .title { margin-top: 18px; }
.overlay .body { margin-top: 10px; max-width: 300px; }
.overlay .btn { margin-top: 28px; max-width: 340px; }

/* ---------- formulários ---------- */
.label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-top: 16px; }
.input { display: block; width: 100%; height: 60px; margin-top: 6px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-size: 1.05rem; color: var(--ink); outline: none; transition: border-color .15s, background .15s; }
.input:focus { border-color: var(--ink); background: #fff; }
.pw { position: relative; }
.pw .icon-btn { position: absolute; right: 6px; top: 12px; width: 48px; height: 48px; color: var(--ink-3); }
.err { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #FDEEEE; color: #A3261F; font-size: .9rem; font-weight: 500; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: var(--surface); margin-top: 10px; }
.seg button { min-height: 52px; border-radius: 12px; font-weight: 600; color: var(--ink-2); text-align: center; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(28,22,16,.08), 0 4px 12px -6px rgba(28,22,16,.2); }

/* ---------- folha de baixo (pop-up) ---------- */
.sheet { position: absolute; inset: 0; z-index: 40; display: flex; align-items: flex-end; }
.sheet-bg { position: absolute; inset: 0; background: rgba(28,22,16,.45); animation: fadein .2s ease both; }
.sheet-card { position: relative; width: 100%; max-height: 92%; overflow-y: auto; background: #fff; border-radius: 28px 28px 0 0; padding: 12px 24px calc(20px + env(safe-area-inset-bottom)); animation: up .35s var(--ease) both; text-align: center; }
.sheet-grip { width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto 20px; }
.sheet-ico { width: 60px; height: 60px; border-radius: 50%; background: var(--gold-50); color: var(--gold); display: grid; place-items: center; margin: 0 auto 14px; }
.sheet-ico svg { width: 26px; height: 26px; }
.sheet .player { margin: 18px 0 4px; }
.sheet ol { text-align: left; margin: 16px 0 0; padding-left: 0; list-style: none; counter-reset: k; }
.sheet ol li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; counter-increment: k; }
.sheet ol li::before { content: counter(k); width: 30px; height: 30px; border-radius: 50%; background: var(--gold-50); color: var(--gold); display: grid; place-items: center; font-weight: 700; flex: none; }
@keyframes up { from { transform: translateY(100%); } }

/* ---------- toast ---------- */
.toast { position: absolute; left: 50%; bottom: calc(var(--tabs-h) + 18px); z-index: 50; transform: translate(-50%, 12px); padding: 12px 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: .92rem; font-weight: 500; opacity: 0; pointer-events: none; transition: .25s var(--ease); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.spinner { width: 56px; height: 56px; border-radius: 50%; border: 4px solid var(--gold-50); border-top-color: var(--gold); animation: spin .9s linear infinite; }
.boot { height: 100%; display: grid; place-items: center; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* topo da tela Hoy com o Fernando */
.hoy-hero { position: relative; margin: 0 calc(var(--gutter) * -1); height: 300px; background: url('/img/fernando-hero.webp') 62% 30% / cover no-repeat, var(--grad-soft); display: flex; align-items: flex-end; }
.hoy-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,22,16,.78) 0%, rgba(28,22,16,.25) 55%, rgba(28,22,16,.05) 100%); }
.hoy-hero .icon-btn { position: absolute; top: 14px; right: 14px; z-index: 2; color: #fff; background: rgba(28,22,16,.38); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hoy-txt { position: relative; z-index: 1; padding: 0 var(--gutter) 20px; color: #fff; }
.hoy-txt .small { color: rgba(255,255,255,.85); font-weight: 500; text-transform: capitalize; }
.hoy-txt .display { margin-top: 4px; color: #fff; }
.hoy-txt .display em { color: #F2C063; }
.hoy-hero + .today { margin-top: 18px; }
/* blocos de receitas que abrem */
.mod-card .mod-head { width: 100%; text-align: left; align-items: center; }
.mod-card .mod-txt { flex: 1; min-width: 0; }
.mod-chev { color: var(--ink-3); flex: none; }
.mod-card:not(.open) .mod-items { display: none; }
.todo { display: flex; align-items: center; gap: 10px; }
.todo .mod-item { flex: 1; min-width: 0; }
.todo .check { width: 34px; height: 34px; border-radius: 10px; border: 2px solid #D5CABB; flex: none; display: grid; place-items: center; color: #fff; background: #fff; }
.todo.done .check { background: var(--green); border-color: var(--green); }
.todo.done .check svg { width: 1.1rem; height: 1.1rem; stroke-width: 3; }
.todo.done .mod-item b { color: var(--ink-3); }
/* aulas */
.btn.visto { background: var(--green); color: #fff; }
.visto-ic { color: var(--green); display: grid; place-items: center; }
.visto-ic svg { width: 1.6rem; height: 1.6rem; }

/* ícone do produto na tela de login (o mesmo da Hotmart) */
.login-ico { width: 220px; height: 220px; border-radius: 40px; object-fit: cover; box-shadow: 0 24px 48px -18px rgba(120,72,10,.45); }

/* player de vídeo próprio: controles discretos sobre o vídeo, somem enquanto toca */
.vplayer { width: min(100%, calc(66vh * 9 / 16)); margin: 16px auto 0; }
.vplayer .player.vert { width: 100%; max-height: none; margin: 0; }
.vplayer video { cursor: pointer; }
.vp-big { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: rgba(28,22,16,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; transition: opacity .25s, transform .25s; z-index: 2; }
.vp-big svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.vplayer.playing .vp-big { opacity: 0; pointer-events: none; transform: scale(.85); }
.vp-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 26px 10px 8px; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0)); opacity: 1; transition: opacity .3s; }
.vplayer.playing:not(.ui) .vp-bar { opacity: 0; pointer-events: none; }
.vp-btn { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; flex: none; }
.vp-btn svg { width: 20px; height: 20px; }
.vp-bar [data-vp="toggle"] svg { fill: currentColor; width: 18px; height: 18px; }
.vp-seek { flex: 1; min-width: 0; height: 3px; -webkit-appearance: none; appearance: none; background: rgba(255,255,255,.35); border-radius: 3px; outline: none; }
.vp-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #F2C063; }
.vp-seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #F2C063; }
.vp-time { font-size: .72rem; color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* login: ícone + botão do tutorial pulsando */
.ob-art:has(.tut-pulse) { height: auto; padding: 8px 0 4px; gap: 18px; }
.tut-pulse { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 700; font-size: 1rem; animation: tutpulse 1.8s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(168,103,15,.5); }
.tut-pulse svg { width: 20px; height: 20px; }
@keyframes tutpulse { 0% { box-shadow: 0 0 0 0 rgba(168,103,15,.5); transform: scale(1); } 50% { transform: scale(1.04); } 70% { box-shadow: 0 0 0 16px rgba(168,103,15,0); } 100% { box-shadow: 0 0 0 0 rgba(168,103,15,0); transform: scale(1); } }
