/* ============================================================
   DietPrime — Estilos das páginas públicas (blog / artigos)
   Reaproveita a identidade visual da landing.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --green: #3cb878; --green-dark: #2a9e63; --green-deeper: #1a7a4a;
    --green-light: #edfaf4; --green-muted: #c3ead5;
    --text: #1b2e24; --text-muted: #4d6559; --border: #d9ece3;
    --bg-subtle: #f4f9f6; --white: #fff;
    --shadow-sm: 0 1px 4px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --r: 14px; --r-lg: 20px; --r-xl: 28px;
}
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px; line-height: 1.6; color: var(--text);
    background: var(--white); -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* ── Botões ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .7rem 1.5rem; border-radius: 999px; font-weight: 700;
    font-size: .92rem; cursor: pointer; border: 2px solid transparent;
    transition: all .2s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; box-shadow: 0 4px 14px rgba(60,184,120,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(60,184,120,.45); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }

/* ── Navbar ─────────────────────────────────────────────── */
.pnav {
    position: sticky; top: 0; z-index: 999;
    background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(217,236,227,.6); padding: .9rem 0;
}
.pnav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pnav-brand-img { height: auto; max-height: 40px; width: auto; max-width: 100%; display: block; mix-blend-mode: multiply; }
.pnav .nav-brand { flex-shrink: 0; }
.pnav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.pnav-links a { color: var(--text-muted); font-weight: 500; font-size: .92rem; transition: color .15s; }
.pnav-links a:hover, .pnav-links a.active { color: var(--green-dark); }
.pnav-cta { display: flex; align-items: center; gap: .75rem; }

/* Botão hambúrguer (só no mobile) */
.pnav-burger { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; margin-left: .1rem; flex-shrink: 0; }
.pnav-burger span { display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 3px; transition: transform .25s, opacity .2s; }
.pnav-burger span + span { margin-top: 5px; }
.pnav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.pnav-burger.open span:nth-child(2) { opacity: 0; }
.pnav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menu mobile (desce da navbar) */
.pnav-mobile { display: none; }
@media (max-width: 768px) {
    .pnav-links { display: none; }
    .pnav-burger { display: block; }
    .pnav-mobile {
        display: block; position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 30px rgba(0,0,0,.1);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .pnav-mobile.open { max-height: 480px; }
    .pnav-mobile ul { list-style: none; padding: .4rem 24px .6rem; margin: 0; }
    .pnav-mobile li a { display: block; padding: .9rem 0; font-weight: 600; font-size: 1rem; color: var(--text); border-bottom: 1px solid var(--border); }
    .pnav-mobile li:last-child a { border-bottom: 0; }
    .pnav-mobile .m-cta { display: flex; gap: .6rem; padding: .3rem 24px 1.2rem; }
    .pnav-mobile .m-cta .btn { flex: 1; justify-content: center; }
}

/* Igual à landing: mantém "Começar grátis" + hambúrguer, esconde só "Entrar" */
@media (max-width: 600px) {
    .pnav { padding: .65rem 0; }
    .pnav .container { padding-left: 16px; padding-right: 16px; gap: .5rem; }
    .pnav-brand-img { max-height: 30px; }
    .pnav-cta { gap: .4rem; flex-shrink: 0; }
    .pnav-cta .btn-outline { display: none; }        /* "Entrar" some (fica no menu) */
    .pnav-cta .btn-sm { padding: .5rem .85rem; font-size: .8rem; }
}

/* ── Cabeçalho do blog ──────────────────────────────────── */
.blog-hero {
    background: linear-gradient(160deg, #f0fdf7 0%, #fff 60%, #f0fdf7 100%);
    padding: 4rem 0 3rem; text-align: center;
}
.blog-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.12; margin-bottom: .8rem; }
.blog-hero p { font-size: 1.08rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.blog-tag {
    display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .9rem;
    background: var(--green-light); border: 1px solid var(--green-muted); border-radius: 999px;
    font-size: .75rem; font-weight: 700; color: var(--green-dark);
    text-transform: uppercase; letter-spacing: .07em; margin-bottom: 1.2rem;
}

/* ── Filtros de categoria ───────────────────────────────── */
.blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.6rem; }
.blog-cat {
    padding: .4rem 1rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
    background: #fff; border: 1px solid var(--border); color: var(--text-muted); transition: all .15s;
}
.blog-cat:hover { border-color: var(--green); color: var(--green-dark); }
.blog-cat.active { background: var(--green); color: #fff; border-color: var(--green); }

/* ── Grade de artigos ───────────────────────────────────── */
.blog-section { padding: 3.5rem 0 5rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__cover { aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-light); }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__cover--empty { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.post-card__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { font-size: .72rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.post-card__title { font-size: 1.08rem; font-weight: 800; line-height: 1.3; margin-bottom: .5rem; color: var(--text); }
.post-card__excerpt { font-size: .88rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: .5rem; font-size: .76rem; color: var(--text-muted); margin-top: 1rem; }

.blog-empty { text-align: center; padding: 4rem 1rem; color: var(--text-muted); }
.blog-empty__icon { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* ── Paginação ──────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination a, .pagination span {
    min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; border: 1px solid var(--border); font-weight: 600; font-size: .9rem; color: var(--text-muted);
}
.pagination a:hover { border-color: var(--green); color: var(--green-dark); }
.pagination .active { background: var(--green); color: #fff; border-color: var(--green); }

/* ── Artigo (single) ────────────────────────────────────── */
.article-head { padding: 3rem 0 1.5rem; }
.article-breadcrumb { font-size: .82rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.article-breadcrumb a:hover { color: var(--green-dark); }
.article-title { font-size: clamp(1.8rem, 4.5vw, 2.7rem); font-weight: 900; line-height: 1.18; letter-spacing: -.02em; margin-bottom: 1rem; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .85rem; color: var(--text-muted); }
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); opacity: .5; }
.article-catpill { background: var(--green-light); color: var(--green-dark); padding: .2rem .7rem; border-radius: 999px; font-weight: 700; font-size: .75rem; }
.article-cover { margin: 1.8rem 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.article-cover img { width: 100%; height: auto; }

/* Conteúdo tipográfico */
.article-body { padding-bottom: 4rem; font-size: 1.08rem; line-height: 1.8; color: #24382e; }
.article-body p { margin: 0 0 1.3rem; }
.article-body h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; margin: 2.4rem 0 1rem; line-height: 1.25; }
.article-body h3 { font-size: 1.32rem; font-weight: 700; margin: 1.9rem 0 .8rem; }
.article-body h4 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .6rem; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem 1.4rem; }
.article-body li { margin-bottom: .5rem; }
.article-body a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--green-deeper); }
.article-body img { border-radius: var(--r); margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
.article-body blockquote {
    border-left: 4px solid var(--green); background: var(--bg-subtle);
    padding: 1rem 1.4rem; margin: 1.6rem 0; border-radius: 0 var(--r) var(--r) 0;
    font-style: italic; color: var(--text-muted);
}
.article-body pre { background: #0f2119; color: #e6f5ec; padding: 1.1rem 1.3rem; border-radius: var(--r); overflow-x: auto; margin: 1.5rem 0; font-size: .9rem; }
.article-body code { background: var(--green-light); padding: .1rem .4rem; border-radius: 6px; font-size: .92em; }
.article-body pre code { background: none; padding: 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; }
.article-body th { background: var(--bg-subtle); font-weight: 700; }

/* Compartilhar */
.article-share { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; padding: 1.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.article-share span { font-weight: 700; font-size: .88rem; }
.share-btn {
    display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px;
    font-size: .82rem; font-weight: 600; background: var(--bg-subtle); border: 1px solid var(--border); color: var(--text-muted); transition: all .15s;
}
.share-btn:hover { border-color: var(--green); color: var(--green-dark); }

/* Relacionados */
.related { background: var(--bg-subtle); padding: 3.5rem 0; }
.related h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.8rem; text-align: center; }

/* ── CTA / Footer (reaproveitados da landing) ───────────── */
.pcta { background: linear-gradient(135deg, var(--green-dark), var(--green-deeper)); padding: 4rem 0; text-align: center; color: #fff; }
.pcta h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 900; margin-bottom: .8rem; }
.pcta p { color: rgba(255,255,255,.8); margin-bottom: 1.8rem; }
.btn-white { background: #fff; color: var(--green-dark); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.pfooter { background: #0f2119; color: rgba(255,255,255,.55); padding: 3rem 0 2rem; }
.pfooter-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (max-width: 780px) { .pfooter-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .pfooter-inner { grid-template-columns: 1fr; } }
.pfooter-brand-logo { display: inline-block; background: #fff; padding: .5rem .8rem; border-radius: 12px; margin-bottom: .9rem; }
.pfooter-brand-logo img { height: auto; max-height: 34px; width: auto; max-width: 100%; display: block; }
.pfooter-desc { font-size: .84rem; line-height: 1.65; max-width: 280px; }
.pfooter-col-title { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.35); margin-bottom: .9rem; }
.pfooter-links { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.pfooter-links a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color .15s; }
.pfooter-links a:hover { color: #fff; }
.pfooter-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; font-size: .78rem; text-align: center; }

/* ── Suporte público ── */
.support-form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.support-form__row { margin-bottom: 1.1rem; }
.support-form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .support-form__row--2 { grid-template-columns: 1fr; } }
.support-form__group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
.support-form__group input, .support-form__group textarea {
    width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--border); border-radius: 10px;
    font-family: inherit; font-size: .95rem; outline: none; transition: border-color .15s;
}
.support-form__group input:focus, .support-form__group textarea:focus { border-color: var(--green); }
.support-guest-head { font-size: .95rem; margin-bottom: .35rem; }
.chat-hint { font-size: .8rem; color: var(--text-muted); margin-bottom: 1rem; }
/* chat reutiliza a folha do app: estilos mínimos aqui */
.chat-box { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.chat-msgs { max-height: 460px; min-height: 220px; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .7rem; background: var(--bg-subtle); }
.chat-bubble { max-width: 78%; padding: .6rem .85rem; border-radius: 14px; font-size: .92rem; line-height: 1.55; }
.chat-bubble--own { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble--own .chat-bubble__meta { color: rgba(255,255,255,.78); }
.chat-bubble--other { align-self: flex-start; background: #fff; border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.chat-bubble__meta { font-size: .68rem; margin-bottom: .2rem; color: var(--text-muted); }
.chat-form { display: flex; gap: .5rem; padding: .8rem; border-top: 1px solid var(--border); align-items: flex-end; }
.chat-form textarea { flex: 1; resize: none; min-height: 46px; padding: .6rem .8rem; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; }
.chat-form .btn { border-radius: 10px; }
.chat-closed { padding: .8rem 1rem; background: var(--green-light); font-size: .88rem; display: flex; align-items: center; gap: .75rem; border-top: 1px solid var(--border); }

/* ── Páginas legais (Termos / Privacidade / LGPD) ────────── */
.legal { padding: 3rem 0 4rem; }
.legal .container { max-width: 820px; }
.legal-head h1 { font-size: 2.1rem; font-weight: 800; color: var(--text); margin: 0 0 .4rem; }
.legal-updated { font-size: .85rem; color: var(--text-muted); margin: 0 0 1rem; }
.legal-intro { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.legal-intro p { margin: 0 0 .6rem; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.6rem 0 2rem; border-bottom: 1px solid var(--border); padding-bottom: .9rem; }
.legal-tabs a { font-size: .9rem; font-weight: 600; color: var(--text-muted); padding: .45rem .9rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--border); background: #fff; }
.legal-tabs a:hover { color: var(--green-dark); border-color: var(--green); }
.legal-tabs a.active { background: var(--green); color: #fff; border-color: var(--green); }
.legal-body { color: var(--text); line-height: 1.75; font-size: .97rem; }
.legal-body h2 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 2rem 0 .7rem; }
.legal-body h3 { font-size: 1.02rem; font-weight: 700; margin: 1.3rem 0 .5rem; }
.legal-body p { margin: 0 0 .9rem; }
.legal-body ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal-body li { margin-bottom: .45rem; }
.legal-body a { color: var(--green-dark); font-weight: 600; }
.legal-disclaimer { margin-top: 2.5rem; padding: 1rem 1.2rem; background: var(--green-light); border: 1px solid var(--border); border-radius: var(--r-lg); font-size: .85rem; color: var(--text-muted); }
.legal-disclaimer a { color: var(--green-dark); font-weight: 600; }

/* ── NutriFinder ─────────────────────────────────────────── */
.nf { padding: 1.6rem 0 3rem; }
.nf-head { text-align: center; max-width: 620px; margin: 0 auto 1.1rem; }
.nf-badge { display: inline-block; background: var(--green-light); color: var(--green-deeper); font-weight: 700; font-size: .72rem; padding: .22rem .65rem; border-radius: 999px; margin-bottom: .5rem; }
.nf-head h1 { font-size: 1.45rem; font-weight: 800; color: var(--text); margin: 0 0 .3rem; line-height: 1.25; }
.nf-head p { color: var(--text-muted); font-size: .88rem; line-height: 1.5; }
.nf-search { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.4rem; box-shadow: var(--shadow-sm); max-width: 860px; margin: 0 auto 2rem; }
.nf-search__row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.nf-field { display: flex; flex-direction: column; gap: .35rem; min-width: 180px; }
.nf-field--grow { flex: 1; }
.nf-field label { font-size: .82rem; font-weight: 600; color: var(--text); }
.nf-field input[type="text"] { padding: .6rem .8rem; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: .95rem; width: 100%; }
.nf-field input[type="text"]:focus { border-color: var(--green); outline: none; }
.nf-field input[type="range"] { width: 100%; accent-color: var(--green); }
.nf-search__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 1rem; }
.nf-check { font-size: .88rem; color: var(--text-muted); display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.nf-check input { accent-color: var(--green); width: 16px; height: 16px; }
.nf-hint { font-size: .82rem; color: var(--text-muted); margin: .6rem 0 0; }
.nf-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 760px; margin: 1rem auto; }
.nf-intro__item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.2rem; text-align: center; }
.nf-intro__item span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: var(--green); color: #fff; border-radius: 50%; font-weight: 700; margin-bottom: .6rem; }
.nf-intro__item p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.nf-results { margin-bottom: 1rem; }
.nf-list--plain { max-width: 720px; margin: 0 auto; }
.nf-count { font-size: .85rem; color: var(--text-muted); margin: 0 0 1rem; }

/* Modo mapa: mapa grande + lista flutuante */
.nf-results--map { position: relative; height: min(78vh, 760px); min-height: 560px; border-radius: 0; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.nf-results--map #nf-map { position: absolute; inset: 0; height: 100%; width: 100%; z-index: 1; border: 0; border-radius: 0; }
.nf-panel { position: absolute; top: 14px; left: 14px; bottom: 14px; width: 370px; max-width: calc(100% - 28px); z-index: 500; background: rgba(255,255,255,.97); backdrop-filter: blur(4px); border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-md); display: flex; flex-direction: column; transition: transform .28s ease, opacity .28s ease; }
.nf-panel__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; border-bottom: 1px solid var(--border); }
.nf-panel__head .nf-count { margin: 0; font-weight: 600; font-size: .78rem; }
.nf-panel__collapse { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--text-muted); }
.nf-panel__collapse:hover { background: var(--green-light); color: var(--green-deeper); }
.nf-panel__scroll { flex: 1; overflow-y: auto; padding: .7rem; scrollbar-width: thin; }
.nf-panel__scroll .nf-card { margin-bottom: .55rem; }
.nf-panel__scroll .nf-card:last-child { margin-bottom: 0; }
.nf-card--pin { cursor: pointer; }
.nf-card--pin:hover { border-color: var(--green); box-shadow: 0 2px 12px rgba(60,184,120,.18); }
/* Botão flutuante (mostrar/ocultar lista) — usado no mobile */
.nf-panel__fab { position: absolute; z-index: 600; left: 50%; bottom: 16px; transform: translateX(-50%); display: none; align-items: center; gap: .4rem; padding: .6rem 1.2rem; border: none; border-radius: 999px; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-weight: 700; font-size: .9rem; box-shadow: 0 6px 18px rgba(60,184,120,.45); cursor: pointer; }
/* Estado recolhido */
.nf-results--map.is-collapsed .nf-panel { transform: translateX(calc(-100% - 20px)); opacity: 0; pointer-events: none; }
.nf-results--map.is-collapsed .nf-panel__fab { display: inline-flex; left: 14px; transform: none; }
.nf-card { display: flex; gap: .7rem; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .7rem .8rem; margin-bottom: .6rem; box-shadow: var(--shadow-sm); }
.nf-card__avatar { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--green-light); display: flex; align-items: center; justify-content: center; }
.nf-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.nf-card__avatar span { font-size: 1.05rem; font-weight: 800; color: var(--green-deeper); }
.nf-card__body { flex: 1; min-width: 0; }
.nf-card__body h3 { font-size: .92rem; margin: 0 0 .1rem; color: var(--text); line-height: 1.25; }
.nf-card__spec { font-size: .76rem; color: var(--green-deeper); font-weight: 600; margin: 0 0 .3rem; }
.nf-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .72rem; color: var(--text-muted); margin: 0 0 .35rem; }
.nf-tag { display: inline-block; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 999px; padding: .05rem .45rem; font-size: .66rem; }
.nf-tag--dist { background: var(--green); color: #fff; border-color: var(--green); font-weight: 700; }
.nf-tag--online { background: #eaf4ff; border-color: #cfe4fb; color: #1c66b3; }
.nf-card__bio { font-size: .78rem; color: var(--text-muted); line-height: 1.45; margin: 0 0 .5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nf-card__actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.nf-card__actions .btn { padding: .32rem .7rem; font-size: .74rem; border-width: 1.5px; gap: .3rem; }
.nf-empty { text-align: center; padding: 2.5rem 1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); }

@media (max-width: 820px) {
    .nf-intro { grid-template-columns: 1fr; }
    .nf-search__foot { flex-direction: column; align-items: stretch; }
    .nf-search__foot .btn { width: 100%; justify-content: center; }
    /* Mapa ocupa a área e a lista vira "bottom-sheet" deslizante */
    .nf-results--map { height: calc(100vh - 160px); min-height: 440px; }
    .nf-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; max-height: 62%; border-radius: var(--r-lg) var(--r-lg) 0 0; border-left: 0; border-right: 0; border-bottom: 0; }
    .nf-results--map.is-collapsed .nf-panel { transform: translateY(100%); opacity: 1; }
    .nf-panel__fab { display: inline-flex; }
    .nf-results--map.is-collapsed .nf-panel__fab { left: 50%; transform: translateX(-50%); }
    .nf-results--map:not(.is-collapsed) .nf-panel__fab { display: none; }
}

/* ── FAQ na página de suporte ────────────────────────────── */
.support-faq { padding: 1rem 0 4rem; }
.support-faq__title { font-size: 1.5rem; font-weight: 800; color: var(--text); margin: 0 0 .3rem; }
.support-faq__sub { color: var(--text-muted); font-size: .95rem; margin: 0 0 1.6rem; }
.support-faq__item { border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; margin-bottom: .6rem; overflow: hidden; }
.support-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 600; font-size: .96rem; color: var(--text); }
.support-faq__item summary::-webkit-details-marker { display: none; }
.support-faq__ico { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green-light); color: var(--green-deeper); display: flex; align-items: center; justify-content: center; font-weight: 700; transition: transform .2s; }
.support-faq__item[open] .support-faq__ico { transform: rotate(45deg); }
.support-faq__ans { padding: 0 1.2rem 1.1rem; color: var(--text-muted); font-size: .92rem; line-height: 1.6; }

/* ── Artigo: layout com sidebar ──────────────────────────── */
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 3rem; max-width: 1140px; align-items: start; }
.article-layout .article-body { padding-bottom: 2.5rem; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; gap: 2rem; } }
.article-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.15rem; }
@media (max-width: 980px) { .article-sidebar { position: static; } }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; box-shadow: var(--shadow-sm); }
.side-card--cta { background: linear-gradient(135deg, var(--green-dark), var(--green-deeper)); color: #fff; border: 0; }
.side-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .5rem; line-height: 1.25; }
.side-card p { font-size: .88rem; line-height: 1.55; margin-bottom: 1rem; color: var(--text-muted); }
.side-card--cta p { color: rgba(255,255,255,.82); }
.side-card .btn { width: 100%; justify-content: center; }
.side-card .btn + .btn { margin-top: .55rem; }
.side-eyebrow { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); margin-bottom: .5rem; }
.side-nf-status { font-size: .8rem; color: var(--text-muted); margin-top: .55rem; min-height: 1em; }

/* NutriFinder sidebar — estado de carregamento amigável */
.side-nf-status { font-size: .85rem; margin-top: .7rem; min-height: 1em; }
.side-nf-status.loading,
.side-nf-status.error { display: flex; align-items: center; gap: .55rem; padding: .6rem .7rem; border-radius: 10px; margin-top: .8rem; font-weight: 600; }
.side-nf-status.loading { background: var(--green-light); color: var(--green-deeper); }
.side-nf-status.error { background: #fdecea; color: #b3261e; font-weight: 500; }
.side-nf-spin { width: 18px; height: 18px; flex-shrink: 0; border: 2.5px solid var(--green-muted); border-top-color: var(--green-dark); border-radius: 50%; animation: sideNfSpin .7s linear infinite; }
@keyframes sideNfSpin { to { transform: rotate(360deg); } }
.btn.is-loading { opacity: .7; cursor: progress; }

/* NutriFinder — estado de carregamento amigável (igual ao sidebar do artigo) */
#nf-status.loading,
#nf-status.error { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border-radius: 10px; margin-top: .9rem; font-weight: 600; font-size: .9rem; }
#nf-status.loading { background: var(--green-light); color: var(--green-deeper); }
#nf-status.error { background: #fdecea; color: #b3261e; font-weight: 500; }
.nf-spin { width: 18px; height: 18px; flex-shrink: 0; border: 2.5px solid var(--green-muted); border-top-color: var(--green-dark); border-radius: 50%; animation: sideNfSpin .7s linear infinite; }
.btn.is-loading { opacity: .7; cursor: progress; }
