/* ============================================================
   VISÃO SAT — Segurança eletrônica · Londrina-PR
   Réplica fiel do layout aprovado (Framer) · tema escuro fixo
   com seções claras pontuais (tokens --light-*)
   Clash Display (títulos) · Inter (texto)
   Vermelho forte da marca: #ba1d1d (botões/FAQ) · #ff1d1d (detalhes)
   ============================================================ */

:root {
  --red: #ba1d1d;
  --red-hover: #d32222;
  --red-deep: #ae2727;
  --red-bright: #ff1d1d;
  --font-display: "Clash Display", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 16px;
  --radius-btn: 10px;
  --container: 1180px;
  --header-h: 72px;
}

:root {
  --bg: #0d0d0d;
  --card: #151419;
  --ink: #ffffff;
  --muted: #aeaeb4;
  --muted-2: #808092;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --btn-ghost-bg: rgba(255, 255, 255, 0.05);
  --header-bg: rgba(13, 13, 13, 0.82);
  --white-btn-bg: #ffffff;
  --white-btn-ink: #111111;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --map-filter: invert(0.92) hue-rotate(180deg) saturate(0.4) brightness(0.9);
  color-scheme: dark;
}

/* tokens da variação clara (usada só em seções pontuais, tema global é escuro) */
:root {
  --light-bg: #f5f4f2;
  --light-card: #ffffff;
  --light-ink: #141316;
  --light-muted: #55545c;
  --light-muted-2: #75747e;
  --light-line: rgba(20, 19, 22, 0.1);
  --light-line-strong: rgba(20, 19, 22, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: 0; }

h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.16rem; line-height: 1.3; }

p { color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(186, 29, 29, 0.35); }
.btn-red:active { transform: translateY(0); }

.btn-white { background: var(--white-btn-bg); color: var(--white-btn-ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 142px; height: 43px; display: block; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--ink); }

/* sobre o hero escuro, nav clara até rolar (o hero é escuro nos 2 temas) */
.header:not(.scrolled) .nav a { color: rgba(255, 255, 255, 0.7); }
.header:not(.scrolled) .nav a:hover { color: #fff; }

/* Submenu de Soluções. Sem JS de propósito: o script.js roda num IIFE único sem
   null-check, então tudo que dá pra resolver em CSS fica fora dele. `focus-within`
   entra junto com `hover` pra quem navega por teclado. */
.nav-item { position: relative; display: flex; align-items: center; }
/* ponte invisível sobre o vão entre o link e o painel — sem ela o menu fecha
   no meio do caminho do mouse */
.nav-item::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.nav-sub {
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 16px;
  min-width: 236px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
/* precisa repetir o seletor do header não-rolado: mesma especificidade, então
   quem vence é este, por vir depois. Sem isso o painel herda texto branco. */
.nav-sub a,
.header:not(.scrolled) .nav-sub a { color: var(--muted); padding: 9px 18px; font-size: 0.88rem; }
.nav-sub a:hover,
.header:not(.scrolled) .nav-sub a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }

/* No mobile não existe hover: os links entram abertos dentro do menu já existente. */
.mobile-sub { display: flex; flex-direction: column; }
.mobile-sub a { padding-left: 16px; font-size: 0.95rem; opacity: 0.75; }
.header:not(.scrolled) .menu-btn { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); }
.header:not(.scrolled) .menu-btn span { background: #fff; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line-strong);
  background: var(--btn-ghost-bg);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span { width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero (escuro nos dois temas, como o aprovado) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 92px) 0 0;
  overflow: hidden;
  background: #0d0d0d;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transform: scale(1.18); transform-origin: 80% 32%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 18% 26%, rgba(90, 8, 8, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, rgba(13, 13, 13, 0.38) 0%, rgba(13, 13, 13, 0.16) 45%, #0d0d0d 94%);
}
.hero-scan {
  position: absolute; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 29, 29, 0.75) 30%, rgba(255, 29, 29, 0.75) 70%, transparent);
  filter: drop-shadow(0 0 8px rgba(255, 29, 29, 0.8));
  animation: scan 7s linear infinite;
  opacity: 0.5;
}
@keyframes scan {
  0% { top: 4%; opacity: 0; }
  8% { opacity: 0.5; }
  92% { opacity: 0.5; }
  100% { top: 96%; opacity: 0; }
}

.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { color: #fff; margin: 0 auto; max-width: 820px; }
.hero-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  max-width: 610px;
  margin: 22px auto 0;
}
.hero-ctas { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }

.hero-laptop { position: relative; margin: 56px 0 0 50%; width: min(1180px, 96vw); transform: translateX(-50%); }
.hero-laptop img { width: 100%; height: auto; }
.reveal.hero-laptop { transform: translateX(-50%) translateY(24px); }
.reveal.hero-laptop.in { transform: translateX(-50%); }

.central-tag {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex: none;
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Logos ---------- */
.logos { padding: 84px 0 90px; border-bottom: 1px solid var(--line); }
.logos-title {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 44px;
}
.logos-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos-track {
  display: flex;
  width: max-content;
}
/* Cada cópia anda a PRÓPRIA largura (-100%), então a emenda fecha exata com
   qualquer número de cópias — o loop só fica sem conteúdo se as cópias somadas,
   menos uma, forem mais estreitas que a tela. Por isso são 5 no HTML: 4 × 1178px
   cobrem 4712px, acima de um monitor 4K.
   O vão entre uma cópia e a seguinte é `padding-right`, NÃO `gap` na faixa nem
   `margin`: translateX(-100%) mede a border box, que inclui padding e ignora
   margin. Com gap ou margin a emenda erraria por exatamente esses 72px. */
.logos-set {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
  animation: logos-marquee 30s linear infinite;
}
.logos-track img { height: 34px; width: auto; opacity: 0.72; filter: grayscale(1) invert(1) brightness(1.3); }
@keyframes logos-marquee { to { transform: translateX(-100%); } }

/* ---------- Seções ---------- */
.section { padding: 110px 0; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { max-width: 640px; margin: 0 auto; }
.section-head p { margin-top: 16px; font-size: 0.99rem; color: var(--muted); }

/* ---------- Seções claras (respiro com a ID clara da marca) ---------- */
.section-light {
  background: var(--light-bg);
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}
.section-light + .section-light { border-top: none; }
.section-light h2, .section-light h3, .section-light h4 { color: var(--light-ink); }
.section-light p { color: var(--light-muted); }
.section-light .stat strong { color: var(--light-ink); }
.section-light .stat p { color: var(--light-muted); }
.section-light .step p { color: var(--light-muted-2); }
.section-light .step {
  background: var(--light-card);
  border-color: var(--light-line);
  box-shadow: 0 10px 30px rgba(20, 19, 22, 0.05);
}
.section-light .step:hover { border-color: var(--light-line-strong); }
.section-light .step svg { color: var(--light-muted); }

/* ---------- Cards de soluções (com foto, como o aprovado) ---------- */
/* A home tem 9 cards — um por página de serviço — e as páginas geradas têm 3 ou
   4 por bloco. Em 3 colunas os dois casos fecham linha exata, então a home usa a
   mesma grade das internas. Existiu uma `.cards-4` enquanto eram 8 cards; saiu
   com a nona página, porque 4 colunas deixariam um órfão na terceira linha. */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* 3 colunas é o que dá largura pro texto não picotar e pra imagem do card
   respirar — em 4 o título quebrava em duas linhas e a foto encolhia. */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.92rem; color: var(--muted-2); flex: 1; }
.card figure { margin-top: 20px; border-radius: 10px; overflow: hidden; }
.card figure img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; transition: transform 0.5s ease; }
.card:hover figure img { transform: scale(1.04); }

/* ---------- Split (contato) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-content h2 { margin-bottom: 4px; }

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* ---------- Sem obra (alarme 100% sem fio) ---------- */
.nobreak-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.32);
  background: rgba(34, 197, 94, 0.08);
  color: #7ee2a0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.nobreak-sub { margin-top: 14px; }

.checklist { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.checklist li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  background:
    center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff1d1d' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5 9.5 18 20 6.5'/%3E%3C/svg%3E"),
    rgba(186, 29, 29, 0.12);
  border: 1px solid rgba(186, 29, 29, 0.35);
}

.nobreak-media { position: relative; }
.nobreak-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.nobreak-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}

.map-media { min-height: 420px; }
.map-media iframe {
  width: 100%; height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
  filter: var(--map-filter);
}

/* ---------- Experiência / stats ---------- */
.exp-head { max-width: 620px; margin-bottom: 64px; }
.exp-head h2 { max-width: 520px; }
.exp-head p { margin-top: 16px; font-size: 0.99rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--ink);
  line-height: 1;
}
.stat h3 { font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; margin: 12px 0 10px; }
.stat p { font-size: 0.9rem; color: var(--muted-2); }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step svg { width: 26px; height: 26px; color: var(--muted); margin-bottom: 40px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted-2); }

/* ---------- Badge Google ---------- */
.gbadge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, transform 0.2s ease;
}
.gbadge:hover { border-color: var(--red); transform: translateY(-2px); }
.gbadge strong { font-family: var(--font-display); font-size: 1.05rem; }
.gstars { color: #f6b93b; font-size: 0.95rem; letter-spacing: 0.08em; }
.gcount { color: var(--muted-2); }

/* ---------- Depoimentos (carrossel contínuo) ---------- */
.quotes-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.quotes-track {
  display: flex;
  width: max-content;
  padding: 4px 0;
}
/* Mesma mecânica do marquee de logos: 3 cópias no HTML (2 × 1972px = 3944px,
   acima de um 4K) e o vão da emenda no padding-right, não em gap/margin. */
.quotes-set {
  flex: 0 0 auto;
  display: flex;
  gap: 18px;
  padding-right: 18px;
  animation: quotes-marquee 44s linear infinite;
}
.quotes-wrap:hover .quotes-set { animation-play-state: paused; }
@keyframes quotes-marquee { to { transform: translateX(-100%); } }

.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  width: min(380px, 84vw);
  display: flex;
  flex-direction: column;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--red-bright);
  display: block;
  margin-bottom: 16px;
}
.quote p { color: var(--ink); font-size: 1rem; line-height: 1.55; font-weight: 500; flex: 1; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(150deg, var(--red-hover), var(--red-deep));
}
.quote footer strong { display: block; font-size: 0.93rem; line-height: 1.2; }
.quote footer div > span { font-size: 0.82rem; color: var(--muted-2); }
.quote-stars { font-style: normal; color: #f6b93b; letter-spacing: 0.06em; }

/* ---------- CTA banner (câmeras nas bordas, como o aprovado) ---------- */
.cta-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(85% 130% at 50% 50%, rgba(96, 12, 12, 0.75) 0%, rgba(30, 6, 6, 0.9) 55%, rgba(13, 13, 13, 1) 100%),
    #150808;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 96px 24px;
  text-align: center;
  margin-top: 40px;
}
.cta-cam { position: absolute; pointer-events: none; }
.cta-cam-1 { left: -40px; top: -30px; width: clamp(160px, 24vw, 300px); }
.cta-cam-2 { right: -20px; bottom: -30px; width: clamp(150px, 22vw, 280px); }
.cta-content { position: relative; max-width: 560px; margin: 0 auto; }
.cta-content h2 { color: #fff; }
.cta-content p { margin-top: 16px; color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; }
.cta-content .btn { margin-top: 28px; }
.cta-content small { display: block; margin-top: 16px; color: rgba(255, 255, 255, 0.5); font-size: 0.85rem; }
.cta-banner .btn-white { background: #fff; color: #111; }

/* ---------- FAQ (item aberto vermelho, como o aprovado) ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] { border-color: transparent; }
.faq details[open] summary { background: var(--red-deep); color: #fff; }
.faq-x { position: relative; width: 22px; height: 22px; flex: none; border: 1.6px solid currentColor; border-radius: 50%; opacity: 0.85; }
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.8px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.faq-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-x::after { transform: translate(-50%, -50%) rotate(45deg); }
.faq details[open] .faq-x::before { transform: translate(-50%, -50%) rotate(-45deg); }
.faq-a { padding: 18px 22px 22px; }
.faq-a p { font-size: 0.93rem; color: var(--muted); }
.faq-a a { color: var(--ink); font-weight: 600; }

/* ---------- Área do cliente (seção clara, card estilo boleto) ---------- */
.client-cards { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; max-width: 960px; margin: 0 auto; align-items: stretch; }
.client-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--light-ink);
  box-shadow: 0 14px 36px rgba(20, 19, 22, 0.06);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.client-card:hover { transform: translateY(-4px); border-color: rgba(186, 29, 29, 0.45); box-shadow: 0 20px 44px rgba(20, 19, 22, 0.1); }
.client-card .client-body { padding: 26px 28px 20px; }
.client-body h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--light-ink); }
.client-body p { font-size: 0.92rem; color: var(--light-muted); }
.client-cta {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--red);
}
.client-card:hover .client-cta { text-decoration: underline; }

/* recorte de boleto: linha tracejada + tesoura */
.boleto-cut {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px 0;
  color: rgba(20, 19, 22, 0.35);
}
.boleto-cut::after {
  content: "";
  flex: 1;
  border-top: 2px dashed rgba(20, 19, 22, 0.22);
}
.boleto-cut svg { width: 17px; height: 17px; flex: none; }

/* código de barras + linha digitável */
.barcode-wrap {
  margin-top: auto;
  padding: 18px 28px 22px;
  border-top: 1px solid var(--light-line);
  position: relative;
  overflow: hidden;
  color: var(--light-ink);
}
.barcode-svg { display: block; width: 100%; height: 46px; }
.boleto-linha {
  display: block;
  margin-top: 10px;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--light-muted-2);
  white-space: nowrap;
  /* quando não couber, some em fade em vez de cortar caractere no meio */
  mask-image: linear-gradient(90deg, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
}
/* leitor óptico: linha vermelha varre o código no hover */
.barcode-wrap::after {
  content: "";
  position: absolute;
  top: 12px;
  height: 58px;
  width: 3px;
  left: 4%;
  background: var(--red-bright);
  box-shadow: 0 0 12px rgba(255, 29, 29, 0.8);
  opacity: 0;
  pointer-events: none;
}
.boleto-card:hover .barcode-wrap::after { animation: bscan 1.1s ease-in-out; }
@keyframes bscan {
  0% { left: 4%; opacity: 1; }
  50% { left: 95%; }
  100% { left: 4%; opacity: 1; }
}

/* card suporte: rodapé com status online */
.suporte-strip {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px 22px;
  border-top: 1px solid var(--light-line);
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--light-ink);
}

/* ---------- Contato ---------- */
.contact-list { font-style: normal; display: grid; gap: 8px; margin-top: 26px; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  margin: 0 -16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  transition: background 0.2s ease;
  line-height: 1.35;
}
.contact-list a:hover { background: var(--btn-ghost-bg); }
.contact-list svg { width: 22px; height: 22px; color: var(--red-bright); flex: none; }
.contact-list small { color: var(--muted-2); font-weight: 400; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 72px; position: relative; overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p { margin-top: 18px; font-size: 0.92rem; max-width: 280px; color: var(--muted-2); }
.footer-brand .footer-copy { margin-top: 14px; font-size: 0.85rem; }
.footer-col :is(h3, h4) {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--muted-2);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 5px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 18px;
  border-top: 1px solid var(--line);
}
.footer-verse {
  font-style: italic;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 620px;
  line-height: 1.6;
  text-align: left;
}
.footer-verse span {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-bright);
  opacity: 0.85;
  margin-left: 10px;
  white-space: nowrap;
}
.footer-bottom a { font-size: 0.85rem; color: var(--muted-2); text-decoration: none; flex: none; }
.footer-bottom a:hover { color: var(--ink); }

.footer-giant {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(5rem, 16.5vw, 15rem);
  line-height: 0.72;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.9;
  filter: blur(10px);
  transform: translateY(18%);
  pointer-events: none;
  user-select: none;
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #2ad366, #1faa52);
  color: #fff;
  box-shadow: 0 12px 30px rgba(32, 178, 90, 0.45);
  transition: transform 0.2s ease;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 29px; height: 29px; }

/* ---------- Menu mobile ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s ease; }
.mobile-menu nav { display: grid; gap: 8px; text-align: center; }
.mobile-menu nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 10px;
}
.mobile-menu nav a:not(.btn):hover { color: var(--red-bright); }
.mobile-menu .btn { margin-top: 20px; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease var(--d, 0s), transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-cta { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .section { padding: 76px 0; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 64px); }
  .hero-laptop { margin-top: 44px; }
  .logos { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .brand-logo { width: 122px; height: 37px; }
  .btn-row .btn, .hero-ctas .btn { width: 100%; }
  .whats-float { right: 16px; bottom: 16px; }
  .central-tag { font-size: 0.58rem; letter-spacing: 0.18em; bottom: 4.5%; }
  .client-cards { grid-template-columns: 1fr; }
  .boleto-linha { font-size: 0.62rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-verse { text-align: center; }
  .footer-verse span { display: block; margin: 6px 0 0; }
  .cta-banner { padding: 130px 20px 150px; }
  .cta-cam-1 { top: -20px; left: -30px; }
  .cta-cam-2 { bottom: -20px; right: -24px; }
}

@media (max-width: 480px) {
  /* sem o piso do clamp, o "VISÃO SAT" gigante cabe inteiro na tela */
  .footer-giant { font-size: 16.5vw; }
}

/* ---------- Acessibilidade / preferências ---------- */
/* indicador de foco em duas camadas: visível em fundo claro E escuro */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(186, 29, 29, 0.9);
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  background: var(--red);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .logos-set, .quotes-set { animation: none; }
}

@media print {
  body { background: #fff; color: #111; }
  p, h1, h2, h3, h4, .stat strong, .nav a, .footer-col a, .quote p { color: #111 !important; }
  .whats-float, .footer-giant, .hero-scan, .mobile-menu, .menu-btn, .skip-link { display: none !important; }
  .hero, .section, .cta-banner { background: #fff !important; }
  .hero-bg { display: none; }
  .hero h1 { color: #111; }
  .hero-sub { color: #333; }
}

/* ============================================================
   COMPLIANCE — páginas legais (privacidade / termos) + rodapé
   ============================================================ */
.legal-header {
  position: relative;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.legal-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.legal-back:hover { color: var(--ink); }

.legal-main { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.legal-main h1 { color: var(--ink); font-size: clamp(2rem, 5vw, 2.6rem); margin-bottom: 8px; }
.legal-updated { color: var(--muted-2); font-size: 0.88rem; margin-bottom: 40px; }
.legal-main h2 { color: var(--ink); font-size: 1.2rem; margin: 40px 0 14px; }
.legal-main h2:first-of-type { margin-top: 0; }
.legal-main p, .legal-main li { color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.legal-main p { margin-bottom: 14px; }
.legal-main ul { margin: 0 0 14px 20px; }
.legal-main li { margin-bottom: 8px; }
.legal-main strong { color: var(--ink); }
.legal-main a { color: var(--red-bright); text-decoration: underline; text-underline-offset: 2px; }
.legal-main a:hover { color: #fff; }
.legal-note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0; }

.footer-legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-links a { font-size: 0.85rem; color: var(--muted-2); text-decoration: none; }
.footer-legal-links a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .legal-main { padding: 56px 20px 72px; }
}

/* === ASSINATURA DOMOS === repouso >=3:1 (rotulo .45 / nome .62 / icone .55), acende inteira no hover; classe dobrada de proposito: vence regra generica de link do rodape do site */
.footer-dev{display:flex;align-items:center;justify-content:center;gap:9px;padding-bottom:26px;
  font-size:10px;font-weight:500;letter-spacing:0.16em;text-transform:uppercase;line-height:1}
.footer-dev .footer-dev-l{color:rgba(255,255,255,.45);transition:color .4s ease}
.footer-dev.footer-dev a{display:inline-flex;align-items:center;gap:6px;color:rgba(255,255,255,.62);text-decoration:none;
  transition:color .4s ease,opacity .4s ease}
.footer-dev.footer-dev a img{height:11px;width:auto;opacity:.55;filter:grayscale(1);
  transition:opacity .4s ease,filter .4s ease}
.footer-dev.footer-dev:hover .footer-dev-l{color:rgba(255,255,255,.85)}
.footer-dev.footer-dev:hover a{color:#ffffff}
.footer-dev.footer-dev:hover a img{opacity:1;filter:none}
