/* CertHub — landing page. Usa os tokens de style.css (claro/escuro automático). */
body.lp { background: var(--bg); }
.lp-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Navegação ---------- */
.lp-nav { position: sticky; top: 0; z-index: 900; background: #0b1b4d; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.lp-nav-in { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 0.7rem; color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; text-decoration: none; }
.lp-brand-sm { font-size: 1.05rem; }
.lp-brand-sm .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.lp-links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.lp-links a { color: #c9d3f2; text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 0.5rem 0.85rem; border-radius: var(--radius-sm); }
.lp-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.lp-links a:focus-visible { outline-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); }
.lp-cta-mobile { display: none; }
.lp-nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.lp-login { min-height: 42px; }
.lp-menu-btn { display: none; background: transparent; border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.lp-menu-btn:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Hero ---------- */
.lp-hero { background: #0b1b4d; color: #fff; overflow: hidden; position: relative; }
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 5rem; }
.lp-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #7de9f7; margin-bottom: 1rem; }
.lp-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.035em; }
.lp-hero h1 span { color: #7de9f7; }
.lp-lead { margin-top: 1.25rem; font-size: 1.1rem; line-height: 1.65; color: #c9d3f2; max-width: 34rem; }
.lp-lead strong { color: #fff; }
.lp-hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.lp-btn-lg { min-height: 52px; padding: 0.75rem 1.5rem; font-size: 1rem; border-radius: 14px; }
.lp-hero .btn-primary { background: #4c7dff; color: #06122f; }
.lp-hero .btn-primary:hover { background: #7fa2ff; }
.lp-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.lp-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.lp-pills li { font-size: 0.8rem; font-weight: 700; color: #c9d3f2; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 0.35rem 0.8rem; }

.lp-hero-art { position: relative; }
.lp-hero-hex { position: absolute; right: -120px; top: -90px; width: 620px; height: 620px; opacity: 0.9; z-index: 0; pointer-events: none; }
.lp-mock { position: relative; z-index: 1; background: #fff; color: #0f172a; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); overflow: hidden; transform: rotate(1.2deg); }
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 0.7rem 1rem; background: #eef1f8; border-bottom: 1px solid #e3e8f2; }
.lp-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c9d1e3; }
.lp-mock-bar em { margin-left: 0.6rem; font-style: normal; font-size: 0.75rem; font-weight: 600; color: #5b6478; }
.lp-mock-body { padding: 0.5rem 1rem 1rem; }
.lp-mock-row { display: grid; grid-template-columns: 1.6fr 0.9fr 1fr; gap: 0.5rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid #edf0f7; font-size: 0.82rem; }
.lp-mock-head { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #5b6478; }
.lp-mock-row i { font-style: normal; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; justify-self: start; }
.lp-mock-row i.ok { background: #e3f6ef; color: #0b6b52; }
.lp-mock-row i.warn { background: #fff3d6; color: #8a5300; }
.lp-mock-log { margin-top: 0.9rem; background: #0b1b4d; color: #c9d3f2; border-radius: 12px; padding: 0.8rem 1rem; font-size: 0.75rem; line-height: 1.7; }
.lp-mock-log b { color: #7de9f7; margin-right: 0.4rem; }
.lp-mock-log em { font-style: normal; color: #fff; }

/* ---------- Seções ---------- */
.lp-section { padding: 5rem 0; }
.lp-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; max-width: 36rem; }
.lp-sub { margin-top: 0.9rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.65; max-width: 40rem; }
.lp-grid { display: grid; gap: 1.1rem; margin-top: 2.5rem; }
.lp-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.lp-alt .lp-card { background: var(--bg); }
.lp-card h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.lp-card p { margin-top: 0.5rem; font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); }
.lp-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--danger-bg); color: var(--danger-fg); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; }

.lp-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; counter-reset: s; }
.lp-steps li { position: relative; padding-top: 0.25rem; }
.lp-num { width: 44px; height: 44px; border-radius: 14px; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.lp-steps h3 { font-size: 1.15rem; font-weight: 800; }
.lp-steps p { margin-top: 0.5rem; color: var(--text-muted); line-height: 1.6; }

.lp-dark { background: #0b1b4d; color: #fff; border: 0; }
.lp-dark .lp-sub { color: #c9d3f2; }
.lp-seg { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.lp-checks { list-style: none; display: grid; gap: 0.9rem; }
.lp-checks li { position: relative; padding-left: 2rem; color: #c9d3f2; line-height: 1.55; }
.lp-checks li b { color: #fff; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: #13286b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237DE9F7' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat; }

.lp-compat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: center; }
.lp-domains { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.lp-domains span { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.85rem; font-weight: 600; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 999px; padding: 0.5rem 0.95rem; color: var(--text-soft); }

.lp-faq-wrap { max-width: 820px; }
.lp-faq { margin-top: 2rem; display: grid; gap: 0.6rem; }
.lp-faq details { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.1rem; }
.lp-faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 500; color: var(--primary); line-height: 1; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { padding: 0 0 1.1rem; color: var(--text-muted); line-height: 1.65; }

.lp-cta-final { background: var(--primary); color: var(--on-primary); text-align: center; padding: 4.5rem 0; }
.lp-cta-final h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; }
.lp-cta-final p { margin: 0.6rem auto 1.75rem; max-width: 32rem; opacity: 0.92; }
.lp-cta-final .btn-primary { background: #fff; color: #0b1b4d; }
.lp-cta-final .btn-primary:hover { background: #eef1f8; }
:root[data-theme="dark"] .lp-cta-final { background: #1b274d; color: #e6eaf5; }

.lp-footer { background: #0b1b4d; color: #aebbe3; padding: 1.75rem 0; font-size: 0.88rem; }
.lp-footer-in { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between; }
.lp-footer a:not(.lp-brand) { color: #c9d3f2; font-weight: 600; }
.lp-footer .lp-brand { font-size: 1rem; }

/* ---------- Planos ---------- */
[hidden] { display: none !important; }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; margin-top: 2.5rem; align-items: stretch; }
.lp-plan { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.lp-plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-md); }
.lp-plan-tag { position: absolute; top: -13px; left: 1.4rem; background: var(--primary); color: var(--on-primary); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; }
.lp-plan h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.lp-plan-desc { margin-top: 0.35rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.5; min-height: 2.6em; }
.lp-plan-price { margin-top: 1.1rem; display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.lp-plan-price strong { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; }
.lp-plan-price span { color: var(--text-muted); font-size: 0.9rem; }
.lp-plan-trial { display: inline-block; margin-top: 0.75rem; align-self: flex-start; background: var(--success-bg); color: var(--success-fg); font-size: 0.8rem; font-weight: 700; padding: 0.25rem 0.7rem; border-radius: 999px; }
.lp-plan ul { list-style: none; margin: 1.25rem 0 1.5rem; display: grid; gap: 0.6rem; flex: 1; }
.lp-plan li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; line-height: 1.45; color: var(--text-soft); }
.lp-plan li::before { content: ""; position: absolute; left: 0; top: 0.2rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232456E6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.lp-plan .btn { width: 100%; min-height: 48px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
    .lp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-hero-in { grid-template-columns: 1fr; padding-top: 3rem; padding-bottom: 3.5rem; }
    .lp-mock { transform: none; }
    .lp-hero-hex { right: -200px; }
    .lp-seg, .lp-compat { grid-template-columns: 1fr; gap: 1.75rem; }
}
@media (max-width: 820px) {
    .lp-menu-btn { display: inline-flex; }
    .lp-login { display: none; }
    .lp-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; margin: 0; padding: 0.75rem 1.5rem 1.25rem; background: #0b1b4d; border-bottom: 1px solid rgba(255, 255, 255, 0.1); gap: 0.15rem; }
    .lp-links.open { display: flex; }
    .lp-links a { padding: 0.85rem 0.75rem; font-size: 1rem; }
    .lp-cta-mobile { display: inline-flex; margin-top: 0.5rem; text-align: center; color: #06122f !important; background: #4c7dff !important; justify-content: center; }
    .lp-nav-actions { margin-left: auto; }
    .lp-grid-3, .lp-steps { grid-template-columns: 1fr; }
    .lp-section { padding: 3.5rem 0; }
}
@media (max-width: 560px) {
    .lp-grid-4 { grid-template-columns: 1fr; }
    .lp-wrap { padding: 0 1.1rem; }
    .lp-hero-cta .btn { width: 100%; }
    .lp-mock-row { grid-template-columns: 1.5fr 1fr; }
    .lp-mock-row > :nth-child(2) { display: none; }
    .lp-hero-hex { display: none; }
    .lp-footer-in { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
