/* ==========================================================================
   G3 Prime — Sistema Comercial
   ========================================================================== */

:root {
  /* Paleta herdada do site original */
  --navy: #0e4a6d;
  --navy-700: #0b3d5a;
  --navy-900: #072a40;
  --navy-950: #041b2a;
  --blue: #2a698e;
  --sky: #3ea0d8;
  --sky-300: #8ccbee;
  --sky-100: #e3f2fb;

  --ink: #0d2230;
  --text: #344856;
  --muted: #5d7181;
  --line: #dce6ed;
  --surface: #f2f6f9;
  --white: #fff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(7 42 64 / .06), 0 2px 8px rgb(7 42 64 / .05);
  --shadow: 0 2px 4px rgb(7 42 64 / .05), 0 12px 32px rgb(7 42 64 / .10);
  --shadow-lg: 0 24px 60px rgb(4 27 42 / .28);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 92px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--blue); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--white); color: var(--navy); font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px;
  padding: .7em 1.35em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 .95rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }

.btn-primary { background: var(--white); color: var(--navy); box-shadow: 0 6px 18px rgb(4 27 42 / .2); }
.btn-primary:hover { background: var(--sky-100); color: var(--navy-900); }

.btn-ghost { border-color: rgb(255 255 255 / .55); color: var(--white); }
.btn-ghost:hover { background: rgb(255 255 255 / .12); border-color: var(--white); color: var(--white); }

.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: var(--navy-900); color: var(--white); }

.btn-outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

/* Topbar ---------------------------------------------------------------- */
.topbar {
  background: var(--navy-950);
  color: rgb(255 255 255 / .78);
  font-size: .8125rem;
}
.topbar .container {
  display: flex; align-items: center; justify-content: center;
  gap: 8px 28px; flex-wrap: wrap;
  min-height: 38px; padding-block: 6px;
}
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 14px; height: 14px; color: var(--sky-300); }

/* Header (fundo de cidade original) ------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy) url("../img/bg_topo.jpg") center bottom / cover no-repeat;
  border-bottom: 1px solid rgb(255 255 255 / .08);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgb(4 27 42 / .35); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { width: auto; height: 58px; filter: drop-shadow(0 4px 10px rgb(4 27 42 / .45)); transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img { height: 50px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 26px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  position: relative;
  display: block; padding: 8px 0;
  color: var(--white);
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 6px rgb(4 27 42 / .6);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--white);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; gap: 10px; }
.nav-actions .btn { min-height: 40px; padding: .55em 1.1em; font-size: .85rem; }
.nav-actions .btn-ghost { background: rgb(4 27 42 / .35); backdrop-filter: blur(6px); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px; padding: 0;
  border: 1.5px solid rgb(255 255 255 / .45); border-radius: 12px;
  background: rgb(4 27 42 / .35); color: var(--white);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .brand img, .site-header.is-scrolled .brand img { height: 44px; }
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--navy-900);
    box-shadow: 0 20px 40px rgb(4 27 42 / .4);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 14px 4px; font-size: .95rem; border-bottom: 1px solid rgb(255 255 255 / .08); }
  .nav-links a::after { display: none; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { min-height: 48px; font-size: .95rem; }
}

@media (max-width: 720px) {
  .topbar .hide-sm { display: none; }
}

/* Hero (vídeo original) ------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
}
.hero video {
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: min(80vh, 760px);
  object-fit: cover;
  background: var(--navy) url("../img/video-poster.jpg") center / cover;
}
.video-toggle {
  position: absolute; right: var(--gutter); bottom: 18px; z-index: 2;
  display: grid; place-items: center;
  width: 42px; height: 42px; padding: 0;
  border: 1px solid rgb(255 255 255 / .4); border-radius: 50%;
  background: rgb(4 27 42 / .45); color: var(--white);
  backdrop-filter: blur(6px);
  cursor: pointer; transition: background-color .2s;
}
.video-toggle:hover { background: rgb(4 27 42 / .7); }
.video-toggle .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }

/* Intro band ------------------------------------------------------------ */
.intro {
  position: relative;
  padding: clamp(48px, 7vw, 84px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(1200px 400px at 50% 0%, rgb(255 255 255 / .08), transparent 70%),
    linear-gradient(180deg, var(--blue) 0%, var(--navy) 100%);
  color: rgb(255 255 255 / .86);
  text-align: center;
}
.intro h1 {
  margin: 0 auto 18px;
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 800;
}
@media (min-width: 900px) { .intro h1 { white-space: nowrap; } }
.intro .lead { max-width: 640px; margin: 0 auto 32px; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.intro .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  max-width: 960px; margin: clamp(44px, 6vw, 64px) auto 0;
  border: 1px solid rgb(255 255 255 / .14);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / .14);
  overflow: hidden;
}
.stat { padding: 24px 16px; background: rgb(7 42 64 / .28); }
.stat strong { display: block; color: var(--white); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.stat span { font-size: .875rem; color: rgb(255 255 255 / .72); }

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Sections -------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.075rem; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(36px, 6vw, 80px);
}
.split h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
.split .copy > p { font-size: 1.05rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split .media { order: -1; }
}

.media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Empresa */
.values { display: grid; grid-auto-rows: 1fr; gap: 16px; }
.value {
  display: flex; gap: 18px; align-items: center;
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.value h3 { margin: 0 0 2px; font-size: 1.05rem; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

.icon-badge {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sky-100); color: var(--navy);
}
.icon-badge .icon { width: 22px; height: 22px; }
.value .icon-badge { width: 52px; height: 52px; border-radius: 14px; }
.value .icon-badge .icon { width: 24px; height: 24px; }
@media (max-width: 540px) { .value { padding: 18px; gap: 14px; } .value .icon-badge { width: 44px; height: 44px; } }

/* Módulos */
.modules {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
.module-card {
  position: relative;
  display: flex; flex-direction: column; height: 100%;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.module-card .icon-badge { margin-bottom: 18px; transition: background-color .25s, color .25s; }
.module-card:hover .icon-badge { background: var(--navy); color: var(--white); }
.module-card h3 { margin-bottom: 6px; font-size: 1.075rem; }
.module-card p { margin: 0 0 16px; color: var(--muted); font-size: .925rem; line-height: 1.55; }
.module-card .more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  color: var(--navy); font-size: .875rem; font-weight: 600;
}
.module-card .more .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.module-card:hover .more .icon { transform: translateX(3px); }

@media (max-width: 1024px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .modules { grid-template-columns: 1fr; } }

/* Empresa conectada (dark) */
.section-dark {
  position: relative;
  background: var(--navy-950);
  color: rgb(255 255 255 / .78);
  overflow: hidden;
}
.section-dark::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px;
  background: url("../img/bg_topo.jpg") center bottom / auto 160px repeat-x;
  opacity: .35;
  mask-image: linear-gradient(to top, #000, transparent);
}
.section-dark .container { position: relative; }
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--sky-300); }

.features { display: grid; gap: 18px; margin: 28px 0 32px; padding: 0; list-style: none; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features .icon { margin-top: 2px; color: var(--sky-300); }
.features strong { display: block; color: var(--white); font-weight: 600; }

/* Suporte */
.support-grid {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  gap: clamp(20px, 3vw, 32px);
}
.support-media img {
  width: 100%; height: 100%; min-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.support-panel {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.support-panel h3 { margin-bottom: 6px; font-size: 1.25rem; }
.support-hours { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--muted); font-size: .95rem; }
.support-hours .icon { color: var(--blue); }

.team {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  margin: 0 0 24px; padding: 0; list-style: none;
}
.team a {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.team a:hover { border-color: var(--navy); background: var(--navy); }
.team a:hover .avatar { background: var(--white); color: var(--navy); }
.team a:hover strong { color: var(--white); }
.team a:hover small { color: rgb(255 255 255 / .75); }
.team a > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.team .avatar {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em;
  transition: background-color .2s, color .2s;
}
.team strong { color: var(--ink); font-size: .95rem; transition: color .2s; }
.team small { color: var(--muted); font-size: .825rem; overflow-wrap: anywhere; transition: color .2s; }

.support-visit {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.support-visit p { margin: 0; font-size: .95rem; max-width: 36ch; }
.support-visit .btn { flex: none; }

@media (max-width: 900px) {
  .support-grid { grid-template-columns: 1fr; }
  .support-media img { height: auto; min-height: 0; aspect-ratio: 620 / 327; }
}
@media (max-width: 540px) {
  .team { grid-template-columns: 1fr; }
  .support-visit { flex-direction: column; align-items: flex-start; }
}

/* CTA band */
.cta {
  padding: clamp(48px, 6vw, 72px) 0;
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  color: rgb(255 255 255 / .85);
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; color: var(--white); font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); }
.cta p { margin: 0; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgb(255 255 255 / .75);
  font-size: .95rem;
}
.footer-skyline {
  height: 96px;
  background: url("../img/bg_topo.jpg") center bottom / auto 96px repeat-x;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px;
  padding-block: 40px 48px;
}
.footer-grid img { width: 170px; margin-bottom: 16px; }
.footer-grid h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase;
}
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: rgb(255 255 255 / .82); text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-grid address { font-style: normal; }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / .12);
  background: var(--navy-700);
  font-size: .85rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* Página do sistema ---------------------------------------------------- */
.page-hero {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
  background: linear-gradient(180deg, var(--blue), var(--navy));
  color: rgb(255 255 255 / .85);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 127px;
  background: url("../img/bg_topo.jpg") center bottom / auto 127px repeat-x;
  opacity: .4;
  mask-image: linear-gradient(to top, #000 30%, transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .875rem; }
.breadcrumb a { color: rgb(255 255 255 / .8); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); font-weight: 800; }
.page-hero p { max-width: 640px; font-size: 1.1rem; margin: 0; }

.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgb(255 255 255 / .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav ul {
  display: flex; gap: 6px;
  margin: 0; padding: 12px 0; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 8px 16px;
  border-radius: 999px;
  color: var(--text); font-size: .9rem; font-weight: 600; white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.subnav a:hover { background: var(--surface); color: var(--navy); }
.subnav a[aria-current="true"] { background: var(--navy); color: var(--white); }

.sistema { background: var(--surface); }
.sistema-modulo { padding: clamp(40px, 6vw, 72px) 0; scroll-margin-top: calc(var(--header-h) + 56px); }
.js .sistema-modulo:not(.is-active) { display: none; }
.feature { scroll-margin-top: calc(var(--header-h) + 80px); }

.modulo-pager {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 44px);
}
.modulo-pager a { display: flex; flex-direction: column; gap: 2px; min-width: 200px; padding: 14px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.modulo-pager a:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.modulo-pager small { color: var(--muted); font-size: .8rem; }
.modulo-pager strong { color: var(--navy); }
.modulo-pager .next { margin-left: auto; text-align: right; }
.modulo-head { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(28px, 4vw, 44px); }
.modulo-head .icon-badge { width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--white); }
.modulo-head .icon-badge .icon { width: 26px; height: 26px; }
.modulo-head h2 { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
.modulo-head p { margin: 0; color: var(--muted); font-size: .95rem; }

.feature-list { display: grid; gap: 20px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 544px) minmax(0, 1fr); align-items: start;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.feature figure { margin: 0; }
.feature figure img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.feature h3 { font-size: 1.25rem; margin-bottom: .6em; }
.feature p { font-size: .975rem; }
.feature p:last-child { margin-bottom: 0; }
.feature pre {
  margin: 0 0 1em; padding: 12px 14px;
  background: var(--surface); border-radius: 8px;
  font-size: .85rem; white-space: pre-wrap; overflow-wrap: anywhere;
}
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* Motion ---------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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