/* iService Tecnologia — estilos do site */
:root {
  --navy: #101F35;
  --ink: #0B1526;
  --text: #0F1B2D;
  --muted: #475569;
  --subtle: #5B6B80;
  --bg: #F5F8FC;
  --band: #EAF0F7;
  --white: #FFFFFF;
  --line: #DCE3EC;
  --line-strong: #C5D0DE;
  --accent: #2563EB;
  --accent-dark: #1D4ED8;
  --screen: #0C1322;
  --screen-tile: #111B2E;
  --screen-line: #1F2A40;
  --cyan: #22D3EE;
  --radius: 12px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

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

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; font-weight: 600; font-family: inherit; cursor: pointer; border: 0; transition: background .15s, border-color .15s, color .15s; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--text); font-weight: 500; background: transparent; }
.btn-outline:hover { border-color: var(--accent); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid #1A2B45; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo img { height: 37px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.main-nav a:not(.btn) { color: #E6EDF7; }
.main-nav a:not(.btn):hover { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; background: transparent; border: 1px solid #2E4366; color: #E6EDF7; border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* Painel de monitoramento */
.monitor { flex: 1 1 440px; min-width: 0; background: var(--screen); border: 1px solid var(--screen-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 12px; font-family: var(--font-mono); font-size: 12px; box-shadow: 0 24px 60px -24px rgba(16, 31, 53, .45); }
.monitor-top { display: flex; justify-content: space-between; align-items: center; color: #94A3B8; }
.rec { display: inline-flex; align-items: center; gap: 6px; color: #F87171; }
.rec-dot { width: 7px; height: 7px; border-radius: 999px; background: #F87171; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.cams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cam { height: 150px; border-radius: 8px; background: var(--screen-tile); border: 1px solid var(--screen-line); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cam::after { content: ""; position: absolute; left: 0; right: 0; height: 40%; top: -40%; background: linear-gradient(to bottom, transparent, rgba(34, 211, 238, .06), transparent); animation: scan 4s linear infinite; }
@keyframes scan { to { top: 100%; } }
.cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-label, .cam-time { position: absolute; z-index: 1; font-size: 11px; color: #E6EDF7; text-shadow: 0 1px 2px rgba(0, 0, 0, .9); }
.cam-label { left: 10px; bottom: 8px; }
.cam-time { right: 10px; top: 8px; }
.status { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.status div { padding: 10px; border-radius: 8px; background: var(--screen-tile); border: 1px solid var(--screen-line); }
.status small { display: block; color: #94A3B8; font-size: 12px; }
.status b { color: var(--cyan); font-weight: 500; }

/* Faixas e seções */
.band { background: var(--band); border-bottom: 1px solid var(--line); }
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-white { background: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin-bottom: 48px; }
.section-head h2, .contact h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.muted { color: var(--muted); }

/* Números */
.numbers-inner { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.numbers-inner div { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; }
.numbers-inner strong { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.numbers-inner span { font-size: 14px; color: var(--subtle); }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 340px; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(37, 99, 235, .45); }
.card-soft { background: var(--bg); }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); font-size: 15px; }
.icon { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-cta { background: var(--accent); color: var(--white); justify-content: space-between; border-color: var(--accent); }
.card-cta:hover { color: var(--white); background: var(--accent-dark); }
.card-cta-dark { background: var(--navy); border-color: var(--navy); }
.card-cta-dark:hover { background: #172C4B; border-color: var(--accent); }
.cta-title { font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.2; }
.cta-link { font-size: 15px; font-weight: 600; }

/* Outros serviços / clientes */
.others { display: flex; flex-direction: column; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.chips { display: flex; flex-wrap: wrap; gap: 16px; }
.chip { flex: 1 1 240px; display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-weight: 500; }
.chip svg { width: 24px; height: 24px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.logo-box { height: 80px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--muted); padding: 12px; text-align: center; }
.logo-box img { max-height: 48px; width: auto; }
.logo-box.placeholder { border-style: dashed; border-color: #A3B1C4; font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--subtle); background: transparent; }

/* Etapas */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.steps li { flex: 1 1 250px; display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--line-strong); }
.steps li.active { border-top-color: var(--accent); }
.steps span { font-family: var(--font-mono); font-size: 13px; color: var(--subtle); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Contato */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-info > p { font-size: 17px; }
.contact-list { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; font-weight: 500; }
.contact-list li, .contact-list a { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.contact-list a { word-break: break-word; }
.icon-sm { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.form { flex: 1 1 460px; min-width: 0; padding: 32px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row .field { flex: 1 1 200px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--white); color: var(--text); font-size: 15px; font-family: inherit; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.form-error { color: #B91C1C; font-size: 14px; font-weight: 500; }

/* Rodapé */
.site-footer { background: var(--navy); color: #B6C2D6; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.footer-inner img { height: 30px; width: auto; }
.social { display: flex; gap: 20px; }
.social a { color: #E6EDF7; }
.social a:hover { color: var(--white); text-decoration: underline; }

/* Botão flutuante do WhatsApp */
.whats-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 999px; background: #25D366; color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35); z-index: 60; }
.whats-float:hover { color: #FFFFFF; transform: scale(1.05); }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); border-bottom: 1px solid #1A2B45; padding: 8px 24px 20px; }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid #1A2B45; }
  .main-nav .btn { margin-top: 12px; }
  .hero-inner { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .cam { height: 110px; }
  .status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { padding: 22px; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .rec-dot, .cam::after { animation: none; }
}
