/*
 * Site institucional do CrypControl — CSS puro, sem build.
 * Cores da marca (verde-azulado), mesmas do sistema.
 */

:root {
    --brand-50: #f0fdfa;
    --brand-100: #ccfbf1;
    --brand-200: #99f6e4;
    --brand-300: #5eead4;
    --brand-500: #14b8a6;
    --brand-600: #0d9488;
    --brand-700: #0f766e;
    --brand-800: #115e59;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-900: #0f172a;
    --amber-100: #fef3c7;
    --amber-900: #78350f;
    --radius: 16px;
    --max: 1120px;
    --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); color: var(--slate-700); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--slate-900); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--slate-900); padding: 8px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; transition: background .15s, box-shadow .15s; cursor: pointer; border: 0; }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .15); }
.btn-primary:hover { background: var(--brand-700); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-light { background: #fff; color: var(--slate-900); box-shadow: inset 0 0 0 1px var(--slate-200); }
.btn-light:hover { background: var(--slate-50); }
.btn-block { width: 100%; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--slate-200); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--slate-900); }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; color: var(--slate-600); }
.nav a:hover { color: var(--slate-900); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.link { font-size: 14px; font-weight: 500; color: var(--slate-700); }
.link:hover { color: var(--slate-900); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; border-radius: 8px; color: var(--slate-700); cursor: pointer; }
.menu-btn:hover { background: var(--slate-100); }
.mobile-menu { display: none; border-top: 1px solid var(--slate-200); background: #fff; padding: 16px 20px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 500; }
.mobile-menu .header-actions { margin-top: 16px; }
.mobile-menu.open { display: block; }

/* Seções */
.section { padding: 80px 0; }
.section-muted { background: var(--slate-50); }
.section-dark { background: var(--slate-900); color: var(--slate-300); position: relative; overflow: hidden; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.section-dark .eyebrow { color: var(--brand-300); }
.section-title { margin-top: 8px; font-size: clamp(26px, 3.2vw, 34px); max-width: 680px; }
.center { text-align: center; }
.center .section-title { margin-left: auto; margin-right: auto; }
.lead { margin-top: 16px; font-size: 18px; line-height: 1.7; }

/* Topo */
.hero { padding: 96px 0 104px; }
.glow { position: absolute; border-radius: 999px; filter: blur(80px); pointer-events: none; }
.glow-1 { width: 440px; height: 440px; right: -120px; top: -140px; background: rgba(20, 184, 166, .22); }
.glow-2 { width: 380px; height: 380px; left: -100px; bottom: -160px; background: rgba(20, 184, 166, .12); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--brand-200); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.hero h1 { margin-top: 20px; font-size: clamp(34px, 5vw, 52px); }
.hero .lead { color: var(--slate-300); max-width: 560px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--slate-400); }

.mock { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); color: var(--slate-600); }
.mock-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; color: var(--slate-900); }
.tag { border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 600; background: var(--brand-50); color: var(--brand-800); }
.mock-total { margin-top: 8px; font-size: 30px; font-weight: 700; color: var(--slate-900); }
.mock-gain { font-size: 14px; font-weight: 600; color: #047857; }
.bars { margin-top: 20px; display: grid; gap: 12px; }
.bar-label { display: flex; justify-content: space-between; font-size: 12px; }
.bar-label strong { color: var(--slate-900); }
.bar { margin-top: 4px; height: 8px; border-radius: 99px; background: var(--slate-100); }
.bar span { display: block; height: 8px; border-radius: 99px; }
.mock-stats { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; font-size: 12px; }
.mock-stats div { background: var(--slate-50); border-radius: 10px; padding: 8px; }
.mock-stats strong { display: block; color: var(--slate-900); }
.mock-caption { margin-top: 12px; text-align: center; font-size: 12px; color: var(--slate-400); }

/* Grades de cartões */
.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 24px; background: #fff; }
.card h3 { margin-top: 16px; font-size: 16px; }
.card p { margin-top: 8px; font-size: 14px; color: var(--slate-600); }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section-dark .card p { color: var(--slate-300); }
.icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand-700); }
.icon svg { width: 20px; height: 20px; }
.icon-dark { background: var(--slate-900); color: var(--brand-300); }
.section-dark .icon { background: rgba(20, 184, 166, .15); color: var(--brand-300); }

/* Problema */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--slate-200); border-radius: 12px; padding: 16px; font-size: 14px; }
.check { flex: none; width: 20px; height: 20px; color: var(--brand-600); }

/* Como funciona */
.steps { margin-top: 32px; display: grid; gap: 24px; }
.steps li { display: flex; gap: 16px; }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 99px; background: var(--brand-600); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 16px; }
.steps p { margin-top: 4px; font-size: 14px; color: var(--slate-600); }
.mission { border-radius: var(--radius); background: var(--brand-50); padding: 32px; }
.mission .eyebrow { color: var(--brand-800); }
.mission .quote { margin-top: 12px; font-size: 22px; font-weight: 600; line-height: 1.4; color: var(--slate-900); letter-spacing: -0.01em; }
.mission p + p { margin-top: 16px; font-size: 14px; color: var(--slate-700); }

/* Planos */
.plans { margin: 40px auto 0; max-width: 460px; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 32px; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
.plan h3 { font-size: 18px; }
.plan .price { margin-top: 20px; font-size: 30px; font-weight: 700; color: var(--slate-900); white-space: nowrap; letter-spacing: -0.02em; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--slate-500); }
.plan ul { margin-top: 24px; display: grid; gap: 12px; font-size: 14px; }
.plan li { display: flex; gap: 10px; }
.plan li strong { color: var(--slate-900); font-weight: 600; }
.plan li span small { display: block; font-size: 12px; color: var(--slate-500); }
.plan .btn { margin-top: 32px; }
.plans-note { margin-top: 24px; text-align: center; font-size: 14px; color: var(--slate-500); }
.plans-grid { max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plans-grid .plan { padding: 28px 24px; }
.plan .desc { margin-top: 6px; font-size: 14px; color: var(--slate-500); min-height: 44px; }
.plan .price small { margin-left: 2px; }
.plan ul { flex: 1; }
.plan li.off { color: var(--slate-400); }
.plan .dash { flex: none; width: 20px; text-align: center; }
.plan-featured { position: relative; border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500), 0 10px 30px rgba(13, 148, 136, .12); }
.badge { position: absolute; top: -12px; left: 32px; border-radius: 999px; background: var(--brand-600); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; }

/* Segurança */
.security { border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 40px; }
.security-head { display: flex; align-items: center; gap: 12px; }
.security-head h2 { font-size: 24px; }
.security .grid { margin-top: 24px; font-size: 14px; line-height: 1.7; color: var(--slate-600); }
.security strong { color: var(--slate-900); }

/* Dúvidas */
.faq { margin-top: 40px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: #fff; }
.faq details + details { border-top: 1px solid var(--slate-200); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 24px; font-weight: 600; color: var(--slate-900); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--slate-400); border-bottom: 2px solid var(--slate-400); transform: rotate(45deg); transition: transform .15s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 24px 20px; font-size: 14px; color: var(--slate-600); }

/* Chamada final */
.cta { padding: 64px 0; text-align: center; }
.cta h2 { font-size: clamp(26px, 3vw, 32px); }
.cta p { margin: 12px auto 0; max-width: 560px; }
.cta .hero-actions { justify-content: center; }

/* Rodapé */
.footer { background: var(--slate-50); border-top: 1px solid var(--slate-200); font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 48px 20px; }
.footer p { margin-top: 12px; color: var(--slate-500); }
.footer h4 { margin: 0; font-size: 14px; color: var(--slate-900); }
.footer ul { margin-top: 12px; display: grid; gap: 8px; }
.footer a { color: var(--slate-600); }
.footer a:hover { color: var(--slate-900); }
.footer .bottom { border-top: 1px solid var(--slate-200); padding: 20px; text-align: center; font-size: 12px; color: var(--slate-500); }

/* Documentos legais */
.legal { max-width: 760px; margin: 0 auto; padding: 64px 20px; font-size: 15px; line-height: 1.75; }
.legal h1 { font-size: 32px; }
.legal .updated { margin-top: 8px; font-size: 14px; color: var(--slate-500); }
.legal h2 { margin-top: 40px; font-size: 20px; }
.legal h3 { margin-top: 24px; font-size: 16px; }
.legal p { margin-top: 12px; }
.legal ul { margin-top: 12px; padding-left: 24px; list-style: disc; display: grid; gap: 6px; }
.legal strong { color: var(--slate-900); }
.legal a { color: var(--brand-700); font-weight: 500; text-decoration: underline; }
.fill { background: var(--amber-100); color: var(--amber-900); border-radius: 4px; padding: 0 4px; }

/* Responsivo */
@media (max-width: 1023px) {
    .nav, .header .header-actions.desktop { display: none; }
    .menu-btn { display: block; }
    .hero .container, .split { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .plans-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
}
@media (max-width: 639px) {
    .section { padding: 64px 0; }
    .hero { padding: 64px 0 72px; }
    .grid-2, .grid-3, .grid-4, .plans-grid { grid-template-columns: 1fr; }
    .footer .cols { grid-template-columns: 1fr; }
    .security { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
