/* Vek · identidade azul recuperada · evolução direcionada da landing B2B */

:root {
  color-scheme: light;
  --canvas: #f7fbfe;
  --surface: #ffffff;
  --surface-blue: #e9f7fc;
  --surface-blue-strong: #d7f1fb;
  --ink: #161c2d;
  --navy: #2b354f;
  --muted: #3f5065;
  --blue: #00abe8;
  --blue-hover: #22b8ed;
  --blue-deep: #005173;
  --on-blue: #05090d;
  --on-blue-secondary: #2b354f;
  --focus: #161c2d;
  --line: rgb(22 28 45 / 12%);
  --line-strong: rgb(22 28 45 / 22%);
  --blue-line: rgb(0 81 115 / 30%);
  --surface-outline: rgb(0 81 115 / 12%);
  --nav-border: rgb(22 28 45 / 9%);
  --nav-bg: #ffffff;
  --control-bg: #ffffff;
  --stack-bg: #ffffff;
  --hero-illustration-field: var(--surface-blue-strong);
  --illustration-field: transparent;
  --radial: rgb(0 171 232 / 10%);
  --shadow: 0 24px 70px rgb(0 81 115 / 16%);

  --font-display: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --space-2xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --maxw: 74rem;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #08111d;
  --surface: #0f1a28;
  --surface-blue: #102b3a;
  --surface-blue-strong: #133a4d;
  --ink: #f4f8fb;
  --navy: #d4e0e9;
  --muted: #b8c8d5;
  --blue: #22b8ee;
  --blue-hover: #48c6f2;
  --blue-deep: #82ddfa;
  --on-blue: #05090d;
  --on-blue-secondary: #203348;
  --focus: #f4f8fb;
  --line: rgb(244 248 251 / 14%);
  --line-strong: rgb(244 248 251 / 26%);
  --blue-line: rgb(130 221 250 / 34%);
  --surface-outline: rgb(130 221 250 / 18%);
  --nav-border: rgb(130 221 250 / 16%);
  --nav-bg: #0f1a28;
  --control-bg: #162436;
  --stack-bg: #08111d;
  --hero-illustration-field: #d7f1fb;
  --illustration-field: #e9f7fc;
  --radial: rgb(34 184 238 / 14%);
  --shadow: 0 28px 80px rgb(0 0 0 / 42%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--blue-deep) var(--canvas); }
html, body { overflow-x: clip; }
[id] { scroll-margin-top: 6.5rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 8%, var(--radial), transparent 24rem),
    var(--canvas);
  caret-color: var(--blue-deep);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}

::selection { color: var(--on-blue); background: var(--blue); }

a { text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }

.skip-link {
  position: fixed;
  left: var(--space-sm);
  top: -5rem;
  z-index: 300;
  padding: .7rem 1rem;
  color: var(--surface);
  background: var(--ink);
  border-radius: 0 0 .7rem .7rem;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

/* Navegação */
.nav {
  position: fixed;
  top: var(--space-md);
  left: 50%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  width: min(100% - 2rem, 64rem);
  min-height: 4.25rem;
  padding: .65rem .65rem .65rem 1.25rem;
  border: 1px solid var(--nav-border);
  border-radius: 1rem;
  background: var(--nav-bg);
  box-shadow: 0 12px 38px rgb(0 0 0 / 13%);
  transform: translateX(-50%);
}
.wordmark { display: inline-flex; align-items: center; min-height: 2.75rem; }
.theme-logo { display: grid; }
.theme-logo img { grid-area: 1 / 1; }
.theme-logo-dark { display: none; }
html[data-theme="dark"] .theme-logo-light { display: none; }
html[data-theme="dark"] .theme-logo-dark { display: block; }
.wordmark img { width: 5.9rem; height: auto; }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.theme-control { display: none; }
html[data-theme-ready="true"] .theme-control { display: block; }
.theme-control select {
  min-width: 7.1rem;
  min-height: 2.75rem;
  padding: .55rem .65rem;
  border: 1px solid var(--line-strong);
  border-radius: .65rem;
  color: var(--ink);
  background: var(--control-bg);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .65rem .85rem;
  border-radius: .65rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface-blue); }
.nav-links a:active { transform: translateY(1px); }
.nav-links .nav-cta { color: var(--on-blue); background: var(--blue); }
.nav-links .nav-cta:hover { color: var(--on-blue); background: var(--blue-hover); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: 100svh;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-2xl) clamp(var(--space-sm), 5vw, var(--space-2xl)) var(--space-xl);
}
.hero-text { position: relative; z-index: 2; }
.tag {
  display: block;
  margin: 0 0 var(--space-md);
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-title {
  max-width: 12ch;
  margin: 0 0 var(--space-md);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 6vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}
.accent-word { color: var(--blue-deep); }
.lede {
  max-width: 56ch;
  margin: 0 0 var(--space-lg);
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-md); }
.hero-viz {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem);
}
.hero-viz::before {
  content: "";
  position: absolute;
  inset: 9% 2% 3% 8%;
  z-index: -1;
  border-radius: 48% 52% 41% 59% / 55% 39% 61% 45%;
  background: var(--hero-illustration-field);
  transform: rotate(-3deg);
}
.hero-viz img { width: 100%; filter: drop-shadow(0 24px 30px rgb(0 121 170 / 12%)); }

/* Ações */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 3rem;
  padding: .35rem .35rem .35rem 1.25rem;
  border: 0;
  border-radius: .8rem;
  color: var(--on-blue);
  background: var(--blue);
  font: inherit;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 12px 30px rgb(0 171 232 / 22%);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--blue-hover); box-shadow: 0 16px 34px rgb(0 81 115 / 28%); transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-arrow {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .55rem;
  color: var(--surface);
  background: var(--ink);
  transition: transform .25s var(--ease);
}
.btn:hover .btn-arrow { transform: translate(.12rem, -.08rem); }
.link-quiet {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 650;
  text-decoration-color: rgb(0 121 170 / 42%);
  text-decoration-thickness: 1px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.link-quiet:hover { color: var(--blue-deep); text-decoration-color: var(--blue-deep); }

/* Seções */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-2xl) clamp(var(--space-sm), 5vw, var(--space-2xl));
  border-top: 1px solid var(--line);
}
.section-head { display: grid; gap: .35rem; margin-bottom: var(--space-xl); }
.section h2 {
  max-width: 24ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.products { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.product {
  display: grid;
  grid-template-columns: minmax(7rem, .65fr) minmax(8rem, .8fr) minmax(0, 1.7fr);
  gap: var(--space-md);
  align-items: baseline;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--line);
}
.product-kicker { margin: 0; color: var(--blue-deep); font-size: .82rem; font-weight: 750; }
.product h3 { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.product p { margin: 0; color: var(--muted); }
.product-cap {
  grid-column: 3;
  justify-self: end;
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .025em;
}

.grupo {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(15rem, .65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.grupo .lede { max-width: 62ch; }
.grupo-note {
  max-width: 60ch;
  margin: var(--space-md) 0 0;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: 1.06rem;
}
.grupo-note strong { color: var(--ink); font-weight: 700; }
.section-illustration {
  width: 100%;
  max-height: 20rem;
  object-fit: contain;
  padding: var(--space-sm);
  border-radius: 48% 52% 44% 56% / 52% 42% 58% 48%;
  background: var(--illustration-field);
}

.section-dark {
  margin-block: var(--space-xl);
  border: 0;
  border-radius: 1.5rem;
  background: var(--surface-blue);
  box-shadow: inset 0 0 0 1px var(--surface-outline);
}
.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.stack { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: var(--space-lg) 0 0; padding: 0; }
.stack li {
  padding: .48rem .8rem;
  border: 1px solid var(--blue-line);
  border-radius: .55rem;
  color: var(--navy);
  background: var(--stack-bg);
  font-family: var(--font-mono);
  font-size: .78rem;
}

.statement {
  margin: 0;
  padding: var(--space-3xl) clamp(var(--space-sm), 8vw, 8rem);
  color: var(--on-blue);
  background: var(--blue);
}
.statement p {
  max-width: 25ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.3vw, 4.5rem);
  font-weight: 650;
  letter-spacing: -.03em;
  line-height: 1.05;
  text-wrap: balance;
}
.statement .accent-word { color: var(--on-blue-secondary); text-decoration: underline; text-decoration-color: rgb(5 9 13 / 28%); text-decoration-thickness: .08em; text-underline-offset: .13em; }

/* Contato */
.bezel { padding: .6rem; border-radius: 1.5rem; background: var(--surface-blue-strong); box-shadow: var(--shadow); }
.bezel-core { padding: clamp(1.5rem, 5vw, 4rem); border-radius: 1.05rem; background: var(--surface); }
.nav, .section-dark, .bezel, .bezel-core, .stack li, .theme-control select {
  transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-head { margin-bottom: var(--space-md); }
.contact-head h2 { margin: 0; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: 0; color: var(--muted); font-size: .92rem; }
.contact-alt a { color: var(--blue-deep); }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--space-xl) clamp(var(--space-sm), 5vw, var(--space-2xl));
  color: var(--muted);
  font-size: .88rem;
}
.foot-brand { margin: 0; }
.foot-brand img { width: 5.9rem; height: auto; }
.foot-note { margin: 0; }

/* Conteúdo visível por padrão; movimento fica restrito aos estados interativos. */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 7rem; }
  .hero-title { max-width: 14ch; }
  .hero-viz { max-width: 38rem; margin: 0 auto; }
  .grupo, .platform-grid { grid-template-columns: 1fr; }
  .section-illustration { max-width: 28rem; margin: 0 auto; }
  .product { grid-template-columns: minmax(7rem, .7fr) minmax(0, 1.3fr); }
  .product p { grid-column: 1 / -1; }
  .product-cap { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { top: .75rem; width: calc(100% - 1rem); min-height: 3.8rem; padding-left: .85rem; }
  .wordmark img { width: 5.25rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links .nav-cta { padding: .7rem .8rem; }
  .nav-actions { gap: .35rem; }
  .theme-control select { min-width: 6.7rem; padding-inline: .5rem; }
  .hero { gap: var(--space-lg); padding: 6rem var(--space-sm) var(--space-xl); }
  .hero-title { font-size: clamp(2.45rem, 12vw, 3.5rem); line-height: 1.02; }
  .hero-title br { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section { padding: var(--space-xl) var(--space-sm); }
  .section-dark { margin: var(--space-md) .5rem; padding-inline: var(--space-sm); }
  .product { grid-template-columns: 1fr; gap: .4rem; }
  .product p, .product-cap { grid-column: 1; }
  .statement { padding: var(--space-2xl) var(--space-sm); }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .footer { align-items: flex-start; flex-direction: column; padding: var(--space-lg) var(--space-sm); }
}

@media (max-width: 420px) {
  .nav-links .nav-cta { display: none; }
}

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