/* ============================================================
   Facilite Link — Landing page
   Identidade visual: roxo da marca #a111bb + neutros do app
   ============================================================ */

:root {
  --brand:        #a111bb;
  --brand-dark:   #7d0d90;
  --brand-light:  #c44bd9;
  --brand-tint:   #f6e9f9;
  --ink:          #212529;
  --muted:        #6c757d;
  --bg:           #ffffff;
  --bg-soft:      #f8f9fa;
  --line:         #ece9ef;
  --radius:       16px;
  --shadow-sm:    0 1px 2px rgba(33, 37, 41, .06);
  --shadow-md:    0 12px 30px rgba(33, 37, 41, .08);
  --shadow-brand: 0 18px 40px rgba(161, 17, 187, .28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-dark); }

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand-tint); }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--brand); }

.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #f1e7f4; }

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Brand badge (logo branca em caixa roxa) ---------- */
.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  border-radius: 12px;
  padding: 10px 16px;
}
.brand-badge img { height: 30px; width: auto; }
.brand-badge-sm { padding: 8px 12px; }
.brand-badge-sm img { height: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 500;
  color: var(--muted);
  font-size: 15px;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(161, 17, 187, .12), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(196, 75, 217, .10), transparent 55%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 88px 24px 96px;
}
.pill {
  display: inline-block;
  background: var(--brand-tint);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-copy h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 18px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 540px;
}
.lead strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { font-size: 14px; color: var(--muted); margin: 0; max-width: 480px; }

/* ---------- Hero visual / mockup ---------- */
.hero-visual { position: relative; }
.mock-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #d9d4de; }
.mock-url {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.mock-body { padding: 22px; }
.mock-title { font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.mock-days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.mock-days span {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 0;
  border-radius: 10px;
  background: var(--bg-soft);
}
.mock-days .on { background: var(--brand); color: #fff; }
.mock-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.mock-slots span {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.mock-slots .sel { background: var(--brand); color: #fff; border-color: var(--brand); }
.mock-slots .taken {
  color: #b9b3bf;
  background: var(--bg-soft);
  text-decoration: line-through;
  border-style: dashed;
}
.mock-confirm {
  width: 100%;
  border: none;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px;
  border-radius: 12px;
  font-family: inherit;
  cursor: pointer;
}
.mock-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.mock-chip strong { font-size: 18px; color: var(--brand-dark); }
.mock-chip span { font-size: 12px; color: var(--muted); }
.mock-chip-1 { top: -22px; left: -26px; }
.mock-chip-2 { bottom: -24px; right: -18px; }

/* ---------- Section head ---------- */
.section-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(27px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 0 0 14px;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Features ---------- */
.features { padding: 96px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #e3d4e9;
}
.feature-ic {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 24px;
  background: var(--brand-tint);
  border-radius: 14px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { padding: 96px 0; background: var(--bg-soft); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.step-num {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  margin-bottom: 18px;
}
.step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Prévia / mockups de telas ---------- */
.preview { padding: 96px 0; background: var(--bg-soft); }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.screen { margin: 0; }
.screen .screen-shell,
.screen {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.screen-dot { width: 8px; height: 8px; border-radius: 50%; background: #d9d4de; }
.screen-tag {
  margin-left: 8px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.screen-body { padding: 16px; min-height: 230px; }
.screen-body.center { text-align: center; }
.screen figcaption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-dark);
  background: #fff;
}

/* KPIs do dashboard */
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.kpi {
  background: var(--brand-tint);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.kpi-label { display: block; font-size: 11px; color: var(--brand-dark); font-weight: 600; }
.kpi strong { font-size: 20px; color: var(--brand); }

/* Linhas de lista (clientes) */
.list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.list-row.sm { padding: 7px 0; }
.list-row .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}
.list-row .line { flex: 1; line-height: 1.25; min-width: 0; }
.list-row .line b { font-size: 13.5px; }
.list-row .line small { display: block; font-size: 11.5px; color: var(--muted); }
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge.ok   { background: #e7f6ec; color: #1c7a40; }
.badge.wait { background: #fdf1e0; color: #9a5b00; }
.badge.out  { background: #fde9ec; color: #b3263b; }

/* Financeiro */
.fin-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.fin {
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
}
.fin span { display: block; color: var(--muted); }
.fin strong { font-size: 16px; }
.fin.in  { background: #e7f6ec; } .fin.in strong  { color: #1c7a40; }
.fin.out { background: #fde9ec; } .fin.out strong { color: #b3263b; }
.fin.bal { background: var(--brand-tint); } .fin.bal strong { color: var(--brand); }
.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 72px;
  padding: 6px 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.bars span {
  flex: 1;
  background: linear-gradient(var(--brand-light), var(--brand));
  border-radius: 5px 5px 0 0;
}
.fin-foot { display: grid; gap: 2px; }

/* Página pública mock */
.pub-head { margin-bottom: 14px; }
.pub-logo {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 8px;
}
.pub-head b { display: block; font-size: 15px; }
.pub-head small { font-size: 12px; color: var(--muted); }
.pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.mini-days { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.mini-days span {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--muted);
}
.mini-days .on { background: var(--brand); color: #fff; }
.mini-slots { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.mini-slots span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
}
.mini-slots .sel { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- CTA final ---------- */
.cta-final { padding: 96px 0; }
.cta-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.cta-box {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.cta-box h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -.6px;
  margin: 0 0 12px;
}
.cta-box p { margin: 0 auto 28px; max-width: 480px; font-size: 17px; opacity: .92; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 48px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin: 14px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: flex-start; }
.footer-nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.footer-nav a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 24px 32px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; padding-top: 64px; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .main-nav { display: none; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .feature-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .features, .steps, .preview, .cta-final { padding: 64px 0; }
  .mock-chip-1 { left: -8px; }
  .mock-chip-2 { right: -4px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
