:root {
  --blue-900: #0b2545;
  --blue-700: #114a8f;
  --blue-600: #1565c8;
  --blue-500: #1a7ce0;
  --cyan-400: #22c1e0;
  --ink: #1c2530;
  --muted: #5b6774;
  --bg: #f6f9fc;
  --card: #ffffff;
  --border: #e4eaf1;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-hover: 0 16px 40px rgba(11, 37, 69, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; color: var(--blue-900); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: #fff;
  box-shadow: 0 8px 20px rgba(21, 101, 200, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(21, 101, 200, 0.45); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--blue-700);
}
.btn-ghost:hover { border-color: var(--blue-500); background: #fff; }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand img { height: 44px; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.site-nav a { color: var(--blue-900); opacity: 0.85; transition: opacity 0.15s ease; }
.site-nav a:hover { opacity: 1; }
.site-nav a.btn-primary { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--blue-900); }

/* HERO */
.hero {
  background: radial-gradient(circle at 50% 0%, #e7f4fc 0%, var(--bg) 60%);
  padding: 56px 0 48px;
  text-align: center;
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}
.hero h1 strong {
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-inner > p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 24px;
}
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }

.segment-tags {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.segment-tags li { font-size: 0.82rem; font-weight: 600; }
.segment-tags a {
  display: block;
  color: var(--blue-700);
  background: #eaf3fc;
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.segment-tags a:hover { background: #fff; border-color: var(--blue-500); }

/* TRUST STRIP */
.trust { padding: 0; }
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 40px;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}
.trust-item { text-align: center; }
.trust-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 4px;
}
.trust-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-900);
}
.trust-value span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.trust-divider { width: 1px; height: 44px; background: var(--border); }

@media (max-width: 720px) {
  .trust-inner { margin-top: 24px; padding: 24px; gap: 24px; }
  .trust-divider { display: none; }
}

/* CÓDIGO OFFLINE MODAL */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.55);
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay:not([hidden]) { display: flex; }
.modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-hover);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.modal-close:hover { background: var(--bg); color: var(--ink); }
.modal-desc { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }

.offline-form { display: grid; gap: 14px; }
.offline-form label { font-weight: 600; font-size: 0.88rem; color: var(--blue-900); }
.offline-form input,
.offline-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
  color: var(--ink);
  background: var(--bg);
}
.offline-form input:focus,
.offline-form select:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(26, 124, 224, 0.15);
}
.offline-form input:disabled,
.offline-form select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.offline-form button { margin-top: 4px; }
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.offline-form input.is-invalid { border-color: #c0392b; }
.field-error { color: #c0392b; font-size: 0.8rem; margin: -8px 0 0; }

.offline-result {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
}
.offline-code {
  font-family: "Courier New", monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--bg);
  border: 1px dashed var(--blue-500);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  overflow-wrap: break-word;
}

/* SECTIONS */
section { padding: 10px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p { color: var(--muted); }

/* FEATURES */
.features { background: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.feature-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-600);
}
.feature-more:hover { text-decoration: underline; }

/* AI FEATURES */
.ai-features { background: var(--bg); }
.ai-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

/* INTEGRATIONS & DEVICES */
.integrations { background: #fff; }
.devices { background: var(--bg); }

/* RELIABILITY (offline + Simples WEB) */
.reliability { background: #fff; }
.reliability-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}
.reliability-card { text-align: left; }
.reliability-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border-radius: 14px;
  background: #eaf3fc;
  margin-bottom: 16px;
}
.reliability-card p { color: var(--muted); margin-bottom: 16px; }
.reliability-divider { width: 1px; background: var(--border); align-self: stretch; }

@media (max-width: 860px) {
  .reliability-inner { grid-template-columns: 1fr; }
  .reliability-divider { display: none; }
}

/* TESTIMONIALS */
.testimonials { background: var(--bg); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.quote-testimonial {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.quote-stars { color: #f5a623; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 10px; }
.quote-testimonial p { font-size: 0.92rem; color: var(--ink); margin: 0 0 14px; }
.quote-testimonial footer { font-size: 0.85rem; font-weight: 700; color: var(--blue-900); }
.quote-testimonial footer span { display: block; font-weight: 500; color: var(--muted); margin-top: 2px; }

@media (max-width: 860px) {
  .quotes-grid { grid-template-columns: 1fr; }
}

/* SUPPORT */
.support { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; }
.support-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.support-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  flex-shrink: 0;
}
.support .eyebrow { color: var(--cyan-400); }
.support h2 { color: #fff; }
.support p { color: #cfe3f7; margin: 0; max-width: 480px; }

/* PROCESS (Como adquirir) */
.process { background: var(--bg); }
.process-grid {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 36px;
}
.process-step {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.process-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.process-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 42px;
  color: #b9c6d6;
  font-size: 1.6rem;
}
.process-cta { text-align: center; }

@media (max-width: 720px) {
  .process-grid { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); padding: 6px 0; }
}

/* FAQ */
.faq { background: #fff; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  color: var(--blue-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--blue-600);
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 0.92rem; margin: 14px 0 0; }

/* CONTACT */
.contact { background: #fff; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.phones { list-style: none; padding: 0; margin: 16px 0 0; }
.phones li { margin-bottom: 8px; font-size: 1.05rem; }
.phones a { color: var(--blue-600); font-weight: 600; }
.phones a:hover { text-decoration: underline; }

.quote-card {
  display: grid;
  gap: 14px;
  align-content: start;
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.quote-card h3 { margin-bottom: 4px; }
.quote-card button { margin-top: 6px; }

/* ÁREA DO CLIENTE */
.client-access { background: #fff; }
.client-access-inner { max-width: 760px; }
.client-check-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.client-check-form {
  display: grid;
  gap: 12px;
}
.client-check-form label {
  font-weight: 700;
  color: var(--blue-900);
}
.client-check-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
.client-check-row input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.client-check-row input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(26, 124, 224, 0.15);
}
.client-check-row input.is-invalid { border-color: #c0392b; }
.client-support { padding-top: 72px; padding-bottom: 72px; }
.client-result-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  text-align: center;
}
.client-result-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e7f7ee;
  color: #1d8f4f;
  font-size: 1.8rem;
  font-weight: 800;
}
.client-result-card p {
  color: var(--muted);
  margin: 0 auto 22px;
  max-width: 460px;
}
.client-result-card strong { color: var(--blue-900); }

@media (max-width: 640px) {
  .client-check-card { padding: 24px; }
  .client-result-card { padding: 28px 22px; }
  .client-check-row { grid-template-columns: 1fr; }
  .client-check-row .btn { width: 100%; }
}

/* FOOTER */
.site-footer { background: var(--blue-900); color: #cfe3f7; padding: 40px 0 28px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  padding-bottom: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-logo {
  height: 48px;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}
.footer-text p { margin: 2px 0; font-size: 0.85rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-links-col { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}
.footer-links-col a { color: #cfe3f7; font-size: 0.85rem; }
.footer-links-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { font-size: 0.8rem; color: #9db8d6; }

/* BREADCRUMB */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--blue-600); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .support-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: calc(100vh - 68px); }
  .site-nav a { padding: 14px 24px; width: 100%; border-top: 1px solid var(--border); }
  .site-nav .btn {
    width: calc(100% - 48px);
    margin: 14px 24px;
    padding: 14px 28px;
    border-top: none;
  }
  .feature-grid { grid-template-columns: 1fr; }
}

/* FALE CONOSCO (WhatsApp flutuante) */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 28px; height: 28px; flex-shrink: 0; display: block; }
.whatsapp-float-label { font-weight: 700; font-size: 0.92rem; white-space: nowrap; }

@media (max-width: 560px) {
  .whatsapp-float { right: 16px; bottom: 16px; padding: 12px 16px; gap: 8px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
  .whatsapp-float-label { font-size: 0.85rem; }
}
