/* Fontes servidas pelo próprio site (Inter e Manrope, licença SIL OFL 1.1; ver fonts/OFL.txt) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/manrope-latin.woff2') format('woff2');
}

/* Cores e fontes do sistema. O site segue o tema do aparelho:
   escuro por padrão e claro com prefers-color-scheme: light. Uma cor de marca só;
   verde, amarelo, laranja e vermelho só para nível de risco, sempre com rótulo. */
:root {
  --background: #0c1614;
  --sidebar: #101c19;
  --card: #13201d;
  --secondary: #1c2c28;
  --accent: #17352f;
  --accent-foreground: #a9e6d9;
  --foreground: #e5eeeb;
  --muted-foreground: #a6b8b3;
  --subtle-foreground: #8ea19c;
  --primary: #4cc1aa;
  --primary-hover: #74d3c0;
  --primary-foreground: #04201a;
  --border: #283a35;
  --input: #3a4f49;
  --grid-line: rgba(76, 193, 170, 0.06);
  --header-bg: rgba(12, 22, 20, 0.85);
  --hover-bg: rgba(229, 238, 235, 0.08);
  --glass-bg: rgba(19, 32, 29, 0.72);
  --shadow: var(--shadow);
  --tabs-bg: rgba(12, 22, 20, 0.88);
  color-scheme: dark;

  --risk-low-bg: #173d26;
  --risk-low-fg: #bdeccb;
  --band-blue-bg: #18324f;
  --band-blue-fg: #c6dcf5;
  --risk-moderate-bg: #3d3210;
  --risk-moderate-fg: #f6dd8f;
  --risk-high-bg: #47260f;
  --risk-high-fg: #fbc89c;
  --risk-critical-bg: #4a1a18;
  --risk-critical-fg: #f8b6b0;

  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-heading: 'Manrope', 'Inter', ui-sans-serif, sans-serif;

  --radius: 10px;
  --radius-card: 28px;
  --max: 1200px;
  --gutter: 20px;
}

* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.num {
  font-variant-numeric: tabular-nums;
}

/* Fundo: grade topográfica quase invisível */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.contours {
  position: absolute;
  right: -120px;
  top: 40px;
  width: 760px;
  opacity: 0.35;
  pointer-events: none;
}

/* Topo */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted-foreground);
}
.nav-links a:hover {
  color: var(--foreground);
}
.nav-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font: 500 15px/1 var(--font-sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background: var(--primary-hover);
}
.btn-ghost {
  border-color: var(--foreground);
  color: var(--foreground);
  font-size: 14px;
  min-height: 40px;
}
.btn-ghost:hover {
  background: var(--hover-bg);
}
.btn-small {
  min-height: 40px;
  font-size: 14px;
  padding: 0 18px;
}

/* Tipografia de marca */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font: 600 12px/1.2 var(--font-sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}
.display {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.mark {
  background-image: linear-gradient(var(--primary), var(--primary));
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 92%;
  padding-bottom: 0.04em;
}
.lead {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.55;
  max-width: 34em;
}
.link {
  color: var(--foreground);
  text-decoration: none;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 0 100%;
  transition: background-size 0.2s;
}
.link:hover {
  background-size: 100% 2px;
}

/* Superfícies */
.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 80px var(--shadow);
}

/* Selos de risco/situação */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font: 500 12px/1.4 var(--font-sans);
  white-space: nowrap;
}
.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.t-low {
  background: var(--risk-low-bg);
  color: var(--risk-low-fg);
}
.t-mod {
  background: var(--risk-moderate-bg);
  color: var(--risk-moderate-fg);
}
.t-high {
  background: var(--risk-high-bg);
  color: var(--risk-high-fg);
}
.t-crit {
  background: var(--risk-critical-bg);
  color: var(--risk-critical-fg);
}
.t-blue {
  background: var(--band-blue-bg);
  color: var(--band-blue-fg);
}

.sample {
  font: 500 11px/1 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle-foreground);
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 112px;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .lead {
  margin-top: 28px;
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--subtle-foreground);
}

.portfolio {
  padding: 28px;
}
.portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.portfolio-head strong {
  font: 700 16px/1.2 var(--font-heading);
}
.company {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--background);
  font-size: 14px;
  color: var(--muted-foreground);
}
.company + .company {
  margin-top: 8px;
}
.company.active {
  border-color: var(--primary);
  color: var(--foreground);
}
.next-action {
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  background: var(--accent);
}
.next-action .label {
  font: 600 11px/1 var(--font-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-foreground);
}
.next-action p {
  margin: 10px 0 14px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--foreground);
}
.icon-badge {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--primary);
}

/* Seções */
section {
  position: relative;
}
.section {
  padding: 112px 0;
}
.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* Faixa de cobertura */
.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.band-quote {
  margin: 0;
  font: 300 clamp(26px, 3vw, 34px) / 1.25 var(--font-heading);
  letter-spacing: -0.025em;
}
.band::after {
  content: '';
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary) 30%,
    var(--primary) 70%,
    transparent
  );
  opacity: 0.8;
}
.modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.modules li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--background);
  font-size: 14px;
  color: var(--muted-foreground);
}
.modules li span {
  color: var(--foreground);
  font-weight: 500;
}

/* Split texto + ilustração */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse .split-art {
  order: -1;
}
.split-copy .lead {
  margin-top: 24px;
}
.checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.checks li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--muted-foreground);
}
.checks li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234cc1aa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
      center / 11px no-repeat,
    var(--accent);
}

.art-frame {
  position: relative;
  padding: 36px;
  overflow: hidden;
  min-height: 440px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.35);
}
.tilt {
  transform: rotate(-3deg);
  width: 100%;
}
.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mini {
  padding: 16px;
  border-radius: 16px;
  background: var(--sidebar);
  border: 1px solid var(--border);
}
.mini-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.mini-top .icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.mini-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
}
.bar {
  height: 6px;
  border-radius: 999px;
  background: var(--secondary);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  opacity: 0.85;
}
.mini-foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--subtle-foreground);
}
.mini.dim {
  opacity: 0.75;
}
.mini.held {
  border-style: dashed;
}

/* Matriz */
.matrix {
  display: grid;
  grid-template-columns: 28px repeat(5, 1fr);
  gap: 6px;
  font-size: 12px;
}
.matrix .cell {
  aspect-ratio: 1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.matrix .cell.sel {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.matrix .axis {
  display: grid;
  place-items: center;
  color: var(--subtle-foreground);
}
.legend {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Trilha */
.steps-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}
.steps {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
}
.step-list {
  margin: 0;
  padding: 8px 0;
  list-style: none;
  counter-reset: s;
}
.step-list li {
  position: relative;
  padding: 0 0 36px 64px;
  counter-increment: s;
}
.step-list li:last-child {
  padding-bottom: 0;
}
.step-list li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--primary);
  color: var(--primary);
  font: 600 13px/1 var(--font-sans);
  background: var(--background);
}
.step-list li::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 42px;
  bottom: 2px;
  width: 1px;
  background: var(--border);
}
.step-list li:last-child::after {
  display: none;
}
.step-list h3 {
  margin: 6px 0 6px;
  font: 700 19px/1.3 var(--font-heading);
  letter-spacing: -0.01em;
}
.step-list p {
  margin: 0;
  font-size: 15px;
  color: var(--muted-foreground);
}
.mode-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mode {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--background);
}
.mode h3 {
  margin: 0 0 6px;
  font: 700 17px/1.3 var(--font-heading);
}
.mode p {
  margin: 0;
  font-size: 14px;
  color: var(--muted-foreground);
}
.mode.on {
  border-color: var(--primary);
}

/* Privacidade */
.privacy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 56px 48px;
}
.facts {
  display: grid;
  gap: 0;
  margin: 0;
}
.facts div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.facts div:first-child {
  border-top: 0;
  padding-top: 0;
}
.facts dt {
  font: 300 34px/1 var(--font-heading);
  letter-spacing: -0.03em;
  color: var(--foreground);
}
.facts dd {
  margin: 0;
  font-size: 15px;
  color: var(--muted-foreground);
}

/* Chamada final */
.final {
  text-align: center;
  padding: 128px 0 112px;
  overflow: hidden;
}
.final .display {
  font-size: clamp(44px, 7vw, 84px);
}
.final .lead {
  margin: 24px auto 0;
}
.final .hero-cta {
  justify-content: center;
}

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 48px;
  font-size: 13px;
  color: var(--subtle-foreground);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.foot ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot a {
  text-decoration: none;
}
.foot a:hover {
  color: var(--foreground);
}

/* Fotos e telas reais */
figure {
  margin: 0;
}
.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--card);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 20, 0) 50%, rgba(12, 22, 20, 0.7));
  pointer-events: none;
}
.sizes:has(.is-empty) {
  grid-template-columns: 1fr;
}
.photo.is-empty {
  display: none;
}
.photo.is-empty img {
  display: none;
}
.shot {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--sidebar);
  overflow: hidden;
  box-shadow: 0 24px 60px var(--shadow);
}
.shot img {
  width: 100%;
  height: auto;
}
.shot-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.shot-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--input);
}
.shot-caption {
  margin: 14px 0 0;
  text-align: right;
}
.hero-art {
  position: relative;
}
.hero-photo {
  aspect-ratio: 16 / 10;
}
.hero-photo img {
  object-position: center 30%;
}
/* A tela entra só sobre o terço de baixo da foto (balcão), longe dos rostos. */
.hero-shot {
  position: relative;
  z-index: 2;
  width: 84%;
  margin: -16% 0 0 -48px;
}
.hero-caption {
  margin: 14px 0 0;
  text-align: right;
}
.sizes {
  display: grid;
  grid-template-columns: 1fr 1fr 260px;
  gap: 20px;
  align-items: stretch;
}
.size-photo {
  min-height: 420px;
}
.size-photo figcaption,
.wide-photo figcaption {
  color: #f4f7f6;
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 24px;
  font: 300 24px/1.3 var(--font-heading);
  letter-spacing: -0.01em;
}
.wide-photo {
  aspect-ratio: 21 / 8;
  margin-bottom: 56px;
}
.wide-photo img {
  object-position: center 40%;
}
.phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 20px 20px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: radial-gradient(120% 70% at 50% 0%, var(--accent), var(--card) 70%);
  overflow: hidden;
}
.device {
  position: relative;
  width: 100%;
  max-width: 214px;
  aspect-ratio: 780 / 1688;
  padding: 8px;
  border-radius: 38px;
  background: #070d0c;
  box-shadow:
    inset 0 0 0 1px #2c403b,
    inset 0 0 0 3px #070d0c,
    inset 0 0 0 4px #1c2c28,
    0 30px 60px rgba(0, 0, 0, 0.55);
}
.device::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 50%;
  width: 64px;
  height: 18px;
  margin-left: -32px;
  border-radius: 999px;
  background: #070d0c;
}
.device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 30px;
}
.phone figcaption {
  max-width: 214px;
  text-align: center;
  line-height: 1.5;
}

/* Movimento: parallax e entrada suave (só com JS e sem "reduzir movimento") */
.photo img {
  transform-origin: center;
}
html.motion .photo img {
  transform: scale(1.14);
}
html.motion [data-parallax] {
  will-change: transform;
}
html.motion .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0s);
}
html.motion .reveal.in {
  opacity: 1;
  transform: none;
}

/* Responsivo */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .hero-grid,
  .split,
  .steps-head,
  .steps,
  .band,
  .privacy {
    grid-template-columns: 1fr;
  }
  .sizes {
    grid-template-columns: 1fr;
  }
  .size-photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .wide-photo {
    aspect-ratio: 16 / 10;
    margin-bottom: 40px;
  }
  .hero-shot {
    width: 92%;
    margin: -12% 0 0 auto;
    right: -8px;
  }
  .hero-art {
    margin-top: 16px;
  }
  .split.reverse .split-art {
    order: 0;
  }
  .hero {
    padding: 48px 0 80px;
  }
  .section {
    padding: 80px 0;
  }
  .split,
  .steps-head {
    gap: 40px;
  }
  .band,
  .privacy {
    padding: 32px 24px;
  }
  .band::after {
    left: 24px;
    right: 24px;
  }
}
@media (max-width: 560px) {
  :root {
    --gutter: 16px;
    --radius-card: 22px;
  }
  .nav-actions .btn-ghost {
    display: none;
  }
  .portfolio,
  .art-frame,
  .mode-card {
    padding: 20px;
  }
  .art-frame {
    min-height: 0;
  }
  .modules,
  .mini-grid {
    grid-template-columns: 1fr;
  }
  .facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .lead {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Site institucional: peças comuns ---------- */
.nav-links a[aria-current='page'] {
  color: var(--foreground);
}
.nav-links a[aria-current='page']::after {
  content: '';
  display: block;
  height: 2px;
  margin-top: 4px;
  border-radius: 2px;
  background: var(--primary);
}
.menu {
  display: none;
  position: relative;
}
.menu summary {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu ul {
  position: absolute;
  right: 0;
  top: 52px;
  z-index: 30;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--sidebar);
  box-shadow: 0 24px 60px var(--shadow);
}
.menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted-foreground);
}
.menu a:hover,
.menu a[aria-current='page'] {
  background: var(--accent);
  color: var(--accent-foreground);
}

.page-head {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--border);
}
.page-head .display {
  max-width: 16ch;
  font-size: clamp(44px, 6vw, 76px);
}
.page-head .lead {
  max-width: 62ch;
  margin-top: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards.two {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--card);
}
.card h3 {
  margin: 4px 0 0;
  font: 400 22px/1.25 var(--font-heading);
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.card .link {
  margin-top: auto;
  padding-top: 8px;
}
a.card {
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
a.card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head .lead {
  margin-top: 20px;
}

/* Comparação das telas: claro e escuro */
.compare input:focus-visible + .compare-handle {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.compare {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px var(--shadow);
  --pos: 50%;
}
.compare img {
  display: block;
  width: 100%;
  height: auto;
}
.compare .compare-top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}
.compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--primary);
  pointer-events: none;
}
.compare-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--background);
}
.compare-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}
.theme-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

/* Planos */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--card);
}
.plan h3 {
  margin: 0;
  font: 400 22px/1.2 var(--font-heading);
}
.price {
  margin: 6px 0 0;
  font: 300 40px/1 var(--font-heading);
  letter-spacing: -0.02em;
}
.price small {
  font: 400 14px/1 var(--font-body);
  color: var(--subtle-foreground);
  letter-spacing: 0;
}
.plan p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.55;
}
.plan .btn {
  margin-top: auto;
  justify-content: center;
}
.plans-group + .plans-group {
  margin-top: 64px;
}
.plans-group > h2 {
  margin: 0 0 8px;
  font: 400 28px/1.2 var(--font-heading);
}
.plans-group > p {
  margin: 0 0 24px;
  color: var(--muted-foreground);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.module-grid .card {
  padding: 24px;
}
.module-grid h3 {
  font-size: 19px;
}

.foot {
  flex-wrap: wrap;
  row-gap: 20px;
}

@media (max-width: 960px) {
  .menu {
    display: block;
  }
  .cards,
  .cards.two,
  .module-grid {
    grid-template-columns: 1fr;
  }
  .page-head {
    padding: 56px 0 48px;
  }
}
@media (min-width: 561px) and (max-width: 960px) {
  .module-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.logo,
.nav-links a {
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }
  .menu {
    display: block;
  }
}
.menu a {
  text-decoration: none;
}
.price small {
  font-size: 14px;
  font-family: var(--font-body);
}
@media (max-width: 560px) {
  .nav {
    gap: 12px;
  }
  .nav-actions .btn-small {
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 400px) {
  .nav-actions .btn-small {
    display: none;
  }
}
.foot ul {
  flex-wrap: wrap;
  row-gap: 10px;
}

/* Atalhos para os módulos */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.chips a {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  font-size: 14px;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.chips a:hover {
  border-color: var(--primary);
  color: var(--foreground);
}
section[id] {
  scroll-margin-top: 96px;
}

/* Abas por público */
.tabs {
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: 14px 0;
  background: var(--tabs-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.tablist {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tablist button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  font: 500 15px/1 var(--font-body);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.tablist button[aria-selected='true'] {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--accent-foreground);
}
.tablist button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.tabpanel[hidden] {
  display: none;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child {
  border-bottom: 0;
}
.feature-row h3 {
  margin: 0 0 12px;
  font: 300 clamp(26px, 3vw, 34px)/1.15 var(--font-heading);
  letter-spacing: -0.01em;
}
.feature-row p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.65;
}
.feature-row.phone-row {
  grid-template-columns: 1fr 1fr;
}

/* Etapas com tela */
.walk {
  counter-reset: etapa;
}
.walk .feature-row h3::before {
  counter-increment: etapa;
  content: counter(etapa, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--primary);
  font: 500 13px/1 var(--font-body);
  letter-spacing: 0.14em;
}

/* Ilustração de segurança */
.vault {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 440px;
  margin-inline: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: radial-gradient(70% 70% at 50% 40%, var(--accent), var(--card) 75%);
  overflow: hidden;
}
.vault svg {
  width: 78%;
  height: auto;
}

/* Contato */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--card);
}
.contact-card .icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}
.contact-card h2 {
  margin: 0;
  font: 400 26px/1.2 var(--font-heading);
}
.contact-card p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}
.contact-card .value {
  font: 300 22px/1.3 var(--font-heading);
  color: var(--foreground);
  word-break: break-word;
}
.contact-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 960px) {
  .feature-row,
  .feature-row.phone-row,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0;
  }
  .tabs {
    top: 64px;
  }
}

/* Claro ou escuro, discreto no fim de "O sistema" */
.theme-mini {
  max-width: 880px;
}
.theme-mini .h2 {
  font-size: clamp(26px, 3vw, 34px);
}
.theme-mini .section-head {
  margin-bottom: 28px;
}

/* ---------- Tema claro, quando o aparelho estiver no claro ---------- */
@media (prefers-color-scheme: light) {
  :root {
    --background: #f4f7f6;
    --sidebar: #ffffff;
    --card: #ffffff;
    --secondary: #eaf0ee;
    --accent: #dcefea;
    --accent-foreground: #084f44;
    --foreground: #10201d;
    --muted-foreground: #465753;
    --subtle-foreground: #5f706c;
    --primary: #0b6b5c;
    --primary-hover: #084f44;
    --primary-foreground: #ffffff;
    --border: #d7dfdc;
    --input: #b3c0bc;

    --risk-low-bg: #dff3e5;
    --risk-low-fg: #14532d;
    --risk-moderate-bg: #fdf0c8;
    --risk-moderate-fg: #6b4a00;
    --risk-high-bg: #fcdcc0;
    --risk-high-fg: #7a3305;
    --risk-critical-bg: #f8cfcb;
    --risk-critical-fg: #7f1d1d;

    --grid-line: rgba(11, 107, 92, 0.07);
    --header-bg: rgba(244, 247, 246, 0.88);
    --hover-bg: rgba(16, 32, 29, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.78);
    --shadow: rgba(16, 32, 29, 0.14);
    --tabs-bg: rgba(244, 247, 246, 0.9);
    color-scheme: light;
  }
}

picture {
  display: block;
}

/* Logo da marca: a mesma imagem do sistema, uma por tema */
.logo img {
  display: block;
  width: auto;
}

/* Palavra-chave da página dentro do h1, com o visual do rótulo */
.display > .eyebrow {
  display: flex;
  width: fit-content;
  letter-spacing: 0.3em;
}

/* Perguntas frequentes */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--card);
  padding: 0 24px;
}
.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font: 700 18px/1.35 var(--font-heading);
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  float: right;
  color: var(--primary);
  font-weight: 400;
}
.faq[open] summary::after {
  content: '−';
}
.faq p {
  margin: 0 0 20px;
  color: var(--muted-foreground);
  line-height: 1.65;
}
.faq-fonte {
  margin-top: 16px;
  color: var(--subtle-foreground);
  font-size: 14px;
}
