/* VEXON · direção Azul
   Cores: Noite #0A0F2E · Cobalto #1F3BFF · Âmbar #FFB547 (máx. 5%) · Aço #6B7499 · Névoa #F4F6FF
   Fontes: Bricolage Grotesque 800 (títulos, -3,5%) · Inter 400/600 (textos) */

:root {
  --noite: #0A0F2E;
  --cobalto: #1F3BFF;
  --cobalto-claro: #2F52FF;
  --cobalto-fundo: #0B1A8F;
  --ambar: #FFB547;
  --ambar-escuro: #F29A1F;   /* âmbar sobre fundo claro */
  --ambar-texto: #2A1A00;
  --aco: #6B7499;
  --nevoa: #F4F6FF;

  --bg-claro: #F4F5FA;
  --card: #FCFDFF;
  --borda: #DDE1EE;
  --texto: #3A4366;
  --texto-suave: #5B6488;
  --texto-claro: #DCE2FF;
  --texto-dark: #B7C0E6;
  --linha-dark: #26305E;
  --campo: #141A3D;

  --gradiente: linear-gradient(135deg, var(--cobalto-claro) 0%, var(--cobalto) 45%, var(--cobalto-fundo) 100%);

  --gutter: clamp(16px, 6vw, 120px);
  --max: 1680px;
  --header-h: 80px;
  --radius: 24px;

  --font-display: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem);
  line-height: 1.55;
  color: var(--texto);
  background: var(--noite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

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

.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-optical-sizing: auto;
}
.dot { color: var(--ambar); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--nevoa); color: var(--noite);
  padding: 12px 20px; border-radius: 12px; font-weight: 600;
}
.skip:focus { top: 16px; }

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

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  padding: 0.95em 2em;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { font-size: 1rem; padding: 0.7em 1.5em; }
.btn-block { width: 100%; }

.btn-amber { background: var(--ambar); color: var(--ambar-texto); }
.btn-amber:hover { box-shadow: 0 12px 30px rgba(255, 181, 71, .35); }
.btn-outline { color: var(--nevoa); border-color: #8FA2FF; }
.btn-outline:hover { background: rgba(244, 246, 255, .1); border-color: var(--nevoa); }
.btn-light { background: var(--nevoa); color: var(--noite); }
.btn-light:hover { background: #fff; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-size: clamp(0.8125rem, 0.75rem + 0.3vw, 1.125rem);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cobalto);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--texto-claro); }
.eyebrow-amber { color: var(--ambar); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--nevoa);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 15, 46, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; color: var(--nevoa); position: relative; z-index: 2; }
.brand .logo { height: 34px; width: auto; aspect-ratio: 2797 / 556; }

.nav { display: flex; align-items: center; gap: clamp(24px, 2.5vw, 44px); }
.nav a:not(.btn) {
  color: var(--texto-claro);
  text-decoration: none;
  font-size: 1.0625rem;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a.is-active { color: #fff; font-weight: 600; border-bottom-color: currentColor; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  background: transparent; border: 0; cursor: pointer;
  position: relative; z-index: 2;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: var(--nevoa);
  transition: transform .3s ease, top .3s ease;
}
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand .logo { height: 28px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--noite);
    opacity: 0; visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .nav a:not(.btn) { font-size: 1.75rem; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; color: var(--nevoa); }
  .nav .btn { font-size: 1.125rem; margin-top: 12px; }
  .site-header.menu-open .nav { opacity: 1; visibility: visible; }
  /* backdrop-filter prende elementos position:fixed dentro do header; desliga com o menu aberto */
  .site-header.menu-open { background: var(--noite); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--gradiente);
  color: var(--nevoa);
  padding: calc(var(--header-h) + 48px) 0 96px;
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 22% 12%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 45%);
}
.hero-sun {
  position: absolute;
  width: clamp(360px, 43vw, 820px); aspect-ratio: 1;
  right: clamp(-260px, -9vw, -120px); bottom: clamp(-320px, -13vw, -160px);
  border-radius: 50%;
  background: var(--ambar);
}
.hero-dots {
  position: absolute;
  width: clamp(200px, 17vw, 330px); aspect-ratio: 1;
  right: 22%; top: 16%;
  background-image: radial-gradient(circle, #8FA2FF 3.5px, transparent 4px);
  background-size: 33px 33px;
  opacity: .9;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(3.25rem, 1.6rem + 7vw, 8.5rem);
  line-height: .95;
  max-width: 11ch;
  color: var(--nevoa);
}
.lead {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.625rem);
  line-height: 1.5;
  color: var(--texto-claro);
  max-width: 760px;
  margin: clamp(24px, 3vw, 36px) 0 clamp(32px, 4vw, 48px);
}
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 860px) {
  .hero { align-items: flex-end; padding-bottom: 150px; }
  .hero-dots { right: 8%; top: 14%; opacity: .5; }
  .hero-sun { width: 280px; right: -110px; bottom: -150px; }
}
@media (max-width: 480px) {
  .actions .btn { flex: 1 1 100%; }
}

/* ---------- Seções ---------- */
.section { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 140px) 0; }
.section-light { background: var(--bg-claro); }
.section-light h2, .section-light h3 { color: var(--noite); }
.section-light .dot { color: var(--ambar-escuro); }
.section-dark { background: var(--noite); color: var(--texto-dark); }
.section-dark h2, .section-dark h3 { color: var(--nevoa); }

.section h2 { font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.75rem); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 1100px; }
.section-head.split {
  max-width: none;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px 80px;
  flex-wrap: wrap;
}
.section-head.split > div { max-width: 900px; }
.section-intro {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.3125rem);
  line-height: 1.6;
  max-width: 520px;
}
.section-intro.wide { max-width: 860px; margin-top: clamp(24px, 3vw, 36px); }

/* Cards de soluções */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: clamp(28px, 2.5vw, 40px);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #C5CCF5;
  box-shadow: 0 24px 48px -24px rgba(31, 59, 255, .25);
}
.card-top { display: flex; align-items: center; justify-content: space-between; }
.num { font-size: 1.125rem; font-weight: 600; color: var(--texto-suave); }
.pip { width: 14px; height: 14px; border-radius: 50%; background: var(--cobalto); }
.pip-amber { background: var(--ambar-escuro); }
.card h3 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.05; }

/* Etapas */
.dark-orb {
  position: absolute; left: -200px; bottom: -320px;
  width: 640px; height: 640px; border-radius: 50%;
  background: var(--cobalto); opacity: .55;
}
.section-dark .container { position: relative; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  margin-top: clamp(48px, 6vw, 80px);
}
.step { display: flex; flex-direction: column; gap: 18px; }
.step-line { display: flex; align-items: center; }
.step-line::after { content: ""; flex: 1; height: 3px; background: var(--linha-dark); }
.step-line-end::after { display: none; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--nevoa); flex: none; }
.step-dot-amber { background: var(--ambar); }
.step .num { color: var(--texto-dark); }
.step h3 { font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem); }
.step p { max-width: 330px; }

.sectors {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: clamp(56px, 6vw, 84px);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem);
}
.sectors > p { margin-right: 12px; }
.sectors ul { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.sectors li {
  font-weight: 600; color: var(--nevoa);
  border: 1.5px solid var(--linha-dark);
  padding: .7em 1.3em; border-radius: 999px;
}

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
  .step:nth-child(2) .step-line::after { display: none; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid; grid-template-columns: 28px 1fr; column-gap: 24px; row-gap: 8px;
    padding-bottom: 40px; position: relative;
  }
  .step-line { grid-row: 1 / span 3; align-self: stretch; flex-direction: column; }
  .step-line::after { width: 3px; height: auto; display: block !important; margin-top: 8px; }
  .step-line-end::after { display: none !important; }
  .step:last-child { padding-bottom: 0; }
}

/* Sobre */
.about {
  display: grid; grid-template-columns: 1fr minmax(320px, 640px);
  gap: clamp(48px, 5vw, 96px); align-items: stretch;
}
.about h2 { font-size: clamp(2.5rem, 1.5rem + 3.6vw, 5rem); }
.values {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: clamp(40px, 5vw, 56px);
}
.values li { border-top: 3px solid var(--cobalto); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.values h3 { font-size: clamp(1.75rem, 1.5rem + .6vw, 2.125rem); }

.about-card {
  position: relative; overflow: hidden;
  min-height: 560px;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--cobalto-claro) 0%, var(--cobalto-fundo) 100%);
  color: var(--nevoa);
  padding: clamp(32px, 3.5vw, 56px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.about-card .logo { height: clamp(40px, 3vw, 54px); width: auto; aspect-ratio: 2797 / 556; position: relative; }
.about-sun {
  position: absolute; right: -160px; bottom: -160px;
  width: 520px; aspect-ratio: 1; border-radius: 50%; background: var(--ambar);
}
.about-tagline { position: relative; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.625rem); line-height: 1.02; max-width: 470px; }
.about-place { position: relative; color: var(--texto-claro); font-size: 1.25rem; }

@media (max-width: 1200px) {
  .about { grid-template-columns: 1fr; }
  .about-card { min-height: 420px; }
}
@media (max-width: 760px) {
  .values { grid-template-columns: 1fr; gap: 32px; }
  .about-sun { width: 300px; right: -150px; bottom: -170px; }
}

/* Contato */
.contact { background: var(--gradiente); color: var(--nevoa); }
.contact { padding-bottom: clamp(120px, 14vw, 220px); }
.contact-sun {
  position: absolute; left: 0; bottom: 0;
  width: clamp(320px, 34vw, 640px); aspect-ratio: 1; border-radius: 50%; background: var(--ambar);
  transform: translate(-42%, 62%);
}
.contact-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 760px);
  gap: clamp(48px, 6vw, 120px); align-items: start;
}
.contact h2 { font-size: clamp(2.75rem, 1.5rem + 3.8vw, 6rem); line-height: .98; color: var(--nevoa); }
.contact .lead { max-width: 640px; }
/* Canais (WhatsApp, e-mail, local) */
.channels { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.channel {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(244, 246, 255, .08);
  border: 1px solid rgba(244, 246, 255, .16);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
a.channel:hover { background: rgba(244, 246, 255, .14); border-color: rgba(244, 246, 255, .32); transform: translateX(4px); }
.channel-static { background: transparent; border-color: transparent; padding-inline: 4px; }
.channel-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--nevoa); color: var(--cobalto);
}
.channel-static .channel-icon { background: rgba(244, 246, 255, .12); color: var(--nevoa); }
.channel-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.channel-text { display: flex; flex-direction: column; min-width: 0; }
.channel-label { font-weight: 600; font-size: 1.0625rem; color: var(--nevoa); }
.channel-value { font-size: .9375rem; color: var(--texto-claro); overflow-wrap: anywhere; }
.channel-arrow { margin-left: auto; font-size: 1.25rem; color: var(--texto-claro); transition: transform .2s ease; }
a.channel:hover .channel-arrow { transform: translateX(3px); color: var(--nevoa); }

/* Cartão do formulário */
.contact-card {
  background: var(--noite);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 48px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .25);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-head h3 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); color: var(--nevoa); }
.form-head p { font-size: .9375rem; color: var(--texto-dark); margin-top: 6px; }
.req { color: var(--ambar); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 10px; border: 0; min-width: 0; }
.field label, .field legend { font-size: 1rem; font-weight: 600; color: var(--texto-claro); }
.field legend { margin-bottom: 10px; padding: 0; }
.field input, .field textarea {
  width: 100%;
  background: var(--campo);
  border: 1.5px solid var(--linha-dark);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--nevoa);
  font-size: 1.0625rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #6E78A8; }
.field input { height: 58px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: #6F86FF;
  box-shadow: 0 0 0 4px rgba(31, 59, 255, .35);
}
.field.has-error input, .field.has-error textarea { border-color: #FF7A7A; }

/* Chips de interesse */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: .55em 1.05em;
  border-radius: 999px;
  border: 1.5px solid var(--linha-dark);
  font-size: .9375rem; font-weight: 600; color: var(--texto-dark);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover span { border-color: #4A57A0; color: var(--nevoa); }
.chip input:checked + span { background: var(--cobalto); border-color: var(--cobalto); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--ambar); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Botão com carregamento */
.contact-form .btn { margin-top: 4px; position: relative; }
.spinner {
  display: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid rgba(42, 26, 0, .25); border-top-color: var(--ambar-texto);
  animation: girar .8s linear infinite;
}
.is-sending .spinner { display: inline-block; }
.is-sending .btn { pointer-events: none; opacity: .85; }
@keyframes girar { to { transform: rotate(360deg); } }

.form-note { font-size: .875rem; color: #8A93BE; text-align: center; margin-top: -4px; }
.form-status { min-height: 1.4em; font-size: 1rem; color: var(--texto-claro); text-align: center; margin-top: -8px; }
.form-status:empty { display: none; }
.form-status.is-error { color: #FF9B9B; }
.form-status a { color: inherit; }

/* Confirmação de envio */
.form-success {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding: clamp(24px, 4vw, 56px) 0;
  outline: none;
}
.form-success[hidden] { display: none; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cobalto); color: #fff;
  animation: surgir .5s cubic-bezier(.2, .9, .3, 1.3);
}
.success-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); color: var(--nevoa); }
.form-success p { max-width: 400px; color: var(--texto-dark); }
.form-success .btn { margin-top: 8px; }
.btn-link {
  background: none; border: 0; cursor: pointer;
  color: var(--texto-claro); font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
}
.btn-link:hover { color: var(--nevoa); }
@keyframes surgir { from { transform: scale(.4); opacity: 0; } }

/* Botão flutuante do WhatsApp */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px rgba(10, 15, 46, .35);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.whats-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.whats-float:hover { transform: scale(1.06); }
.whats-float svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1100px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact { padding-bottom: clamp(80px, 9vw, 140px); }
  .contact-sun { width: 420px; left: auto; right: 0; bottom: auto; top: 0; transform: translate(55%, -55%); }
}

/* Rodapé */
.site-footer { background: var(--noite); color: var(--texto-dark); padding: 56px 0 36px; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 32px; border-bottom: 1px solid var(--linha-dark);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--nevoa); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; font-size: .9375rem;
}

/* ---------- Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
