/* Favorito Sistemas — sistema de design
   Tokens e componentes derivados do rascunho aprovado em site-favorito-sistemas/design/site/telas.html */

:root {
  --bg: #ffffff;
  --surface: #EAF2FC;
  --surface-line: rgba(20,33,61,0.10);
  --text: #14213D;
  --text-muted: #5C6B85;
  --blue: #2C7BE5;
  --blue-deep: #0B3E91;
  --butter: #FFC94D;
  --cyan: #45C7EE;
  --ink-panel: #0B1A33;
  --ink-panel-text: #EAF2FC;
  --mono-label: #7C8BA6;
  --placeholder: #C77B00;
  --shadow: 0 1px 2px rgba(20,33,61,0.06), 0 8px 24px rgba(20,33,61,0.07);
}
/* Sem modo escuro automático de propósito: a identidade aprovada (logo, mascote, telas)
   é sempre fundo branco. Trocar por navegador/SO dava aparência inconsistente entre
   visitantes (achado em 31/08/2026 — Firefox mostrava claro, Chrome escuro). */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', system-ui, sans-serif;
  margin: 0;
}
h1, h2, h3 { font-family: 'Bricolage Grotesque', sans-serif; letter-spacing: -0.01em; text-wrap: balance; }
a { color: var(--blue-deep); }
a:hover { color: var(--blue); }
img, svg { max-width: 100%; }

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

/* ---------- nav ---------- */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--surface-line);
  max-width: 1080px; margin: 0 auto;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-logo svg { width: 32px; height: 32px; flex: none; }
.site-logo-word { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); }
.site-logo-word .sis { color: var(--blue-deep); font-weight: 600; }
.site-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.site-links a { color: var(--text); text-decoration: none; }
.site-links a:hover { color: var(--blue-deep); }
.site-links a.current { color: var(--blue-deep); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--surface-line);
  padding: 28px 24px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; max-width: 1080px; margin: 0 auto;
}
.site-footer .site-logo-word { font-size: 13.5px; }
.footer-note { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--text-muted); }
.footer-note a { color: var(--text-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 12px; padding: 13px 24px;
  font-family: 'Figtree', sans-serif; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer;
}
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-deep); color: #fff; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--surface-line); }
.btn.ghost:hover { background: var(--bg); }
.btn.block { width: 100%; }

/* ---------- cards / breadcrumb / tags ---------- */
.card { background: var(--surface); border: 1px solid var(--surface-line); border-radius: 16px; }
.tag {
  display: inline-flex; align-items: center; font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue-deep); background: rgba(44,123,229,0.14); padding: 4px 10px; border-radius: 999px;
}
.soon-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.placeholder { color: var(--placeholder); }
.disabled { opacity: 0.55; }

/* ---------- hero (home) ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 24px 24px; max-width: 1080px; margin: 0 auto; }
.hero h1 { font-size: clamp(30px, 4.5vw, 42px); font-weight: 700; line-height: 1.15; margin: 0 0 16px; }
.hero h1 .accent { color: var(--blue-deep); }
.hero .lede { font-size: 16.5px; color: var(--text-muted); line-height: 1.6; margin: 0 0 26px; max-width: 48ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-mascot { display: flex; justify-content: center; }
.hero-mascot svg { width: 220px; height: 264px; }

.section { padding: 12px 24px 64px; max-width: 1080px; margin: 0 auto; }
.section h2 { font-size: 22px; margin: 0 0 6px; }
.section > p.lede { color: var(--text-muted); font-size: 15px; margin: 0 0 24px; max-width: 60ch; }

/* ---------- product grids ---------- */
.product-strip, .catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catalog-grid { grid-template-columns: repeat(2, 1fr); }
.product-mini, .product-card { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.product-mini svg, .product-card svg { width: 36px; height: 36px; }
.product-mini b, .product-card b { font-size: 15px; }
.product-card b { font-size: 17px; }
.product-mini span, .product-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.product-card .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- feature rows (product page) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 28px; }
.feature-row { display: flex; align-items: flex-start; gap: 14px; }
.feature-row svg { width: 34px; height: 34px; flex: none; }
.feature-row b { display: block; font-size: 15px; margin-bottom: 3px; }
.feature-row span { color: var(--text-muted); font-size: 13.5px; }

/* ---------- plans ---------- */
.plans-head { text-align: center; padding: 0 0 8px; }
.plans-head .tag { margin-bottom: 14px; }
.plans-head h1 { font-size: 30px; margin: 0 0 8px; }
.plans-head p { color: var(--text-muted); font-size: 15px; margin: 0; }
/* promoção de lançamento */
.promo-flag {
  display: inline-block; margin-top: 16px; font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--butter); color: #4a3400; padding: 5px 14px; border-radius: 999px;
}

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.price-old { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.price-now { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 26px; font-weight: 700; color: var(--blue-deep); margin-top: 2px; }
.price-period { font-size: 13px; color: var(--text-muted); font-weight: 400; }

/* simulador de técnicos extras */
.simulador { margin-top: 56px; background: var(--surface); border: 1px solid var(--surface-line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.simulador-head { text-align: center; margin-bottom: 22px; }
.simulador-head h2 { font-size: 20px; margin: 0 0 6px; }
.simulador-head p { color: var(--text-muted); font-size: 14px; margin: 0; max-width: 56ch; margin-left: auto; margin-right: auto; }
.simulador-controls { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.sim-plan-tabs { display: inline-flex; gap: 2px; background: var(--bg); border: 1px solid var(--surface-line); border-radius: 999px; padding: 4px; }
.sim-plan-tabs button { border: none; background: transparent; font-family: 'Figtree', sans-serif; font-weight: 600; font-size: 13.5px; color: var(--text-muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.sim-plan-tabs button.active { background: var(--blue); color: #fff; }
.sim-stepper { display: flex; align-items: center; gap: 12px; }
.sim-stepper-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.sim-stepper-control { display: flex; align-items: center; gap: 2px; background: var(--bg); border: 1px solid var(--surface-line); border-radius: 12px; overflow: hidden; }
.sim-stepper-control button { width: 38px; height: 38px; border: none; background: transparent; color: var(--blue-deep); font-size: 18px; font-weight: 700; cursor: pointer; }
.sim-stepper-control button:hover { background: var(--surface); }
.sim-stepper-control span { min-width: 40px; text-align: center; font-family: 'IBM Plex Mono', monospace; font-size: 15px; font-weight: 600; }
.sim-results { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sim-result-card { background: var(--bg); border: 1px solid var(--surface-line); border-radius: 14px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.sim-result-card.highlight { background: var(--blue); border-color: var(--blue); }
.sim-result-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.sim-result-card.highlight .sim-result-label { color: rgba(255,255,255,0.75); }
.sim-result-value { font-family: 'Bricolage Grotesque', sans-serif; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sim-result-card.highlight .sim-result-value { color: #fff; font-size: 15px; }
@media (max-width: 720px) { .sim-results { grid-template-columns: repeat(2, 1fr); } }

/* comparison table */
.compare-wrap { margin-top: 56px; }
.compare-wrap h2 { font-size: 20px; margin: 0 0 16px; text-align: center; }
.compare-scroll { overflow-x: auto; border-radius: 16px; box-shadow: var(--shadow); }
table.compare { border-collapse: collapse; width: 100%; min-width: 620px; background: var(--surface); }
table.compare th, table.compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--surface-line); font-size: 13.5px; }
table.compare tbody tr:not(.group-row) th { max-width: 400px; font-weight: 500; line-height: 1.4; }
table.compare thead th { position: sticky; top: 0; background: var(--surface); font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; }
table.compare th.plan-col, table.compare td.plan-col { text-align: center; font-variant-numeric: tabular-nums; }
table.compare th.plan-col.mid { color: var(--blue-deep); }
table.compare tr.group-row th {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--mono-label); background: var(--bg); border-bottom: 1px solid var(--surface-line); padding: 9px 16px;
}
table.compare .yes svg { width: 18px; height: 18px; }
table.compare .no { color: var(--text-muted); opacity: 0.4; }
table.compare .val { font-size: 12.5px; color: var(--text-muted); }
.plan-card { padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.plan-card.mid { border: 2px solid var(--blue); }
.plan-badge { font-family: 'IBM Plex Mono', monospace; font-size: 10px; text-transform: uppercase; color: var(--blue-deep); letter-spacing: 0.04em; }
.plan-name { font-size: 21px; font-weight: 700; margin: 0; }
.plan-price { display: flex; flex-direction: column; }
.plan-list { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.plan-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.plan-list li.off { opacity: 0.4; }
.plan-list svg { width: 17px; height: 17px; flex: none; }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
.contact-wrap h1 { font-size: 27px; margin: 0 0 12px; }
.contact-wrap > div:first-child > p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 20px; max-width: 42ch; }
.contact-info { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.contact-form { padding: 26px; display: flex; flex-direction: column; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--surface-line); border-radius: 8px;
  padding: 10px 12px; font-family: 'Figtree', sans-serif; font-size: 14.5px; color: var(--text);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 100px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-status { font-size: 13.5px; margin-top: 10px; min-height: 1.4em; }
.form-status.ok { color: #1E9E6B; }
.form-status.err { color: #d64545; }

/* ---------- 404 ---------- */
.notfound { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 64px 24px; max-width: 560px; margin: 0 auto; }
.notfound svg { width: 200px; height: 240px; }
.notfound h1 { font-size: 26px; margin: 0; }
.notfound p { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hero, .contact-wrap { grid-template-columns: 1fr; }
  .hero { padding: 40px 24px; }
  .hero-mascot { order: -1; }
  .hero-mascot svg { width: 160px; height: 192px; }
  .product-strip, .catalog-grid, .feature-grid, .plans-grid { grid-template-columns: 1fr; }
  .site-links { display: none; }
}
