/* ================================================
   TechPro Informática — style.css
   Para personalizar: altere as variáveis abaixo
   ================================================ */

:root {
  --azul: #38bdf8;
  --azul-escuro: #0ea5e9;
  --fundo-escuro: #0f172a;
  --fundo-nav: #1e293b;
  --fundo-claro: #f8fafc;
  --fundo-cinza: #f1f5f9;
  --texto: #1e293b;
  --muted: #64748b;
  --borda: #e2e8f0;
  --verde: #10b981;
  --fonte: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fonte); background: var(--fundo-claro); color: var(--texto); }

/* ── NAV ── */
nav {
  background: var(--fundo-nav);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display:flex; align-items:center; }
.logo-img { height: 34px; width: auto; display:block; }
.nav-actions { display:flex; align-items:center; gap:10px; }
.nav-btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.22); }
.nav-btn-outline:hover { background: rgba(255,255,255,.10); color:#fff; }
.nav-btn {
  background: var(--azul);
  color: #000;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background .2s;
  cursor: pointer;
}
.nav-btn:hover { background: var(--azul-escuro); color: #fff; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 80px 6%;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/logo.png") center / min(920px, 75%) no-repeat;
  opacity: 0.07;
  filter: grayscale(1) brightness(1.3);
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-block;
  background: rgba(56,189,248,0.15);
  border: 1px solid rgba(56,189,248,0.3);
  color: var(--azul);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--azul); }
.hero p {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-blue {
  background: var(--azul);
  color: #000;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background .2s;
}
.btn-blue:hover { background: var(--azul-escuro); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color .2s;
}
.btn-outline:hover { border-color: var(--azul); color: var(--azul); }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.stat b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--azul); }
.stat span { font-size: 0.78rem; color: #64748b; }

/* ── SEÇÕES GENÉRICAS ── */
section { padding: 60px 6%; }
.section-center { text-align: center; }
h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
h2 span { color: var(--azul-escuro); }
.accent { color: var(--azul); }
.sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
  text-align: left;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }
.card-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.card p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

/* ── PDV STRIP ── */
.pdv-strip {
  background: var(--fundo-escuro);
  color: #fff;
  padding: 60px 6%;
}
.pdv-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 960px;
  margin: auto;
}
.pdv-strip h2 { color: #fff; }
.pdv-strip .sub { color: #94a3b8; text-align: left; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.tag {
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.25);
  color: var(--azul);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.screen {
  background: #1e293b;
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid rgba(56,189,248,0.15);
}
.screen.screen-img {
  background: transparent;
  border: 0;
  padding: 0;
}
.pdv-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.screen-bar { display: flex; gap: 6px; margin-bottom: 1rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
}
.muted { color: #94a3b8; }
.val { color: var(--azul); font-weight: 700; }
.total {
  background: var(--azul);
  color: #000;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  margin-top: 10px;
}
.screen-status {
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--verde);
  text-align: center;
}

/* ── SEGMENTOS ── */
.segs-bg { background: var(--fundo-cinza); }
.segs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 2rem;
}
.seg {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color .2s;
}
.seg:hover { border-color: var(--azul); }

/* ── CONTATO ── */
.contato-bg { background: var(--fundo-cinza); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
  align-items: start;
}
.contact-wrap.single {
  grid-template-columns: 1fr;
  max-width: 640px;
}
.info-list { display: flex; flex-direction: column; gap: 1rem; }
.info-row { display: flex; gap: 12px; align-items: center; }
.info-ico {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--borda);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.info-label { font-size: 0.72rem; color: #94a3b8; }
.info-val { font-weight: 600; font-size: 0.9rem; }
.form {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 12px;
  padding: 2rem;
}
.form h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.fg { margin-bottom: 1rem; }
.fg label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 5px;
}
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  border: 1px solid var(--borda);
  border-radius: 7px;
  padding: 10px 12px;
  font-family: var(--fonte);
  font-size: 0.88rem;
  outline: none;
  color: var(--texto);
  transition: border-color .2s;
  background: #fff;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus { border-color: var(--azul); }
.fg textarea { resize: vertical; min-height: 80px; }
.btn-send {
  width: 100%;
  background: var(--azul-escuro);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: var(--fonte);
  transition: background .2s;
}
.btn-send:hover { background: #0369a1; }
.btn-send.enviado { background: var(--verde); cursor: default; }

/* ── FOOTER ── */
footer {
  background: var(--fundo-nav);
  color: #94a3b8;
  padding: 30px 6%;
  text-align: center;
  font-size: 0.82rem;
}
footer strong { color: #fff; }
footer a { color: var(--azul); text-decoration: none; }
footer span { display: block; margin-top: 4px; font-size: 0.75rem; color: #475569; }

.modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.modal.show { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, 0.75); }
.modal-card {
  position: relative;
  width: min(860px, calc(100% - 24px));
  margin: 7vh auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--borda);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  overflow: hidden;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--borda);
  background: #fff;
}
.modal-title { font-weight: 800; color: var(--texto); }
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--borda);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.modal-body { padding: 16px; max-height: 72vh; overflow: auto; }
.btn-mini {
  background: var(--azul);
  color: #000;
  border: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}
.btn-mini:disabled { opacity: 0.6; cursor: default; }
.sol-status { font-size: 12px; color: var(--muted); }
.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.sol-grid-resp { margin-top: 10px; grid-template-columns: 1fr 1fr 1fr; }
.sol-grid-opts { margin-top: 10px; grid-template-columns: 1fr 1fr 1fr; }
.chk-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.chk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.chk-item input { width: 16px; height: 16px; }
.chk-item span { color: var(--texto); font-weight: 700; }
.sol-form input[readonly] { background: #f8fafc; }

/* ── WHATSAPP FLUTUANTE ── */
.wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25d366;
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 99;
  transition: transform .2s;
}
.wa:hover { transform: scale(1.1); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 13px;
  z-index: 10000;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  max-width: min(720px, calc(100% - 24px));
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.toast.ok { background: rgba(6, 95, 70, 0.95); }
.toast.err { background: rgba(185, 28, 28, 0.95); }

/* ── RESPONSIVO ── */
@media (max-width: 720px) {
  .pdv-strip-inner,
  .contact-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .sol-grid { grid-template-columns: 1fr; }
  .sol-grid-resp { grid-template-columns: 1fr; }
  .chk-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .pdv-strip .sub { text-align: center; }
}
