@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=Lato:wght@400;500;600&display=swap');

:root {
  --primary: #4f46e5;
  --accent: #facc15;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #4338ca;
  --muted: color-mix(in srgb, var(--text) 65%, transparent);
  --font-heading: 'Crimson Pro', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --radius: 0px; --btn-radius: 0px;
  --shadow: 0 8px 32px rgba(0,0,0,.08);
}

body { font-family: var(--font-body); color: var(--text); background: var(--bg); }
h1,h2,h3 { font-family: var(--font-heading); line-height: 1.2; }
.container { width: min(1120px, 92vw); margin-inline: auto; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid color-mix(in srgb, var(--primary) 12%, transparent); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; gap: 1rem; }
.logo img, .logo svg { height: 40px; width: auto; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }
.nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); padding: 1rem; flex-direction: column; gap: .25rem; border-bottom: 1px solid color-mix(in srgb, var(--primary) 10%, transparent); box-shadow: var(--shadow); }
.nav-menu.is-open { display: flex; }
.nav-menu a { padding: .65rem 1rem; border-radius: 8px; font-weight: 500; }
.nav-menu a:hover, .nav-menu a.active { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--primary); }
.header-cta { display: none; }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex !important; position: static; flex-direction: row; padding: 0; border: none; box-shadow: none; background: transparent; }
  .header-cta { display: inline-flex; }
}

/* Buttons */
.btn { border-radius: var(--btn-radius); display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .9375rem; transition: transform .15s, box-shadow .15s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #20bd5a; transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }

/* Hero */
.hero { padding: 3.5rem 0 4rem; background: linear-gradient(165deg, color-mix(in srgb, var(--primary) 8%, var(--bg)), var(--bg)); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1.2fr 1fr; } .hero { padding: 5rem 0 6rem; } }
.hero-badge { display: inline-block; padding: .35rem .85rem; background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--primary); border-radius: 999px; font-size: .8125rem; font-weight: 600; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1rem; color: var(--primary); }
.hero-lead { font-size: 1.0625rem; color: var(--muted); max-width: 36rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-card { background: var(--surface); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--primary) 8%, transparent); }
.hero-card h3 { font-size: 1.125rem; margin-bottom: .75rem; color: var(--primary); }
.hero-card ul { display: flex; flex-direction: column; gap: .5rem; }
.hero-card li { padding-left: 1.25rem; position: relative; font-size: .9375rem; }
.hero-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--surface); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--primary); margin-bottom: .75rem; }
.section-header p { color: var(--muted); }
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; border: 1px solid color-mix(in srgb, var(--primary) 8%, transparent); }
.card h3 { font-size: 1.0625rem; color: var(--primary); margin-bottom: .5rem; }
.card p { font-size: .9375rem; color: var(--muted); }

/* Steps */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: center; padding: 1.5rem 1rem; }
.step-num { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto .75rem; }
.step h3 { font-size: 1rem; margin-bottom: .35rem; }
.step p { font-size: .875rem; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: var(--surface); border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--primary) 8%, transparent); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 1rem 1.25rem; font-weight: 600; color: var(--primary); display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: "+"; font-size: 1.25rem; color: var(--accent); }
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { display: none; padding: 0 1.25rem 1rem; font-size: .9375rem; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* CTA band */
.cta-band { background: var(--primary); color: #fff; padding: 3rem 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: .75rem; }
.cta-band p { opacity: .9; margin-bottom: 1.5rem; max-width: 520px; margin-inline: auto; }

/* Page hero */
.page-hero { padding: 2.5rem 0; background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, var(--bg)), var(--bg)); }
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); color: var(--primary); margin-bottom: .5rem; }
.page-hero p { color: var(--muted); max-width: 640px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.375rem; color: var(--primary); margin: 2rem 0 .75rem; }
.prose p { margin-bottom: 1rem; color: var(--muted); line-height: 1.75; }
.prose ul { margin: 1rem 0 1.5rem 1.25rem; list-style: disc; color: var(--muted); }
.prose li { margin-bottom: .35rem; }

/* Footer */
.site-footer { background: color-mix(in srgb, var(--primary) 92%, #000); color: #fff; padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { opacity: .85; font-size: .875rem; margin-top: .75rem; max-width: 280px; }
.footer-col h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; opacity: .7; margin-bottom: .75rem; }
.footer-col a { display: block; font-size: .875rem; opacity: .85; padding: .25rem 0; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.25rem; font-size: .75rem; opacity: .7; line-height: 1.6; }


/* Theme: editorial */
.theme-editorial .site-header { border-bottom: 3px solid var(--accent); }
.theme-editorial h1, .theme-editorial h2 { letter-spacing: -0.02em; }
.theme-editorial .card { border: none; border-top: 2px solid var(--primary); border-radius: 0; padding-top: 1.25rem; }
.hero-band { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--accent))); color: #fff; }
.hero-band h1, .hero-band .hero-lead { color: #fff; }
.hero-band .hero-badge { background: rgba(255,255,255,.2); color: #fff; }
.hero-editorial .hero-grid { grid-template-columns: 1fr !important; }
.hero-editorial h1 { font-size: clamp(2rem, 5vw, 3.25rem); max-width: 14ch; }
.hero-fintech .hero-grid { grid-template-columns: 1fr 1fr !important; }
.hero-minimal { background: var(--bg); border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent); }
.hero-minimal .hero-card { box-shadow: none; border: 2px solid var(--primary); }
.hero-bold { background: color-mix(in srgb, var(--accent) 25%, var(--bg)); }
.hero-bold h1 { text-transform: uppercase; letter-spacing: .02em; font-size: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 768px) {
  .hero-split .hero-grid { grid-template-columns: 1.2fr 1fr; }
}
