/* BigSolu Landing — estilos compartilhados das páginas de ferramentas gratuitas (/ferramentas). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --bg: #0f172a; --bg2: #1e293b; --primary: #3b82f6; --primary-glow: rgba(59,130,246,0.15); --cyan: #06b6d4; --text: #f1f5f9; --muted: #94a3b8; --border: rgba(100,116,139,0.2); --success: #22c55e; --whatsapp: #25d366; }
html, body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
.container { max-width: 680px; margin: 0 auto; padding: 0 20px; }

/* ── Barra mínima ─────────────────────────── */
.lp-bar { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.lp-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.lp-logo img { width: 28px; border-radius: 6px; }
.lp-logo span { font-weight: 800; font-size: 1.2rem; color: white; }
.lp-logo .accent { color: var(--primary); }
.lp-bar-login { font-size: 0.78rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.lp-bar-login:hover { color: white; }

/* ── Hero ─────────────────────────────────── */
.lp-hero { padding: 44px 0 32px; text-align: center; }
.lp-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25); border-radius: 100px; padding: 6px 14px; font-size: 0.72rem; font-weight: 700; color: #60a5fa; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px; }
.lp-hero h1 { font-size: clamp(1.8rem, 5.5vw, 2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; color: white; }
.lp-hero h1 .accent { background: linear-gradient(135deg, var(--primary), var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-hero p { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 520px; margin: 0 auto; }

/* ── Card da ferramenta ───────────────────── */
.tool-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; margin: 24px 0 8px; box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.tool-field { margin-bottom: 20px; }
.tool-field label { display: block; font-size: 0.82rem; font-weight: 700; color: white; margin-bottom: 8px; }
.tool-field .hint { font-size: 0.72rem; color: var(--muted); margin-top: 6px; }
.tool-input, .tool-textarea, .tool-select { width: 100%; background: rgba(15,23,42,0.7); border: 1px solid var(--border); border-radius: 10px; padding: 13px 14px; font-size: 0.95rem; color: var(--text); font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s; }
.tool-input:focus, .tool-textarea:focus, .tool-select:focus { border-color: var(--primary); }
.tool-textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.tool-select { cursor: pointer; }
.tool-select option { background: var(--bg2); color: var(--text); }
.tool-error { display: none; font-size: 0.75rem; color: #f87171; margin-top: 6px; }
.tool-error.visible { display: block; }
.tool-row { display: flex; gap: 12px; }
.tool-row .tool-field { flex: 1; }
@media (max-width: 480px) { .tool-row { flex-direction: column; gap: 0; } }

.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tool-chip { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.25); color: #93c5fd; border-radius: 100px; padding: 6px 12px; font-size: 0.72rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.tool-chip:hover { background: rgba(59,130,246,0.18); color: white; }
.tool-chip.active { background: linear-gradient(135deg, var(--primary), var(--cyan)); border-color: transparent; color: white; }

.tool-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tool-tabs .tool-chip { font-size: 0.78rem; padding: 8px 16px; }

.tool-result { background: rgba(15,23,42,0.7); border: 1px dashed var(--border); border-radius: 12px; padding: 16px; margin-top: 4px; }
.tool-result-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.tool-result-link { font-size: 0.9rem; color: #4ade80; word-break: break-all; font-weight: 600; min-height: 1.4em; display: block; }
.tool-result-link.placeholder { color: #475569; font-weight: 400; font-style: italic; }

.tool-preview { display: flex; align-items: center; justify-content: center; min-height: 240px; }
.tool-preview .qr-frame { background: white; border-radius: 12px; padding: 12px; line-height: 0; }
.tool-preview img { display: block; width: 200px; height: 200px; image-rendering: pixelated; }
.tool-preview .placeholder-text { color: #475569; font-size: 0.85rem; font-style: italic; text-align: center; padding: 20px; }

.tool-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.btn-tool { flex: 1; min-width: 150px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.9rem; font-weight: 700; padding: 13px 20px; border-radius: 100px; border: none; cursor: pointer; text-decoration: none; transition: filter 0.2s, transform 0.15s; font-family: 'Inter', sans-serif; }
.btn-tool:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-tool-copy { background: linear-gradient(135deg, var(--primary), var(--cyan)); color: white; box-shadow: 0 8px 24px rgba(59,130,246,0.3); }
.btn-tool-copy:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.btn-tool-test { background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.35); color: #4ade80; }
.btn-tool-test:hover:not(:disabled) { background: rgba(37,211,102,0.22); }

/* ── Seções de conteúdo ───────────────────── */
.lp-section { padding: 44px 0 8px; }
.lp-section-label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: var(--primary); text-align: center; margin-bottom: 12px; }
.lp-section h2 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 28px; color: white; }
.lp-section .prose { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
.lp-section .prose + .prose { margin-top: 14px; }
.lp-section .prose strong { color: var(--text); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 580px) { .steps-grid { grid-template-columns: 1fr; gap: 16px; } }
.step-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 24px 20px; text-align: center; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-glow); border: 1px solid rgba(59,130,246,0.3); color: #60a5fa; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step-card h3 { font-size: 0.95rem; font-weight: 700; color: white; margin-bottom: 8px; }
.step-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

.uses-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; }
@media (max-width: 480px) { .uses-list { grid-template-columns: 1fr; } }
.uses-list li { display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 0.85rem; color: var(--muted); }
.uses-list li i { color: var(--success); font-size: 0.85rem; flex-shrink: 0; }

/* ── FAQ ──────────────────────────────────── */
.faq-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { padding: 16px 18px; font-size: 0.9rem; font-weight: 700; color: white; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--muted); font-weight: 400; flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 18px 16px; font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ── Ferramentas relacionadas ─────────────── */
.related-tools { display: grid; gap: 12px; }
.related-tools a { display: flex; align-items: center; gap: 12px; background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--text); font-size: 0.9rem; font-weight: 700; transition: border-color 0.2s, transform 0.15s; }
.related-tools a:hover { border-color: rgba(59,130,246,0.5); transform: translateY(-1px); }
.related-tools a i:first-child { color: #60a5fa; font-size: 1.1rem; }
.related-tools a span { flex: 1; }
.related-tools a small { display: block; color: var(--muted); font-weight: 400; font-size: 0.78rem; margin-top: 2px; }
.related-tools a i:last-child { color: var(--muted); font-size: 0.8rem; }

/* ── CTA BigSolu ──────────────────────────── */
.lp-promo { background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(6,182,212,0.08)); border: 1px solid rgba(59,130,246,0.3); border-radius: 16px; padding: 32px 28px; text-align: center; margin: 44px 0 8px; }
.lp-promo h2 { font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 10px; line-height: 1.25; }
.lp-promo p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; max-width: 480px; margin: 0 auto 22px; }
.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(135deg, var(--primary), var(--cyan)); color: white; font-size: 1rem; font-weight: 800; padding: 16px 36px; border-radius: 100px; border: none; cursor: pointer; text-decoration: none; transition: filter 0.2s, transform 0.15s; letter-spacing: 0.02em; box-shadow: 0 8px 32px rgba(59,130,246,0.35); }
.btn-cta:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-cta:active { transform: translateY(0); }
.lp-trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 18px; }
.lp-trust span { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted); }
.lp-trust i { color: var(--success); font-size: 0.7rem; }

/* ── Footer mínimo ────────────────────────── */
.lp-footer { padding: 24px 0; border-top: 1px solid var(--border); margin-top: 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.lp-footer p { font-size: 0.72rem; color: #475569; }
.lp-footer a { font-size: 0.72rem; color: #475569; text-decoration: none; transition: color 0.2s; }
.lp-footer a:hover { color: var(--muted); }

/* ── Mobile ───────────────────────────────── */
@media (max-width: 600px) {
  .lp-hero { padding: 32px 0 20px; }
  .lp-hero h1 { font-size: 1.7rem; line-height: 1.2; }
  .lp-hero p { font-size: 0.92rem; }
  .tool-card { padding: 22px 16px; }
  .tool-actions { flex-direction: column; }
  .btn-tool { width: 100%; }
  .lp-section { padding: 36px 0 8px; }
  .lp-section h2 { font-size: 1.3rem; }
  .lp-promo { padding: 26px 18px; }
  .btn-cta { width: 100%; font-size: 0.95rem; padding: 15px 24px; }
  .lp-footer { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* --- COOKIE BANNER --- */
.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: 680px; width: calc(100% - 48px); background: #1e293b; border: 1px solid #334155; border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; z-index: 9999; box-shadow: 0 20px 60px rgba(0,0,0,0.5); flex-wrap: wrap; color: var(--text); font-family: 'Inter', sans-serif; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__icon { font-size: 1.5rem; flex-shrink: 0; }
.cookie-banner__text { flex: 1; min-width: 200px; }
.cookie-banner__text strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.cookie-banner__text p { font-size: 0.8rem; color: var(--muted); margin: 0; }
.cookie-banner__text a { color: #60a5fa; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-ghost-sm { background: transparent; border: 1px solid rgba(148,163,184,0.3); color: white; padding: 8px 18px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.btn-ghost-sm:hover { background: rgba(255,255,255,0.05); border-color: rgba(148,163,184,0.5); }
.btn-primary-sm { background: linear-gradient(135deg, var(--primary), var(--cyan)); color: white; border: none; padding: 8px 18px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif; }
.btn-primary-sm:hover { filter: brightness(1.1); }
