/* Complementos à folha base da KARIS (styles.css): cookies, formulário, FAQ nativa e rascunhos. */
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.mobile-nav button { color: var(--foreground); }

/* formulário */
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form button[type="submit"] { margin-top: 8px; height: 44px; }
.form-legal { color: var(--muted-foreground); font-size: 11px; line-height: 1.6; }
.form-legal a { color: var(--primary); text-decoration: underline; }
.lead-done { max-width: 560px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--secondary); border: 1px solid var(--border); border-radius: 12px; padding: 36px 28px; }
.lead-done h3 { font-size: 22px; font-weight: 650; }
.lead-done p { color: var(--muted-foreground); font-size: 14px; line-height: 1.7; }
.lead-done-icon { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center;
  color: var(--success); background: color-mix(in oklab, var(--success) 14%, transparent); }

/* FAQ com <details> (sem JavaScript) */
.faq-list details { border-color: var(--border); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; font-size: 14px; font-weight: 500; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex-shrink: 0; transition: transform .2s; color: var(--muted-foreground); }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list .faq-answer { padding: 0 0 16px; }

/* aviso de cookies */
.cookie-banner { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto;
  background: var(--secondary); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px;
  box-shadow: 0 12px 40px rgb(0 0 0 / .45); display: flex; flex-direction: column; gap: 14px; }
.cookie-banner p { color: var(--muted-foreground); font-size: 12.5px; line-height: 1.65; }
.cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-btn { font: inherit; font-size: 13px; font-weight: 600; border-radius: 6px; padding: 9px 18px; cursor: pointer;
  background: transparent; color: var(--foreground); border: 1px solid var(--border); }
.cookie-btn.primary { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.footer-links button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.link-btn { font: inherit; color: var(--primary); text-decoration: underline; background: none; border: 0; cursor: pointer; padding: 0; }
