/* =========================================================
   LC3 Market — Hotsite
   Design tokens alinhados ao sistema (PDV/Dashboard)
   ========================================================= */

:root {
  --brand: #0d6efd;
  --brand-dark: #0b5ed7;
  --brand-light: #4d94ff;
  --header-bg: #10233a;
  --header-bg-soft: #16324d;
  --bg: #f7f9fc;
  --panel-bg: #ffffff;
  --border-color: #e5eaef;
  --text: #33404d;
  --text-strong: #10233a;
  --text-muted: #7c8894;
  --success: #16a34a;
  --whatsapp: #25d366;
  --whatsapp-dark: #1eac53;

  --radius-lg: 1.25rem;
  --radius: 0.85rem;
  --radius-sm: 0.6rem;
  --shadow-sm: 0 1px 2px rgba(16, 35, 58, 0.06);
  --shadow-md: 0 10px 28px rgba(16, 35, 58, 0.12);
  --shadow-lg: 0 20px 45px rgba(16, 35, 58, 0.18);

  --container-w: 1140px;
}

/* Reset básico */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--text-strong); margin: 0; line-height: 1.25; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--ghost { background: transparent; border-color: var(--border-color); color: var(--text-strong); }
.btn--ghost:hover { background: #fff; border-color: var(--brand); color: var(--brand); }
.btn--outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 0.85rem 1.5rem; font-size: 1rem; }
.w-100 { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}
.brand__logo { height: 34px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav__link:hover { color: var(--brand); border-color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text-strong);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #eef4ff 0%, var(--bg) 65%);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}
.badge {
  display: inline-block;
  background: #e7f0ff;
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 1.75rem; }
.hero__highlights { display: flex; flex-direction: column; gap: 0.5rem; }
.hero__highlights li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: var(--text); }
.hero__highlights i { color: var(--success); }

/* Mock window ilustrativo */
.hero__visual { display: flex; justify-content: center; }
.mock-window {
  width: 100%;
  max-width: 380px;
  background: var(--panel-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.mock-window__bar {
  display: flex;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: var(--header-bg);
}
.mock-window__bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.mock-window__bar span:nth-child(1) { background: #ff5f56; }
.mock-window__bar span:nth-child(2) { background: #ffbd2e; }
.mock-window__bar span:nth-child(3) { background: #27c93f; }
.mock-window__body { padding: 1.25rem; }
.mock-row {
  display: grid;
  grid-template-columns: 1.6fr 0.5fr 0.9fr;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text);
}
.mock-row span:last-child { text-align: right; }
.mock-row span:nth-child(2) { text-align: center; color: var(--text-muted); }
.mock-row--head {
  font-weight: 700;
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.mock-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.9rem 0 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
}
.mock-total strong { font-size: 1.25rem; color: var(--brand); }
.mock-btn {
  background: var(--success);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--header-bg); padding: 0.9rem 0; }
.trust-strip__inner { text-align: center; }
.trust-strip p {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Sections genéricas ---------- */
.section { padding: 5rem 0; }
.section--alt { background: var(--panel-bg); }
.section__head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.eyebrow--light { color: var(--brand-light); }
.section__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.75rem; }
.section__head p { color: var(--text-muted); font-size: 1rem; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: #e7f0ff;
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step { text-align: center; padding: 0 1rem; }
.step__number {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Planos ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.plan-card--highlight {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}
.plan-card__tag {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}
.plan-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.plan-card__desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.plan-card__list { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.5rem; flex: 1; }
.plan-card__list li { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.9rem; }
.plan-card__list i { color: var(--success); margin-top: 0.2rem; }

/* ---------- CTA / Contato ---------- */
.section--cta {
  background: linear-gradient(135deg, var(--header-bg) 0%, var(--header-bg-soft) 100%);
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.cta__text h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0.6rem 0 1rem; }
.cta__text p { color: rgba(255,255,255,0.75); margin-bottom: 1.75rem; }

.whatsapp-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 0.9rem 1.25rem;
  transition: background-color .15s ease;
}
.whatsapp-direct:hover { background: rgba(255,255,255,0.15); }
.whatsapp-direct i { font-size: 1.7rem; color: var(--whatsapp); }
.whatsapp-direct strong { display: block; color: #fff; font-size: 0.95rem; }
.whatsapp-direct small { color: rgba(255,255,255,0.7); }

.contact-form {
  background: var(--panel-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fbfcfe;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
  background: #fff;
}
.contact-form .btn { margin-top: 0.25rem; }
.contact-form__hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--header-bg); color: rgba(255,255,255,0.8); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 0 2rem;
}
.footer-brand__logo { height: 30px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 22rem; font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-contact h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.75rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: var(--whatsapp); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.1rem 0;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-align: center; }

/* ---------- Botão flutuante WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: var(--shadow-lg);
  z-index: 60;
  transition: transform .15s ease, background-color .15s ease;
}
.whatsapp-float:hover { background: var(--whatsapp-dark); transform: scale(1.06); }

/* ---------- Utilidades ---------- */
.d-none-mobile { display: inline-flex; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card--highlight { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav.is-open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .nav__link { width: 100%; padding: 0.75rem 0; border-bottom: 1px solid var(--border-color); }
  .nav-toggle { display: flex; }
  .d-none-mobile { display: none; }
  .features-grid { grid-template-columns: 1fr; }
}
