/* =====================================================================
   AR Business Technology — Premium stylesheet
   Tokens · Reset · Layout · Components · Sections · Footer · Motion
   ===================================================================== */

/* ---------- design tokens ---------- */
:root {
  --brand-blue:        #1E3AFF;
  --brand-blue-2:      #4E6BFF;
  --brand-blue-soft:   #E7ECFF;
  --brand-ink:         #0A0F1F;
  --brand-ink-2:       #111835;

  --bg:                #ffffff;
  --bg-alt:            #F6F7FB;
  --bg-dark:           #0A0F1F;
  --bg-dark-2:         #121A36;

  --text:              #0C1224;
  --text-soft:         #4A526B;
  --text-muted:        #7B819A;
  --text-on-dark:      #E8ECFA;
  --text-on-dark-soft: #A6ADC9;

  --border:            rgba(15, 23, 42, .08);
  --border-strong:     rgba(15, 23, 42, .14);
  --border-dark:       rgba(255, 255, 255, .08);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 6px 24px -8px rgba(15, 23, 42, .18);
  --shadow-lg: 0 22px 60px -18px rgba(15, 23, 42, .28);
  --shadow-blue: 0 18px 50px -16px rgba(30, 58, 255, .55);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --container: 1200px;
  --pad: clamp(1rem, 2.4vw, 1.75rem);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* =====================================================================
   PRELOADER — splash premium
   ===================================================================== */
.preloader {
  position: fixed; inset: 0;
  z-index: 9999;
  display: grid; place-items: center;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(78, 107, 255, .18), transparent 60%),
    radial-gradient(60% 80% at 20% 80%, rgba(30, 58, 255, .14), transparent 60%),
    linear-gradient(180deg, #FAFBFF 0%, #F1F4FF 100%);
  visibility: visible !important;
}
.preloader__inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  text-align: center;
}
.preloader__mark {
  position: relative;
  width: 130px; height: 130px;
  display: grid; place-items: center;
}
.preloader__mark img {
  position: relative; z-index: 2;
  width: 70%; height: auto;
  filter: drop-shadow(0 14px 28px rgba(30, 58, 255, .35));
  animation: preFloat 2.2s ease-in-out infinite;
}
.preloader__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(30, 58, 255, .25);
  border-top-color: rgba(30, 58, 255, .9);
  animation: preSpin 1.1s linear infinite;
}
.preloader__ring--2 {
  inset: -14px;
  border: 1px dashed rgba(30, 58, 255, .35);
  border-top-color: transparent;
  animation: preSpin 4s linear infinite reverse;
}
.preloader__brand {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: #4A526B;
  opacity: 0; animation: preFade .8s ease .15s forwards;
}
.preloader__brand span { color: #1E3AFF; font-weight: 700; }
.preloader__bar {
  width: 180px; height: 3px;
  background: rgba(30, 58, 255, .12);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar > span {
  display: block; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, #1E3AFF, transparent);
  animation: preBar 1.3s ease-in-out infinite;
}
@keyframes preSpin { to { transform: rotate(360deg); } }
@keyframes preFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes preFade  { to { opacity: 1; } }
@keyframes preBar   {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

@media (prefers-reduced-motion: reduce) {
  .preloader__ring, .preloader__ring--2, .preloader__mark img, .preloader__bar > span { animation: none; }
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-feature-settings: "ss01", "cv01", "cv11"; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 600; }
p  { margin: 0; }

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

/* ---------- utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  padding: .4rem .85rem .4rem .8rem;
  background: var(--brand-blue-soft);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(30, 58, 255, .14);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 255, .18);
  animation: eyebrowPulse 2.4s ease-in-out infinite;
}
@keyframes eyebrowPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(30, 58, 255, .18); }
  50%      { box-shadow: 0 0 0 5px rgba(30, 58, 255, .06); }
}
.eyebrow--light {
  color: #C8D2FF;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}
.eyebrow--light::before { background: #C8D2FF; box-shadow: 0 0 0 3px rgba(200, 210, 255, .18); }
.hl {
  background: linear-gradient(90deg, #1E3AFF 0%, #4E6BFF 35%, #1E3AFF 65%, #4E6BFF 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: hl-shimmer 6s ease-in-out infinite;
}
@keyframes hl-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  height: 46px;
  padding: 0 1.25rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .005em;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn--sm { height: 38px; padding: 0 1rem; font-size: .85rem; }
.btn--lg { height: 54px; padding: 0 1.6rem; font-size: 1rem; }
.btn--primary {
  background: var(--brand-ink);
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(10, 15, 31, .55);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .14) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease-out);
}
.btn--primary:hover { background: var(--brand-blue); box-shadow: var(--shadow-blue); transform: translateY(-2px); }
.btn--primary:hover::before { transform: translateX(100%); }
.btn--primary > * { position: relative; }

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--brand-ink); transform: translateY(-2px); background: rgba(15, 23, 42, .03); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  opacity: 0;
  transition: opacity .3s;
  border-bottom: 1px solid var(--border);
}
.nav.is-stuck::before { opacity: 1; }
.nav__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-block: .85rem;
}
.nav__brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; min-width: 0; }
.nav__brand img { height: 34px; width: auto; max-width: none; flex-shrink: 0; transition: filter .25s; }
.nav__brandText { font-family: var(--font-display); font-size: .95rem; font-weight: 500; color: var(--text); }
.nav__brandText strong { color: var(--brand-blue); font-weight: 700; }
.nav__menu { display: flex; align-items: center; gap: .2rem; }
.nav__menu a {
  position: relative;
  padding: .55rem .9rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: .92rem;
  color: var(--text-soft);
  transition: background-color .2s, color .2s;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 18px; height: 2px; border-radius: 2px;
  background: var(--brand-blue);
  transition: transform .25s var(--ease-out);
}
.nav__menu a:hover { color: var(--text); background: rgba(15, 23, 42, .045); }
.nav__menu a.is-active { color: var(--brand-blue); background: var(--brand-blue-soft); }
.nav__menu a.is-active::after { transform: translateX(-50%) scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: .75rem; }
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text);
  transition: transform .25s, opacity .2s, top .25s;
}
.nav__toggle span:nth-child(1) { top: 13px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(110px + 3vw);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  background: linear-gradient(180deg, #FAFBFF 0%, #F1F4FF 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30, 58, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 70%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero__glow--1 { top: -120px; left: -120px; width: 540px; height: 540px; background: #BFCBFF; }
.hero__glow--2 { bottom: -180px; right: -120px; width: 620px; height: 620px; background: #D3DBFF; }

/* dots decorativos do hero */
.hero__dots {
  position: absolute;
  width: 180px; height: 130px;
  background-image: radial-gradient(rgba(30, 58, 255, .35) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: .9;
  pointer-events: none;
}
.hero__dots--tl { top: 12%; left: 3%; }
.hero__dots--br { bottom: 16%; right: 4%; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__text > .eyebrow { margin-bottom: 1.1rem; }
.hero__text h1 { margin-bottom: 1.1rem; max-width: 18ch; }
.hero__text > p {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero__ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 480px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-strong);
}
.hero__stats li > strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: -0.02em;
}
.hero__stats li > span {
  font-size: .82rem;
  color: var(--text-muted);
}

/* Hero visual */
.hero__visual { position: relative; height: 460px; }
.card-stack { position: relative; width: 100%; height: 100%; }
.card-stack__card {
  position: absolute;
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .85rem 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
}
.card-stack__card--1 { top: 6%;  left: 4%;  animation: floaty 7s ease-in-out infinite; }
.card-stack__card--2 { top: 42%; right: 2%; animation: floaty 7s ease-in-out infinite -2s; }
.card-stack__card--3 { bottom: 8%; left: 8%; animation: floaty 7s ease-in-out infinite -4s; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 0 4px rgba(30, 58, 255, .15); }
.dot--alt  { background: #18B981; box-shadow: 0 0 0 4px rgba(24, 185, 129, .15); }
.dot--alt2 { background: #E455A9; box-shadow: 0 0 0 4px rgba(228, 85, 169, .15); }

.card-stack__mark {
  position: absolute;
  inset: 50% 0 0 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 280px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.card-stack__mark::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(30, 58, 255, .28) 0%, transparent 65%);
  border-radius: 50%;
  animation: markGlow 4.5s ease-in-out infinite;
}
.card-stack__mark::after {
  content: "";
  position: absolute; inset: 18%;
  border-radius: 50%;
  border: 1px dashed rgba(30, 58, 255, .25);
  animation: markRing 18s linear infinite;
}
.card-stack__mark img {
  position: relative;
  width: 78%;
  filter: drop-shadow(0 20px 30px rgba(30, 58, 255, .35));
  animation: markFloat 6s ease-in-out infinite;
}
@keyframes markGlow {
  0%, 100% { transform: scale(1);   opacity: .9; }
  50%      { transform: scale(1.08); opacity: 1;  }
}
@keyframes markRing { to { transform: rotate(360deg); } }
@keyframes markFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* scroll indicator */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.8rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--text-muted);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; border-radius: 3px; background: var(--text-muted);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translate(-50%, 0);   opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* =====================================================================
   STRIP
   ===================================================================== */
.strip {
  background: var(--brand-ink);
  color: var(--text-on-dark-soft);
  padding-block: 1.1rem;
}
.strip__label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .04em;
}

/* =====================================================================
   SECTIONS (common)
   ===================================================================== */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; }
.section--alt { background: var(--bg-alt); }

/* dot-grid decorativo (utilitário) — usa-se em ::before */
.dots-bg {
  background-image: radial-gradient(rgba(30, 58, 255, .28) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  pointer-events: none;
}
.section--cta {
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(78, 107, 255, .25), transparent 60%),
    radial-gradient(60% 80% at 10% 90%, rgba(30, 58, 255, .25), transparent 60%),
    var(--bg-dark);
  color: var(--text-on-dark);
}

.section__head { max-width: 760px; margin-bottom: 3rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .eyebrow { margin-bottom: 1rem; }
.section__head h2 { margin-bottom: .85rem; }
.section__head p { color: var(--text-soft); font-size: 1.05rem; }

/* =====================================================================
   SOBRE — mission / vision / values
   ===================================================================== */
.mv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.mv__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.9rem;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .14);
  overflow: hidden;
}
.mv__card::after {
  content: "";
  position: absolute; inset: -40px -40px auto auto;
  width: 200px; height: 200px;
  background: radial-gradient(closest-side, rgba(30, 58, 255, .08), transparent 70%);
  pointer-events: none;
}
.mv__card > * { position: relative; }
.mv__card i {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-blue);
  margin-bottom: 1rem;
  box-shadow:
    0 2px 0 rgba(15, 23, 42, .04) inset,
    0 10px 22px -10px rgba(30, 58, 255, .35),
    0 0 0 1px rgba(30, 58, 255, .10);
}
.mv__card h3 { margin-bottom: .5rem; }
.mv__card p  { color: var(--text-soft); }

.values__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.value {
  text-align: left;
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 32px -22px rgba(15, 23, 42, .14);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
}
.value:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 48px -22px rgba(30, 58, 255, .28); }
.value i {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-blue);
  margin-bottom: .9rem;
  box-shadow:
    0 2px 0 rgba(15, 23, 42, .04) inset,
    0 8px 18px -8px rgba(30, 58, 255, .35),
    0 0 0 1px rgba(30, 58, 255, .10);
}
.value h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin: 0 0 .35rem; }
.value p  { font-size: .87rem; color: var(--text-soft); line-height: 1.55; }

/* =====================================================================
   DIVISÕES — feature cards (icon-circle à esquerda + conteúdo à direita)
   ===================================================================== */
#divisoes { position: relative; overflow: hidden; }
#divisoes::before {
  content: "";
  position: absolute; inset: -120px -120px auto auto;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(30, 58, 255, .14), transparent 70%);
  filter: blur(20px);
  pointer-events: none; z-index: 0;
}
#divisoes::after {
  content: "";
  position: absolute; inset: auto auto -100px -100px;
  width: 460px; height: 460px;
  background: radial-gradient(closest-side, rgba(78, 107, 255, .12), transparent 70%);
  filter: blur(20px);
  pointer-events: none; z-index: 0;
}
#divisoes > .container { position: relative; z-index: 1; }

.divs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.divs__card {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1.3rem;
  padding: 1.8rem 1.8rem 1.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -22px rgba(15, 23, 42, .14);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.divs__card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, var(--accent-soft, rgba(30, 58, 255, .08)), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.divs__card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 24px 60px -22px rgba(15, 23, 42, .25); }
.divs__card:hover::before { opacity: 1; }

.divs__icon {
  position: relative;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-blue);
  box-shadow:
    0 2px 0 rgba(15, 23, 42, .04) inset,
    0 12px 24px -10px rgba(30, 58, 255, .35),
    0 0 0 1px rgba(30, 58, 255, .08);
}
.divs__icon i { width: 28px; height: 28px; }

.divs__body { position: relative; }
.divs__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: .3rem; }
.divs__tagline { color: var(--text-soft); margin-bottom: 1rem; font-size: .92rem; line-height: 1.5; }
.divs__list { display: grid; gap: .5rem; }
.divs__list li {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: .9rem;
  color: var(--text);
}
.divs__list li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  margin-top: .55rem;
  background: var(--accent, var(--brand-blue));
  flex: 0 0 6px;
}

.divs__more {
  margin-top: 1.2rem;
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  color: var(--brand-blue);
  transition: gap .25s var(--ease-out), color .2s;
}
.divs__more i { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.divs__card:hover .divs__more { color: var(--brand-ink); gap: .65rem; }
.divs__card:hover .divs__more i { transform: translateX(3px); }

/* variantes — apenas tons azuis/índigo para respeitar a paleta ARBTECH */
.acc-blue     { --accent: #1E3AFF; --accent-soft: rgba(30, 58, 255, .10); }
.acc-indigo   { --accent: #3346D8; --accent-soft: rgba(51, 70, 216, .10); }
.acc-fuchsia  { --accent: #4E6BFF; --accent-soft: rgba(78, 107, 255, .10); }
.acc-cyan     { --accent: #1E3AFF; --accent-soft: rgba(30, 58, 255, .08); }
.acc-amber    { --accent: #0A0F1F; --accent-soft: rgba(10, 15, 31, .06); }

.acc-blue    .divs__icon { color: #1E3AFF; box-shadow: 0 2px 0 rgba(15, 23, 42, .04) inset, 0 12px 24px -10px rgba(30, 58, 255, .35), 0 0 0 1px rgba(30, 58, 255, .10); }
.acc-indigo  .divs__icon { color: #3346D8; box-shadow: 0 2px 0 rgba(15, 23, 42, .04) inset, 0 12px 24px -10px rgba(51, 70, 216, .35), 0 0 0 1px rgba(51, 70, 216, .10); }
.acc-fuchsia .divs__icon { color: #4E6BFF; box-shadow: 0 2px 0 rgba(15, 23, 42, .04) inset, 0 12px 24px -10px rgba(78, 107, 255, .35), 0 0 0 1px rgba(78, 107, 255, .10); }
.acc-cyan    .divs__icon { color: #1E3AFF; box-shadow: 0 2px 0 rgba(15, 23, 42, .04) inset, 0 12px 24px -10px rgba(30, 58, 255, .30), 0 0 0 1px rgba(30, 58, 255, .10); }
.acc-amber   .divs__icon { color: #0A0F1F; box-shadow: 0 2px 0 rgba(15, 23, 42, .04) inset, 0 12px 24px -10px rgba(10, 15, 31, .35), 0 0 0 1px rgba(10, 15, 31, .10); }

/* =====================================================================
   PROCESSO — passos numerados
   ===================================================================== */
#processo { position: relative; overflow: hidden; }
#processo::before {
  content: "";
  position: absolute; top: 10%; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(30, 58, 255, .10), transparent 70%);
  pointer-events: none;
}
#processo > .container { position: relative; }

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.8rem 1.7rem 1.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .14);
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s;
}
.step:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 24px 60px -22px rgba(30, 58, 255, .22); }

.step__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(30, 58, 255, .35);
}
.step__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-blue);
  box-shadow:
    0 2px 0 rgba(15, 23, 42, .04) inset,
    0 10px 22px -10px rgba(30, 58, 255, .35),
    0 0 0 1px rgba(30, 58, 255, .10);
}
.step__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.step__text  { color: var(--text-soft); font-size: .92rem; line-height: 1.55; }

.step__connector {
  position: absolute;
  top: 2.3rem; right: -1.1rem;
  width: 1.4rem; height: 2px;
  background: linear-gradient(90deg, rgba(30, 58, 255, .45), transparent);
}

/* =====================================================================
   PRODUTOS
   ===================================================================== */
#produtos { position: relative; overflow: hidden; }
#produtos::before {
  content: "";
  position: absolute; top: 12%; left: -80px;
  width: 220px; height: 160px;
  background-image: radial-gradient(rgba(30, 58, 255, .28) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: .7; pointer-events: none;
}
#produtos > .container { position: relative; }

.prods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}
.prods__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.7rem;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .14);
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.prods__card::after {
  content: "";
  position: absolute; inset: auto -40px -40px auto;
  width: 160px; height: 160px;
  background: radial-gradient(closest-side, rgba(30, 58, 255, .10), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.prods__card:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 24px 60px -22px rgba(15, 23, 42, .22); }
.prods__card:hover::after { opacity: 1; }
.prods__icon {
  position: relative;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #fff; color: var(--brand-blue);
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow:
    0 2px 0 rgba(15, 23, 42, .04) inset,
    0 10px 22px -10px rgba(30, 58, 255, .35),
    0 0 0 1px rgba(30, 58, 255, .10);
}
.prods__name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: .65rem; }
.prods__items { display: flex; flex-wrap: wrap; gap: .35rem; }
.prods__items span {
  display: inline-block;
  padding: .25rem .65rem;
  font-size: .78rem;
  background: var(--bg-alt);
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}
.prods__cta { margin-top: 2.5rem; text-align: center; }

/* =====================================================================
   CLIENTES — "supported by" pills
   ===================================================================== */
#clientes { position: relative; overflow: hidden; }
#clientes::before, #clientes::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 58, 255, .08), transparent 70%);
  pointer-events: none;
}
#clientes::before { top: 10%; left: -120px; }
#clientes::after  { bottom: 8%; right: -120px; background: radial-gradient(closest-side, rgba(78, 107, 255, .07), transparent 70%); }
#clientes > .container { position: relative; }

.clients {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .8rem;
}
.clients__card {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .85rem 1.3rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text-soft);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 12px 28px -18px rgba(15, 23, 42, .18);
  transition: transform .25s var(--ease-out), box-shadow .25s, color .25s, border-color .25s, background-color .25s;
}
.clients__card::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(30, 58, 255, .15);
}
.clients__card:hover { transform: translateY(-3px); color: var(--brand-ink); border-color: var(--brand-blue); box-shadow: 0 16px 36px -18px rgba(30, 58, 255, .35); }

/* =====================================================================
   CONTACTO
   ===================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__info h2 { margin: 1rem 0 .85rem; }
.contact__info > p { color: var(--text-on-dark-soft); margin-bottom: 2rem; max-width: 44ch; }
.contact__list { display: grid; gap: 1.1rem; }
.contact__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: flex-start;
}
.contact__list i {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  color: #C8D2FF;
  border: 1px solid var(--border-dark);
}
.contact__list .ci-label {
  display: block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8C95B8;
  margin-bottom: .2rem;
}
.contact__list .ci-value { color: var(--text-on-dark); font-weight: 500; }
.contact__list a:hover { color: #fff; }

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  backdrop-filter: blur(10px);
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field--actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; flex-direction: row; }
.field label {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #A6ADC9;
  font-weight: 600;
}
.field input, .field select, .field textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-blue-2);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 4px rgba(78, 107, 255, .18);
}
.field select { background-image: linear-gradient(45deg, transparent 50%, #A6ADC9 50%), linear-gradient(135deg, #A6ADC9 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field select option { color: #000; }
.form__status { color: var(--text-on-dark-soft); font-size: .9rem; margin: 0; min-height: 1.3em; transition: color .2s; }
.form__status.ok  { color: #A6F0C6; }
.form__status.err { color: #FFB4B4; }

/* honeypot anti-spam — invisível para utilizadores e leitores de ecrã */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; border: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* estados do botão (loading / busy) */
.btn__spinner {
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.is-busy .btn__spinner { display: inline-block; }
.is-busy #cfSubmit { opacity: .85; cursor: progress; }
.is-busy input, .is-busy select, .is-busy textarea, .is-busy button { pointer-events: none; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: var(--brand-ink);
  color: var(--text-on-dark-soft);
  padding-top: 4rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand img { width: 200px; margin-bottom: 1.2rem; }
.footer__brand p { color: var(--text-on-dark-soft); max-width: 36ch; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.footer__col h5 {
  font-family: var(--font-display);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
  margin: 0 0 1rem;
}
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a {
  font-size: .92rem;
  color: var(--text-on-dark-soft);
  transition: color .2s;
}
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid var(--border-dark); padding-block: 1.4rem; }
.footer__barInner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem;
  color: #8C95B8;
}
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-dark);
  color: #C8D2FF;
  font-weight: 500;
  font-size: .82rem;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.footer__credit:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-1px); }
.footer__credit img { height: 18px; width: auto; }
.footer__credit strong { font-weight: 700; color: #fff; }

/* =====================================================================
   BACK TO TOP
   ===================================================================== */
.to-top {
  position: fixed;
  right: 1.2rem; bottom: 1.2rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-ink);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, background-color .2s;
  z-index: 40;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--brand-blue); }

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

/* =====================================================================
   RESPONSIVE — desktop ➜ tablet ➜ phone ➜ small phone
   ===================================================================== */

/* Tablet / laptop pequeno (≤ 1024px) */
@media (max-width: 1024px) {
  .nav__brandText { display: none; }       /* só o logo a partir daqui */
  .hero { padding-top: calc(96px + 3vw); }
  .hero__visual { height: 420px; }
  .card-stack__mark { width: 240px; height: 240px; }

  .divs    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prods   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .step__connector { display: none; }

  .footer__inner { grid-template-columns: 1fr; gap: 2.2rem; }
}

/* Tablet portrait / phablet (≤ 820px) */
@media (max-width: 820px) {
  .hero__inner   { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual  { height: 320px; order: -1; }
  .hero__text h1 { max-width: none; }
  .hero__dots--tl { width: 120px; height: 90px; opacity: .7; }
  .hero__dots--br { width: 120px; height: 90px; opacity: .7; }

  .section__head { margin-bottom: 2.2rem; }
  .mv            { grid-template-columns: 1fr; }
  .contact       { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__info > p { max-width: none; }

  .divs__card { grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.5rem 1.4rem 1.6rem; }
  .divs__icon { width: 56px; height: 56px; }
  .divs__icon i { width: 24px; height: 24px; }
}

/* Mobile (≤ 720px) — nav off-canvas, single-column tudo */
@media (max-width: 720px) {
  :root { --pad: 1rem; }

  .nav__inner { padding-block: .7rem; }
  .nav__brand img { height: 30px; }
  .nav__brandText { display: none; }
  .nav__actions .btn--sm { display: none; } /* CTA mantém-se no menu */
  .nav__toggle { display: block; }

  .nav__menu {
    position: fixed;
    inset: 60px .75rem auto .75rem;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: .75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s, opacity .25s;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .nav.is-open .nav__menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__menu a { padding: .85rem 1rem; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav__menu a::after { display: none; }
  .nav__menu a.is-active { background: var(--brand-blue-soft); }

  .hero { padding-top: 96px; padding-bottom: 3rem; }
  .hero__visual  { height: 260px; }
  .card-stack__mark { width: 200px; height: 200px; }
  .card-stack__card { padding: .7rem .95rem; font-size: .85rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__stats   { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .hero__stats li:last-child { grid-column: 1 / -1; }
  .hero__scroll { display: none; }

  .values   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .divs     { grid-template-columns: 1fr; }
  .divs__card { grid-template-columns: 1fr; }
  .divs__icon { width: 56px; height: 56px; }
  .prods    { grid-template-columns: 1fr; }
  .process  { grid-template-columns: 1fr; }

  .contact__form { grid-template-columns: 1fr; padding: 1.5rem; }
  .field--actions { flex-direction: column; align-items: stretch; }
  .field--actions .btn { width: 100%; }

  .footer { padding-top: 3rem; }
  .footer__cols   { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer__brand img { width: 160px; }
  .footer__barInner { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.55rem, 6.5vw, 2rem); }

  .container { padding-inline: 1rem; }
  .btn--lg { height: 50px; padding: 0 1.3rem; font-size: .95rem; }

  .hero__text > p { font-size: 1rem; }
  .hero__stats   { grid-template-columns: 1fr 1fr; }
  .hero__visual  { height: 240px; }
  .card-stack__mark { width: 180px; height: 180px; }
  .card-stack__card--1 { left: 0; padding: .6rem .85rem; font-size: .8rem; }
  .card-stack__card--2 { right: 0; padding: .6rem .85rem; font-size: .8rem; }
  .card-stack__card--3 { left: 0; padding: .6rem .85rem; font-size: .8rem; }

  .section { padding-block: 3.5rem; }
  .section__head { margin-bottom: 1.8rem; }

  .mv__card     { padding: 1.4rem 1.3rem; }
  .divs__card   { padding: 1.4rem 1.3rem; }
  .step         { padding: 1.4rem 1.3rem; }
  .prods__card  { padding: 1.3rem; }
  .clients__card { padding: .75rem 1.05rem; font-size: .85rem; }

  .footer__cols { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer__col h5 { font-size: .8rem; }
  .footer__credit { padding: .35rem .6rem; font-size: .78rem; }
  .footer__credit img { height: 16px; }
}

/* Very small (≤ 360px) — protecção contra overflow */
@media (max-width: 360px) {
  :root { --pad: .85rem; }
  .nav__menu { inset: 56px .5rem auto .5rem; }
  .hero__stats   { grid-template-columns: 1fr; }
  .hero__stats li:last-child { grid-column: auto; }
  .values { grid-template-columns: 1fr; }
}

/* Landscape em phones — evita hero a esmagar */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-top: 90px; padding-bottom: 2rem; }
  .hero__visual { height: 220px; }
  .hero__scroll { display: none; }
}

/* iOS notch / safe areas */
@supports (padding: max(0px)) {
  .container { padding-inline: max(var(--pad), env(safe-area-inset-left)); }
  .footer__bar { padding-bottom: max(1.4rem, env(safe-area-inset-bottom)); }
  .to-top { bottom: max(1.2rem, env(safe-area-inset-bottom)); right: max(1.2rem, env(safe-area-inset-right)); }
}
