/* =====================================================================
   Katu — Soluções Estratégicas · site institucional
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Archivo:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f3f6fc;
  --bg-2: #e9eff8;
  --surface: #ffffff;
  --ink: #0f1b33;
  --ink-soft: #46506a;
  --muted: #7d879e;
  --line: #e3e9f5;

  --navy: #0b1e47;
  --navy-2: #081634;
  --blue: #1746b8;
  --brand: #1e63ff;
  --brand-deep: #1746b8;
  --brand-tint: #e4edff;
  --cyan: #12b6e8;
  --cyan-2: #19c9f5;
  --green: #2f9469;
  --amber: #d99a2b;

  --shadow-sm: 0 1px 3px rgba(11, 30, 71, .07);
  --shadow-md: 0 10px 30px rgba(11, 30, 71, .1);
  --shadow-lg: 0 28px 64px rgba(8, 22, 52, .22);
  --shadow-blue: 0 16px 40px rgba(30, 99, 255, .28);

  --sans: 'Archivo', system-ui, sans-serif;
  --display: 'Bricolage Grotesque', 'Archivo', sans-serif;
  --r: 16px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--brand); color: #fff; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 15.5px; padding: 13px 24px; border-radius: 12px; transition: transform .12s, box-shadow .18s, background .18s, border-color .18s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(30, 99, 255, .36); }
.btn-solid { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(30,99,255,.25); }
.btn-solid:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 70px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 22px; }
.nav-links a { padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); align-items: center; justify-content: center; margin-left: auto; }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 70% -10%, #143a8f 0%, transparent 60%), linear-gradient(160deg, #0b1e47 0%, #0a1a3e 60%, #081634 100%); color: #eaf1ff; padding: 78px 0 92px; }
.hero::before { content: ''; position: absolute; right: -160px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(18,182,232,.32), transparent 62%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(900px 500px at 30% 20%, #000, transparent 80%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; background: rgba(18,182,232,.14); border: 1px solid rgba(25,201,245,.3); color: #8fe3ff; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 30px; letter-spacing: .02em; }
.hero-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-2); box-shadow: 0 0 10px var(--cyan-2); }
.hero h1 { color: #fff; font-size: 50px; font-weight: 800; margin: 20px 0 18px; letter-spacing: -.03em; }
.hero h1 .grad { background: linear-gradient(100deg, #4aa3f0, #19c9f5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.sub { font-size: 18.5px; color: #c0d0ee; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-family: var(--display); font-size: 24px; color: #fff; }
.hero-trust span { font-size: 13px; color: #93a6cb; }

/* mock do painel no hero */
.hero-mock { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px; transform: rotate(.4deg); border: 1px solid rgba(255,255,255,.5); color: var(--ink); }
.hero-mock .mock-top { display: flex; align-items: center; gap: 7px; padding: 4px 6px 12px; }
.hero-mock .mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #e3e9f5; }
.hero-mock .mock-top b { margin-left: 8px; font-size: 12.5px; color: var(--muted); font-family: var(--sans); font-weight: 600; }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.mock-kpi { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 12px; }
.mock-kpi span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.mock-kpi b { display: block; font-family: var(--display); font-size: 19px; margin-top: 3px; }
.mock-kpi.brand { background: linear-gradient(140deg, var(--brand), var(--cyan)); border: none; }
.mock-kpi.brand span, .mock-kpi.brand b { color: #fff; }
.mock-chart { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 11px; padding: 12px; }
.mock-chart .ttl { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.mock-float { position: absolute; right: -18px; bottom: 26px; background: #fff; border-radius: 13px; box-shadow: var(--shadow-md); padding: 12px 14px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); }
.mock-float .mf-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--green); display: grid; place-items: center; color: #fff; }
.mock-float .mf-ic svg { width: 18px; height: 18px; }
.mock-float b { font-family: var(--display); font-size: 15px; display: block; }
.mock-float span { font-size: 11.5px; color: var(--muted); }

/* ---------- Sections base ---------- */
section { padding: 84px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.sec-head h2 { font-size: 38px; font-weight: 800; }
.sec-head p { font-size: 18px; color: var(--ink-soft); margin-top: 14px; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: linear-gradient(165deg, #0b1e47, #081634); color: #eaf1ff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .eyebrow { color: var(--cyan-2); }
.bg-navy .sec-head p { color: #c0d0ee; }

/* ---------- Dores → solução ---------- */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pain { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pain-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.pain-ic svg { width: 23px; height: 23px; }
.pain b { font-family: var(--display); font-size: 17px; }
.pain p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- Módulos / recursos ---------- */
.mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mod { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform .16s, box-shadow .16s, border-color .16s; }
.mod:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfdcf7; }
.mod-ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(140deg, var(--brand), var(--cyan)); color: #fff; box-shadow: 0 8px 18px rgba(30,99,255,.25); }
.mod-ic svg { width: 25px; height: 25px; }
.mod h3 { font-size: 18px; }
.mod p { font-size: 14.5px; color: var(--ink-soft); margin-top: 7px; }

/* ---------- Como funciona ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 26px; backdrop-filter: blur(4px); }
.flow-num { font-family: var(--display); font-weight: 800; font-size: 15px; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(140deg, var(--brand), var(--cyan)); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.flow-card h3 { font-size: 19px; margin-bottom: 7px; }
.flow-card p { color: #bccbe8; font-size: 15px; }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 34px 30px; position: relative; display: flex; flex-direction: column; transition: transform .16s, box-shadow .16s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow-blue); }
.plan.featured::before { content: 'Mais completo'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--cyan)); color: #fff; font-size: 12.5px; font-weight: 700; padding: 6px 16px; border-radius: 20px; letter-spacing: .03em; }
.plan-name { font-family: var(--display); font-size: 22px; font-weight: 700; }
.plan-desc { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; min-height: 42px; }
.plan-price { margin: 18px 0 6px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .from { font-size: 14px; color: var(--muted); }
.plan-price .val { font-family: var(--display); font-size: 42px; font-weight: 800; letter-spacing: -.02em; }
.plan-price .per { font-size: 15px; color: var(--muted); }
.plan-feats { list-style: none; margin: 18px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.plan-feats li { display: flex; gap: 11px; font-size: 14.5px; color: var(--ink-soft); align-items: flex-start; }
.plan-feats svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--green); margin-top: 1px; }
.plan-feats li.off { color: var(--muted); opacity: .65; }
.plan-feats li.off svg { color: var(--muted); }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; color: var(--ink-soft); font-size: 14.5px; margin-top: 26px; }

/* ---------- Sobre / Seidel ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-card { background: linear-gradient(160deg, #0b1e47, #102a63); border-radius: 22px; padding: 38px; color: #eaf1ff; position: relative; overflow: hidden; }
.about-card::after { content: ''; position: absolute; right: -50px; bottom: -50px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(18,182,232,.3), transparent 65%); }
.about-person { display: flex; align-items: center; gap: 16px; position: relative; }
.about-ava { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(140deg, var(--cyan), var(--brand)); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 24px; color: #fff; flex: 0 0 auto; }
.about-person b { font-family: var(--display); font-size: 20px; color: #fff; display: block; }
.about-person span { color: #9fb3d8; font-size: 14px; }
.about-quote { position: relative; margin-top: 24px; font-size: 17px; line-height: 1.65; color: #d4e0f6; }
.about h2 { font-size: 34px; }
.about > div > p { color: var(--ink-soft); font-size: 16.5px; margin-top: 16px; }
.about-points { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.about-points svg { width: 22px; height: 22px; color: var(--brand); flex: 0 0 auto; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand), var(--cyan)); border-radius: 24px; padding: 54px 44px; text-align: center; color: #fff; box-shadow: var(--shadow-blue); }
.cta-band h2 { color: #fff; font-size: 34px; }
.cta-band p { font-size: 18px; margin: 12px auto 28px; max-width: 560px; color: rgba(255,255,255,.92); }
.cta-band .btn-light { border-color: rgba(255,255,255,.5); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-info h2 { font-size: 34px; }
.contact-info > p { color: var(--ink-soft); font-size: 16.5px; margin-top: 14px; }
.contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: center; }
.contact-item .ci-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.contact-item .ci-ic svg { width: 22px; height: 22px; }
.contact-item b { display: block; font-size: 15.5px; }
.contact-item span { color: var(--muted); font-size: 14px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.field textarea { resize: vertical; min-height: 96px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-2); color: #c0d0ee; padding: 60px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .plate { background: #fff; border-radius: 12px; padding: 10px 12px; display: inline-block; }
.footer-brand .plate img { height: 40px; }
.footer-brand p { margin-top: 16px; font-size: 14.5px; color: #93a6cb; max-width: 280px; }
.footer h4 { color: #fff; font-size: 14px; font-family: var(--sans); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14.5px; color: #aebbd6; transition: color .15s; }
.footer ul a:hover { color: var(--cyan-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: #7e93bf; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(calc(100% + 50px)); background: var(--navy); color: #fff; padding: 15px 22px; border-radius: 13px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; z-index: 200; font-size: 15px; font-weight: 500; transition: transform .35s cubic-bezier(.22,1,.36,1); max-width: 90vw; pointer-events: none; }
.toast.show { pointer-events: auto; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .t-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--green); display: grid; place-items: center; flex: 0 0 auto; }
.toast .t-ic svg { width: 17px; height: 17px; color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Mobile menu ---------- */
.mnav { position: fixed; inset: 0 0 0 auto; width: min(310px, 84vw); background: #fff; z-index: 70; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow-lg); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.mnav.open { transform: none; }
.mnav .mnav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mnav .mnav-top img { height: 38px; }
.mnav a { padding: 14px 14px; border-radius: 11px; font-size: 16px; font-weight: 500; color: var(--ink); }
.mnav a:hover { background: var(--bg-soft); }
.mnav .btn { margin-top: 10px; }
.m-backdrop { position: fixed; inset: 0; background: rgba(8,22,52,.45); z-index: 65; opacity: 0; pointer-events: none; transition: opacity .28s; }
.m-backdrop.show { opacity: 1; pointer-events: auto; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mock { max-width: 460px; }
  .mods { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 56px 0 70px; }
  .hero h1 { font-size: 36px; }
  .hero p.sub { font-size: 16.5px; }
  section { padding: 60px 0; }
  .sec-head h2 { font-size: 29px; }
  .pains, .plans, .flow { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .cta-band h2 { font-size: 27px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 22px; }
  .hero-actions .btn { flex: 1; }
}
@media (max-width: 460px) {
  .mods { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px; }
  .footer-top { grid-template-columns: 1fr; }
  .mock-float { right: 8px; }
}
