/* e-Fácil Sistemas — estilos do site */
:root {
  --ink: #0E2A47;
  --ink-2: #3E4F66;
  --muted: #51627A;
  --line: #E3E8EF;
  --line-2: #C9D3DF;
  --soft: #F6F8FB;
  --accent: #10B981;
  --accent-text: #047857;
  --accent-soft: #E8F7F1;
  --accent-dark-bg: #34D399;
  --radius: 16px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-text); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.big { font-size: 18px; }
.small { font-size: 13px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 16px; color: #fff; }

.ico {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: var(--accent-text); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent-text); }
.eyebrow.muted { color: var(--muted); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 12px;
  font-weight: 600; border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #163C63; color: #fff; }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; font-family: var(--font-display); }
.brand-name { font-family: var(--font-display); font-size: 22px; line-height: 1; font-weight: 600; letter-spacing: -.5px; color: var(--ink); }
.dash { color: var(--accent); }
.brand-sub { font-size: 9px; line-height: 1; font-weight: 500; letter-spacing: 4.5px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 24px 20px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav .btn { margin-top: 8px; padding: 0 20px; }
}

/* Hero */
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; padding-top: 96px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid #D5DDE7; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.lead { max-width: 560px; font-size: 19px; color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

.trust {
  flex: 1 1 380px; min-width: 0;
  border: 1px solid var(--line); border-radius: 20px; background: var(--soft); padding: 32px;
}
.trust .eyebrow { padding-bottom: 12px; }
.trust li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.trust li:last-child { padding-bottom: 0; }
.trust strong { display: block; font-weight: 600; }
.trust span { display: block; font-size: 14px; color: var(--muted); }

/* Faixa de tecnologias */
.stack { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 28px; padding-bottom: 28px; }
.stack-list { display: flex; flex-wrap: wrap; gap: 12px 36px; font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink-2); }

/* Seções */
.section { padding: 112px 0; }
.section.alt { background: var(--soft); border-top: 1px solid var(--line); }
.section-head { max-width: 680px; display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.section-head.split { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.split > div { max-width: 640px; display: flex; flex-direction: column; gap: 16px; }
.section-head.split > p { max-width: 400px; }
.section h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }

.grid { display: grid; gap: 20px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.steps { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.cards .card:hover { border-color: var(--line-2); box-shadow: 0 8px 24px rgba(14,42,71,.06); }
.card h3 { font-size: 20px; font-weight: 600; }
.card p { color: var(--muted); }
.card-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.steps .card { padding: 28px; gap: 12px; }
.steps h3 { font-size: 19px; }
.steps p { font-size: 15px; }
.num { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--accent-text); }

/* Contato */
#contato { background: var(--soft); border-top: 1px solid var(--line); }
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .ico { width: 22px; height: 22px; }

.form {
  flex: 1 1 440px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.form input, .form textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink);
}
.form textarea { padding: 12px 14px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(16,185,129,.25); }
.form [aria-invalid="true"] { border-color: #B42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--accent-text); }
.form-msg.err { color: #B42318; }

/* Rodapé */
.site-footer { background: var(--ink); color: #B4C2D4; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.brand-footer .brand-name { color: #fff; font-size: 20px; }
.brand-footer .dash { color: var(--accent-dark-bg); }
.brand-sub-inline { font-size: 13px; font-weight: 500; letter-spacing: 3px; color: #B4C2D4; }
.legal { font-size: 14px; line-height: 1.7; }

/* Página simples (obrigado / 404) */
.simple { min-height: calc(100vh - 77px - 133px); display: flex; align-items: center; }
.simple .container { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 96px; padding-bottom: 96px; max-width: 720px; }
.simple h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }

@media (max-width: 600px) {
  .hero-inner { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .trust, .form { padding: 24px; }
  .card { padding: 24px; }
  .contact { gap: 40px; }
}
