﻿/* Estilos compartilhados das páginas de conteúdo do hub /votacao-online
   (como-escolher, precos, tafner-em-numeros, suporte, como-funciona, seguranca, panorama).
   Prefixo "gh-" (GEO Hub) para não colidir com os estilos "lp-" das landing pages de produto. */
:root { --gh-c: #5846f9; --gh-cdk: #4433d6; --gh-clt: rgba(88,70,249,.10); }

.gh-hero { position: relative; padding: 130px 0 60px; background: #10102a; overflow: hidden; }
.gh-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(16,16,42,.97) 0%, rgba(40,30,110,.9) 60%, rgba(88,70,249,.5) 100%); }
.gh-hero-content { position: relative; z-index: 2; }
.gh-breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; color: rgba(255,255,255,.55); }
.gh-breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: .4; }
.gh-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.gh-breadcrumb a:hover { color: var(--gh-c); }
.gh-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(88,70,249,.22); border: 1px solid rgba(88,70,249,.45); color: #cfc8ff; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 14px; border-radius: 40px; margin-bottom: 18px; }
.gh-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gh-c); box-shadow: 0 0 8px var(--gh-c); }
.gh-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 16px; }
.gh-hero p.lead { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 720px; line-height: 1.75; margin: 0; }

.gh-section { padding: 70px 0; background: #fff; }
.gh-section.alt { background: #f7f9f8; }
.gh-section-header { margin-bottom: 36px; }
.gh-section-header .sub { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gh-c); margin-bottom: 10px; display: block; }
.gh-section-header h2 { font-size: 1.8rem; font-weight: 800; color: #161616; letter-spacing: -.02em; margin-bottom: 10px; }
.gh-section-header p { color: #666; font-size: 1rem; line-height: 1.75; max-width: 780px; margin: 0; }
.gh-prose p { color: #444; font-size: 1rem; line-height: 1.85; margin-bottom: 16px; }
.gh-prose h3 { font-size: 1.25rem; font-weight: 700; color: #1a1a1a; margin: 28px 0 12px; }
.gh-prose ul, .gh-prose ol { color: #444; line-height: 1.8; padding-left: 22px; margin-bottom: 16px; }
.gh-prose li { margin-bottom: 6px; }
.gh-prose strong { color: #1a1a1a; }

/* Tabela de critérios */
.gh-table-wrap { overflow-x: auto; border-radius: 1rem; border: 1.5px solid #eaeaea; }
table.gh-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.gh-table th { background: var(--gh-c); color: #fff; text-align: left; padding: 14px 18px; font-weight: 700; }
table.gh-table td { padding: 14px 18px; border-top: 1px solid #eee; color: #444; vertical-align: top; }
table.gh-table tr:nth-child(even) td { background: #fafaff; }
table.gh-table td:first-child { font-weight: 700; color: #1a1a1a; white-space: nowrap; }

/* Checklist */
.gh-check-list { list-style: none; padding: 0; margin: 0; }
.gh-check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .96rem; color: #333; margin-bottom: 14px; }
.gh-check-list li i { width: 24px; height: 24px; border-radius: 50%; background: var(--gh-clt); color: var(--gh-c); display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; margin-top: 1px; }

/* Cards genéricos (critérios, passos, fatores) */
.gh-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.gh-card { background: #fff; border: 1.5px solid #eaeaea; border-radius: 1rem; padding: 26px 24px; transition: box-shadow .25s, border-color .25s, transform .25s; }
.gh-card:hover { box-shadow: 0 10px 30px rgba(88,70,249,.12); border-color: var(--gh-c); transform: translateY(-3px); }
.gh-card .gh-card-icon { width: 42px; height: 42px; border-radius: .7rem; background: var(--gh-clt); color: var(--gh-c); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; }
.gh-card h4 { font-size: 1.02rem; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.gh-card p { font-size: .89rem; color: #666; line-height: 1.7; margin: 0; }

/* Passo a passo numerado (HowTo) */
.gh-steps { list-style: none; padding: 0; margin: 0; counter-reset: gh-step; }
.gh-steps li { position: relative; padding: 4px 0 26px 52px; border-left: 2px solid #eee; margin-left: 20px; }
.gh-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.gh-steps li::before { counter-increment: gh-step; content: counter(gh-step); position: absolute; left: -21px; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gh-c); color: #fff; font-weight: 800; font-size: .95rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(88,70,249,.35); }
.gh-steps h4 { font-size: 1.05rem; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.gh-steps p { color: #666; font-size: .93rem; line-height: 1.7; margin: 0; }

/* Painel de números */
.gh-num-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20%, 1fr)); gap: 18px; }
.gh-num-item { background: linear-gradient(135deg, #10102a 0%, var(--gh-c) 150%); border-radius: 1rem; padding: 28px 24px; }
.gh-num-item .num { font-size: 2.3rem; font-weight: 800; color: #fff; line-height: 1; display: block; }
.gh-num-item .lbl { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.75); margin-top: 8px; display: block; line-height: 1.4; }

/* Nota / callout */
.gh-note { border: 1.5px solid var(--gh-c); background: var(--gh-clt); border-radius: .85rem; padding: 20px 24px; margin: 24px 0; }
.gh-note strong { color: var(--gh-c); }
.gh-note p { margin: 6px 0 0; color: #333; }

/* FAQ (mesmo padrão visual das landing pages, prefixo gh-) */
.gh-faq-item { border: 1.5px solid #eaeaea; border-radius: .85rem; margin-bottom: 10px; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.gh-faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.gh-faq-item.open { border-color: var(--gh-c); box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.gh-faq-btn { width: 100%; background: none; border: none; padding: 18px 60px 18px 20px; text-align: left; font-weight: 600; font-size: .97rem; color: #1a1a1a; cursor: pointer; position: relative; line-height: 1.45; }
.gh-faq-item.open .gh-faq-btn { color: var(--gh-c); }
.gh-faq-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: #f2f2f2; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #666; transition: all .25s; }
.gh-faq-item.open .gh-faq-icon { background: var(--gh-c); color: #fff; transform: translateY(-50%) rotate(45deg); }
.gh-faq-body { padding: 0 20px 18px 20px; color: #555; font-size: .93rem; line-height: 1.8; display: none; }
.gh-faq-body b { color: #333; }

/* CTA */
.gh-cta { padding: 70px 0; text-align: center; background: linear-gradient(135deg, #10102a 0%, var(--gh-c) 130%); }
.gh-cta h2 { font-size: 1.8rem; font-weight: 800; color: #fff; letter-spacing: -.02em; margin-bottom: 12px; }
.gh-cta p { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 520px; margin: 0 auto 28px; line-height: 1.7; }
.gh-cta-btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--gh-c) !important; font-weight: 700; font-size: 15px; padding: 14px 36px; border-radius: 50px; text-decoration: none; transition: all .3s ease; }
.gh-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.25); }

/* Links relacionados / navegação entre produtos */
.gh-related { padding: 56px 0; background: #f7f9f8; }
.gh-related h3 { font-size: 1.2rem; font-weight: 800; color: #161616; margin-bottom: 20px; text-align: center; }
.gh-related-grid { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.gh-related-card { background: #fff; border: 1.5px solid #eaeaea; border-radius: .9rem; padding: 18px 26px; text-decoration: none !important; transition: all .25s; flex: 1 1 220px; max-width: 280px; text-align: center; }
.gh-related-card:hover { border-color: var(--gh-c); box-shadow: 0 8px 24px rgba(88,70,249,.14); transform: translateY(-3px); }
.gh-related-card i { font-size: 1.6rem; color: var(--gh-c); margin-bottom: 8px; display: block; }
.gh-related-card span { display: block; color: #1a1a1a; font-weight: 700; font-size: .93rem; }
.gh-related-card small { color: #777; font-size: .8rem; }

@media (max-width: 767px) {
    .gh-hero { padding: 110px 0 50px; }
    .gh-num-item .num { font-size: 1.9rem; }
}
