/* ==========================================================================
   Motion Technology — Design System
   Cores da marca: navy #000120 · ciano #1BD9EF · verde-limão #92FB08
   Site estático, sem dependências externas. Tema dark tecnológico.
   ========================================================================== */

/* ----- Variáveis ----- */
:root {
  --navy-900: #000120;
  --navy-850: #03051d;
  --navy-800: #060a26;
  --navy-700: #0a1030;
  --navy-600: #111a3f;
  --navy-500: #1a2350;

  --cyan: #1bd9ef;
  --cyan-soft: #6fe8f6;
  --lime: #92fb08;
  --lime-soft: #b6fd5a;

  --white: #ffffff;
  --text: #e9ecf8;
  --muted: #a3abc9;
  --muted-2: #7c84a6;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--lime) 100%);
  --grad-soft: linear-gradient(120deg, rgba(27,217,239,.16), rgba(146,251,8,.16));
  --wa: #25d366;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 0 1px rgba(27,217,239,.35), 0 22px 60px -25px rgba(27,217,239,.45);

  --container: 1180px;
  --header-h: 76px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font);
  background-color: var(--navy-900);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
/* Glows + grade sutil de fundo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 480px at 12% -8%, rgba(27,217,239,.13), transparent 60%),
    radial-gradient(680px 520px at 100% 8%, rgba(146,251,8,.10), transparent 55%),
    radial-gradient(900px 700px at 50% 120%, rgba(27,217,239,.08), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ----- Correção de overflow horizontal / quebra de texto (mobile) ----- */
h1, h2, h3, h4, p, a, li, .lead, .nav-link, .card-link, .footer-col a, .contact-item a { overflow-wrap: break-word; }
.hero-grid > *, .split > *, .contact-grid > *, .footer-grid > *, .grid > * { min-width: 0; }
.dash, .media-card { max-width: 100%; }
.dash pre { max-width: 100%; overflow-x: auto; }

/* ----- Tipografia ----- */
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
h1 { font-size: clamp(2.15rem, 1.3rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.15rem + 2.3vw, 2.7rem); }
h3 { font-size: clamp(1.18rem, 1rem + 0.7vw, 1.45rem); letter-spacing: -0.01em; }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 700; }
.text-grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.4rem; }
.section { padding-block: clamp(3.6rem, 2rem + 7vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.6rem, 1.5rem + 4vw, 4.5rem); }
.section--alt { background:
    linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.015)),
    var(--navy-850); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; font-size: 1.075rem; }
.lead { font-size: clamp(1.05rem, .98rem + .5vw, 1.28rem); color: var(--muted); }

/* ----- Botões ----- */
.btn {
  --bg: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .98rem; letter-spacing: .005em;
  padding: .85rem 1.5rem; border-radius: 999px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background-image: var(--grad); color: #021018; box-shadow: 0 14px 34px -16px rgba(27,217,239,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px rgba(146,251,8,.6); filter: saturate(1.08); }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--text); border: 1.5px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-whatsapp { background: var(--wa); color: #04220f; box-shadow: 0 14px 34px -16px rgba(37,211,102,.7); }
.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 20px 44px -16px rgba(37,211,102,.7); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ----- Header / Nav ----- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(3, 5, 22, 0.82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand img { height: 48px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-size: 1.12rem; font-weight: 800; letter-spacing: .02em; color: var(--white); }
.brand-name span { font-size: .62rem; font-weight: 700; letter-spacing: .34em; color: var(--cyan); text-transform: uppercase; margin-top: 3px; }

.primary-nav { display: flex; align-items: center; gap: 1.4rem; }
.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .7rem; border-radius: 10px; font-weight: 600; font-size: .94rem; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.04); }
.nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .15rem; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-list li { position: relative; }

/* Dropdown Acessos (estilo app launcher) */
.has-dropdown { position: relative; }
.dropdown-toggle .chev { width: 14px; height: 14px; transition: transform .25s; }
.has-dropdown.open .dropdown-toggle .chev { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute; top: calc(100% + 14px); right: 0; width: 340px;
  background: var(--navy-800); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .7rem; display: grid; gap: .3rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--ease);
}
.dropdown-panel::before {
  content: "Acessos rápidos"; display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 700; padding: .5rem .6rem .35rem;
}
.has-dropdown.open .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.app-tile { display: flex; align-items: center; gap: .85rem; padding: .7rem .6rem; border-radius: 12px; transition: background .2s; }
.app-tile:hover { background: rgba(255,255,255,.05); }
.app-tile .ico {
  width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line); color: var(--cyan);
}
.app-tile .ico svg { width: 21px; height: 21px; }
.app-tile b { display: block; color: var(--white); font-size: .92rem; font-weight: 700; }
.app-tile small { color: var(--muted); font-size: .78rem; }
.app-tile .ext { margin-left: auto; color: var(--muted-2); width: 15px; height: 15px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); }
.nav-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s var(--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); }

/* ----- Hero ----- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(3rem, 6vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.3rem; }
.hero .lead { margin-bottom: 2rem; max-width: 36ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.tag {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; color: var(--muted);
  padding: .42rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02);
}
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* Visual do hero (mockup de dashboard em CSS/SVG) */
.hero-visual { position: relative; }
.dash {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-850));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 1.1rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.dash::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 200px at 80% -10%, rgba(27,217,239,.18), transparent 60%); pointer-events: none; }
.dash-top { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.dash-top .d { width: 11px; height: 11px; border-radius: 50%; background: var(--navy-500); }
.dash-top .d:nth-child(1){ background:#ff5f57;} .dash-top .d:nth-child(2){ background:#febc2e;} .dash-top .d:nth-child(3){ background:#28c840;}
.dash-top small { margin-left: auto; color: var(--muted-2); font-size: .74rem; letter-spacing: .04em; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: .9rem; }
.kpi { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: .8rem; }
.kpi span { font-size: .72rem; color: var(--muted-2); display: block; }
.kpi b { font-size: 1.4rem; color: var(--white); font-weight: 800; letter-spacing: -.02em; }
.kpi b i { font-style: normal; font-size: .8rem; color: var(--lime); margin-left: 3px; }
.dash-chart { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; }
.dash-chart .label { display: flex; justify-content: space-between; color: var(--muted-2); font-size: .74rem; margin-bottom: .7rem; }
.bars { display: flex; align-items: flex-end; gap: .5rem; height: 110px; }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--cyan), rgba(27,217,239,.15)); opacity: .9; animation: grow 1.1s var(--ease) both; }
.bars i:nth-child(even) { background: linear-gradient(180deg, var(--lime), rgba(146,251,8,.12)); }
@keyframes grow { from { height: 0; opacity: 0; } }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; }
.hero-orb.a { width: 240px; height: 240px; background: rgba(27,217,239,.4); top: -40px; right: -30px; }
.hero-orb.b { width: 200px; height: 200px; background: rgba(146,251,8,.28); bottom: -30px; left: -20px; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ----- Grid de cards ----- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: rgba(27,217,239,.5); box-shadow: var(--shadow-glow); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--cyan);
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .96rem; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; color: var(--cyan); font-weight: 700; font-size: .92rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card-link svg { transform: translateX(4px); }
.card--feature .ico { color: var(--lime); }

/* Lista de checks */
.checks { display: grid; gap: .85rem; margin-top: .4rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--lime); margin-top: 2px; }
.checks li b { color: var(--white); }
.checks li span { color: var(--muted); display: block; font-size: .92rem; }

/* Split (texto + visual) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split.reverse .split-media { order: -1; }
.media-card {
  background: linear-gradient(160deg, var(--navy-700), var(--navy-850));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow);
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.2rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.stat b { display: block; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .9rem; }

/* Process steps */
.steps { counter-reset: s; display: grid; gap: 1.1rem; }
.step { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); transition: border-color .3s, transform .3s; }
.step:hover { border-color: rgba(27,217,239,.4); transform: translateX(4px); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-weight: 800; font-size: 1.1rem; color: #021018; background: var(--grad); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.step h3 { margin-bottom: .3rem; font-size: 1.12rem; }
.step p { font-size: .94rem; }

/* Faixa CTA */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(2.2rem, 1.2rem + 4vw, 4rem); overflow: hidden;
  background: linear-gradient(135deg, rgba(27,217,239,.16), rgba(146,251,8,.12)), var(--navy-800);
  border: 1px solid var(--line-strong); text-align: center; }
.cta-band::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(27,217,239,.25); filter: blur(80px); top: -120px; left: -80px; }
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(146,251,8,.2); filter: blur(80px); bottom: -140px; right: -80px; }
.cta-band > * { position: relative; }
.cta-band h2 { margin-bottom: .8rem; }
.cta-band p { max-width: 56ch; margin: 0 auto 1.8rem; font-size: 1.08rem; }
.cta-band .btn-row { justify-content: center; }

/* Pills/parceiros */
.tech-strip { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: center; justify-content: center; }
.tech-pill { font-weight: 700; letter-spacing: .02em; color: var(--muted); padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); transition: color .2s, border-color .2s; }
.tech-pill:hover { color: var(--white); border-color: var(--line-strong); }

/* ----- Página: faixa de destaque inicial das páginas internas ----- */
.page-hero { padding-top: calc(var(--header-h) + clamp(2.4rem, 5vw, 4rem)); padding-bottom: clamp(1.5rem, 3vw, 2.6rem); }
.page-hero .crumb { color: var(--muted-2); font-size: .85rem; margin-bottom: 1rem; }
.page-hero .crumb a:hover { color: var(--cyan); }
.page-hero h1 { max-width: 16ch; }
.page-hero p { max-width: 60ch; margin-top: 1.1rem; font-size: 1.1rem; }

/* ----- App grid (página Acessos) ----- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.app-card { display: flex; flex-direction: column; gap: .2rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.app-card:hover { transform: translateY(-5px); border-color: rgba(27,217,239,.5); box-shadow: var(--shadow-glow); }
.app-card .ico { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 1rem; background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--cyan); }
.app-card .ico svg { width: 28px; height: 28px; }
.app-card h3 { margin-bottom: .4rem; }
.app-card p { font-size: .94rem; flex: 1; }
.app-card .badge { align-self: flex-start; margin-bottom: .6rem; }
.badge { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); background: rgba(146,251,8,.1); border: 1px solid rgba(146,251,8,.3); padding: .25rem .6rem; border-radius: 999px; }
.badge.cyan { color: var(--cyan); background: rgba(27,217,239,.1); border-color: rgba(27,217,239,.3); }

/* ----- Formulário / contato ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--text); margin-bottom: .45rem; }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; color: var(--white);
  background: rgba(255,255,255,.03); border: 1px solid var(--line-strong); transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(27,217,239,.18); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--muted-2); margin-top: .4rem; }

.contact-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.contact-list { display: grid; gap: 1.1rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-item .ico { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line); color: var(--cyan); }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item b { color: var(--white); display: block; font-size: .95rem; }
.contact-item a, .contact-item span { color: var(--muted); font-size: .95rem; word-break: break-word; }
.contact-item a:hover { color: var(--cyan); }

/* ----- Conteúdo legal (privacidade) ----- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin: 2.4rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: .9rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose ul li { margin-bottom: .5rem; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

/* ----- Footer ----- */
.site-footer { border-top: 1px solid var(--line); background: var(--navy-850); padding-block: clamp(2.8rem, 2rem + 3vw, 4rem) 1.6rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; }
.footer-brand img { height: 58px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 30ch; }
.footer-col h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); transition: .2s; }
.footer-social a:hover { color: var(--white); border-color: var(--cyan); transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: .85rem; color: var(--muted-2); }
.footer-bottom .links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom .links a { font-size: .85rem; color: var(--muted-2); }
.footer-bottom .links a:hover { color: var(--cyan); }

/* ----- Animações reveal ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ----- Skip link ----- */
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 200; background: var(--cyan); color: #021018; padding: .7rem 1.1rem; border-radius: 0 0 10px 0; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 0; left: 0; }

/* ====== Responsivo ====== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(3,5,22,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line); padding: .5rem .9rem 1rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .28s var(--ease);
  }
  .primary-nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .1rem; width: 100%; }
  .nav-link { padding: .68rem .55rem; font-size: .98rem; border-radius: 10px; }
  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--cyan); }
  .nav-cta { margin-top: .7rem; padding-block: .8rem; font-size: 1rem; }
  .nav-list { gap: .05rem; }
  .brand img { height: 42px; }
  .has-dropdown { width: 100%; }
  .dropdown-toggle { width: 100%; justify-content: space-between; }
  .dropdown-panel { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(255,255,255,.025); margin-top: .2rem; padding: .3rem; display: none; }
  .dropdown-panel::before { padding: .4rem .5rem .25rem; }
  .app-tile { padding: .55rem .5rem; gap: .65rem; }
  .app-tile .ico { width: 36px; height: 36px; }
  .app-tile .ico svg { width: 18px; height: 18px; }
  .has-dropdown.open .dropdown-panel { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .dash pre { white-space: pre-wrap; word-break: break-word; }
  .container { padding-inline: 1.15rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .dropdown-panel { width: 100%; }
}

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