:root {
  --bg: #0b0e0f;
  --bg-alt: #101314;
  --card: #141617;
  --text: #ffffff;
  --muted: #ffffff;
  --line: rgba(255, 255, 255, 0.18);
  /* Cores extraidas dos .ai */
  --label: #4529c5;
  --title-blue: #0c42e0;
  --accent-a: #6930ef;
  --accent-b: #3750ee;
  --purple: #6930ef;
  --blue: #3750ee;
  --cyan: #00c8f0;
  --grad: linear-gradient(90deg, var(--accent-a), var(--accent-b) 55%, var(--cyan));
  --grad-text: linear-gradient(90deg, var(--accent-a), var(--accent-b));
  --container: 1120px;
  /* Outfit: Nexa subset quebra kerning em vários dispositivos */
  --font: "Outfit", sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-bold: 700;
  --fw-heavy: 800;
  --glow-border-width: 2.3px;
  --glow-spin-gradient: conic-gradient(
    from 0deg,
    var(--accent-a) 0deg,
    var(--accent-b) 70deg,
    var(--cyan) 140deg,
    #4eb8e0 180deg,
    var(--accent-b) 240deg,
    var(--label) 300deg,
    var(--accent-a) 360deg
  );
  --glow-face: var(--bg);
  --form-glow-gradient: conic-gradient(
    from var(--glow-angle, 0deg),
    var(--accent-a) 0deg,
    var(--accent-b) 70deg,
    var(--cyan) 140deg,
    #4eb8e0 180deg,
    var(--accent-b) 240deg,
    var(--label) 300deg,
    var(--accent-a) 360deg
  );
}

@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes btn-border-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glow-angle-spin {
  to {
    --glow-angle: 360deg;
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  letter-spacing: normal;
  word-spacing: normal;
  font-kerning: normal;
  font-variant-ligatures: none;
}

/* Nexa subset quebra kerning; Outfit em todas as telas */
body *:not(br) {
  font-family: "Outfit", sans-serif !important;
}

/* Fontes aplicadas pelo editor CMS (Quill) — ver fonts.css */

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  max-width: 100%;
  min-width: 0;
}

.grad-text {
  background: repeating-linear-gradient(
    90deg,
    var(--accent-a) 0%,
    var(--accent-b) 18%,
    #315ce4 25%,
    var(--accent-b) 32%,
    var(--accent-a) 50%
  );
  background-size: 200% auto;
  background-position: 0% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: grad-text-shine 3.6s linear infinite;
  font-style: inherit;
  font-weight: inherit;
  display: inline-block;
  padding: 0.2em 0.22em 0.28em 0.12em;
  margin: -0.08em -0.22em -0.12em -0.04em;
  line-height: 1.28;
  vertical-align: baseline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  overflow: visible;
}

@keyframes grad-text-shine {
  to {
    background-position: 100% center;
  }
}

/* Pontua\u00e7\u00e3o com o mesmo degrad\u00ea/it\u00e1lico do destaque */
.grad-text .grad-punct {
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  font-synthesis: none;
  background: inherit;
  background-size: inherit;
  background-position: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: inherit;
  display: inline;
  padding: 0;
  margin: 0;
  letter-spacing: inherit;
}

.grad-punct {
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  font-synthesis: none;
  display: inline;
  padding: 0;
  margin: 0;
  letter-spacing: inherit;
  color: inherit;
}

@media (min-width: 427px) {
  .grad-text {
    white-space: nowrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: var(--fw-bold);
  transition: transform 0.25s ease, background 0.25s ease;
  --btn-face: var(--bg);
  --btn-border: 2px;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -200%;
  background: var(--glow-spin-gradient);
  animation: btn-border-spin 2s linear infinite;
  filter: blur(2.5px) saturate(1.05) brightness(1.05);
  z-index: -2;
  pointer-events: none;
}

.btn::after {
  content: "";
  position: absolute;
  inset: var(--btn-border);
  border-radius: inherit;
  background: var(--btn-face);
  z-index: -1;
  pointer-events: none;
  transition: background 0.25s ease;
}

/* Cards: borda simples */
.team-card,
.gradient-border,
.about-banner-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #757572;
}

.team-card::before,
.gradient-border::before,
.about-banner-box::before {
  content: none;
}

.team-card {
  background: #151718;
}

.about-banner-box {
  background: rgba(255, 255, 255, 0.02);
}

/* Info / endereco */
.info-card,
.map-address {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #757572;
  background: var(--glow-face, #151718);
}

.info-card::before,
.map-address::before,
.info-card::after,
.map-address::after {
  content: none;
}

.info-card > *,
.map-address > * {
  position: relative;
  z-index: 2;
}

.info-card {
  --glow-face: #151718;
}

.map-address {
  --glow-face: rgba(11, 14, 15, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  .btn::before {
    animation: none;
  }

  .grad-text {
    animation: none;
    background-position: 0% center;
  }
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:hover::after {
  background: color-mix(in srgb, var(--btn-face) 92%, #fff);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn-fill {
  background: var(--grad);
}

.btn-fill::before,
.btn-fill::after {
  display: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.site-header {
  background: var(--bg-alt);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  --btn-face: var(--bg-alt);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease,
    border-color 0.3s ease,
    backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

@media (min-width: 427px) {
  .site-header.is-scrolled {
    padding: 0.75rem 0;
    background: rgba(16, 19, 20, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    --btn-face: rgba(16, 19, 20, 0.82);
  }
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  width: 92px;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  display: inline-block;
  font-size: 1.08rem;
  font-weight: var(--fw-regular);
  opacity: 1;
  position: relative;
  padding-bottom: 0.2rem;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    text-shadow 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #4529c5 0%, #3750ee 45%, #00c8f0 100%);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a:hover {
  color: var(--cyan);
  transform: translateY(-2px);
  text-shadow: 0 0 12px rgba(0, 200, 240, 0.45);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.mobile-nav a:not(.btn) {
  position: relative;
  display: inline-block;
  width: fit-content;
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    text-shadow 0.25s ease;
}

.mobile-nav a:not(.btn):hover {
  color: var(--cyan);
  transform: translateY(-2px);
  text-shadow: 0 0 12px rgba(0, 200, 240, 0.45);
}

.header-cta {
  justify-self: end;
  font-size: 0.98rem;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  place-items: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--grad);
  border-radius: 2px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 14, 15, 0.97);
  padding: 5.5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.menu-close {
  position: fixed;
  top: 1.1rem;
  right: 1.25rem;
  z-index: 70;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: #fff;
}

.menu-close svg {
  width: 22px;
  height: 22px;
}

.mobile-nav a {
  font-size: 1.35rem;
  font-weight: 700;
}

.mobile-nav a.is-active {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mobile-nav .btn {
  margin-top: 1rem;
  align-self: center;
}

.page-hero,
.content-section,
.final-cta {
  padding: 5.5rem 0;
}

.eyebrow {
  color: var(--text);
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: var(--fw-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: var(--fw-light);
  line-height: 1.18;
  margin-bottom: 1.35rem;
}

.page-title strong {
  font-weight: inherit;
  font-style: inherit;
}

.lead {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: var(--fw-light);
  max-width: 34rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: var(--fw-regular);
  line-height: 1.22;
}

.section-head p {
  color: var(--text);
  font-size: 1rem;
  font-weight: var(--fw-light);
}

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.75rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-brand .logo {
  width: 78px;
}

.footer-brand p,
.footer-col a {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: var(--fw-light);
}

.footer-brand p {
  font-weight: var(--fw-bold);
}

.footer-col {
  text-align: left;
}

.footer-col h3 {
  font-size: 0.9rem;
  font-weight: var(--fw-bold);
  letter-spacing: normal;
  margin-bottom: 0.9rem;
  text-align: left;
}

.footer-col a {
  display: block;
  position: relative;
  margin-bottom: 0.45rem;
}

.footer-col a::after {
  content: "";
  position: absolute;
  inset: -0.4rem -0.35rem;
}

.footer-col a.is-active {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: var(--fw-bold);
}

@media (min-width: 427px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid > :nth-child(2) {
    justify-self: center;
  }

  .footer-grid > :last-child {
    justify-self: end;
  }
}

.final-cta {
  background: #080a0b;
  --btn-face: #080a0b;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2rem;
  align-items: center;
  min-width: 0;
}

.final-cta-inner > * {
  min-width: 0;
  max-width: 100%;
}

.final-cta h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: var(--fw-regular);
  line-height: 1.2;
  margin-bottom: 1.1rem;
}

.final-cta p {
  color: var(--text);
  font-weight: var(--fw-light);
  margin-bottom: 1.6rem;
}

.cta-logo {
  width: min(100%, 340px);
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.spotlight-card {
  position: relative;
  isolation: isolate;
  transition:
    opacity 0.7s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-spotlight {
  position: absolute;
  inset: 1px;
  z-index: 4;
  border-radius: inherit;
  background: radial-gradient(
    200px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(12, 66, 224, 0.22) 0%,
    rgba(55, 80, 238, 0.14) 26%,
    rgba(69, 41, 197, 0.1) 48%,
    transparent 72%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .spotlight-card:hover .card-spotlight {
    opacity: 1;
  }

  .spotlight-card.reveal.is-visible:hover,
  .spotlight-card:not(.reveal):hover {
    transform: translateY(-2px);
  }
}

/* Menu mobile: 643px → abaixo (inclui a faixa 643–427) */
@media (max-width: 643px) {
  .nav,
  .header-cta {
    display: none;
  }

  .header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.35rem;
  }

  .menu-toggle {
    display: grid;
    justify-self: auto;
  }
}

@media (max-width: 426px) {
  .site-header {
    background: #16181a;
    position: relative;
    --btn-face: #16181a;
  }

  .logo {
    width: 86px;
  }

  .two-col,
  .section-head,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .content-section,
  .final-cta {
    padding: 4rem 0;
  }

  .cta-logo {
    justify-self: center;
    width: min(100%, 260px);
  }

  .site-footer {
    padding: 2rem 0 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1.15fr 0.85fr 0.85fr;
    gap: 0.65rem 0.75rem;
    align-items: start;
  }

  .footer-brand {
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
  }

  .footer-brand .logo {
    width: 48px;
    flex-shrink: 0;
  }

  .footer-brand p {
    font-size: 0.52rem;
    line-height: 1.35;
  }

  .footer-col h3 {
    font-size: 0.62rem;
    margin-bottom: 0.55rem;
  }

  .footer-col a {
    font-size: 0.58rem;
    margin-bottom: 0.28rem;
  }
}

@media (max-width: 426px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .page-title {
    font-size: 2.4rem;
  }
}

