/* =========================================================
   NuvSolutions — folha de estilo única
   Paleta derivada do logo: azul #2990CF e cinza-azulado #738B9D
   ========================================================= */

:root {
  --brand-200: #a6d4f1;
  --brand-300: #74bce8;
  --brand-400: #4ba6dd;
  --brand-500: #2990cf;
  --brand-600: #1f74ab;

  --steel-200: #c7d0d9;
  --steel-300: #a7b5c1;
  --steel-400: #8b9dad;
  --steel-500: #738b9d;
  --steel-600: #5c7181;

  --ink-950: #070e18;
  --ink-900: #0a1524;
  --ink-800: #0f1d2e;
  --ink-600: #1f364e;

  --foam: #e6edf3;
  --muted: #9fb0c0;
  --glow: #5cbcf0;

  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.1);
  --surface: rgba(255, 255, 255, 0.025);
  --surface-hover: rgba(255, 255, 255, 0.045);

  --header-h: 72px;
  --max-w: 1180px;
  --gutter: 20px;

  --shadow-glow: 0 0 40px -12px rgba(41, 144, 207, 0.55);
  --shadow-glow-lg: 0 0 80px -20px rgba(41, 144, 207, 0.65);
  --shadow-card: 0 18px 48px -24px rgba(0, 0, 0, 0.8);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;

  color-scheme: dark;
}

/* ---------------- base ---------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--ink-950);
  /* Camadas de profundidade fixas: o conteúdo rola por cima delas */
  background-image:
    radial-gradient(60rem 40rem at 50% -10%, rgba(41, 144, 207, 0.16), transparent 70%),
    radial-gradient(45rem 35rem at 100% 15%, rgba(92, 188, 240, 0.07), transparent 70%),
    radial-gradient(40rem 40rem at 0% 60%, rgba(115, 139, 157, 0.07), transparent 70%);
  background-attachment: fixed;
  color: var(--foam);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip (e não hidden) evita barra horizontal dos elementos decorativos
     sem criar um contexto de rolagem novo */
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: rgba(41, 144, 207, 0.4);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink-950);
}
::-webkit-scrollbar-thumb {
  background: var(--ink-600);
  border: 2px solid var(--ink-950);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a5b69;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 60;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  position: fixed;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--brand-500);
  color: var(--ink-950);
  font-weight: 600;
}

/* ---------------- animação de entrada ---------------- */

/* Só esconde se o JS estiver ativo — sem script, tudo aparece normalmente */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.js .reveal.visivel {
  opacity: 1;
  transform: none;
}
.js .reveal[data-delay='1'] {
  transition-delay: 0.07s;
}
.js .reveal[data-delay='2'] {
  transition-delay: 0.15s;
}
.js .reveal[data-delay='3'] {
  transition-delay: 0.23s;
}
.js .reveal[data-delay='4'] {
  transition-delay: 0.32s;
}

/* ---------------- botões ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.btn-primary {
  background: var(--brand-500);
  color: var(--ink-950);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--brand-400);
  box-shadow: var(--shadow-glow-lg);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--foam);
}
.btn-ghost:hover {
  border-color: rgba(41, 144, 207, 0.45);
  background: rgba(255, 255, 255, 0.07);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  box-shadow: none;
}
.btn-sm:hover {
  box-shadow: none;
}

.btn-lg {
  padding: 1rem 2rem;
}

.btn .icon {
  transition: transform 0.25s ease;
}
.btn:hover .icon {
  transform: translateX(2px);
}
.btn-lg:hover .icon {
  transform: translateY(-2px);
}

/* ---------------- cabeçalho ---------------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.site-header.rolado,
.site-header.aberto {
  background: rgba(7, 14, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.logo-mark {
  height: 2rem;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(41, 144, 207, 0.35));
}
.logo-mark.sm {
  height: 1.75rem;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-text.sm {
  font-size: 1rem;
}
.logo-nuv {
  color: var(--brand-400);
}
.logo-sol {
  color: var(--steel-300);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-desktop a {
  position: relative;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s ease;
}
.nav-desktop a:hover {
  color: var(--foam);
}
.nav-desktop a[aria-current='true'] {
  color: var(--foam);
}
.nav-desktop a[aria-current='true']::after {
  content: '';
  position: absolute;
  inset-inline: 0.875rem;
  bottom: -2px;
  height: 1px;
  background: var(--brand-400);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-header {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--foam);
  transition: background-color 0.25s ease;
}
.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}
.menu-toggle .icon-close {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-menu {
  display: none;
}
.menu-toggle[aria-expanded='true'] .icon-close {
  display: block;
}

/* Painel ocupa o resto da tela: nada do conteúdo aparece pela metade atrás dele */
.menu-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 45;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--ink-950);
  border-top: 1px solid var(--line);
  animation: desce 0.25s var(--ease);
}
.menu-mobile[hidden] {
  display: none;
}
.menu-mobile nav {
  display: flex;
  flex-direction: column;
  padding-block: 1rem;
}
.menu-mobile nav > a {
  padding: 0.875rem 0.5rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(230, 237, 243, 0.9);
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}
.menu-mobile nav > a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--foam);
}
.menu-mobile-cta {
  margin-top: 0.75rem;
  padding-block: 0.75rem;
  font-size: 0.875rem;
}

@keyframes desce {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -30;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(115, 139, 157, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 139, 157, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -20;
  width: 100%;
  height: 100%;
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: -18%;
  z-index: -20;
  width: min(46rem, 140vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 144, 207, 0.2), transparent 62%);
  filter: blur(64px);
}

.hero-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -10;
  width: min(44rem, 130vw);
  max-width: none;
  transform: translate(-50%, -58%);
  opacity: 0.045;
  filter: blur(2px);
  pointer-events: none;
}

.hero-fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: -10;
  height: 10rem;
  background: linear-gradient(to top, var(--ink-950), transparent);
}

.hero-content {
  position: relative;
  padding-block: 5rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(41, 144, 207, 0.25);
  border-radius: 999px;
  background: rgba(41, 144, 207, 0.07);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-300);
  line-height: 1.4;
}
.icon-sparkle {
  width: 0.875rem;
  height: 0.875rem;
}

.hero h1 {
  margin-top: 1.75rem;
  margin-inline: auto;
  max-width: 56rem;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
}

.text-gradient {
  background-image: linear-gradient(100deg, #e6edf3 0%, #74bce8 45%, #2990cf 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.br-desktop {
  display: none;
}

.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero-ctas .btn {
  width: 100%;
}

.hero-proof {
  margin: 3.5rem auto 0;
  max-width: 42rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-size: 0.875rem;
  color: var(--steel-400);
}
.hero-proof li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
}

/* ---------------- seções ---------------- */

.section {
  position: relative;
  padding-block: 6rem;
  scroll-margin-top: var(--header-h);
}
.hero {
  scroll-margin-top: 0;
}

.section-line::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.section-head {
  max-width: 42rem;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2,
.section-sobre h2 {
  margin-top: 1.25rem;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
}
.section-desc {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--muted);
}

/* ---------------- sobre ---------------- */

.section-sobre {
  overflow: hidden;
}

.sobre-grid {
  display: grid;
  gap: 3.5rem;
}

.prose {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--muted);
}

.sobre-card-wrap {
  position: relative;
}
.sobre-card-glow {
  position: absolute;
  inset: -2rem;
  z-index: -1;
  border-radius: 2.5rem;
  background: radial-gradient(circle at 30% 20%, rgba(41, 144, 207, 0.16), transparent 65%);
  filter: blur(32px);
}

.glass {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sobre-card {
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
.sobre-card-mark {
  margin: 0 auto 2rem;
  height: 6rem;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 28px rgba(41, 144, 207, 0.3));
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pillars li {
  display: flex;
  gap: 1rem;
}
.pillars h3 {
  font-size: 1rem;
  font-weight: 600;
}
.pillars p {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border: 1px solid rgba(41, 144, 207, 0.25);
  border-radius: 12px;
  background: rgba(41, 144, 207, 0.1);
  color: var(--brand-300);
}
.icon-box.lg {
  width: 3rem;
  height: 3rem;
  margin-top: 0;
  border-radius: 14px;
}
.icon-box.lg .icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* ---------------- serviços ---------------- */

.cards {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.25rem;
}

.card {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--surface-hover);
  box-shadow: var(--shadow-card);
}

/* Borda em gradiente por máscara: mantém o fundo do card translúcido */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(41, 144, 207, 0.9), rgba(92, 188, 240, 0.5) 45%, rgba(115, 139, 157, 0.25));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover::before,
.card:focus-within::before {
  opacity: 1;
}

.card-glow {
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: rgba(41, 144, 207, 0.1);
  filter: blur(32px);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.card:hover .card-glow {
  opacity: 1;
}

.card .icon-box,
.card h3,
.card p {
  position: relative;
}
.card h3 {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.card:hover .icon-box {
  border-color: rgba(75, 166, 221, 0.5);
  color: var(--brand-200);
}

/* ---------------- como trabalhamos ---------------- */

.timeline {
  position: relative;
  margin-top: 4rem;
  display: grid;
  gap: 3rem;
}
.timeline li {
  position: relative;
  padding-left: 5rem;
}
.timeline-rail {
  position: absolute;
  left: 27px;
  top: 0.5rem;
  width: 1px;
  height: calc(100% - 1rem);
  background: linear-gradient(to bottom, rgba(41, 144, 207, 0.6), rgba(41, 144, 207, 0.2), transparent);
}

.step-box {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(41, 144, 207, 0.3);
  border-radius: 16px;
  background: var(--ink-900);
  color: var(--brand-300);
  box-shadow: var(--shadow-glow);
}
.step-box .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(41, 144, 207, 0.7);
}
.timeline h3 {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}
.timeline li > p:last-child {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------------- contato ---------------- */

.section-contato {
  overflow: hidden;
}
.contato-glow {
  position: absolute;
  left: 50%;
  top: 33%;
  z-index: -1;
  width: min(32rem, 120vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 144, 207, 0.14), transparent 65%);
  filter: blur(64px);
}

.contato-acao {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contato-acao .btn {
  width: 100%;
  max-width: 24rem;
}
.contato-alt {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}
.contato-alt a {
  font-weight: 500;
  color: var(--brand-300);
  text-decoration: underline;
  text-decoration-color: rgba(41, 144, 207, 0.4);
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.contato-alt a:hover {
  color: var(--brand-200);
  text-decoration-color: var(--brand-400);
}

/* ---------------- rodapé ---------------- */

.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: rgba(7, 14, 24, 0.6);
  padding-block: 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.footer-about {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--steel-400);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--foam);
}
.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-mail .icon {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--steel-500);
}
.btn-topo {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  transition:
    border-color 0.25s ease,
    color 0.25s ease;
}
.btn-topo:hover {
  border-color: rgba(41, 144, 207, 0.4);
  color: var(--foam);
}
.btn-topo .icon {
  width: 0.875rem;
  height: 0.875rem;
}

/* =========================================================
   Breakpoints
   ========================================================= */

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }

  .logo-mark {
    height: 2.25rem;
  }
  .btn-header {
    display: inline-flex;
  }

  .hero-content {
    padding-block: 6rem;
  }
  .br-desktop {
    display: block;
  }
  .hero-sub {
    font-size: 1.25rem;
  }
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
  .hero-ctas .btn {
    width: auto;
  }

  .section {
    padding-block: 8rem;
  }
  .section-desc,
  .prose {
    font-size: 1.125rem;
  }

  .sobre-card {
    padding: 2.25rem;
  }
  .sobre-card-mark {
    height: 7rem;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contato-acao .btn {
    width: auto;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .btn-topo {
    align-self: auto;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .menu-mobile {
    display: none !important;
  }

  .sobre-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 5rem;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  /* No desktop a linha do tempo deita: trilho horizontal e ícone acima do texto */
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 2rem;
    row-gap: 3rem;
  }
  .timeline li {
    padding-left: 0;
  }
  .timeline-rail {
    left: 0;
    top: 27px;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(41, 144, 207, 0.6), rgba(41, 144, 207, 0.2), transparent);
  }
  .step-box {
    position: relative;
  }
  .step-num {
    margin-top: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* =========================================================
   Movimento reduzido: nada se move, tudo continua legível
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
