:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1d4e89;
  --teal: #2dd4bf;
  --teal-d: #0f9488;
  --ink: #0f1b2d;
  --text: #33445a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 8px 24px rgba(15, 27, 45, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--teal-d); margin: 0 0 .6em; }
.lead { font-size: 1.15rem; color: #44556b; max-width: 36em; }
.lead-sm { font-size: 1.05rem; color: #4a5b70; max-width: 40em; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: #fff; text-decoration: none; font-weight: 700;
  padding: 11px 20px; border-radius: 10px; border: 2px solid var(--navy); cursor: pointer;
  font: 700 1rem/1.2 var(--font); transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(29, 78, 137, .25); }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; box-shadow: none; }
.btn-ghost-dark { background: transparent; color: var(--navy); border-color: #c7d3e3; }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- topo */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.25rem; }
.brand b { font-weight: 800; letter-spacing: .02em; }
.brand span { white-space: nowrap; }
.brand.light { color: #fff; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.menu a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.menu a:not(.btn):hover { background: var(--bg-alt); color: var(--navy); }
.menu .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(45,212,191,.18), transparent 60%),
                    linear-gradient(135deg, var(--navy) 0%, #12385f 60%, var(--blue) 100%);
        color: #dbe6f3; padding: 84px 0 96px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--teal); }
.hero .lead { color: #c9d8ea; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero .btn:not(.btn-ghost) { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.hero .btn:not(.btn-ghost):hover { background: #5eead4; border-color: #5eead4; box-shadow: 0 8px 22px rgba(45,212,191,.3); }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; font-size: .95rem; }
.checks li { display: flex; align-items: center; gap: 8px; color: #c9d8ea; }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(45,212,191,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }

/* mock do webmail */
.hero-art { position: relative; }
.mock { background: #fff; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; transform: rotate(-1.5deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f7; border-bottom: 1px solid #dde4ee; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.mock-bar span { margin-left: 10px; font-size: .78rem; color: #64748b; background: #fff; padding: 3px 10px; border-radius: 6px; flex: 1; }
.mock-body { padding: 34px 28px; background: #f8fafc; }
.mock-card { background: #fff; border-radius: 10px; border-top: 5px solid #0f7b3f; padding: 22px; box-shadow: 0 4px 14px rgba(15,27,45,.08); max-width: 330px; margin: 0 auto; }
.mock-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; color: #0f7b3f; font-size: 1.15rem; margin-bottom: 18px; }
.mock-logo span { width: 34px; height: 34px; border-radius: 9px; background: #0f7b3f; color: #fff; display: grid; place-items: center; }
.mock-field { display: flex; border: 1px solid #d5dde8; border-radius: 7px; margin-bottom: 10px; font-size: .85rem; overflow: hidden; }
.mock-field em { flex: 1; padding: 8px 10px; color: #94a3b8; font-style: normal; }
.mock-field b { padding: 8px 10px; background: #ecf7f0; color: #0f7b3f; font-weight: 700; }
.mock-btn { background: #0f7b3f; color: #fff; text-align: center; padding: 9px; border-radius: 7px; font-weight: 700; font-size: .9rem; margin-top: 6px; }
.swatches { display: flex; align-items: center; gap: 8px; margin-top: 22px; justify-content: center; flex-wrap: wrap; }
.swatches span { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255,255,255,.7); }
.swatches small { color: #b7c8dd; margin-left: 6px; }

/* ---------- seções */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section > .wrap > h2, .section > .wrap > .eyebrow { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15,27,45,.05), 0 16px 32px rgba(15,27,45,.09); }
.card p { margin: 0 0 14px; }
.card ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: .93rem; }
.card li { padding: 5px 0 5px 22px; position: relative; border-top: 1px dashed #e7edf4; }
.card li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--blue); }
.card .more:hover { text-decoration: underline; }
.ico { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
#email h2, #email .eyebrow { text-align: left; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0 30px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 20px 54px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: #cfdae8; }
.steps b { display: block; color: var(--ink); }
.steps span { color: #55667b; font-size: .97rem; }
.feature-list { display: grid; gap: 14px; }
.feature-list div { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow); }
.feature-list b { display: block; color: var(--ink); margin-bottom: 2px; }
.feature-list span { color: #55667b; font-size: .95rem; }

.systems { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.system { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); background: linear-gradient(180deg, #fff, #fbfdff); }
.sys-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sys-head h3 { margin: 0; font-size: 1.35rem; }
.sys-head small { color: var(--teal-d); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.sys-mark { width: 48px; height: 48px; border-radius: 12px; background: var(--c); color: #fff; font-weight: 800; font-size: 1.4rem; display: grid; place-items: center; }
.system p { margin: 0 0 20px; }

.why h2 { text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.why-grid div { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.why-grid b { display: block; color: var(--ink); font-size: 1.08rem; margin: 10px 0 4px; }
.why-grid p { margin: 0; color: #55667b; }
.why-ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(45,212,191,.16); color: var(--teal-d); font-weight: 800; display: grid; place-items: center; }

/* ---------- contato */
.contact { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
#contato h2, #contato .eyebrow { text-align: left; }
.info-line { display: flex; align-items: center; gap: 10px; margin: 22px 0; font-weight: 700; font-size: 1.05rem; }
.info-line svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-d); stroke-width: 2; }
.info-line a { color: var(--navy); text-decoration: none; }
.info-line a:hover { text-decoration: underline; }
.client-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: grid; gap: 6px; max-width: 360px; }
.client-box b { color: var(--ink); }
.client-box a { text-decoration: none; font-weight: 600; }
.client-box a:hover { text-decoration: underline; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: 0 2px 4px rgba(15,27,45,.04), 0 20px 40px rgba(15,27,45,.08); }
.form label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 14px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1.5px solid #d3dce8; border-radius: 10px;
  font: 1rem/1.4 var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,137,.12); }
.form .invalid { border-color: #dc2626; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req { color: #dc2626; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: .85rem; color: var(--muted); margin: -4px 0 16px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-msg { font-weight: 600; }
.form-msg.ok { color: #047857; }
.form-msg.err { color: #b91c1c; }
.form.sent { text-align: center; padding: 56px 28px; }
.form.sent h3 { font-size: 1.4rem; }

/* ---------- rodapé */
.foot { background: var(--navy); color: #a9bdd6; padding: 40px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { color: #d6e2f0; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot small { margin-left: auto; }

/* ---------- 404 */
.notfound { background: var(--bg-alt); }
.nf { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 8px; padding: 20px; }
.nf h1 { margin-top: 24px; }

/* ---------- responsivo */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 460px; }
}
@media (max-width: 820px) {
  .split, .systems, .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,27,45,.08); }
  .menu.open { display: flex; }
  .menu .btn { margin: 8px 0 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
}
@media (max-width: 560px) {
  .cards, .row2 { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .foot small { margin-left: 0; }
  .mock { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
