:root {
  --navy: #050d24;
  --navy-2: #0a1a40;
  --blue: #2563ff;
  --cyan: #22d3ee;
  --violet: #7c3aed;
  --ink: #0b1530;
  --muted: #5b6b86;
  --soft: #eef4ff;
  --border: #dbe5f5;
  --grad: linear-gradient(135deg, var(--cyan), var(--blue) 55%, var(--violet));
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--blue); }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(5, 13, 36, .85); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo-img { height: 26px; width: auto; display: block; filter: invert(1); }
.menu { display: flex; align-items: center; gap: 24px; }
.menu a:not(.btn) { color: #cfdcf5; text-decoration: none; font-weight: 500; }
.menu a:not(.btn):hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
.lang-toggle {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: #fff;
  border-radius: 999px; padding: 5px 13px; font-weight: 600; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--cyan); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; border: 0;
  background: var(--grad); color: #fff; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37, 99, 255, .45); }
.btn-small { padding: 9px 20px; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.16); box-shadow: none; }
.btn-glow { animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .55); }
  70% { box-shadow: 0 0 0 16px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* Pills */
.pill {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--soft); color: var(--blue); font-weight: 600; font-size: .85rem;
  border: 1px solid var(--border);
}
.pill-dark { background: rgba(255,255,255,.08); color: var(--cyan); border-color: rgba(255,255,255,.2); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 150px 0 110px;
  background: radial-gradient(1200px 600px at 80% 0%, #123c91 0%, transparent 60%), linear-gradient(160deg, var(--navy) 30%, var(--navy-2));
}
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
.hero .b1 { width: 420px; height: 420px; background: var(--blue); top: -120px; left: -100px; }
.hero .b2 { width: 360px; height: 360px; background: var(--violet); bottom: -140px; right: 10%; animation-delay: -4s; }
.hero .b3 { width: 280px; height: 280px; background: var(--cyan); top: 30%; right: -80px; opacity: .3; animation-delay: -8s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.08; font-weight: 800; margin: 18px 0 20px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.hero .lead { color: #b8c8e8; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-size: 2.4rem; line-height: 1; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: #9fb2d6; font-size: .9rem; margin-top: 6px; max-width: 14ch; }

/* Chat mock */
.hero-visual { position: relative; padding: 30px 20px; }
.chat {
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: 26px; padding: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45); animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-12px); } }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.chat-head small { margin-left: auto; color: #16a34a; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.2); }
.bubble {
  max-width: 85%; padding: 10px 14px; border-radius: 16px; margin-bottom: 10px; font-size: .93rem;
  opacity: 0; transform: translateY(10px); animation: pop .5s forwards; animation-delay: var(--d);
}
.bubble.in { background: var(--soft); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--grad); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
@keyframes pop { to { opacity: 1; transform: none; } }
.float-chip {
  position: absolute; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  z-index: 2; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 10px 28px rgba(11, 21, 48, .45);
  animation: bob 5s ease-in-out infinite;
}
.c1 { top: 0; left: -10px; } .c2 { bottom: 40px; left: -24px; animation-delay: -2s; } .c3 { top: 38%; right: -14px; animation-delay: -3.5s; }

/* Marquee */
.marquee { background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; padding: 22px 0; }
.track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track ul { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0 7px; }
.track li { white-space: nowrap; padding: 8px 20px; border-radius: 999px; background: var(--soft); border: 1px solid var(--border); font-weight: 600; color: var(--ink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; }
.head { text-align: center; margin-bottom: 52px; }
.head h2, .about h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 14px 0 0; font-weight: 800; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  box-shadow: 0 8px 30px rgba(11, 21, 48, .05); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(37, 99, 255, .18); border-color: var(--blue); }
.card h3 { margin: 16px 0 12px; font-size: 1.25rem; }
.card ul { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.card li { margin-bottom: 8px; padding-left: 26px; position: relative; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.card.slim p { margin: 0; color: var(--muted); }
.icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; color: #fff; box-shadow: 0 8px 18px rgba(37, 99, 255, .25); transition: transform .3s, box-shadow .3s; }
.icon svg { display: block; }
.card.service .icon, .card.slim .icon { margin: 0 auto; }
.card.service h3, .card.slim { text-align: center; }
.g1 { background: linear-gradient(135deg, #06b6d4, #2563ff); }
.g2 { background: linear-gradient(135deg, #2563ff, #7c3aed); }
.g3 { background: linear-gradient(135deg, #7c3aed, #db2777); }
.g4 { background: linear-gradient(135deg, #db2777, #f97316); }
.card:hover .icon { transform: scale(1.08) rotate(-4deg); box-shadow: 0 12px 24px rgba(37, 99, 255, .35); }
.emoji { font-size: 2rem; }
.card.slim h3 { margin-top: 10px; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.compare .col { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.compare .col h3 { margin: 0 0 16px; }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 11px 0 11px 32px; border-top: 1px solid var(--border); position: relative; color: var(--muted); }
.compare li::before { content: "✕"; position: absolute; left: 0; color: #e11d48; font-weight: 800; }
.compare .win { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border: 0; box-shadow: 0 24px 60px rgba(37, 99, 255, .3); transform: scale(1.03); }
.compare .win li { color: #d6e2fa; border-color: rgba(255,255,255,.12); }
.compare .win li::before { content: "✓"; color: var(--cyan); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; position: relative; }
.steps li { text-align: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px; transition: transform .3s, background .3s; }
.steps li:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.steps h3 { margin: 16px 0 8px; }
.steps p { margin: 0; color: #b8c8e8; }
.num { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.4rem; box-shadow: 0 8px 18px rgba(37, 99, 255, .35); transition: transform .3s, box-shadow .3s; }
.steps li:hover .num { transform: scale(1.08) rotate(-4deg); box-shadow: 0 12px 24px rgba(37, 99, 255, .5); }

/* About */
.about { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center; max-width: 900px; }
.about-logo { display: grid; place-items: center; width: 220px; height: 220px; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: 0 20px 50px rgba(37,99,255,.15); animation: bob 7s ease-in-out infinite; }
.about-logo img { width: 90px; height: auto; }
.about p { color: var(--muted); font-size: 1.05rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
details { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; transition: border-color .2s, box-shadow .2s; }
details[open] { border-color: var(--blue); box-shadow: 0 10px 30px rgba(37,99,255,.12); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* Contact banner */
.cta-section { padding-top: 0; }
.cta-banner {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  border-radius: 32px; padding: 72px 24px;
  background: linear-gradient(135deg, var(--navy), #11358a 60%, #4c1d95);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 12px; font-weight: 800; }
.cta-banner .lead { color: #c3d3f0; margin: 0 auto; }
.cta-banner .blob { position: absolute; }
.cta-banner .b1 { width: 300px; height: 300px; background: var(--cyan); top: -120px; left: -80px; opacity: .35; }
.cta-banner .b2 { width: 300px; height: 300px; background: var(--violet); bottom: -140px; right: -60px; opacity: .5; animation-delay: -5s; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; justify-content: center; }
.contact-icon {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 230px; padding: 28px 32px; border-radius: 26px; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px);
  transition: transform .3s, background .3s, box-shadow .3s;
}
.contact-icon svg { height: 76px; width: auto; margin-bottom: 8px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); transition: transform .3s; }
.contact-icon span { font-weight: 800; font-size: 1.25rem; }
.contact-icon small { color: #b8c8e8; }
.contact-icon:hover { transform: translateY(-8px); background: rgba(255,255,255,.16); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.contact-icon:hover svg { transform: scale(1.12) rotate(-4deg); }

/* Popup de e-mail */
.modal { border: 0; padding: 0; background: transparent; width: min(520px, 100% - 32px); max-height: 100vh; overflow: visible; }
.modal::backdrop { background: rgba(5, 13, 36, .7); backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal-box { position: relative; display: grid; gap: 16px; background: #fff; color: var(--ink); border-radius: 26px; padding: 36px 32px 32px; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.modal-box h3 { margin: 0; font-size: 1.6rem; font-weight: 800; }
.modal-sub { margin: -8px 0 4px; color: var(--muted); }
.modal-box label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.modal-box input, .modal-box textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--soft); color: var(--ink); resize: vertical; }
.modal-box input:focus, .modal-box textarea:focus { outline: 2px solid var(--blue); border-color: transparent; background: #fff; }
.modal-box .btn { justify-self: stretch; text-align: center; }
.modal-box .btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); font-size: 1rem; cursor: pointer; }
.modal-close:hover { background: var(--border); }
.modal-status { margin: 0; min-height: 1.4em; font-weight: 600; }
.modal-status.ok { color: #16a34a; }
.modal-status.err { color: #e11d48; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.footer { background: var(--navy); color: #9fb2d6; padding: 36px 0; font-size: .9rem; }
.footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .logo-img { height: 22px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0s); }
.js .reveal.show { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .menu {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 16px;
    padding: 20px 16px; background: rgba(5, 13, 36, .97);
  }
  .menu.open { display: flex; }
  .about { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 28px; }
  .faq, .compare { grid-template-columns: 1fr; }
  .compare .win { transform: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 70px; }
  .section { padding: 64px 0; }
  .float-chip { display: none; }
  .contact-icon { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubble { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
