/* ==========================================================================
   Gump Brasil Automação Industrial
   Paleta 60/30/10: branco · azul Gump · amarelo de destaque
   ========================================================================== */

:root {
  /* Cores da marca (logo) */
  --g-green: #54b843;
  --g-cyan: #02b7e8;
  --g-red: #ff515c;
  --g-yellow: #ffc300;

  /* 30% — primária */
  --primary: #0d5d80;
  --primary-600: #0b4f6d;
  --primary-900: #082f44;
  --primary-soft: rgba(13, 93, 128, .08);
  --primary-line: rgba(13, 93, 128, .6);

  /* 10% — destaque */
  --accent: #ffc300;
  --accent-hover: #e8b100;
  --on-accent: #0b2a3c;

  /* 60% — base */
  --white: #fff;
  --tint: #f2f7fa;
  --ink: #0b2a3c;
  --text: #2f4553;
  --muted: #566c79;
  --line: #dbe6ec;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --header-h: 76px;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --shadow: 0 1px 2px rgba(8, 47, 68, .06), 0 10px 30px -12px rgba(8, 47, 68, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* -------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; font-stretch: 100%; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
.mono { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .02em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--g-cyan); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* -------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: .975rem; line-height: 1;
  padding: .85em 1.3em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { font-size: 1.025rem; padding: 1em 1.55em; }

.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--primary-900); border-color: var(--primary-900); color: #fff; }

.btn--accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--accent:hover, .btn--accent:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }

/* Outline em fundo claro */
.btn--outline { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-line); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--primary); color: #fff; border-color: var(--primary); }

/* -------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(8, 47, 68, .35); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 8px 12px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem;
  border-radius: var(--radius-sm); transition: color .2s, background-color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--primary); background: var(--primary-soft); }
.nav__link.is-active { color: var(--primary); }
.nav__link.is-active::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--white); cursor: pointer; padding: 0; position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20.5px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* -------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  /* Header + hero ocupam exatamente a tela; svh evita o pulo da barra do navegador no celular */
  display: flex; align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 40%, #000 10%, transparent 70%);
  opacity: .7;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr; }
.hero__text { max-width: 860px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .04em;
  color: var(--primary); background: var(--primary-soft); padding: 7px 14px 7px 10px; border-radius: 999px; margin-bottom: 22px;
}
.dots { display: inline-grid; grid-template-columns: repeat(2, 5px); gap: 2px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; }
.dots i:nth-child(1) { background: var(--g-green); }
.dots i:nth-child(2) { background: var(--g-cyan); }
.dots i:nth-child(3) { background: var(--g-yellow); }
.dots i:nth-child(4) { background: var(--g-red); }

.hero__title {
  font-size: clamp(2.35rem, 5.4vw, 4.1rem); font-weight: 800; font-stretch: 112%;
  letter-spacing: -.025em; line-height: 1.02; color: var(--primary-900);
}
.hero__subtitle {
  margin-top: 22px; max-width: 34em;
  font-family: var(--font-body); font-weight: 400; font-size: clamp(1.075rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--text);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Escolha entre WhatsApp e formulário */
.contact-choice { position: relative; }
.contact-choice__menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; min-width: 100%;
  display: grid; gap: 2px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.contact-choice__menu[hidden] { display: none; }
.contact-choice__menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px;
  color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.contact-choice__menu a:hover, .contact-choice__menu a:focus-visible { background: var(--primary-soft); color: var(--primary); }
.contact-choice__menu .icon { color: var(--primary); }

.hero__stats { display: grid; grid-template-columns: auto auto 1fr; gap: 0; margin: 44px 0 0; border-top: 1px solid var(--line); padding-top: 22px; }
.hero__stats > div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero__stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__stats dt { font-size: .8rem; color: var(--muted); order: 2; }
.hero__stats dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-stretch: 110%; font-size: 1.5rem; color: var(--primary); line-height: 1.2; }
.hero__stats > div { display: flex; flex-direction: column-reverse; }
.hero__stats > div:last-child dd { font-size: 1.05rem; padding-top: .35em; }

/* Telas baixas: espaços e textos acompanham a altura para o hero caber em 100vh */
@media (max-height: 820px) {
  .hero { padding-block: clamp(16px, 4vh, 48px); }
  .hero__title { font-size: clamp(1.75rem, min(5.4vw, 7vh), 4.1rem); }
  .hero__subtitle { margin-top: clamp(10px, 2vh, 22px); font-size: clamp(.9rem, 2.4vh, 1.25rem); line-height: 1.5; }
  .hero__actions { margin-top: clamp(14px, 3.5vh, 34px); }
  .hero__stats { margin-top: clamp(14px, 4vh, 44px); padding-top: clamp(10px, 2vh, 22px); }
}
@media (max-height: 820px) and (max-width: 600px) {
  .hero__actions { gap: 8px; }
  .hero .btn--lg { padding-block: .8em; }
  .hero__stats { row-gap: 8px; }
}

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(84, 184, 67, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(84, 184, 67, 0); } }

/* -------------------------------------------------------------- seções */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--primary); color: #e3eef4; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--primary);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.kicker--light { color: #cfe6f1; }
.section__title { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 750; font-stretch: 108%; letter-spacing: -.02em; }
.section__lead { color: var(--muted); font-size: 1.075rem; max-width: 36em; }

/* Sobre */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: clamp(44px, 6vw, 72px); }
.about__text { display: grid; gap: 18px; font-size: 1.075rem; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.benefit { padding: 30px 28px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .3s var(--ease); }
.benefit:nth-child(3n) { border-right: 0; }
.benefit:nth-last-child(-n+3) { border-bottom: 0; }
.benefit:hover { background: var(--tint); }
.benefit__icon { width: 38px; height: 38px; color: var(--primary); margin-bottom: 18px; }
.benefit h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: .975rem; }

/* Missão, visão e valores */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: clamp(48px, 6vw, 72px); }
.mv__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.mv__card--dark { background: var(--primary-900); border-color: var(--primary-900); color: #cfe0e9; }
.mv__card--dark h3 { color: #fff; }
.mv__tag { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; }
.mv__card--dark .mv__tag { color: var(--accent); }
.mv__card h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 700; font-stretch: 106%; letter-spacing: -.01em; }

.values__title { font-size: 1.45rem; font-weight: 700; margin-bottom: 22px; }
.values { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.values > .value { flex: 0 0 calc((100% - (var(--cols) - 1) * 16px) / var(--cols)); }
.value { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 26px; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.value:hover { border-color: var(--primary-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.value__n { display: inline-block; color: var(--primary); background: var(--primary-soft); padding: 3px 8px; border-radius: 6px; margin-bottom: 14px; }
.value h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.value:nth-child(1) { border-top: 3px solid var(--g-green); }
.value:nth-child(2) { border-top: 3px solid var(--g-cyan); }
.value:nth-child(3) { border-top: 3px solid var(--g-yellow); }
.value:nth-child(4) { border-top: 3px solid var(--g-red); }
.value:nth-child(5) { border-top: 3px solid var(--g-green); }
.value:nth-child(6) { border-top: 3px solid var(--g-cyan); }
.value:nth-child(7) { border-top: 3px solid var(--g-yellow); }

/* Soluções */
.section--dark { position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
}
.g4 { position: relative; display: grid; gap: clamp(28px, 4vw, 48px); }
.g4__intro .section__title { font-size: clamp(2.4rem, 5vw, 3.6rem); font-stretch: 115%; }
.g4__lead { margin: 20px 0 26px; font-size: 1.1rem; color: #e3eef4; }
.g4__erp { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.g4__erp li { font-family: var(--font-mono); font-size: .8rem; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); padding: 6px 12px; border-radius: 6px; }
.g4__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { border-color: var(--primary-line); transform: translateY(-3px); box-shadow: var(--shadow); }
.feature > div { display: flex; flex-direction: column; flex: 1; }
.feature__icon { width: 34px; height: 34px; flex: none; color: var(--primary); }
.feature h2, .feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.feature p { font-size: .94rem; color: var(--muted); line-height: 1.55; }
.feature__more {
  display: inline-flex; align-items: center; gap: .4em; align-self: flex-start; margin-top: auto; padding-top: 14px;
  font-weight: 600; font-size: .92rem; color: var(--primary); text-decoration: none;
}
.feature__more .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.feature__more:hover { color: var(--primary-900); text-decoration: underline; text-underline-offset: 3px; }
.feature__more:hover .icon { transform: translateX(3px); }

/* Segmentos */
.segments { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: segmento; }
.segment {
  --c: var(--primary); --c-soft: var(--primary-soft);
  position: relative; overflow: hidden; counter-increment: segmento;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 22px 26px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  box-shadow: 0 1px 2px rgba(8, 47, 68, .05);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.segment:nth-child(4n+1) { --c: #2f8a21; --c-soft: rgba(84, 184, 67, .14); }
.segment:nth-child(4n+2) { --c: #0389b0; --c-soft: rgba(2, 183, 232, .13); }
.segment:nth-child(4n+3) { --c: #a87c00; --c-soft: rgba(255, 195, 0, .18); }
.segment:nth-child(4n+4) { --c: #d23b47; --c-soft: rgba(255, 81, 92, .12); }
.segment::before {
  content: counter(segmento, decimal-leading-zero); position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: var(--muted);
}
.segment::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.segment svg { width: 52px; height: 52px; padding: 11px; border-radius: 14px; color: var(--c); background: var(--c-soft); transition: color .3s var(--ease), background-color .3s var(--ease); }
.segment h3 { font-size: 1.05rem; font-weight: 700; }
.segment:hover { border-color: var(--c); transform: translateY(-4px); box-shadow: var(--shadow); }
.segment:hover::after { transform: scaleX(1); }
.segment:hover svg { color: #fff; background: var(--c); }

/* Clientes */
.clients { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.clients__head .section__lead { margin-top: 16px; }
.clients__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.clients__list li { display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 16px; background: var(--white); }
.clients__list img { width: auto; height: auto; max-width: 80%; max-height: 64px; object-fit: contain; border-radius: 6px; }

/* CTA */
.cta { background: var(--primary-900); color: #cfe0e9; padding: clamp(48px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--g-green) 0 25%, var(--g-cyan) 25% 50%, var(--g-red) 50% 75%, var(--g-yellow) 75%); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; font-stretch: 108%; letter-spacing: -.015em; margin-bottom: 8px; }
.cta .vitrine-cta__actions { flex: none; }

/* CTA da vitrine */
.vitrine-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow);
}
.vitrine-cta__text { max-width: 62ch; }
.vitrine-cta__title { font-size: clamp(1.35rem, 2.7vw, 1.9rem); font-weight: 750; font-stretch: 108%; letter-spacing: -.015em; }
.vitrine-cta__kicker { font-size: clamp(1.35rem, 2.7vw, 1.9rem); font-weight: 750; font-stretch: 108%; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-900); }
.vitrine-cta__kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 12px; vertical-align: middle; background: var(--accent); }
.vitrine-cta__lead { margin-top: 10px; color: var(--muted); }
.vitrine-cta .btn { flex: none; }

.vitrine-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.vitrine-cta--dark {
  position: relative; margin-top: clamp(36px, 6vw, 64px);
  background: var(--primary-900); border-color: var(--primary-900);
}
.vitrine-cta--dark .vitrine-cta__title { color: #fff; }
.vitrine-cta--dark .vitrine-cta__lead { color: #d2e3eb; }

/* Páginas de soluções */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); background: var(--tint); border-bottom: 1px solid var(--line); }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.05; color: var(--primary-900); margin-bottom: 18px; }
.page-hero__icon { width: 64px; height: 64px; padding: 14px; border-radius: 16px; color: var(--primary); background: var(--white); border: 1px solid var(--line); margin-bottom: 22px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: .875rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #9aacb7; }
.crumbs a { color: var(--primary); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

.sol-detail { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.sol-detail__text { display: grid; gap: 18px; margin-top: 22px; font-size: 1.075rem; }
.sol-note { padding: 18px 20px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--tint); font-size: .98rem; }
.sol-note strong { color: var(--ink); }
.sol-benefits { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--primary-900); color: #cfe0e9; }
.sol-benefits h2 { color: #fff; font-size: 1.35rem; font-weight: 750; margin-bottom: 18px; }
.sol-benefits ul { display: grid; gap: 14px; }
.sol-benefits li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.sol-benefits .icon { margin-top: .2em; color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: passo; }
.sol-figure { margin: 28px 0 0; }
.sol-figure img { display: block; width: 100%; max-width: 960px; height: auto; margin-inline: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.step { position: relative; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); counter-increment: passo; color: var(--ink); line-height: 1.55; }
.step::before {
  content: counter(passo, decimal-leading-zero); display: block; width: max-content; margin-bottom: 14px; padding: 3px 8px; border-radius: 6px;
  font-family: var(--font-mono); font-size: .8125rem; color: var(--primary); background: var(--primary-soft);
}
.step:nth-child(1) { border-top: 3px solid var(--g-green); }
.step:nth-child(2) { border-top: 3px solid var(--g-cyan); }
.step:nth-child(3) { border-top: 3px solid var(--g-yellow); }
.step:nth-child(4) { border-top: 3px solid var(--g-red); }

/* Contato */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.contact__list { display: grid; gap: 12px; align-content: start; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contact__icon { width: 44px; height: 44px; flex: none; padding: 11px; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.contact__item h3 { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact__item a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact__item a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.contact__item address, .contact__item p { color: var(--ink); }
.contact__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--tint); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact__form-title { font-size: 1.35rem; font-weight: 750; margin-bottom: 20px; }
.addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.address { display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.address .contact__map, .address .contact__map iframe { min-height: 320px; }

/* Download do G4 */
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { background: #fff; color: var(--primary); border-color: #fff; }
.g4__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.download { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.download__text .section__lead { margin-top: 18px; }
.download__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.download__meta > div { padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.download__meta dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.download__meta dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
.download__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 3.5vw, 36px); }

.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75em .9em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 7.5em; }
.field input::placeholder, .field textarea::placeholder { color: #9aacb7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--g-red); box-shadow: 0 0 0 3px rgba(255, 81, 92, .12); }
.lead-form__status { margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 81, 92, .1); color: #a3232c; font-size: .95rem; }
.lead-form__submit { width: 100%; margin-top: 22px; }
.lead-form__submit[disabled] { opacity: .7; cursor: progress; }
.lead-form__note { margin-top: 12px; font-size: .85rem; color: var(--muted); text-align: center; }

.lead-done { text-align: center; padding: 12px 0; }
.lead-done:focus { outline: none; }
.lead-done__icon { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: rgba(84, 184, 67, .14); color: #2f8a21; }
.lead-done__icon svg { width: 28px; height: 28px; }
.lead-done h3 { font-size: 1.5rem; margin-bottom: 8px; }
.lead-done p { color: var(--muted); margin-bottom: 22px; }
.lead-done .btn { white-space: normal; }
.lead-done p.lead-done__help { margin: 18px 0 0; font-size: .95rem; }

/* Footer */
.footer { background: var(--primary-900); color: #b9cdd8; padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand img { height: 48px; width: auto; margin-bottom: 16px; }
.footer__title { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: #d8e6ee; text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { font-size: .875rem; color: #a9bfcc; }
.footer__bottom p { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }

/* WhatsApp flutuante — fixo e discreto, sem animações */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #128c4b; color: #fff;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35);
  transition: background-color .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover, .wa-float:focus-visible { background: #0d6b39; color: #fff; }

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

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

/* -------------------------------------------------------------- responsivo */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav__link { padding: 8px 9px; }
  .values { --cols: 3; }
  .segments { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .g4__features { grid-template-columns: 1fr 1fr; }
  :root { --header-h: 66px; }
  .header__logo img { height: 38px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 16px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(8, 47, 68, .4);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { padding: 12px; font-size: 1.02rem; }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--primary-soft); }

  .hero__inner, .about, .g4, .clients, .contact, .download, .section__head--split, .addresses, .sol-detail { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .benefit:nth-child(2n) { border-right: 0; }
  .benefit:nth-last-child(-n+2) { border-bottom: 0; }
  .mv { grid-template-columns: 1fr; }
  .sol-benefits { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .values { --cols: 2; }
  .segments { grid-template-columns: repeat(3, 1fr); }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .nav { padding-inline: 16px; }
  body { font-size: 1rem; }
  .hero__actions .btn, .contact-choice { width: 100%; }
  .hero__stats { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .hero__stats > div { padding-right: 16px; margin-right: 16px; }
  .hero__stats > div:nth-child(2) { border-right: 0; margin-right: 0; }
  .hero__stats > div:last-child { grid-column: 1 / -1; }
  .hero__stats dd { font-size: 1.2rem; }
  .benefits { grid-template-columns: 1fr; }
  .benefit:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit:last-child { border-bottom: 0; }
  .values { --cols: 1; }
  .g4__features { grid-template-columns: 1fr; }
  .segments { grid-template-columns: 1fr 1fr; }
  .clients__list { grid-template-columns: 1fr 1fr; }
  .cta .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .page-hero__actions .btn { width: 100%; }
  .vitrine-cta { padding: 24px 20px; }
  .vitrine-cta .btn, .vitrine-cta__actions { width: 100%; }
  .g4__intro .btn { width: 100%; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .lead-done .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* -------------------------------------------------------------- fotos de fundo (Unsplash) */
.hero, #missao, #solucoes, #segmentos, #clientes, .cta { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.8) 42%, rgba(255,255,255,.12) 100%),
    url("../img/bg/hero-fabrica.png");
  background-position: right bottom;
}
.hero__grid-bg { display: none; }
#missao { background-image: linear-gradient(rgba(242,247,250,.92), rgba(242,247,250,.92)), url("../img/bg/missao.jpg"); }
#solucoes { background-image: linear-gradient(rgba(248,251,253,.95), rgba(242,247,250,.95)), url("../img/bg/g4.jpg"); }
#segmentos { background-image: linear-gradient(rgba(255,255,255,.93), rgba(255,255,255,.93)), url("../img/bg/segmentos.jpg"); }
#clientes { background-image: linear-gradient(rgba(242,247,250,.92), rgba(242,247,250,.92)), url("../img/bg/clientes.jpg"); }
.cta { background-image: linear-gradient(rgba(8,47,68,.9), rgba(8,47,68,.9)), url("../img/bg/cta.jpg"); }
@media (max-width: 960px) {
  /* Enquadra o coletor de braço e o leitor de anel, que ficam no centro-direita da foto */
  .hero {
    background-image: linear-gradient(rgba(255,255,255,.86) 0%, rgba(255,255,255,.76) 50%, rgba(255,255,255,.7) 100%), url("../img/bg/hero-fabrica.png");
    background-position: 40% center;
  }
}
