/* ==========================================================================
   CL3 Marketing — Design System v2 (corporativo)
   Superfícies planas, navy profundo, um único azul de destaque.
   Sem gradientes. Precisão, contraste e espaço em branco.
   ========================================================================== */

:root {
  --navy-950:   #050d1a;
  --navy-900:   #0a1626;
  --navy-800:   #0f1f36;
  --navy-line:  #1b2c46;

  --accent:      #1f9cf0;
  --accent-deep: #0d7fd1;
  --accent-soft: #58b8f5;

  --ink:        #0c1a2e;
  --body:       #43536a;
  --muted:      #6b7a90;

  --surface:    #f4f7fb;
  --card:       #ffffff;
  --line:       #dfe6ef;

  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  --radius:     10px;   /* botões e campos: leve arredondamento */
  --radius-lg:  0;      /* cards e painéis: cantos retos, corporativo */
  --shadow:     0 16px 40px rgba(8, 22, 44, .08);
  --shadow-sm:  0 2px 10px rgba(8, 22, 44, .06);

  --header-h:   76px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: #fff;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -.02em; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; }
a  { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.2rem;
}
.skip-link:focus { left: 0; }

/* ----- Destaque de texto (ex-gradiente): azul sólido ----- */
.grad-text { color: var(--accent); }

/* ----- Botões (anatomia SaaS: profundidade, brilho e microinterações) ----- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .85rem 1.7rem; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(0) scale(.98); }

/* primário: highlight interno + anel de brilho no hover + varredura de luz */
.btn-primary {
  background: var(--accent); color: #fff;
  border-color: var(--accent-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(8, 22, 44, .25);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25),
              0 0 0 1px rgba(31, 156, 240, .45),
              0 8px 26px rgba(31, 156, 240, .38);
}
.btn-primary::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: skewX(-20deg); pointer-events: none;
  transition: left .5s ease;
}
.btn-primary:hover::before { left: 125%; }

/* seta que desliza nos CTAs grandes */
.btn-lg.btn-primary::after {
  content: "→"; display: inline-block;
  opacity: 0; margin-left: -14px; transform: translateX(-6px);
  transition: opacity .18s ease, margin-left .18s ease, transform .18s ease;
}
.btn-lg.btn-primary:hover::after { opacity: 1; margin-left: .1rem; transform: translateX(0); }

/* secundário em fundo escuro: vidro fosco (glassmorphism pontual) */
.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .34);
  transform: translateY(-1px);
}

/* secundário em fundo claro: superfície elevada */
.btn-ghost-dark {
  color: var(--ink); background: #fff; border-color: #c8d3e0;
  box-shadow: 0 1px 2px rgba(8, 22, 44, .06);
}
.btn-ghost-dark:hover {
  border-color: var(--accent); color: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(8, 22, 44, .1);
}

.btn-lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }
.btn-nav { padding: .6rem 1.3rem; font-size: .88rem; }
.cta-row { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .2s ease, border-color .2s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 13, 26, .95);
  border-bottom-color: var(--navy-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: #fff !important; text-decoration: none !important; letter-spacing: .01em;
  display: inline-flex; align-items: baseline;
}
.brand span { font-weight: 300; color: var(--accent-soft); letter-spacing: .22em; font-size: .82em; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav ul { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  color: rgba(255, 255, 255, .72); font-weight: 500; font-size: .95rem;
  text-decoration: none !important; padding: .4rem 0; position: relative;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--accent); transition: width .18s ease;
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: #fff; }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .6rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Faixas escuras (hero e seções navy) — planas, com grade técnica sutil
   ========================================================================== */
.dark-band {
  position: relative; color: rgba(255, 255, 255, .78);
  background: var(--navy-950);
}
.dark-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(88, 184, 245, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 184, 245, .04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.dark-band h1, .dark-band h2, .dark-band h3 { color: #fff; }

/* ----- Hero da home: foto com véu navy (texto sempre legível) ----- */
.hero {
  padding: calc(var(--header-h) + 84px) 0 120px;
  border-bottom: 1px solid var(--navy-line);
  background:
    linear-gradient(180deg, rgba(4, 11, 22, .84) 0%, rgba(5, 13, 26, .93) 70%, var(--navy-950) 100%),
    var(--navy-950) url(../img/fundo-hero.webp) center / cover no-repeat;
}
/* heróis sem grade quadriculada (home, páginas internas e sistemas) */
.hero::before, .page-hero::before, .sys-hero::before { content: none; }
.hero-copy { max-width: 52rem; position: relative; z-index: 1; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-soft); margin-bottom: 1.4rem;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero p.hero-sub { font-size: 1.15rem; max-width: 34rem; margin-bottom: 2.2rem; color: rgba(255, 255, 255, .66); }
.hero-proof {
  display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.6rem;
  padding-top: 1.6rem; border-top: 1px solid var(--navy-line);
  font-size: .92rem; color: rgba(255, 255, 255, .6);
}
.hero-proof span strong { color: #fff; font-family: var(--font-display); }
.hero-proof .stars { color: #f5b83d; letter-spacing: .1em; }

/* sem curva decorativa na base do hero (visual corporativo, corte reto) */
.hero-curve::after { content: none; }

/* ==========================================================================
   Seções
   ========================================================================== */
section { padding: 104px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 46rem; margin-bottom: 3.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 30px; height: 1px; background: var(--accent); }
.section-head.center .kicker::after { content: ""; width: 30px; height: 1px; background: var(--accent); }
.section-head p { font-size: 1.08rem; }

.bg-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ----- Colunas editoriais (ex-cards): filete forte no topo, sem caixa ----- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 2.5rem 2.5rem; }
.card {
  background: transparent; border: 0; border-top: 2px solid var(--ink);
  padding: 1.3rem 0 0; display: flex; flex-direction: column;
  transition: border-color .18s ease;
}
.card:hover { border-top-color: var(--accent); }
.card h3 { font-size: 1.13rem; }
.card p { font-size: .96rem; flex: 1; }

/* ----- Lista de checagem ----- */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 2rem; padding: 0; list-style: none; margin: 1.4rem 0 0; }
.check-grid li { display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; }
.check-grid li::before {
  content: "✓"; flex: 0 0 auto;
  color: var(--accent-deep); font-size: .95rem; font-weight: 700;
  line-height: inherit;
}

/* ----- Processo (colunas editoriais numeradas) ----- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2.5rem; counter-reset: step; }
.step {
  background: transparent; border-top: 2px solid var(--ink);
  padding: 1.3rem 0 0; counter-increment: step;
  transition: border-color .18s ease;
}
.step:hover { border-top-color: var(--accent); }
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  color: var(--accent-deep); letter-spacing: .12em;
  margin-bottom: .9rem;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .93rem; margin: 0; }

/* ==========================================================================
   Página de Sistemas (estrutura própria, estilo página de produto)
   ========================================================================== */

/* herói centralizado com painel largo transbordando */
.sys-hero { padding: calc(var(--header-h) + 76px) 0 96px; border-bottom: 1px solid var(--navy-line); }
.sys-hero-copy { max-width: 47rem; margin-inline: auto; text-align: center; position: relative; z-index: 1; }
.sys-hero-copy .hero-kicker { justify-content: center; }
.sys-hero-copy .hero-sub { margin-inline: auto; }
.sys-hero-copy .cta-row { justify-content: center; }
.sys-hero-copy .hero-proof { justify-content: center; }

/* linhas de especificação (o que desenvolvemos) */
.spec-rows { border-top: 1px solid var(--line); }
.spec-row {
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 1.2rem 3rem;
  padding: 2.4rem 1.2rem; margin-inline: -1.2rem;
  border-bottom: 1px solid var(--line);
  transition: background-color .18s ease;
}
.spec-row:hover { background: var(--surface); }
.spec-title { display: flex; gap: 1.1rem; align-items: flex-start; }
.spec-title span {
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  color: var(--accent-deep); border: 1px solid var(--line); border-radius: 6px;
  padding: .35rem .6rem; letter-spacing: .06em; flex: 0 0 auto;
}
.spec-title h3 { font-size: 1.35rem; margin: .15em 0 0; }
.spec-title h3 a { color: var(--ink); text-decoration: none; transition: color .15s ease; }
.spec-title h3 a:hover { color: var(--accent-deep); }
.spec-desc p { margin-bottom: 1rem; }
.row-link {
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--accent-deep); text-decoration: none !important;
  display: inline-flex; align-items: center; gap: .35rem;
}
.row-link i { font-style: normal; transition: transform .16s ease; }
.row-link:hover i { transform: translateX(4px); }
.spec-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: 0; margin: 0; }
.spec-tags li {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  color: var(--muted); letter-spacing: .03em;
}
.spec-tags li:not(:last-child)::after { content: "·"; margin-left: 1rem; color: var(--line); }

/* faixa antes -> depois */
.shift-band { padding: 96px 0; }
.shift-list { display: grid; gap: .9rem; max-width: 920px; margin-inline: auto; position: relative; z-index: 1; }
.shift-row {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.6rem; align-items: center;
  border: 1px solid var(--navy-line); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .02);
  padding: 1.35rem 1.7rem;
}
.shift-row p { margin: 0; font-size: .98rem; }
.shift-row .before { color: rgba(255, 255, 255, .5); }
.shift-row .after { color: #fff; font-weight: 600; }
.shift-arrow {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  color: var(--accent); flex: 0 0 auto;
}

/* linha do tempo vertical (como fazemos) */
.flow { max-width: 700px; margin-inline: auto; display: grid; gap: 2.1rem; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px;
  width: 1px; background: var(--line);
}
.flow-step { display: grid; grid-template-columns: 52px 1fr; gap: 1.5rem; position: relative; }
.flow-marker {
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  color: var(--accent-deep); position: relative; z-index: 1;
}
.flow-step h3 { font-size: 1.15rem; margin-bottom: .35em; }
.flow-step p { margin: 0; font-size: .98rem; }

/* comparativo lado a lado */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 920px; margin-inline: auto; }
.versus-col { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem 2rem; }
.versus-col h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.3rem; }
.versus-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.versus-col li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; }
.versus-col li::before {
  content: "✕"; flex: 0 0 auto; font-weight: 700; font-size: .8rem;
  width: 20px; height: 20px; border-radius: 4px; display: grid; place-items: center;
  background: var(--surface); color: var(--muted); margin-top: .2rem;
}
.versus-col.is-cl3 { background: var(--navy-950); border-color: var(--navy-line); color: rgba(255, 255, 255, .78); }
.versus-col.is-cl3 h3 { color: #fff; }
.versus-col.is-cl3 li::before { content: "✓"; background: var(--accent); color: #fff; }
.versus-note { text-align: center; margin: 2.4rem auto 0; max-width: 40rem; }

@media (max-width: 860px) {
  .spec-row { grid-template-columns: 1fr; padding: 1.8rem 0; }
  .shift-row { grid-template-columns: 1fr; gap: .5rem; padding: 1.2rem 1.3rem; }
  .shift-arrow { transform: rotate(90deg); justify-self: start; }
  .versus { grid-template-columns: 1fr; }
}

/* ----- Análise Gratuita de Site (ferramenta automática) ----- */
.an-form { margin-bottom: 2.5rem; }
.an-label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .5rem; }
.an-input-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.an-input-row input {
  flex: 1; min-width: 240px; font: inherit; font-size: 1.05rem; color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius); padding: .95rem 1.1rem;
  background: #fff;
}
.an-input-row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 156, 240, .18); }
.an-erro { color: #b91c1c; font-weight: 600; margin-top: 1rem; }

.an-score-wrap {
  display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap;
  border-top: 2px solid var(--ink); padding-top: 1.6rem; margin-bottom: 2.2rem;
}
.an-score {
  flex: 0 0 auto; width: 118px; height: 118px;
  display: flex; align-items: baseline; justify-content: center; align-content: center; flex-wrap: wrap;
  border: 3px solid; padding-top: 1.5rem;
}
.an-score strong { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.an-score span { font-size: .95rem; color: var(--muted); }
.an-score.is-otimo { border-color: #16a34a; } .an-score.is-otimo strong { color: #16a34a; }
.an-score.is-medio { border-color: #d97706; } .an-score.is-medio strong { color: #d97706; }
.an-score.is-ruim  { border-color: #dc2626; } .an-score.is-ruim strong  { color: #dc2626; }

.an-pages { border-collapse: collapse; width: 100%; font-size: .9rem; }
.an-pages th {
  text-align: left; font-family: var(--font-display); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  border-bottom: 2px solid var(--ink); padding: .5rem .8rem .5rem 0;
}
.an-pages td { border-bottom: 1px solid var(--line); padding: .55rem .8rem .55rem 0; color: var(--body); }
.an-pages td:first-child { font-family: var(--font-display); font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Subnotas por grupo (barras do resumo executivo) */
.an-bars { margin: 1.8rem 0 2.4rem; display: grid; gap: .55rem; }
.an-bar-row { display: grid; grid-template-columns: minmax(150px, 240px) 1fr 34px; gap: .9rem; align-items: center; }
.an-bar-label { font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--ink); }
.an-bar-track { display: block; height: 8px; background: var(--line); overflow: hidden; }
.an-bar-track i { display: block; height: 100%; }
.an-bar-track i.is-otimo { background: #16a34a; }
.an-bar-track i.is-medio { background: #d97706; }
.an-bar-track i.is-ruim { background: #dc2626; }
.an-bar-num { font-family: var(--font-display); font-weight: 700; font-size: .85rem; text-align: right; color: var(--ink); }
@media (max-width: 560px) {
  .an-bar-row { grid-template-columns: 1fr 34px; }
  .an-bar-label { grid-column: 1 / -1; margin-bottom: -.2rem; }
}

/* Prioridades: as três correções de maior impacto */
.an-prior-sub { font-size: .9rem; color: var(--muted); margin-top: -.4rem; }
.an-prior ol { list-style: none; counter-reset: prior; padding: 0; margin: 0; }
.an-prior li {
  counter-increment: prior; position: relative;
  padding: .9rem 0 .9rem 3.2rem; border-bottom: 1px solid var(--line);
}
.an-prior li::before {
  content: "0" counter(prior); position: absolute; left: 0; top: .95rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--accent-ink);
}
.an-prior li strong { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.an-prior li p { margin: .25rem 0 0; font-size: .9rem; color: var(--body); }

/* Estudo do texto: termos dominantes e direção */
.an-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.an-chip {
  font-family: var(--font-display); font-size: .82rem; font-weight: 600; color: var(--ink);
  border: 1px solid var(--ink); padding: .3rem .7rem; display: inline-flex; gap: .45rem; align-items: baseline;
}
.an-chip i { font-style: normal; font-weight: 400; font-size: .75rem; color: var(--muted); }
.an-voz { margin-top: 1.2rem; }
.an-voz p { font-size: .92rem; margin-bottom: .5rem; }

.an-grupo { margin-bottom: 2.2rem; }
.an-grupo h2 { font-size: 1.15rem; border-top: 2px solid var(--ink); padding-top: 1rem; }
.an-lista { list-style: none; padding: 0; margin: 0; }
.an-lista li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.an-lista strong { font-family: var(--font-display); font-weight: 600; font-size: .97rem; color: var(--ink); }
.an-lista p { margin: .25rem 0 0; font-size: .9rem; color: var(--body); }
.an-lista .an-okp { color: var(--muted); font-size: .87rem; }
.an-mark {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: .1rem;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff;
}
.an-lista li.is-ok .an-mark { background: #16a34a; }
.an-lista li.is-falha .an-mark { background: #dc2626; }
.an-lista li.is-ok strong { color: var(--muted); font-weight: 500; }

/* ----- Marquee (faixa rolante, padrão dos temas tech) ----- */
.marquee {
  overflow: hidden; background: var(--navy-950);
  border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line);
  padding: 1.1rem 0;
}
.marquee-track {
  display: flex; align-items: center; gap: 2.6rem; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .04em; color: rgba(255, 255, 255, .55); white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--accent); font-weight: 800; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ----- Bento grid (mosaico de tiles) ----- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 175px; gap: 1rem; }
.b-tile {
  border: 1px solid var(--line); padding: 1.5rem 1.6rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; text-decoration: none !important;
  transition: border-color .18s ease, transform .18s ease;
}
a.b-tile:hover { border-color: var(--accent); transform: translateY(-3px); }
.b-tile strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.7rem; letter-spacing: -.01em; color: var(--ink); margin-bottom: .25rem;
}
.b-tile span { font-size: .88rem; color: var(--muted); }
.b-dark { background: var(--navy-950); border-color: var(--navy-line); }
.b-dark strong { color: #fff; }
.b-dark span { color: rgba(255, 255, 255, .55); }
.b-accent { background: var(--accent); border-color: var(--accent-deep); }
.b-accent strong { color: #fff; font-size: 1.25rem; line-height: 1.25; }
.b-accent span { color: rgba(255, 255, 255, .85); font-weight: 600; }
.b-photo {
  grid-column: span 2; grid-row: span 2;
  background: var(--navy-950) url(../img/fundo-hero-mobile.webp) center / cover no-repeat;
  border-color: var(--navy-line);
}
.b-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 26, .05) 30%, rgba(5, 13, 26, .82) 100%);
}
.b-photo strong { color: #fff; position: relative; font-size: 1.35rem; }
.b-photo span { color: rgba(255, 255, 255, .75); position: relative; }

@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .b-photo { grid-column: span 2; grid-row: span 1; }
}

/* ----- Manifesto (posicionamento, faixa editorial) ----- */
.manifesto { text-align: center; }
.manifesto .kicker { color: var(--accent-soft); }
.manifesto .kicker::after { content: ""; width: 30px; height: 1px; background: var(--accent); }
.manifesto h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 44rem; margin-inline: auto;
  letter-spacing: -.02em;
}
.manifesto p { max-width: 44rem; margin: 0 auto 1.8rem; font-size: 1.12rem; color: rgba(255, 255, 255, .72); position: relative; z-index: 1; }
.manifesto .row-link { color: var(--accent-soft); position: relative; z-index: 1; }
.manifesto .row-link:hover { color: #fff; }

/* rótulo de categoria (teasers do blog na home) */
.cat-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: .6rem;
}
.cat-label::before { content: ""; width: 18px; height: 1px; background: var(--accent); }
.card h3 a { color: var(--ink); text-decoration: none; transition: color .15s ease; }
.card h3 a:hover { color: var(--accent-deep); }

/* depoimentos (colunas editoriais de citação) */
.quote-col blockquote {
  margin: 0 0 1.1rem; padding: 0; border: 0;
  font-size: 1.02rem; line-height: 1.7; color: var(--body); font-style: italic;
}
.quote-col blockquote::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: .4rem; font-style: normal; }
.quote-col cite { font-style: normal; }
.quote-col cite strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: .95rem; }
.quote-col cite span { font-size: .85rem; color: var(--muted); }

/* ----- Banner de sistemas web (home) ----- */
.sys-banner {
  position: relative; overflow: hidden;
  background: var(--navy-950); border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 3rem 3.2rem;
  display: grid; grid-template-columns: 1.5fr auto; gap: 2.5rem; align-items: center;
}
.sys-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(88, 184, 245, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 184, 245, .045) 1px, transparent 1px);
  background-size: 64px 64px;
}
.sys-banner > div { position: relative; }
.sys-banner .kicker { color: var(--accent-soft); }
.sys-banner h2 { color: #fff; margin-bottom: .4em; }
.sys-banner p { color: rgba(255, 255, 255, .66); max-width: 36rem; }
.sys-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; padding: 0; margin: 1.2rem 0 0; }
.sys-tags li {
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  color: rgba(255, 255, 255, .65); letter-spacing: .04em;
}
.sys-tags li:not(:last-child)::after { content: "·"; margin-left: 1.1rem; color: rgba(255, 255, 255, .3); }
.sys-banner-cta { white-space: nowrap; }

@media (max-width: 860px) {
  .sys-banner { grid-template-columns: 1fr; padding: 2.2rem 1.6rem; gap: 1.6rem; }
  .sys-banner-cta { white-space: normal; }
}

/* ----- Abas (Missão / Visão / Valores) ----- */
.tabs { margin-top: 1.6rem; }
.tab-list { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .25rem; gap: .2rem; }
.tab-btn {
  border: 0; background: transparent; font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; color: var(--body); padding: .5rem 1.3rem; border-radius: 7px; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.tab-btn[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panel { padding-top: 1.3rem; }
.tab-panel[hidden] { display: none; }
.tab-panel ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.tab-panel ul li { display: flex; gap: .6rem; align-items: baseline; }
.tab-panel ul li::before { content: "•"; color: var(--accent-deep); font-weight: 800; }

/* ----- Duas colunas genéricas ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }

/* ----- Faixa de números ----- */
.stats-band { padding: 0; border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.stat {
  text-align: center; padding: 3.2rem 1.5rem;
  border-left: 1px solid var(--navy-line);
}
.stat:first-child { border-left: 0; }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; margin-bottom: .3rem; letter-spacing: -.01em;
}
.stat span { font-size: .88rem; color: rgba(255, 255, 255, .55); }

/* ----- FAQ (acordeão de filetes, sem caixas) ----- */
.faq-list { max-width: 50rem; margin-inline: auto; border-top: 1px solid var(--ink); }
.faq-item { background: transparent; border-bottom: 1px solid var(--line); overflow: hidden; }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-family: var(--font-display); font-weight: 600; color: var(--ink);
  font-size: 1.02rem;
  padding: 1.35rem 0;
  transition: color .15s ease;
}
.faq-q:hover { color: var(--accent-deep); }
.faq-q::after {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px;
  border-right: 2px solid var(--accent-deep); border-bottom: 2px solid var(--accent-deep);
  transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px;
}
.faq-item.is-open .faq-q::after { transform: rotate(225deg); margin-top: 4px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 2rem 1.5rem 0; font-size: .97rem; }
.faq-a-inner ul { margin-bottom: 0; }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + 64px) 0 72px; border-bottom: 1px solid var(--navy-line); }
.page-hero .breadcrumb { margin-bottom: 1.2rem; }
.page-hero h1 { max-width: 46rem; }
.page-hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .66); max-width: 40rem; margin: 0; }

.breadcrumb { font-size: .85rem; color: rgba(255, 255, 255, .5); }
.breadcrumb a { color: var(--accent-soft); }
.breadcrumb .sep { margin: 0 .5rem; opacity: .5; }

/* conteúdo corrido (páginas legais) */
.prose { max-width: 46rem; margin-inline: auto; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul li { margin-bottom: .4em; }

/* ----- Formulário de contato ----- */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink);
  border: 1px solid #c8d3e0; border-radius: var(--radius); padding: .8rem 1rem;
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31, 156, 240, .18);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--muted); }

.contact-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: var(--shadow-sm);
}
.contact-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; margin: 0 0 1.4rem; }
.contact-list strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: .95rem; }
.contact-list span, .contact-list a { font-size: .95rem; }
.map-embed { border: 0; width: 100%; height: 300px; border-radius: var(--radius); display: block; filter: grayscale(.35); }

/* ==========================================================================
   Pré-footer CTA + Footer
   ========================================================================== */
.pre-footer {
  position: relative; color: rgba(255, 255, 255, .75); text-align: center;
  background: var(--navy-900);
  border-top: 1px solid var(--navy-line);
  padding: 96px 0;
}
.pre-footer h2 {
  color: #fff; max-width: 44rem; margin-inline: auto;
  font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.03em;
}
.pre-footer p { max-width: 32rem; margin: 1rem auto 2.4rem; font-size: 1.1rem; }
.pre-footer .cta-row { justify-content: center; }

.site-footer {
  background: var(--navy-950) url(../img/fundo-rodape.webp?v=2) right bottom / cover no-repeat;
  color: rgba(255, 255, 255, .58); font-size: .93rem; border-top: 1px solid var(--navy-line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1.1fr 1fr 1fr; gap: 2.5rem;
  padding: 80px 0 56px;
}
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; margin-bottom: .4rem; }
.footer-brand span { font-weight: 300; color: var(--accent-soft); letter-spacing: .22em; font-size: .8em; }
.footer-tagline { max-width: 16rem; }
.footer-rating { display: flex; align-items: center; gap: .5rem; }
.footer-rating .stars { color: #f5b83d; letter-spacing: .12em; }
.footer-rating a, .footer-rating span:not(.stars) { color: #fff; font-weight: 600; }
.site-footer h3 {
  color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em;
  margin: 0 0 1rem; font-weight: 600;
}
.site-footer h3:not(:first-child) { margin-top: 1.6rem; }
.footer-nav, .footer-contact, .footer-social, .footer-legal-links {
  list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem;
}
.site-footer a { color: rgba(255, 255, 255, .58); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-hours { margin-top: 1.2rem; }
.site-footer address p { margin-bottom: .9rem; }
.site-footer strong { color: rgba(255, 255, 255, .85); }
.footer-legal-links { margin-top: 1.6rem; }
.footer-bar { border-top: 1px solid var(--navy-line); padding: 1.3rem 0; }
.footer-bar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.footer-bar-inner p { margin: 0; }

/* ----- Widget flutuante de WhatsApp ----- */
.whats-widget {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: .9rem;
}
.whats-float {
  position: relative;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(11, 61, 32, .35);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.whats-float:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1fc25b;
  box-shadow: 0 12px 30px rgba(11, 61, 32, .42);
}
.whats-dot {
  position: absolute; top: 2px; right: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #4ade80; border: 2.5px solid #fff;
}
.whats-dot::after {
  content: ""; position: absolute; inset: -2.5px; border-radius: 50%;
  border: 2px solid #4ade80; opacity: 0;
  animation: whats-ping 2.4s ease-out infinite;
}
@keyframes whats-ping {
  0%   { transform: scale(.9); opacity: .7; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* chamadinha (teaser) */
.whats-teaser {
  width: 300px; max-width: calc(100vw - 44px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 22px 55px rgba(8, 22, 44, .22);
  padding: 1.1rem 1.15rem 1.15rem;
  position: relative;
  opacity: 0; transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
}
.whats-teaser.is-in { opacity: 1; transform: none; }
.whats-teaser[hidden] { display: none; }
.whats-teaser-close {
  position: absolute; top: .5rem; right: .6rem;
  width: 28px; height: 28px; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted);
  font-size: 1.25rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background-color .14s ease, color .14s ease;
}
.whats-teaser-close:hover { background: var(--surface); color: var(--ink); }
.whats-teaser-head {
  display: flex; align-items: center; gap: .7rem; margin-bottom: .75rem;
}
.whats-avatar {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px;
  background: var(--navy-950); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .78rem;
  display: flex; align-items: center; justify-content: center; white-space: nowrap;
}
.whats-avatar em { font-style: normal; color: var(--accent); }
.whats-teaser-head strong {
  display: block; font-family: var(--font-display); font-size: .95rem; color: var(--ink);
}
.whats-teaser-head small {
  display: flex; align-items: center; gap: .35rem;
  font-size: .78rem; color: var(--muted);
}
.whats-status {
  width: 8px; height: 8px; border-radius: 50%; background: #b6c2d1;
}
.whats-status.is-online { background: #22c55e; }
.whats-teaser-text {
  font-size: .92rem; line-height: 1.55; color: var(--body); margin: 0 0 .9rem;
}
.whats-teaser-btn {
  display: flex; justify-content: center; align-items: center; gap: .5rem;
  background: #25d366; color: #fff !important;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  padding: .7rem 1rem; border-radius: var(--radius);
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.whats-teaser-btn:hover {
  background: #1fc25b; transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px rgba(37, 211, 102, .35);
}

@media (prefers-reduced-motion: reduce) {
  .whats-dot::after { animation: none; }
}

/* ==========================================================================
   Animações de entrada (discretas)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1024px) {
  .hero { padding-bottom: 104px; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-950);
    padding: 1rem 1.4rem 1.6rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease, visibility .2s;
    border-bottom: 1px solid var(--navy-line);
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 0; margin-bottom: 1rem; }
  .main-nav ul a { display: block; padding: .85rem 0; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .site-header { background: var(--navy-950); border-bottom-color: var(--navy-line); }
  .check-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bar-inner { justify-content: center; text-align: center; }
  .hero {
    background:
      linear-gradient(180deg, rgba(4, 11, 22, .84) 0%, rgba(5, 13, 26, .93) 70%, var(--navy-950) 100%),
      var(--navy-950) url(../img/fundo-hero-mobile.webp) center / cover no-repeat;
  }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .btn-lg { width: 100%; }
  .hero { padding-top: calc(var(--header-h) + 56px); }
}
