/* ===== Fontoura Tecnologia ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --bg-dark: #0d1526;
  --bg-dark-2: #131e35;
  --text: #1e2a3e;
  --text-soft: #55637c;
  --text-inverse: #eef2fa;
  --text-inverse-soft: #9fadc6;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #22d3ee;
  --whatsapp: #25d366;
  --whatsapp-dark: #1eb857;
  --border: #e3e8f2;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(20, 40, 90, 0.08);
  --shadow-lg: 0 16px 50px rgba(20, 40, 90, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 800; }

.accent { color: var(--primary); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: var(--text-inverse);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--text-inverse);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-lg { padding: 17px 36px; font-size: 1.15rem; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 21, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-inverse);
  font-size: 1.08rem;
}
.logo-mark {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 8px;
  border-radius: 8px;
  letter-spacing: -1px;
}
.logo-text strong { font-weight: 800; color: var(--accent); }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: var(--text-inverse-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav a:hover { color: #fff; }

.header-cta { padding: 9px 18px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.2s;
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(ellipse 800px 500px at 85% 20%, rgba(37, 99, 235, 0.25), transparent),
    radial-gradient(ellipse 600px 400px at 10% 90%, rgba(34, 211, 238, 0.12), transparent),
    var(--bg-dark);
  color: var(--text-inverse);
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }

.hero-sub {
  color: var(--text-inverse-soft);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
}
.stat span { color: var(--text-inverse-soft); font-size: 0.88rem; }

/* Code window */
.code-window {
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.5deg);
}
.code-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.code-window-bar i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #3a4a68;
}
.code-window-bar i:nth-child(1) { background: #ff5f57; }
.code-window-bar i:nth-child(2) { background: #febc2e; }
.code-window-bar i:nth-child(3) { background: #28c840; }
.code-window-bar span {
  margin-left: 8px;
  color: var(--text-inverse-soft);
  font-size: 0.78rem;
}
.code-window pre {
  padding: 22px;
  font-family: 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.86rem;
  line-height: 1.7;
  color: #cdd7ea;
  overflow-x: auto;
}
.c-key { color: #c792ea; }
.c-var { color: #82aaff; }
.c-prop { color: #7fdbca; }
.c-str { color: #c3e88d; }
.c-bool { color: #ff5874; }
.c-comment { color: #5c7199; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 640px;
  margin-bottom: 48px;
}

.section-note {
  margin-top: 40px;
  font-size: 1.05rem;
  color: var(--text-inverse-soft);
}
.section-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.section-note a:hover { text-decoration: underline; }

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.cards-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(37, 99, 235, 0.35);
}
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.08rem; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--text-soft); font-size: 0.94rem; }
.card-sm { padding: 24px 20px; }
.card-sm h3 { font-size: 1rem; }
.card-sm p { font-size: 0.88rem; }

/* ===== Section dark / produto ===== */
.section-dark {
  background:
    radial-gradient(ellipse 700px 400px at 15% 10%, rgba(37, 99, 235, 0.18), transparent),
    var(--bg-dark);
  color: var(--text-inverse);
}
.section-dark .section-sub { color: var(--text-inverse-soft); }
.section-dark .section-tag,
.section-cta .section-tag { color: var(--accent); }

.product-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.product-header { margin-bottom: 16px; }
.product-badge {
  display: inline-block;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.product-card h3 { font-size: 1.8rem; }
.product-card > .product-info > p {
  color: var(--text-inverse-soft);
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  margin-bottom: 28px;
}
.product-features li {
  padding: 4px 0;
  color: var(--text-inverse-soft);
  font-size: 0.96rem;
}

.product-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Mock app */
.mock-app {
  background: #0a1120;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  transform: rotate(-1.5deg);
  box-shadow: var(--shadow-lg);
}
.mock-app-bar {
  font-weight: 700;
  font-size: 0.95rem;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 14px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.mock-time {
  font-family: 'Consolas', monospace;
  color: var(--text-inverse-soft);
  font-size: 0.85rem;
  min-width: 46px;
}
.mock-item {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
}
.mock-item.ok { background: rgba(74, 222, 128, 0.12); color: #4ade80; }
.mock-item.wait { background: rgba(250, 204, 21, 0.12); color: #facc15; }
.mock-item.free { background: rgba(255, 255, 255, 0.05); color: var(--text-inverse-soft); }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 0.92rem; }

/* ===== Sobre / depoimentos ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p { margin-bottom: 16px; color: var(--text-soft); font-size: 1.02rem; }
.about-text strong { color: var(--text); }
.about-text a { color: var(--primary); font-weight: 600; }

.testimonials-title { font-size: 1.15rem; margin-bottom: 20px; }
.testimonial {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 16px;
}
.stars { color: #fbbf24; letter-spacing: 3px; margin-bottom: 8px; font-size: 0.9rem; }
.testimonial p { font-size: 0.95rem; color: var(--text); margin-bottom: 10px; }
.testimonial-author { font-size: 0.85rem; font-weight: 600; color: var(--text-soft); }

/* ===== Contato ===== */
.section-cta {
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(37, 99, 235, 0.25), transparent),
    var(--bg-dark);
  color: var(--text-inverse);
  text-align: center;
}
.contact .section-sub { margin: 0 auto 36px; color: var(--text-inverse-soft); }
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin-top: 32px;
  color: var(--text-inverse-soft);
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
  background: #0a1120;
  color: var(--text-inverse-soft);
  padding: 26px 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* ===== WhatsApp flutuante ===== */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s;
}
.whats-float:hover { transform: scale(1.08); }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .product-card { grid-template-columns: 1fr; padding: 32px 26px; gap: 36px; }
  .about { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-dark);
    padding: 18px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .hero-stats { gap: 28px; }
}
