/* FarFlow — componentes adicionais (assinatura, portal, fundadoras, formulário, conteúdo) */

/* ── nota de tela ilustrativa ─────────────────────────── */
.lc-note { margin-top: 14px; font-size: 11px; letter-spacing: .04em; color: color-mix(in srgb, var(--muted-dark) 65%, transparent); }

/* ── medicamento por assinatura ───────────────────────── */
.assina-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 64px; }
.assina-card { border: 1px solid var(--pine-line); border-radius: 10px; padding: 30px 28px 32px; background: color-mix(in srgb, var(--pine) 55%, transparent); transition: border-color .3s ease, transform .3s ease; }
.assina-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.assina-card .ac-k { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--accent); display: block; margin-bottom: 16px; }
.assina-card h3 { font-size: 20px; margin-bottom: 11px; color: var(--paper); }
.assina-card p { font-size: 14px; color: var(--muted-dark); line-height: 1.7; }
.assina-note { margin-top: 46px; font-size: 13.5px; color: var(--muted-dark); border-left: 1px solid var(--accent); padding-left: 20px; max-width: 68ch; line-height: 1.75; }

/* ── portal da casa ───────────────────────────────────── */
.portal-sec .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.portal-list { list-style: none; margin-top: 32px; }
.portal-list li { padding: 16px 0; border-bottom: 1px solid var(--paper-line); display: flex; gap: 16px; align-items: baseline; font-size: 14.5px; line-height: 1.65; color: var(--muted-light); }
.portal-list li:first-child { border-top: 1px solid var(--paper-line); }
.portal-list b { font-weight: 500; color: var(--text); }
.portal-list .k { font-family: var(--display); font-style: italic; color: var(--bronze); font-size: 14px; flex: none; width: 22px; }
.pp-note { margin-top: 14px; font-size: 11px; letter-spacing: .04em; color: var(--muted-light); text-align: right; }

/* ── telas reais do produto (miniaturas + lightbox) ───── */
.shot-frame { background: var(--ink); border-radius: 12px; padding: 30px 8px 8px; position: relative; box-shadow: 0 26px 60px -32px rgba(12, 24, 21, .5); }
.shot-frame::before { content: ""; position: absolute; top: 12px; left: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 14px 0 0 var(--pine-line), 28px 0 0 var(--pine-line); }
.shot-frame img { display: block; width: 100%; height: auto; border-radius: 6px; }
.shot-cap { margin-top: 12px; font-size: 12.5px; color: var(--muted-light); }
.phone-frame { border: 8px solid var(--ink); border-radius: 30px; overflow: hidden; background: var(--ink); box-shadow: 0 26px 60px -32px rgba(12, 24, 21, .5); max-width: 210px; margin: 0 auto; }
.phone-frame img { display: block; width: 100%; height: auto; }
.telas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; margin-top: 56px; align-items: end; }
.telas-phone { text-align: center; }
.mini { cursor: zoom-in; transition: transform .3s ease; }
.mini:hover { transform: translateY(-5px) scale(1.025); }
.telas-dica { margin-top: 8px; font-size: 12.5px; color: var(--bronze); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: color-mix(in srgb, var(--ink) 94%, transparent); display: none; align-items: center; justify-content: center; padding: 3vh 3vw; cursor: zoom-out; }
.lightbox.aberta { display: flex; }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.lightbox figcaption { position: absolute; bottom: 3vh; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted-dark); }
.lightbox .lb-fechar { position: absolute; top: 18px; right: 22px; background: none; border: 1px solid var(--pine-line); color: var(--paper); font-size: 15px; line-height: 1; padding: 9px 12px; border-radius: 999px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .mini, .mini:hover { transition: none; transform: none; } }

/* ── programa farmácias fundadoras ────────────────────── */
.fund-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 58px; }
.fund-item { border-top: 1px solid var(--pine-line); padding-top: 24px; }
.fund-item h3 { font-size: 18.5px; margin-bottom: 10px; color: var(--paper); }
.fund-item p { font-size: 14px; color: var(--muted-dark); line-height: 1.7; }
.fund-vagas { display: inline-flex; align-items: center; gap: 10px; margin-top: 52px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--pine-line); border-radius: 999px; padding: 9px 20px; }
.fund-vagas::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ── formulário de contato ────────────────────────────── */
.form { max-width: 620px; margin: 0 auto; text-align: left; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11.5px; letter-spacing: var(--caps); text-transform: uppercase; color: var(--accent); font-weight: 500; }
.field input, .field textarea, .field select { font-family: var(--body); font-size: 14.5px; color: var(--paper); background: color-mix(in srgb, var(--ink) 55%, transparent); border: 1px solid var(--pine-line); border-radius: var(--radius); padding: 12px 14px; transition: border-color .25s; width: 100%; }
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted-dark) 60%, transparent); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field select option { background: var(--ink); color: var(--paper); }
.form .btn { margin-top: 26px; width: 100%; }
.form .ou { margin: 16px 0 0; text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--muted-dark) 70%, transparent); }
.btn-zap { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-color: var(--pine-line); color: var(--accent-soft); background: transparent; margin-top: 14px !important; }
.btn-zap:hover { border-color: var(--accent); background: color-mix(in srgb, var(--ink) 45%, transparent); }
.btn-zap svg { flex: none; }
.form-note { margin-top: 18px; font-size: 12.5px; color: var(--muted-dark); text-align: center; line-height: 1.7; }
.form-note a { color: var(--accent-soft); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.cta-final .prazo { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 36px; }
.cta-final .prazo::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

/* ── páginas de conteúdo ──────────────────────────────── */
.page-head { background: var(--ink); color: var(--paper); padding: 86px 0 74px; }
.page-head h1 { font-size: clamp(31px, 4.2vw, 48px); max-width: 22ch; margin-top: 20px; }
.page-head .lead { margin-top: 20px; font-size: 17px; color: var(--muted-dark); max-width: 58ch; line-height: 1.75; }
.page-head .meta { margin-top: 26px; font-size: 12.5px; color: color-mix(in srgb, var(--muted-dark) 80%, transparent); letter-spacing: .04em; }
.article { padding: 78px 0 96px; }
.article .wrap { max-width: 780px; }
.article h2 { font-size: clamp(24px, 2.8vw, 31px); margin: 52px 0 18px; max-width: 32ch; }
.article h3 { font-size: 20px; margin: 34px 0 12px; }
.article p { font-size: 16.5px; line-height: 1.8; color: var(--text); margin-bottom: 20px; }
.article ul, .article ol { margin: 0 0 22px 20px; }
.article li { font-size: 16px; line-height: 1.75; margin-bottom: 10px; color: var(--text); }
.article blockquote { border-left: 2px solid var(--bronze); padding-left: 24px; margin: 32px 0; font-family: var(--display); font-size: 19px; line-height: 1.6; color: var(--muted-light); font-style: italic; }
.article .kicker { font-size: 17.5px; color: var(--muted-light); line-height: 1.8; }
.post-cta { margin-top: 58px; border-top: 1px solid var(--paper-line); padding-top: 34px; }
.post-cta p { font-size: 15px; color: var(--muted-light); margin-bottom: 22px; }
.post-list { list-style: none; margin-top: 10px; }
.post-list li { border-top: 1px solid var(--paper-line); padding: 30px 0; }
.post-list li:last-child { border-bottom: 1px solid var(--paper-line); }
.post-list a { text-decoration: none; color: inherit; display: block; }
.post-list h3 { font-family: var(--display); font-size: 24px; font-weight: 400; margin-bottom: 10px; transition: color .25s; line-height: 1.3; }
.post-list a:hover h3 { color: var(--bronze); }
.post-list p { font-size: 14.5px; color: var(--muted-light); max-width: 64ch; line-height: 1.7; }
.post-list .tag { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); display: block; margin-bottom: 12px; }
.post-list .soon { opacity: .5; }
.post-list .soon a { pointer-events: none; cursor: default; }

/* ── FAQ (accordion com details) ──────────────────────── */
.faq-list { margin-top: 48px; max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--paper-line); }
.faq-item:first-child { border-top: 1px solid var(--paper-line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 20px 0; font-family: var(--display); font-size: 19px; color: var(--text); transition: color .25s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--display); font-size: 22px; color: var(--bronze); flex: none; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--bronze); }
.faq-item p { padding: 0 34px 22px 0; font-size: 15px; color: var(--muted-light); line-height: 1.75; max-width: 66ch; }

/* ── rodapé em quatro colunas ─────────────────────────── */
footer .cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }

@media (max-width: 960px) {
  footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .assina-grid, .fund-grid { grid-template-columns: 1fr; gap: 26px; }
  .telas-grid { grid-template-columns: 1fr; gap: 34px; }
  .portal-sec .wrap { grid-template-columns: 1fr; gap: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-head { padding: 62px 0 54px; }
  .article { padding: 54px 0 70px; }
}
