/* Morel Fit: site de apresentação (local). Usa o mesmo visual do app: tema Menta, vidro, DM Sans. */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url('assets/fonts/dm-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-display: swap; src: url('assets/fonts/dm-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url('assets/fonts/dm-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url('assets/fonts/dm-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Marcellus'; font-weight: 400; font-display: swap; src: url('assets/fonts/marcellus-latin-400-normal.woff2') format('woff2'); }

:root {
  --bg-from: #f4faf7;
  --bg-to: #dcefe4;
  --blob1: #a7f3d0;
  --blob2: #fde7c8;
  --accent: #10b981;
  --accent-2: #059669;
  --accent-dark: #047857;
  --text: #06382a;
  --muted: #4b6b5f;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(255, 255, 255, 0.95);
  --shadow: 0 6px 18px rgba(4, 120, 87, 0.12);
  --shadow-lg: 0 24px 60px rgba(4, 120, 87, 0.2);
  --line: rgba(4, 120, 87, 0.12);
  --soft: rgba(4, 120, 87, 0.08);
  --orange: #f59e0b;
  --rose: #f43f5e;
  --blue: #3b82f6;
  --kcal: #fb923c;
  --prot: #ea580c;
  --radius: 28px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--bg-from), var(--bg-to)) fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before, body::after {
  content: '';
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.7;
  pointer-events: none;
}
body::before { width: 520px; height: 520px; background: var(--blob1); top: -140px; left: -120px; }
body::after { width: 560px; height: 560px; background: var(--blob2); bottom: -160px; right: -140px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
section { padding: 96px 0; position: relative; }
.wordmark { font-family: 'Marcellus', serif; color: var(--accent-2); letter-spacing: 0; }

.glass {
  background: var(--glass);
  border: 0.5px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.glass-strong { background: var(--glass-strong); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }

/* ---------- Buttons and chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 0; cursor: pointer; font-family: inherit; transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(16, 185, 129, 0.35); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 14px 30px rgba(16, 185, 129, 0.45); transform: translateY(-1px); }
.btn-ghost { background: var(--glass-strong); color: var(--text); border: 0.5px solid var(--glass-border); box-shadow: var(--shadow); }
.btn-ghost:hover { background: #fff; }
.btn-dark { background: #0b1f18; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--glass-strong); border: 0.5px solid var(--glass-border); box-shadow: var(--shadow);
  font-size: 0.85rem; font-weight: 600; color: var(--accent-dark);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
.soon {
  display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 999px;
  background: rgba(4, 120, 87, 0.1); color: var(--accent-dark); font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: 16px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.12rem; }
.kicker { color: var(--accent-2); font-weight: 700; font-size: 0.9rem; }

/* ---------- Header ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50; padding: 14px 0;
  transition: padding 0.2s;
}
header.nav .navin {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 14px 10px 18px;
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 10px rgba(4, 120, 87, 0.25); }
.nav-links { display: flex; gap: 28px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--accent-dark); }
.nav .btn { padding: 11px 20px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.5rem); font-weight: 700; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 1.28rem; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 17px; height: 17px; color: var(--accent); }
.hero-stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.hero-stage .halo {
  position: absolute; width: 470px; height: 470px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 65%);
}

/* ---------- Phone mockup ---------- */
.phone {
  position: relative; width: 300px; aspect-ratio: 750 / 1624; border-radius: 48px; padding: 9px;
  background: linear-gradient(145deg, #1a2e27, #08130f);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #f4faf7; }
.phone .screen img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s; }
.phone .screen img.shot.on { opacity: 1; }
.phone::before {
  content: ''; position: absolute; z-index: 5; top: 20px; left: 50%; width: 84px; height: 24px; margin-left: -42px;
  border-radius: 20px; background: #050a08;
}
.phone.sm { width: 250px; border-radius: 42px; padding: 8px; }
.phone.sm .screen { border-radius: 35px; }
.phone.sm::before { width: 70px; height: 20px; margin-left: -35px; top: 17px; }
.phone-dots { position: absolute; bottom: -34px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; }
.phone-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(4, 120, 87, 0.25); cursor: pointer; padding: 0; transition: all 0.3s; }
.phone-dots button.on { width: 24px; border-radius: 6px; background: var(--accent); }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Audience strip ---------- */
.strip { padding: 0 0 24px; }
.strip .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.pill { padding: 12px 20px; border-radius: 999px; font-weight: 600; color: var(--accent-dark); display: inline-flex; gap: 10px; align-items: center; }
.pill svg { width: 18px; height: 18px; }

/* ---------- Problem / solution ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card { padding: 30px; }
.problem-card .before { color: #9a3b3b; text-decoration: line-through; text-decoration-color: rgba(244, 63, 94, 0.5); font-weight: 500; }
.problem-card .arrow { color: var(--accent); margin: 12px 0; }
.problem-card .arrow svg { width: 26px; height: 26px; }
.problem-card h3 { font-size: 1.4rem; margin-top: 4px; }
.problem-card p { color: var(--muted); margin-top: 10px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 30px 28px 34px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 18px; box-shadow: 0 6px 14px rgba(16, 185, 129, 0.4);
}
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); margin-top: 8px; }

/* ---------- Feature rows ---------- */
.feature { padding: 70px 0; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature-row.rev .copy { order: 2; }
.feature .copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 14px 0 16px; }
.feature .copy > p { color: var(--muted); font-size: 1.12rem; max-width: 520px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ck { flex: 0 0 26px; height: 26px; border-radius: 50%; background: rgba(16, 185, 129, 0.16); color: var(--accent-2); display: grid; place-items: center; margin-top: 1px; }
.checks .ck svg { width: 15px; height: 15px; }
.checks b { display: block; }
.checks span.d { color: var(--muted); font-size: 0.97rem; }
.stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.stage .halo { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, 0.28), transparent 66%); }
.stage .phone { position: relative; }
.stage .phone.back { position: absolute; transform: translateX(-120px) rotate(-7deg) scale(0.9); opacity: 0.95; }
.stage .phone.front { transform: translateX(70px) rotate(4deg); }
.stage.single .phone { transform: none; }

/* ---------- Demo scenes (CSS animated, illustrative) ---------- */
.app-ui { position: absolute; inset: 0; padding: 46px 14px 14px; font-size: 11px; color: #06382a; background: linear-gradient(170deg, #f4faf7, #dcefe4); overflow: hidden; }
.app-ui .title { font-size: 17px; font-weight: 700; margin: 4px 0 10px; letter-spacing: -0.01em; }
.ui-card { background: rgba(255, 255, 255, 0.8); border: 0.5px solid #fff; border-radius: 18px; box-shadow: 0 4px 12px rgba(4, 120, 87, 0.1); padding: 11px 12px; }
.reveal { opacity: 0; animation: reveal 10s infinite both; }
@keyframes reveal {
  0% { opacity: 0; transform: translateY(10px); }
  5% { opacity: 1; transform: none; }
  88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(0); }
}
.photo { position: relative; height: 150px; border-radius: 16px; overflow: hidden; background: #cfe8d9; }
.photo svg { width: 100%; height: 100%; display: block; }
.scan { position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, #34d399, transparent); box-shadow: 0 0 18px 6px rgba(52, 211, 153, 0.7); animation: scan 10s infinite; top: 0; opacity: 0; }
@keyframes scan { 0% { top: 0; opacity: 0; } 3% { opacity: 1; } 22% { top: 100%; opacity: 1; } 24%, 100% { top: 100%; opacity: 0; } }
.tag-ai { position: absolute; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-size: 9.5px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); opacity: 0; animation: reveal 10s infinite both; }
.food-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.food-row:last-child { border-bottom: 0; }
.food-row b { font-size: 11.5px; display: block; }
.food-row small { color: var(--muted); font-size: 10px; }
.food-row .k { font-weight: 700; color: var(--kcal); font-size: 11.5px; white-space: nowrap; }
.macro-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.macro-bars .m { font-size: 9.5px; color: var(--muted); }
.macro-bars .m b { display: block; color: var(--text); font-size: 12px; }
.bar { height: 5px; border-radius: 4px; background: rgba(4, 120, 87, 0.1); overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; border-radius: 4px; width: 0; animation: fill 10s infinite both; }
@keyframes fill { 0%, 12% { width: 0; } 30%, 90% { width: var(--w); } 98%, 100% { width: 0; } }
.cta-mini { margin-top: 10px; background: var(--accent); color: #fff; font-weight: 700; text-align: center; padding: 9px; border-radius: 14px; font-size: 11.5px; }
.chip-s { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 9.5px; font-weight: 700; }
.chip-green { background: #10b981; color: #fff; }
.chip-amber { background: rgba(245, 158, 11, 0.18); color: #b45309; }
.check-row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.check-row:last-child { border-bottom: 0; }
.check-row .bx { width: 17px; height: 17px; border-radius: 6px; border: 1.5px solid rgba(4, 120, 87, 0.35); display: grid; place-items: center; flex: 0 0 17px; position: relative; }
.check-row .bx::after { content: ''; position: absolute; inset: -1.5px; border-radius: 6px; background: var(--accent); opacity: 0; animation: tick 10s infinite both; }
@keyframes tick { 0%, 6% { opacity: 0; } 10%, 90% { opacity: 1; } 98%, 100% { opacity: 0; } }
.check-row .tx { flex: 1; }
.check-row .tx b { font-size: 11.5px; display: block; }
.check-row .tx small { color: var(--muted); font-size: 9.5px; }
.check-row .qt { color: var(--accent-2); font-weight: 700; font-size: 11px; }
.gen-step { display: flex; align-items: center; gap: 9px; padding: 8px 4px; font-weight: 600; font-size: 11.5px; }
.gen-step .st { width: 18px; height: 18px; border-radius: 50%; flex: 0 0 18px; border: 2px solid rgba(4, 120, 87, 0.25); position: relative; }
.gen-step .st::after { content: '✓'; position: absolute; inset: -2px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 10px; opacity: 0; animation: tick 10s infinite both; }
.ring { position: relative; width: 84px; height: 84px; }
.ring svg { transform: rotate(-90deg); }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 15px; font-weight: 700; line-height: 1; }
.ring .num small { font-size: 8.5px; font-weight: 500; color: var(--muted); display: block; margin-top: 2px; }
.ring circle.prog { stroke-dasharray: 226; stroke-dashoffset: 226; animation: ringfill 10s infinite both; }
@keyframes ringfill { 0%, 14% { stroke-dashoffset: 226; } 34%, 90% { stroke-dashoffset: 28; } 98%, 100% { stroke-dashoffset: 226; } }

/* ---------- Benefits grid ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { padding: 30px; }
.benefit .ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(16, 185, 129, 0.15); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .ic svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 1.22rem; margin-bottom: 8px; }
.benefit p { color: var(--muted); }

/* ---------- Personas ---------- */
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.persona { padding: 32px 30px; display: flex; flex-direction: column; gap: 12px; }
.persona .tagp { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(16, 185, 129, 0.15); color: var(--accent-dark); font-weight: 700; font-size: 0.8rem; }
.persona h3 { font-size: 1.4rem; }
.persona p { color: var(--muted); }
.persona ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-weight: 500; }
.persona li { display: flex; gap: 10px; align-items: flex-start; }
.persona li svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 18px; margin-top: 3px; }

/* ---------- Testimonials (placeholders) ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { padding: 30px; display: flex; flex-direction: column; gap: 16px; min-height: 250px; }
.tcard.placeholder { border: 1.5px dashed rgba(4, 120, 87, 0.35); background: rgba(255, 255, 255, 0.45); }
.stars { color: #f59e0b; letter-spacing: 3px; font-size: 1.1rem; }
.tcard .quote { font-size: 1.1rem; font-weight: 500; line-height: 1.5; }
.tcard.placeholder .quote { color: transparent; background: linear-gradient(90deg, rgba(4, 120, 87, 0.12), rgba(4, 120, 87, 0.05)); border-radius: 8px; height: 76px; user-select: none; }
.tperson { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tperson .av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #a7f3d0, #34d399); display: grid; place-items: center; font-weight: 700; color: #064e3b; }
.tcard.placeholder .av { background: rgba(4, 120, 87, 0.12); color: transparent; }
.tperson b { display: block; }
.tperson small { color: var(--muted); }
.tcard.placeholder .tperson b, .tcard.placeholder .tperson small { color: var(--muted); font-weight: 500; }
.note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 22px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.plan { padding: 38px 34px; display: flex; flex-direction: column; position: relative; }
.plan.featured { background: var(--glass-strong); border: 2px solid var(--accent); box-shadow: 0 20px 50px rgba(16, 185, 129, 0.28); transform: translateY(-8px); }
.plan .badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-weight: 700; font-size: 0.82rem; padding: 7px 16px; border-radius: 999px; box-shadow: 0 6px 14px rgba(16, 185, 129, 0.4); white-space: nowrap; }
.plan h3 { font-size: 1.3rem; }
.plan .sub { color: var(--muted); margin-top: 4px; }
.price { margin: 24px 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amount { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.03em; }
.price .per { color: var(--muted); font-weight: 500; font-size: 1.05rem; }
.price-sec { color: var(--muted); font-size: 0.95rem; min-height: 46px; }
.price-sec b { color: var(--accent-dark); }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; }
.plan li svg { width: 19px; height: 19px; color: var(--accent); flex: 0 0 19px; margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 12px; }

.mechanics { margin-top: 70px; }
.mech-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 36px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.tl { padding: 26px 22px; position: relative; }
.tl .when { color: var(--accent-2); font-weight: 700; font-size: 0.85rem; }
.tl h4 { font-size: 1.12rem; margin: 8px 0; }
.tl p { color: var(--muted); font-size: 0.96rem; }
.tl::after { content: ''; position: absolute; top: 50%; right: -19px; width: 20px; height: 2px; background: var(--accent); opacity: 0.5; }
.tl:last-child::after { display: none; }
.calc { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.calc .c { padding: 24px; text-align: center; }
.calc .c b { display: block; font-size: 1.9rem; letter-spacing: -0.02em; color: var(--accent-dark); }
.calc .c span { color: var(--muted); font-size: 0.95rem; }
.fair { margin-top: 28px; padding: 26px 30px; display: flex; gap: 20px; align-items: flex-start; }
.fair .ic { flex: 0 0 48px; height: 48px; border-radius: 14px; background: rgba(16, 185, 129, 0.15); color: var(--accent-2); display: grid; place-items: center; }
.fair .ic svg { width: 24px; height: 24px; }
.fair p { color: var(--muted); }
.fair b { color: var(--text); display: block; margin-bottom: 4px; font-size: 1.05rem; }

/* ---------- Trust / privacy ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-card { padding: 26px 22px; }
.trust-card svg { width: 28px; height: 28px; color: var(--accent-2); margin-bottom: 14px; }
.trust-card h4 { font-size: 1.08rem; margin-bottom: 6px; }
.trust-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { padding: 4px 24px; border-radius: 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; padding: 18px 28px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--accent); transition: transform 0.2s; font-weight: 400; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* ---------- Final CTA / footer ---------- */
.final { padding: 40px 0 96px; }
.final .box { padding: 64px 40px; text-align: center; background: linear-gradient(135deg, #10b981, #059669); color: #fff; border-radius: 40px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; border: 0; }
.final .box::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); top: -140px; right: -80px; }
.final h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); position: relative; }
.final p { margin: 16px auto 30px; max-width: 560px; opacity: 0.92; font-size: 1.15rem; position: relative; }
.final .btn { position: relative; background: #fff; color: var(--accent-dark); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.final .btn:hover { background: #f4faf7; }
footer { padding: 36px 0 56px; color: var(--muted); font-size: 0.92rem; }
footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a:hover { color: var(--accent-dark); }
footer .legal { margin-top: 24px; font-size: 0.82rem; opacity: 0.85; max-width: 760px; }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: 0.1s; } .rv.d2 { transition-delay: 0.2s; } .rv.d3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .hero-grid, .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.rev .copy { order: 0; }
  .hero { padding-top: 24px; }
  .hero-stage { min-height: 600px; }
  .nav-links { display: none; }
  .problem-grid, .steps, .benefits, .personas, .testimonials { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .tl::after { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .stage { min-height: 520px; }
  .stage .phone.back { transform: translateX(-90px) rotate(-7deg) scale(0.85); }
  .stage .phone.front { transform: translateX(50px) rotate(4deg); }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .timeline, .trust-grid { grid-template-columns: 1fr; }
  .phone { width: 270px; }
  .stage .phone.back { transform: translateX(-70px) rotate(-7deg) scale(0.8); }
  .stage .phone.front { transform: translateX(40px) rotate(4deg); }
  .final .box { padding: 48px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rv, .reveal, .tag-ai { opacity: 1 !important; transform: none !important; }
  .bar i { width: var(--w) !important; }
  .ring circle.prog { stroke-dashoffset: 28 !important; }
  .check-row .bx::after, .gen-step .st::after { opacity: 1 !important; }
}

/* ---------- Details added after the first render ---------- */
.check-row:nth-child(1) .bx::after { animation-delay: 0.8s; }
.check-row:nth-child(2) .bx::after { animation-delay: 1.8s; }
.check-row:nth-child(3) .bx::after { animation-delay: 2.8s; }
.check-row:nth-child(4) .bx::after { animation-delay: 3.8s; }
.check-row:nth-child(5) .bx::after { animation-delay: 4.8s; }
.check-row:nth-child(6) .bx::after { animation-delay: 5.8s; }
.check-row:nth-child(7) .bx::after { animation-delay: 6.8s; }
.check-row.done .tx { text-decoration: line-through; opacity: 0.55; }
header.nav .navin { transition: box-shadow 0.2s; }
header.nav .navin.scrolled { box-shadow: 0 10px 30px rgba(4, 120, 87, 0.18); }
.kicker { display: inline-block; }
.brand img { flex: none; object-fit: cover; }
.btn { white-space: nowrap; }
header.nav .navin { flex-wrap: nowrap; }
.brand { min-width: 0; flex: 0 1 auto; }
@media (max-width: 640px) {
  header.nav { padding: 10px 0; }
  header.nav .navin { padding: 8px 10px 8px 14px; gap: 10px; }
  .brand { font-size: 1.15rem; gap: 9px; }
  .brand img { width: 32px; height: 32px; }
  .nav .btn { padding: 10px 16px; font-size: 0.88rem; }
  .nav .btn .long { display: none; }
  .hero h1 { font-size: 2.45rem; }
  .btn-lg { padding: 16px 26px; }
  .cta-row .btn { width: 100%; }
}

.app-ui .title { margin-top: 0; }

/* =========================================================================================================
   Second pass: warmer palette (sand, cream, amber, coral, blue) so green is the brand accent, not the whole page,
   and a cleaner header.
========================================================================================================= */
:root {
  --cream: #fffdf8;
  --sand: #f4ebdb;
  --sand-2: #ece0c9;
  --ink: #10241c;
  --amber: #f59e0b;
  --amber-d: #b45309;
  --coral: #f97316;
  --sky: #2563eb;
  --rose: #e11d48;
}
body { background: linear-gradient(165deg, #fffdf8, #f6eddd) fixed; }
body::before { background: #bfeedb; opacity: 0.45; width: 440px; height: 440px; top: -150px; left: -150px; }
body::after { background: #fbd9a8; opacity: 0.6; }

/* Header: full-width translucent bar, brand left, links truly centered, CTA right */
header.nav {
  padding: 0;
  background: rgba(255, 253, 248, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 36, 28, 0.07);
}
header.nav .navin {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 12px 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
header.nav .navin.scrolled { box-shadow: none; }
header.nav.scrolled-bar { box-shadow: 0 8px 24px rgba(16, 36, 28, 0.08); }
header.nav .brand { justify-self: start; font-size: 1.35rem; }
header.nav .navin > .btn { justify-self: end; }
.nav-links { justify-self: center; gap: 34px; font-size: 0.97rem; color: var(--ink); }
.nav-links a { position: relative; padding: 6px 0; opacity: 0.72; transition: opacity 0.2s; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.nav-links a:hover { opacity: 1; color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 980px) {
  header.nav .navin { display: flex; justify-content: space-between; padding: 10px 0; }
}

/* Section tones */
/* The tinted sections fade in and out at their edges, so the colour moves smoothly into the next section */
section.alt, section.dark { isolation: isolate; }
section.alt::before, section.dark::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 170px, #000 calc(100% - 170px), transparent);
  mask-image: linear-gradient(transparent, #000 170px, #000 calc(100% - 170px), transparent);
}
section.alt::before { background: linear-gradient(180deg, var(--sand), #efe3cc); }
section.alt .kicker { color: var(--amber-d); }
section.alt .glass { background: rgba(255, 253, 248, 0.85); box-shadow: 0 6px 18px rgba(120, 90, 20, 0.1); }
section.dark { color: #f6efe2; }
section.dark::before { background: radial-gradient(900px 400px at 85% -10%, rgba(245, 158, 11, 0.16), transparent 60%), #10241c; }
section.dark .kicker { color: #fbbf24; }
section.dark .section-head h2 { color: #fffdf8; }
section.dark .trust-card {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
section.dark .trust-card svg { color: #fbbf24; }
section.dark .trust-card h4 { color: #fffdf8; }
section.dark .trust-card p { color: rgba(255, 253, 248, 0.7); }

/* Warm accents on repeated elements */
.pill:nth-child(1) svg { color: var(--coral); }
.pill:nth-child(2) svg { color: var(--amber); }
.pill:nth-child(3) svg { color: var(--sky); }
.pill:nth-child(4) svg { color: var(--rose); }
.pill { color: var(--ink); }
.hero-stage .halo { background: radial-gradient(circle, rgba(251, 191, 36, 0.32), rgba(16, 185, 129, 0.12) 45%, transparent 68%); }
.feature-row.rev .stage .halo { background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 66%); }

.step:nth-child(1)::before { background: var(--ink); box-shadow: 0 6px 14px rgba(16, 36, 28, 0.35); }
.step:nth-child(2)::before { background: var(--amber); box-shadow: 0 6px 14px rgba(245, 158, 11, 0.4); }
.step:nth-child(3)::before { background: var(--accent); }

.benefit .ic { background: rgba(16, 185, 129, 0.15); color: var(--accent-2); }
.benefits .benefit:nth-child(1) .ic { background: rgba(245, 158, 11, 0.18); color: var(--amber-d); }
.benefits .benefit:nth-child(3) .ic { background: rgba(37, 99, 235, 0.13); color: var(--sky); }
.benefits .benefit:nth-child(4) .ic { background: rgba(249, 115, 22, 0.16); color: #c2410c; }
.benefits .benefit:nth-child(5) .ic { background: rgba(225, 29, 72, 0.12); color: var(--rose); }

.persona:nth-child(1) .tagp { background: rgba(245, 158, 11, 0.2); color: var(--amber-d); }
.persona:nth-child(2) .tagp { background: rgba(37, 99, 235, 0.13); color: var(--sky); }
.persona:nth-child(1) li svg { color: var(--amber); }
.persona:nth-child(2) li svg { color: var(--sky); }

.problem-card .arrow { color: var(--amber); }
.problem-card:nth-child(2) .arrow { color: var(--sky); }
.problem-card:nth-child(3) .arrow { color: var(--coral); }

.tl .when { color: var(--amber-d); }
.calc .c:nth-child(1) b { color: var(--amber-d); }
.calc .c:nth-child(3) b { color: var(--coral); }
.fair .ic { background: rgba(245, 158, 11, 0.18); color: var(--amber-d); }

/* Pricing */
.plan .badge { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #3b2300; box-shadow: 0 6px 14px rgba(245, 158, 11, 0.45); }
.plan.featured { border-color: var(--accent); box-shadow: 0 20px 50px rgba(120, 90, 20, 0.2); }
.price-full { color: var(--muted); font-size: 0.95rem; margin: 2px 0 12px; }
.price-full b { color: var(--ink); font-weight: 600; }
.price-sec { min-height: 0; }
.price-sec b { color: var(--amber-d); }
.plan:not(.featured) .price-sec { margin-top: 0; }

/* Final call to action */
.final .box { background: linear-gradient(135deg, #10241c, #1f3d31); }
.final .box::before { background: rgba(245, 158, 11, 0.22); }
.final .btn { background: #fff3dc; color: var(--ink); }
.final .btn:hover { background: #ffe8bd; }
.final p { opacity: 0.85; }
@media (max-width: 640px) { .fair { flex-direction: column; gap: 14px; } }

/* ---------- Hub (o que existe hoje e o que vem) ---------- */
.hub-progress { max-width: 560px; margin: -20px auto 36px; text-align: center; }
.hub-progress .hp-top { display: flex; justify-content: center; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.hub-progress .hp-top b { font-size: 1.6rem; letter-spacing: -0.02em; color: var(--accent-dark); }
.hub-progress .hp-top span { color: var(--muted); font-weight: 500; }
.hp-bar { height: 10px; border-radius: 999px; background: rgba(16, 36, 28, 0.08); overflow: hidden; }
.hp-bar i { display: block; height: 100%; width: var(--w, 0); border-radius: 999px; background: linear-gradient(90deg, var(--accent), #34d399); transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-tile { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.hub-tile .ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 6px; background: rgba(16, 185, 129, 0.15); color: var(--accent-2); }
.hub-tile .ic svg { width: 24px; height: 24px; }
.hub-tile h3 { font-size: 1.15rem; }
.hub-tile p { color: var(--muted); font-size: 0.97rem; }
.status { align-self: flex-start; padding: 4px 11px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.status.live { background: var(--accent); color: #fff; }
.status.is-soon { background: rgba(180, 83, 9, 0.12); color: var(--amber-d); }
.hub-tile.is-soon { background: rgba(255, 253, 248, 0.5); border: 1.5px dashed rgba(180, 83, 9, 0.4); box-shadow: none; }
.hub-tile.is-soon .ic { background: rgba(245, 158, 11, 0.16); color: var(--amber-d); }
.hub-tile.is-soon h3, .hub-tile.is-soon p { opacity: 0.8; }
.hub-tile.live:nth-child(2) .ic { background: rgba(245, 158, 11, 0.18); color: var(--amber-d); }
.hub-tile.live:nth-child(3) .ic { background: rgba(37, 99, 235, 0.13); color: var(--sky); }
.hub-tile.live:nth-child(5) .ic { background: rgba(225, 29, 72, 0.12); color: var(--rose); }
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.roadmap .tl::after { display: none; }
.roadmap .tl:nth-child(1) { border-top: 4px solid var(--accent); }
.roadmap .tl:nth-child(2) { border-top: 4px solid var(--amber); }
.roadmap .tl:nth-child(3) { border-top: 4px solid rgba(16, 36, 28, 0.25); }
@media (max-width: 980px) { .hub-grid, .roadmap { grid-template-columns: 1fr; } }
@media (min-width: 641px) and (max-width: 980px) { .hub-grid { grid-template-columns: 1fr 1fr; } }

/* Hero: what is available today vs coming soon */
.hero-status { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.hs { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; font-size: 0.95rem; font-weight: 500; }
.hs b { font-weight: 700; }
.hs i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.hs.live { background: rgba(16, 185, 129, 0.14); color: var(--accent-dark); }
.hs.live i { background: var(--accent); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22); }
.hs.is-soon { background: rgba(255, 253, 248, 0.6); border: 1.5px dashed rgba(180, 83, 9, 0.5); color: var(--amber-d); }
.hs.is-soon i { background: var(--amber); }
@media (max-width: 640px) { .hs { font-size: 0.9rem; padding: 8px 14px; } }

/* ---------- Ways: how to get a diet and how to log food ---------- */
.ways { display: grid; gap: 10px; margin: 24px 0 0; }
.ways-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ways-label { min-width: 84px; font-size: 0.82rem; font-weight: 700; color: var(--amber-d); }
.wy { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink); background: rgba(255, 253, 248, 0.85); border: 0.5px solid rgba(16, 36, 28, 0.1); box-shadow: 0 2px 8px rgba(120, 90, 20, 0.08); }
.wy svg { width: 16px; height: 16px; color: var(--accent-2); }
.ways-row:nth-child(2) .wy svg { color: var(--sky); }
.ways-row:nth-child(3) .wy svg { color: var(--coral); }
.sub-head { text-align: center; font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 8px 0 22px; }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 46px; }
.way-card { padding: 26px 24px 28px; }
.way-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(16, 185, 129, 0.15); color: var(--accent-2); }
.way-card .ic svg { width: 23px; height: 23px; }
.way-card h4 { font-size: 1.12rem; margin-bottom: 6px; }
.way-card p { color: var(--muted); font-size: 0.96rem; }
.ways-grid.three .way-card:nth-child(2) .ic { background: rgba(245, 158, 11, 0.18); color: var(--amber-d); }
.ways-grid.three .way-card:nth-child(3) .ic { background: rgba(37, 99, 235, 0.13); color: var(--sky); }
.ways-grid.six .way-card:nth-child(1) .ic { background: rgba(245, 158, 11, 0.18); color: var(--amber-d); }
.ways-grid.six .way-card:nth-child(2) .ic { background: rgba(37, 99, 235, 0.13); color: var(--sky); }
.ways-grid.six .way-card:nth-child(4) .ic { background: rgba(249, 115, 22, 0.16); color: #c2410c; }
.ways-grid.six .way-card:nth-child(5) .ic { background: rgba(225, 29, 72, 0.12); color: var(--rose); }
.macro-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 30px; }
.mb-text b { display: block; font-size: 1.15rem; }
.mb-text span { color: var(--muted); }
.mb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mb { padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 0.88rem; }
.mb.c1 { background: rgba(251, 146, 60, 0.2); color: #c2410c; }
.mb.c2 { background: rgba(234, 88, 12, 0.16); color: #9a3412; }
.mb.c3 { background: rgba(59, 130, 246, 0.16); color: #1d4ed8; }
.mb.c4 { background: rgba(245, 158, 11, 0.2); color: #92400e; }
.mb.c5 { background: rgba(6, 182, 212, 0.16); color: #0e7490; }
/* the "Adicionar em Almoço" sheet in the phone demo */
.sheet { padding: 6px 10px; }
.sheet-row { display: flex; align-items: center; gap: 11px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.sheet-row:last-child { border-bottom: 0; }
.sheet-row .si { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 185, 129, 0.16); color: var(--accent-2); }
.sheet-row .si svg { width: 15px; height: 15px; }
.sheet-row .st b { display: block; font-size: 11.5px; }
.sheet-row .st small { color: var(--muted); font-size: 9.5px; }
.sheet-row:nth-child(2) .si { background: rgba(245, 158, 11, 0.2); color: var(--amber-d); }
.sheet-row:nth-child(4) .si { background: rgba(37, 99, 235, 0.14); color: var(--sky); }
.sheet-row:nth-child(5) .si { background: rgba(225, 29, 72, 0.12); color: var(--rose); }
@media (max-width: 980px) { .ways-grid { grid-template-columns: 1fr; } .macro-banner { padding: 22px; } }
@media (min-width: 641px) and (max-width: 980px) { .ways-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ways-label { min-width: 100%; } .wy { font-size: 0.85rem; padding: 6px 11px; } }
.sheet-row { padding: 6px 2px; }
.sheet-row .st small { line-height: 1.25; }

/* Hero: short impact lines */
.hero p.lead { font-size: 1.2rem; display: grid; gap: 2px; }
.hero p.lead b { color: var(--ink); font-weight: 700; display: block; font-size: 1.15em; letter-spacing: -0.01em; }
/* "When to use" label on each way to log food */
.way-card .when { display: inline-block; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(180, 83, 9, 0.12); color: var(--amber-d); font-size: 0.76rem; font-weight: 700; }
/* "Comendo fora" demo */
.menu-photo { height: 88px; }
.opt { display: flex; align-items: center; gap: 9px; padding: 7px 2px; border-bottom: 1px solid var(--line); }
.opt:last-child { border-bottom: 0; }
.opt .rk { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 11px; display: grid; place-items: center; }
.opt:nth-of-type(2) .rk { background: var(--amber); color: #3b2300; }
.opt:nth-of-type(3) .rk { background: #94a3b8; }
.opt > div { flex: 1; min-width: 0; }
.opt b { font-size: 11px; display: block; }
.opt small { color: var(--muted); font-size: 9.5px; line-height: 1.25; display: block; }
.opt .k { font-weight: 700; color: var(--kcal); font-size: 11px; white-space: nowrap; }
.ui-card.warn { background: rgba(254, 226, 226, 0.85); }
.ui-card.warn b { color: #9f1239; font-size: 11px; display: block; }
.ui-card.warn small { color: #7f1d1d; font-size: 9.5px; }

/* ---------- Hero scenes: floating feature cards that follow each phone screen ---------- */
.hero-cards { position: absolute; inset: 0; pointer-events: none; }
.fc { position: absolute; opacity: 0; transform: translateY(16px) scale(0.95); transition: opacity 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i) * 0.2s); }
.fc.in { opacity: 1; transform: none; }
.fc-body { display: flex; align-items: center; gap: 11px; padding: 11px 16px 11px 12px; border-radius: 18px; max-width: 270px; animation: bob 5s ease-in-out infinite; animation-delay: calc(var(--i) * -0.9s); }
.fc-body b { display: block; font-size: 0.95rem; line-height: 1.15; }
.fc-body small { display: block; color: var(--muted); font-weight: 500; font-size: 0.78rem; line-height: 1.25; margin-top: 2px; }
.fc-body .ic { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.fc-body .ic svg { width: 20px; height: 20px; }
.tone-green { background: rgba(16, 185, 129, 0.16); color: var(--accent-2); }
.tone-amber { background: rgba(245, 158, 11, 0.2); color: var(--amber-d); }
.tone-blue { background: rgba(37, 99, 235, 0.14); color: var(--sky); }
.tone-rose { background: rgba(225, 29, 72, 0.12); color: var(--rose); }
.tone-coral { background: rgba(249, 115, 22, 0.17); color: #c2410c; }
.tone-soon { background: rgba(245, 158, 11, 0.2); color: var(--amber-d); }
.fc.is-soon .fc-body { border: 1.5px dashed rgba(180, 83, 9, 0.5); background: rgba(255, 253, 248, 0.88); }
.fc-tl { top: 56px; left: -10px; }
.fc-tr { top: 22px; right: -10px; }
.fc-ml { top: 292px; left: -18px; }
.fc-mr { top: 284px; right: -18px; }
.fc-bl { bottom: 96px; left: -10px; }
.fc-br { bottom: 150px; right: -14px; }
@media (min-width: 1260px) {
  .fc-tl { left: -34px; } .fc-tr { right: -38px; } .fc-ml { left: -52px; }
  .fc-mr { right: -52px; } .fc-bl { left: -34px; } .fc-br { right: -44px; }
}
.scene-caption { display: none; }
@media (max-width: 640px) {
  .hero-stage { min-height: 600px; padding-bottom: 8px; }
  .phone-dots { bottom: -30px; }
  .scene-caption { display: block; position: absolute; left: 0; right: 0; bottom: -62px; margin: 0; font-weight: 700; font-size: 0.95rem; color: var(--accent-dark); text-align: center; }
  .hero-stage { margin-bottom: 70px; }
  /* compact floating cards that overlap the phone edges, like on the computer */
  .fc-body { padding: 7px 11px 7px 8px; gap: 8px; border-radius: 15px; max-width: 168px; }
  .fc-body .ic { flex-basis: 28px; height: 28px; border-radius: 9px; }
  .fc-body .ic svg { width: 15px; height: 15px; }
  .fc-body b { font-size: 0.78rem; }
  .fc-body small { display: none; }
  .fc-tl { top: 40px; left: -6px; }
  .fc-tr { top: 6px; right: -6px; }
  .fc-ml { top: 270px; left: -10px; }
  .fc-mr { top: 250px; right: -10px; }
  .fc-bl { bottom: 74px; left: -6px; }
  .fc-br { bottom: 124px; right: -6px; }
}

/* ---------- No sideways dragging on phones ---------- */
html { overflow-x: hidden; max-width: 100%; overscroll-behavior-x: none; }
body { max-width: 100vw; overscroll-behavior-x: none; }
section, header.nav, footer, .hero-stage, .stage { overflow-x: clip; }
.hero-stage { overflow: visible; }
@supports not (overflow: clip) { section, .stage { overflow-x: hidden; } }

/* ---------- Hub: a single "Em breve" tile ---------- */
.hub-grid .hub-tile.is-soon { grid-column: 1 / -1; }

/* ---------- Carousel: one phone per way to log food ---------- */
.carousel { position: relative; margin: 0 0 46px; }
.car-track { position: relative; display: flex; gap: 26px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 14px calc(50% - min(150px, 41vw)) 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(300px, 82vw); scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; opacity: 0.5; transform: scale(0.9); transition: opacity 0.4s, transform 0.4s; }
.slide.active { opacity: 1; transform: none; }
.slide .phone.sm { width: 250px; flex: none; }
.slide .act { position: absolute; z-index: 6; bottom: 22px; left: 50%; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(16, 36, 28, 0.82); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.01em; }
.slide .act i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.slide:not(.active) .act i { animation: none; }
.slide-cap { text-align: center; max-width: 290px; }
.slide-cap .when { display: inline-block; margin-bottom: 8px; padding: 4px 11px; border-radius: 999px; background: rgba(180, 83, 9, 0.12); color: var(--amber-d); font-size: 0.76rem; font-weight: 700; }
.slide-cap h4 { font-size: 1.2rem; margin-bottom: 6px; }
.slide-cap p { color: var(--muted); font-size: 0.96rem; }
.car-btn { position: absolute; top: 250px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 0.5px solid var(--glass-border); background: rgba(255, 253, 248, 0.92); color: var(--accent-dark); box-shadow: 0 6px 18px rgba(120, 90, 20, 0.2); cursor: pointer; display: grid; place-items: center; }
.car-btn svg { width: 22px; height: 22px; }
.car-btn.prev { left: 6px; transform: scaleX(-1); }
.car-btn.next { right: 6px; }
.car-btn:disabled { opacity: 0.35; cursor: default; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.car-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(4, 120, 87, 0.25); cursor: pointer; transition: all 0.3s; }
.car-dots button.on { width: 26px; border-radius: 6px; background: var(--accent); }
@media (max-width: 640px) { .car-btn { display: none; } .slide .phone.sm { width: 236px; } }
/* slides that are not in focus show the finished state, the active one plays from the start */
.slide:not(.active) .app-ui *, .slide:not(.active) .app-ui { animation: none !important; }
.slide:not(.active) .reveal { opacity: 1; transform: none; }
.slide:not(.active) .scan { opacity: 0; }
.slide:not(.active) .bar i { width: var(--w); }
.slide:not(.active) .typing { width: calc(var(--n) * 1.2ch); border-right-color: transparent; }
.slide:not(.active) .check-row .bx::after { opacity: 1; }
.typing { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; max-width: 100%; border-right: 2px solid var(--accent); animation: typing 10s infinite both; font-weight: 600; font-size: 11px; }
@keyframes typing { 0%, 5% { width: 0; } 25%, 92% { width: calc(var(--n) * 1.2ch); } 100% { width: 0; } }
.ui-card.search { display: flex; align-items: center; gap: 9px; padding: 10px 12px; }
.si { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(16, 185, 129, 0.16); color: var(--accent-2); flex: none; }
.si svg { width: 13px; height: 13px; }
.lab { display: block; color: var(--amber-d); font-weight: 700; font-size: 9.5px; margin: 6px 0 0; }
.ai-note { display: flex; align-items: center; gap: 9px; padding: 9px 12px; }
.ai-note b { font-size: 11px; }
.viewfinder { position: relative; height: 130px; border-radius: 16px; background: linear-gradient(160deg, #1d2e27, #0d1814); display: grid; place-items: center; overflow: hidden; }
.viewfinder .barcode { width: 118px; height: 46px; fill: #f6efe2; }
.viewfinder .c { position: absolute; width: 22px; height: 22px; border: 3px solid #34d399; }
.viewfinder .tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.viewfinder .tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.viewfinder .bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.viewfinder .br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.viewfinder .scan { background: linear-gradient(90deg, transparent, #f87171, transparent); box-shadow: 0 0 14px 4px rgba(248, 113, 113, 0.6); }
.form .field { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.form .field:last-child { border-bottom: 0; }
.form .field small { display: block; color: var(--muted); font-size: 9.5px; }
.form .field b { font-size: 12px; }
.form .field.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Miniaturas das três formas de ter a dieta */
.way-shot { display: flex; justify-content: center; align-items: flex-start; height: 380px; overflow: hidden; margin: -4px -8px 14px; }
.way-shot .phone.sm { width: 262px; height: auto; transform: none; flex: none; margin-top: 4px; }
.way-card .ic { margin-top: 0; }

/* Temas personalizados */
.theme-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.theme-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(4, 120, 87, 0.12); font-weight: 700; font-size: 0.95rem; color: var(--ink, #10241c); }
.theme-chip::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.theme-chip.dark { background: #1b1410; color: #f6efe6; border-color: rgba(255, 255, 255, 0.12); }

/* Miniaturas: somem aos poucos embaixo, como se o celular continuasse fora da moldura */

/* Carrossel no celular: o item do meio fica centralizado e os vizinhos aparecem de leve nos dois lados */
@media (max-width: 640px) {
  .car-track { padding-left: calc(50% - 135px); padding-right: calc(50% - 135px); gap: 11px; }
  .slide { flex: 0 0 270px; }
  .slide .phone.sm { width: 232px; }
}

/* Seção de transição: texto grande sobre um fundo de vidro com formas em movimento */
.vamos { position: relative; overflow: hidden; padding: clamp(96px, 16vw, 170px) 0; text-align: center; isolation: isolate; }
.vamos .blobs { position: absolute; inset: 0; z-index: -1; filter: blur(34px); -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.vamos .blobs i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(52, 211, 153, 0.75), rgba(167, 243, 208, 0.35) 55%, transparent 72%); animation: vamos-drift 16s ease-in-out infinite alternate; }
.vamos .blobs i:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -8vw; }
.vamos .blobs i:nth-child(2) { width: 38vw; height: 38vw; right: -8vw; top: 18%; background: radial-gradient(circle at 35% 35%, rgba(251, 191, 36, 0.6), rgba(254, 240, 138, 0.3) 55%, transparent 72%); animation-delay: -5s; }
.vamos .blobs i:nth-child(3) { width: 34vw; height: 34vw; left: 22%; bottom: -10vw; background: radial-gradient(circle at 35% 35%, rgba(96, 165, 250, 0.55), rgba(191, 219, 254, 0.3) 55%, transparent 72%); animation-delay: -9s; }
.vamos .blobs i:nth-child(4) { width: 22vw; height: 22vw; right: 20%; bottom: 8%; background: radial-gradient(circle at 35% 35%, rgba(244, 114, 182, 0.5), rgba(251, 207, 232, 0.3) 55%, transparent 72%); animation-delay: -13s; }
@keyframes vamos-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5vw, -4vw) scale(1.12); }
  100% { transform: translate(-4vw, 3vw) scale(0.96); }
}
.vamos-glass { max-width: 920px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) clamp(22px, 5vw, 56px); border-radius: 36px; background: rgba(255, 255, 255, 0.38); border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 30px 70px -30px rgba(4, 120, 87, 0.35); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); }
.vamos-glass h2 { font-size: clamp(2.6rem, 7.5vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; margin: 14px 0 22px; }
.vamos-glass p { font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 680px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .vamos .blobs i { animation: none; } }

@media (max-width: 640px) {
  .stage { min-height: 520px; }
  .stage .phone { width: 236px; }
  .stage .phone.back { transform: translateX(-44px) rotate(-5deg) scale(0.9); }
  .stage .phone.front { transform: translateX(40px) rotate(3deg); }
}

/* "Vamos além": título grande com o gradiente das formas de fundo correndo por dentro das letras */
.vamos-glass h2 { font-size: clamp(2.6rem, 8.5vw, 6.2rem); line-height: 1.02; }
.vamos-title { display: inline-block; background: linear-gradient(100deg, #047857, #0891b2, #4f46e5, #7c3aed, #047857); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: vamos-text 9s linear infinite; filter: drop-shadow(0 6px 18px rgba(4, 120, 87, 0.25)); }
@keyframes vamos-text { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
@media (prefers-reduced-motion: reduce) { .vamos-title { animation: none; } }
