/* =========================================================
   FlorAI — Guias de cuidados (/guia/)
   Depende das variáveis e componentes de styles.css.
   As páginas são geradas por ferramentas/gerar_guias.py.
   ========================================================= */

.page-nav { background: rgba(7, 11, 9, .86); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.page-nav__right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.page-nav__link { font-size: 14px; color: var(--muted); transition: color .2s; }
.page-nav__link:hover { color: var(--text); }

.guide { padding: 112px 0 88px; }
.guide__wrap { max-width: calc(760px + var(--gutter) * 2); }
.guide__wrap--wide { max-width: calc(1040px + var(--gutter) * 2); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 32px; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--text); }

.guide__head .h2 { font-size: clamp(34px, 5vw, 56px); }
.guide__sci { margin-top: 18px; font-size: 15px; color: var(--muted); }
.guide__sci em { font-family: var(--font-serif); font-size: 1.15em; color: var(--text); }
.guide__meta { margin-top: 8px; font-size: 13px; color: var(--dim); }
.guide__intro { margin-top: 24px; font-size: 18px; color: #c9d4cd; max-width: 40em; }

/* Resposta rápida */
.quick { margin-top: 40px; padding: 24px; border-radius: var(--radius-sm); border: 1px solid rgba(143,227,171,.28); background: linear-gradient(180deg, rgba(143,227,171,.08), rgba(143,227,171,.02)); }
.quick h2 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.quick dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin: 0; }
.quick dt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.quick dt .i { color: var(--accent); }
.quick dd { margin: 4px 0 0; font-weight: 500; color: var(--text); }

.quick--text p { font-size: 17px; color: var(--text); }
.quick strong { font-weight: 600; color: var(--accent); }

.guide__notice { margin-top: 20px; padding: 12px 16px; border-left: 2px solid var(--warn); background: rgba(232,196,106,.05); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--muted); max-width: 46em; }

/* Chamada de identificação */
.id-callout { margin-top: 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-2); }
.id-callout > .i { width: 24px; height: 24px; color: var(--accent); }
.id-callout p { font-size: 15px; color: var(--muted); }
.id-callout b { color: var(--text); font-weight: 600; }

/* Corpo */
.guide__body { margin-top: 16px; color: #c9d4cd; }
.guide__body section { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.guide__body h2 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--text); margin-bottom: 16px; }
.guide__body h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); margin: 24px 0 8px; }
.guide__body p { margin: 0 0 14px; }
.guide__body .answer { font-size: 17px; color: var(--text); }
.guide__body ul:not(.problems) { margin: 0 0 14px; display: grid; gap: 8px; }
.guide__body ul:not(.problems) li { position: relative; padding-left: 20px; }
.guide__body ul:not(.problems) li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .7; }
.guide__body strong { color: var(--text); font-weight: 600; }
.guide__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(143,227,171,.4); }
.guide__body .fine { font-size: 14px; color: var(--muted); }

.guide__body ol.steps { margin: 0 0 14px; display: grid; gap: 10px; counter-reset: st; }
.guide__body ol.steps li { position: relative; padding-left: 36px; counter-increment: st; }
.guide__body ol.steps li::before { content: counter(st); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent); }

.table-wrap { overflow-x: auto; margin: 4px 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.data-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); background: var(--surface); }
.data-table tbody th { font-weight: 600; color: var(--text); }
.data-table tbody tr:last-child > * { border-bottom: 0; }

.tip { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--text); font-size: 15px; }
.tip .i { margin-top: 3px; color: var(--accent); }

.regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0 0; }
.regions > div { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.regions dt { font-weight: 600; color: var(--text); }
.regions dt small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--dim); }
.regions dd { margin: 8px 0 0; font-size: 15px; }

.problems { display: grid; gap: 12px; }
.problems li { padding: 16px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.problems h3 { margin: 0 0 8px; }
.problems p { margin: 0 0 4px; font-size: 15px; }
.problems p span { color: var(--muted); }

.refs p { font-size: 14px; color: var(--muted); }

/* CTA final */
.cta-card { margin-top: 56px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); border: 1px solid rgba(143,227,171,.3); background: radial-gradient(120% 140% at 0% 0%, rgba(143,227,171,.14), rgba(143,227,171,.02) 60%), var(--surface); }
.cta-card__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.cta-card__icon .i { width: 22px; height: 22px; }
.cta-card h2 { margin-top: 18px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.cta-card p { margin-top: 12px; color: var(--muted); max-width: 40em; }
.cta-card__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Relacionadas */
.related { margin-top: 48px; }
.related h2 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.related ul { display: grid; gap: 8px; }
.related a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, background .2s; }
.related a:hover { border-color: rgba(143,227,171,.35); background: var(--surface-2); }
.related b { font-weight: 600; }
.related span { color: var(--muted); font-size: 14px; font-style: italic; }
.related .i { margin-left: auto; color: var(--dim); }

/* Índice */
.index-title { margin-top: 48px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.02em; }
.topic-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.topic-card { display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid rgba(143,227,171,.18); background: linear-gradient(180deg, rgba(143,227,171,.06), rgba(143,227,171,.01)); transition: border-color .2s, transform .4s var(--ease); }
.topic-card:hover { border-color: rgba(143,227,171,.4); transform: translateY(-2px); }
.topic-card small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.topic-card b { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.3; }
.plant-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.plant-card { display: grid; gap: 6px; height: 100%; padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, background .2s, transform .4s var(--ease); }
.plant-card:hover { border-color: rgba(143,227,171,.35); background: var(--surface-2); transform: translateY(-2px); }
.plant-card b { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.plant-card em { font-family: var(--font-serif); font-size: 17px; color: var(--muted); margin-bottom: 6px; }
.plant-card span { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: #c9d4cd; }
.plant-card span .i { margin-top: 2px; color: var(--accent); }

@media (max-width: 640px) {
  .guide { padding-top: 96px; }
  .page-nav__link { display: none; }
  .quick dl, .regions { grid-template-columns: 1fr; }
  .id-callout { grid-template-columns: auto 1fr; }
  .id-callout .btn { grid-column: 1 / -1; }
  .cta-card__actions .btn { width: 100%; }
}
