/**
 * geo-landing.css — design system das landing pages de GEO (Generative Engine
 * Optimization). Sistema `geo-*` compartilhado entre a pillar /seo-para-llms e
 * a rede de páginas de captura (nicho, mecanismo, educacional, comparativo,
 * Astro+GEO). Carregado via <link slot="head" href="/css/geo-landing.css?v=1">.
 *
 * Usa os tokens de tema globais (--bg-card, --text-primary, --rh-purple, …).
 * Premium iconography (SVG inline nas páginas) — sem emojis.
 */

.geo-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.geo-container--narrow { max-width: 820px; }

/* HERO */
.geo-hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 132px) 0 clamp(48px, 7vw, 84px); text-align: center; }
.geo-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.geo-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.4; }
.geo-glow--1 { width: 560px; height: 560px; top: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(138,43,214,0.5) 0%, transparent 70%); }
.geo-glow--2 { width: 420px; height: 420px; top: -60px; right: 6%; background: radial-gradient(circle, rgba(1,250,213,0.28) 0%, transparent 70%); }
html[data-theme="light"] .geo-glow { opacity: 0.16; }
.geo-hero > .geo-container { position: relative; z-index: 1; }

.geo-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(138,43,214,0.1); border: 1px solid rgba(138,43,214,0.35); color: var(--rh-purple); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; }
html[data-theme="light"] .geo-pill { color: var(--rh-purple-deep); }
.geo-h1 { margin: 22px auto 0; max-width: 20ch; font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); }
.geo-grad { color: var(--rh-purple); }
html[data-theme="light"] .geo-grad { color: var(--rh-purple-deep); }
.geo-sub { margin: 22px auto 0; max-width: 62ch; font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.6; color: var(--text-secondary); }
.geo-sub strong { color: var(--text-primary); }
.geo-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.geo-btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; text-decoration: none; transition: all .2s ease; }
.geo-btn--primary { background: var(--rh-purple); color: #fff; box-shadow: 0 16px 38px rgba(138,43,214,0.4); }
.geo-btn--primary:hover { background: var(--rh-purple-deep); transform: translateY(-2px); }
.geo-btn--ghost { background: transparent; color: var(--text-primary); border: 1.5px solid var(--border-subtle); }
.geo-btn--ghost:hover { transform: translateY(-2px); border-color: var(--rh-purple); }
.geo-trust { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; }
.geo-trust li { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--text-secondary); }
.geo-trust svg { color: #0cce6b; flex-shrink: 0; }
html[data-theme="light"] .geo-trust svg { color: #058a47; }

/* SECTIONS */
.geo-section { padding: clamp(48px, 7vw, 84px) 0; }
.geo-section--alt { background: rgba(255,255,255,0.012); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
html[data-theme="light"] .geo-section--alt { background: rgba(13,10,31,0.018); }
.geo-kicker { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rh-purple); }
html[data-theme="light"] .geo-kicker { color: var(--rh-purple-deep); }
.geo-h2 { margin: 10px 0 0; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; max-width: 26ch; color: var(--text-primary); }
.geo-h2--center { margin-left: auto; margin-right: auto; text-align: center; }
.geo-lead { margin: 18px 0 0; max-width: 64ch; font-size: clamp(1rem, 1.8vw, 1.1rem); line-height: 1.65; color: var(--text-secondary); }
.geo-lead strong { color: var(--text-primary); }
.geo-lead--center { margin-left: auto; margin-right: auto; text-align: center; }

/* PROBLEM / STAT CARDS */
.geo-prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.geo-prob-card { padding: 24px; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border-subtle); }
.geo-prob-stat { display: block; font-size: 1.05rem; font-weight: 800; color: var(--rh-purple); line-height: 1.25; }
html[data-theme="light"] .geo-prob-stat { color: var(--rh-purple-deep); }
.geo-prob-label { display: block; margin-top: 10px; font-size: 0.92rem; line-height: 1.5; color: var(--text-secondary); }

/* WHAT (narrow text block) */
.geo-what { max-width: 760px; }

/* DELIVERABLES / FEATURE CARDS */
.geo-deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.geo-deliver-grid--2 { grid-template-columns: repeat(2, 1fr); }
.geo-deliver-card { padding: 26px; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border-subtle); transition: border-color .2s ease, transform .2s ease; }
.geo-deliver-card:hover { transform: translateY(-3px); border-color: rgba(138,43,214,0.35); }
.geo-deliver-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(138,43,214,0.12); color: var(--rh-purple); }
html[data-theme="light"] .geo-deliver-icon { color: var(--rh-purple-deep); }
.geo-deliver-title { margin: 16px 0 0; font-size: 1.08rem; font-weight: 700; color: var(--text-primary); }
.geo-deliver-desc { margin: 8px 0 0; font-size: 0.92rem; line-height: 1.55; color: var(--text-secondary); }

/* STEPS */
.geo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.geo-steps--3 { grid-template-columns: repeat(3, 1fr); }
.geo-step { padding: 24px; border-radius: 16px; background: var(--bg-card); border: 1px solid var(--border-subtle); }
.geo-step-num { font-size: 1.5rem; font-weight: 800; color: var(--rh-purple); }
html[data-theme="light"] .geo-step-num { color: var(--rh-purple-deep); }
.geo-step-title { margin: 10px 0 0; font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }
.geo-step-desc { margin: 7px 0 0; font-size: 0.9rem; line-height: 1.55; color: var(--text-secondary); }

/* TIERS / PRICING */
.geo-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; align-items: start; }
.geo-tier { position: relative; padding: 28px 24px; border-radius: 18px; background: var(--bg-card); border: 1px solid var(--border-subtle); }
.geo-tier--hl { border-color: rgba(138,43,214,0.4); box-shadow: 0 18px 50px -20px rgba(138,43,214,0.4); transform: translateY(-6px); }
.geo-tier-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(138,43,214,0.12); color: var(--rh-purple); }
html[data-theme="light"] .geo-tier-tag { color: var(--rh-purple-deep); }
.geo-tier-name { margin: 14px 0 0; font-size: 1.3rem; font-weight: 800; color: var(--text-primary); }
.geo-tier-desc { margin: 8px 0 0; font-size: 0.92rem; line-height: 1.5; color: var(--text-secondary); }
.geo-tier-feats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.geo-tier-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.9rem; line-height: 1.4; color: var(--text-primary); }
.geo-tier-feats svg { color: #0cce6b; flex-shrink: 0; margin-top: 2px; }
html[data-theme="light"] .geo-tier-feats svg { color: #058a47; }
.geo-tier-cta { display: block; margin-top: 22px; padding: 13px; border-radius: 999px; text-align: center; font-weight: 700; font-size: 0.92rem; text-decoration: none; border: 1.5px solid var(--border-subtle); color: var(--text-primary); transition: all .2s ease; }
.geo-tier-cta:hover { transform: translateY(-2px); border-color: var(--rh-purple); }
.geo-tier-cta--hl { background: var(--rh-purple); color: #fff; border-color: transparent; }
.geo-tier-cta--hl:hover { background: var(--rh-purple-deep); }
.geo-tier-note { margin: 22px auto 0; max-width: 60ch; text-align: center; font-size: 0.86rem; line-height: 1.5; color: var(--text-muted); }

/* BENEFIT LIST (checklist em 2 colunas — usado em páginas de nicho/mecanismo) */
.geo-benefit { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.geo-benefit li { display: flex; align-items: flex-start; gap: 12px; }
.geo-benefit-ic { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(138,43,214,0.12); color: var(--rh-purple); margin-top: 1px; }
html[data-theme="light"] .geo-benefit-ic { color: var(--rh-purple-deep); }
.geo-benefit b { display: block; font-size: 0.98rem; font-weight: 700; color: var(--text-primary); }
.geo-benefit span { display: block; margin-top: 3px; font-size: 0.9rem; line-height: 1.5; color: var(--text-secondary); }

/* COMPARISON TABLE (educacional / comparativo) */
.geo-table-wrap { margin-top: 32px; overflow-x: auto; border-radius: 16px; border: 1px solid var(--border-subtle); }
.geo-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.92rem; }
.geo-table th, .geo-table td { padding: 14px 18px; text-align: left; vertical-align: top; line-height: 1.45; border-bottom: 1px solid var(--border-subtle); }
.geo-table thead th { background: rgba(138,43,214,0.08); color: var(--text-primary); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.01em; }
.geo-table tbody tr:last-child td { border-bottom: none; }
.geo-table td:first-child, .geo-table th:first-child { font-weight: 600; color: var(--text-primary); }
.geo-table td { color: var(--text-secondary); }
.geo-table .geo-table-hl { color: var(--rh-purple); font-weight: 600; }
html[data-theme="light"] .geo-table .geo-table-hl { color: var(--rh-purple-deep); }

/* PROSE (artigos educacionais — blocos de texto longos) */
.geo-prose { max-width: 760px; }
.geo-prose h2 { margin: 44px 0 0; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; color: var(--text-primary); }
.geo-prose h3 { margin: 28px 0 0; font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }
.geo-prose p { margin: 14px 0 0; font-size: 1.02rem; line-height: 1.7; color: var(--text-secondary); }
.geo-prose p strong { color: var(--text-primary); }
.geo-prose ul { margin: 14px 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.geo-prose li { font-size: 1.02rem; line-height: 1.6; color: var(--text-secondary); }
.geo-prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; padding: 2px 6px; border-radius: 6px; background: rgba(138,43,214,0.1); color: var(--rh-purple); }
html[data-theme="light"] .geo-prose code { color: var(--rh-purple-deep); }

/* RELATED LINKS (hub-and-spoke do cluster) */
.geo-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.geo-related-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border-subtle); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.geo-related-card:hover { transform: translateY(-2px); border-color: rgba(138,43,214,0.35); }
.geo-related-card span { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); line-height: 1.35; }
.geo-related-card svg { flex-shrink: 0; color: var(--rh-purple); }
html[data-theme="light"] .geo-related-card svg { color: var(--rh-purple-deep); }

/* FAQ */
.geo-faq-wrap { max-width: 800px; }
.geo-faq { margin-top: 28px; display: grid; gap: 12px; }
.geo-faq-item { border-radius: 14px; background: var(--bg-card); border: 1px solid var(--border-subtle); overflow: hidden; transition: border-color .2s ease; }
.geo-faq-item[open] { border-color: rgba(138,43,214,0.4); }
.geo-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--text-primary); list-style: none; }
.geo-faq-item summary::-webkit-details-marker { display: none; }
.geo-faq-chev { flex-shrink: 0; color: var(--rh-purple); transition: transform .2s ease; }
html[data-theme="light"] .geo-faq-chev { color: var(--rh-purple-deep); }
.geo-faq-item[open] .geo-faq-chev { transform: rotate(180deg); }
.geo-faq-item p { margin: 0; padding: 0 22px 20px; font-size: 0.94rem; line-height: 1.6; color: var(--text-secondary); }

/* HERO SPLIT (2 colunas: texto + formulário de captura) */
.geo-hero--split { text-align: left; }
.geo-hero--split > .geo-container { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.geo-hero--split .geo-h1 { margin-left: 0; margin-right: 0; max-width: 16ch; }
.geo-hero--split .geo-sub { margin-left: 0; margin-right: 0; }
.geo-hero--split .geo-trust { justify-content: flex-start; margin-top: 24px; }

/* LEAD FORM CARD */
.geo-leadform { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 20px; padding: clamp(22px, 3vw, 30px); box-shadow: 0 24px 60px -28px rgba(138,43,214,0.5); }
.geo-lf-title { margin: 0; font-size: 1.22rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text-primary); }
.geo-lf-sub { margin: 7px 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--text-secondary); }
.geo-lf-form { margin-top: 18px; display: grid; gap: 13px; }
.geo-lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.geo-lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.geo-lf-field { display: grid; gap: 6px; }
.geo-lf-field > span { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.geo-lf-field input, .geo-lf-field textarea { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--border-subtle); background: var(--bg-input, rgba(255,255,255,0.02)); color: var(--text-primary); font-size: 0.92rem; font-family: inherit; transition: border-color .15s ease; }
.geo-lf-field input::placeholder, .geo-lf-field textarea::placeholder { color: var(--text-muted); }
.geo-lf-field input:focus, .geo-lf-field textarea:focus { outline: none; border-color: var(--rh-purple); }
.geo-lf-field textarea { resize: vertical; min-height: 76px; }
.geo-lf-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 0.8rem; line-height: 1.45; color: var(--text-secondary); }
.geo-lf-consent input { margin-top: 2px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--rh-purple); }
.geo-lf-consent a { color: var(--rh-purple); text-decoration: underline; }
html[data-theme="light"] .geo-lf-consent a { color: var(--rh-purple-deep); }
.geo-lf-form .cf-turnstile { min-height: 65px; }
.geo-lf-btn { margin-top: 2px; padding: 14px; border: none; border-radius: 999px; background: var(--rh-purple); color: #fff; font-size: 0.98rem; font-weight: 700; font-family: inherit; cursor: pointer; box-shadow: 0 14px 32px rgba(138,43,214,0.4); transition: background .2s ease, transform .2s ease; }
.geo-lf-btn:hover:not(:disabled) { background: var(--rh-purple-deep); transform: translateY(-2px); }
.geo-lf-btn:disabled { opacity: 0.65; cursor: progress; }
.geo-lf-msg { margin: 4px 0 0; font-size: 0.85rem; line-height: 1.4; color: #e2495a; }
html[data-theme="light"] .geo-lf-msg { color: #c0283a; }
.geo-lf-ok { text-align: center; padding: 20px 8px; }
.geo-lf-ok-ic { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(12,206,107,0.14); color: #0cce6b; }
html[data-theme="light"] .geo-lf-ok-ic { color: #058a47; }
.geo-lf-ok-title { margin: 14px 0 0; font-size: 1.18rem; font-weight: 800; color: var(--text-primary); }
.geo-lf-ok-body { margin: 8px 0 0; font-size: 0.92rem; line-height: 1.5; color: var(--text-secondary); }

@media (max-width: 980px) {
  .geo-hero--split { text-align: center; }
  .geo-hero--split > .geo-container { grid-template-columns: 1fr; }
  .geo-hero--split .geo-h1 { margin-left: auto; margin-right: auto; }
  .geo-hero--split .geo-trust { justify-content: center; }
  .geo-leadform { text-align: left; max-width: 520px; margin: 8px auto 0; }
}

@media (max-width: 880px) {
  .geo-prob-grid, .geo-deliver-grid, .geo-deliver-grid--2, .geo-steps, .geo-steps--3, .geo-tiers, .geo-benefit, .geo-related-grid { grid-template-columns: 1fr; }
  .geo-tier--hl { transform: none; }
}

@media (max-width: 480px) {
  .geo-lf-row { grid-template-columns: 1fr; }
}
