/* MVP Negócios Digitais — static site */
:root {
  --accent: #7c3aed;
  --accent-dark: #5b21b6;
  --accent-light: #a78bfa;
  --dark: #0f172a;
  --dark-alt: #1e293b;
  --ink: #111827;
  --ink-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --soft: #f3f4f6;
  --white: #ffffff;
  --font-display: 'Figtree', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --container: 1200px;
  --section-py: 100px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink-soft); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header { background: #0f172a; border-bottom: 1px solid #1e293b; position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header .logo img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 28px; }
.site-nav a { color: #e2e8f0; text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; transition: color .2s; }
.site-nav a:hover { color: var(--accent-light); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(135deg, #0b1023 0%, #15204a 55%, #1d2c66 100%); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; opacity: .35; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,12,32,.92), rgba(20,30,70,.78)); }
.hero__content { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; max-width: var(--container); margin: 0 auto; padding: 96px 24px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 20px; }
.hero__subtitle { color: #cbd5e1; font-size: 1.15rem; max-width: 34rem; margin-bottom: 32px; }
.hero__image img { max-width: 440px; margin: 0 auto; filter: drop-shadow(0 24px 48px rgba(0,0,0,.45)); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; padding: 15px 38px; border: none; border-radius: 999px; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.25); }
.btn--lg { padding: 18px 48px; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section-py) 0; }
.section__title { text-align: center; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 56px; }

/* Services */
.services { background: var(--soft); }
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); border-radius: 14px; margin-bottom: 20px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }

/* Statement */
.statement__text { max-width: 56rem; margin: 0 auto; text-align: center; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 700; color: var(--ink); }

/* Stats */
.stats { background: var(--dark); }
.stats__grid { display: flex; justify-content: center; align-items: center; gap: 72px; flex-wrap: wrap; }
.stats__item { text-align: center; }
.stats__number { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 900; color: var(--accent-light); }
.stats__label { color: #94a3b8; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.stats__divider { width: 1px; height: 72px; background: #334155; }

/* Features */
.features { position: relative; background: var(--dark-alt); overflow: hidden; padding: var(--section-py) 0; }
.features__bg { position: absolute; inset: 0; opacity: .14; }
.features__bg img { width: 100%; height: 100%; object-fit: cover; }
.features .container { position: relative; z-index: 1; }
.features__header { text-align: center; max-width: 46rem; margin: 0 auto 56px; }
.features__header h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.features__header p { color: #cbd5e1; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 32px; text-align: center; backdrop-filter: blur(4px); }
.feature-card img { max-width: 180px; margin: 0 auto 20px; }
.feature-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { color: #94a3b8; font-size: .95rem; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); }
.cta__content { text-align: center; max-width: 44rem; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1.1rem; }
.cta .btn { background: #fff; color: var(--accent-dark); }
.cta .btn:hover { background: var(--soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); padding: 40px 0; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer p { color: #64748b; font-size: .9rem; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: #94a3b8; text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: #fff; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--dark); padding: 64px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.prose { max-width: 50rem; margin: 0 auto; padding: 72px 24px; }
.prose h2, .prose h3 { margin: 2em 0 .6em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; }
.prose ul, .prose ol { padding-left: 1.4em; }

/* Contact form */
.contact-form { max-width: 600px; }
.contact-form label { display: block; font-weight: 600; color: var(--ink); margin: 18px 0 6px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 16px; font-family: var(--font-body); background: var(--soft); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); background: #fff; }
.contact-form button { margin-top: 24px; }
.form-banner { display: none; padding: 16px; border-radius: 10px; margin-bottom: 24px; font-weight: 600; }
.form-banner--ok { background: #d1fae5; color: #065f46; }
.form-banner--err { background: #fee2e2; color: #991b1b; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --section-py: 64px; }
  .hero__content { grid-template-columns: 1fr; text-align: center; padding: 64px 24px; }
  .hero__subtitle { margin: 0 auto 28px; }
  .hero__image img { max-width: 320px; }
  .services__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .stats__divider { display: none; }
  .stats__grid { gap: 40px; }
}
@media (max-width: 560px) {
  .site-header .container { height: 64px; }
  .site-header .logo img { height: 36px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: .8rem; }
}
