:root {
  color-scheme: dark;
  --roxo: #241046;
  --roxo-2: #1a0b33;
  --roxo-3: #12071f;
  --magenta: #d946ef;
  --magenta-2: #e879f9;
  --ciano: #4fe8d4;
  --ciano-2: #2fc9b5;
  --ciano-3: #1fa697;
  --lilas: #f6effc;
  --muted: #c4b4da;
  --line: rgba(246, 239, 252, 0.14);
  --k-bg: #1c1917;
  --k-accent: #ea580c;
  --k-btn: #c2410c;
  --c-bg: #fbf4ea;
  --c-terra: #c1633f;
  --c-salvia: #7c8a6a;
  --c-ink: #2e2621;
  --c-btn: #a5522f;
  --gutter: clamp(16px, 5vw, 96px);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--roxo-3);
  color: var(--lilas);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ciano);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  text-wrap: balance;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
.wrap {
  padding-inline: var(--gutter);
  max-width: 1440px;
  margin-inline: auto;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.3s;
}
.nav.solid {
  background: rgba(18, 7, 31, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.brand img {
  width: 30px;
  height: 33px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
}
.nav-links a:hover {
  color: var(--lilas);
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
}
.pill-ciano {
  background: var(--ciano);
  color: var(--roxo) !important;
}
.pill-ciano:hover {
  background: #7df0e1;
}
@media (max-width: 720px) {
  .nav-links a:not(.pill) {
    display: none;
  }
  .nav-links .pill {
    min-height: 44px;
    padding: 0 18px;
    font-size: 15px;
  }
}

/* SCROLLY */
.scrolly {
  position: relative;
  height: 250vh;
}
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  perspective: 1000px;
  background: radial-gradient(ellipse at 50% 55%, #3a1a6e 0%, var(--roxo) 38%, var(--roxo-3) 100%);
}
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(217, 70, 239, 0.35), transparent 55%);
  opacity: 0;
}
.world {
  position: absolute;
  left: 50%;
  top: 58%;
  transform-style: preserve-3d;
  will-change: transform;
}
.cubelet {
  position: absolute;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
}
.face {
  position: absolute;
  width: var(--s);
  height: var(--s);
  left: calc(var(--s) / -2);
  top: calc(var(--s) / -2);
  border: calc(var(--s) * 0.035) solid var(--roxo);
  border-radius: calc(var(--s) * 0.06);
  backface-visibility: hidden;
  background: var(--roxo);
}
.particles {
  position: absolute;
  left: 50%;
  top: 55%;
  transform-style: preserve-3d;
}
.pt {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  left: -7px;
  top: -7px;
}

.intro {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(76px + env(safe-area-inset-top, 0px) + 2vh);
  text-align: center;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.intro h1 {
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.04;
  max-width: 18ch;
}
.intro h1 em {
  font-style: normal;
  color: var(--ciano);
}
.intro p {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
  font-weight: 300;
  max-width: 46ch;
}
.hint {
  position: absolute;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hint .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  position: relative;
}
.hint .mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--ciano);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.inside {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vh, 56px);
  transform-style: preserve-3d;
  pointer-events: none;
}
.inside .cap {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-inline: var(--gutter);
}
.inside .cap h2 {
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.08;
}
.inside .cap p {
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
}
.orbit {
  display: flex;
  gap: clamp(40px, 10vw, 180px);
  transform-style: preserve-3d;
}
.float {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  pointer-events: auto;
  will-change: transform, opacity;
}
.bob {
  animation: bob 6s ease-in-out infinite;
}
.float:nth-child(2) .bob {
  animation-delay: -3s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
  50% {
    transform: translateY(10px) rotate(1.5deg);
  }
}
.disc {
  width: clamp(130px, 15vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}
.float:hover .disc {
  transform: scale(1.06);
}
.disc img {
  width: 66%;
  height: 66%;
}
.disc-k {
  background: var(--k-bg);
  box-shadow:
    0 0 0 1px rgba(234, 88, 12, 0.35),
    0 30px 80px -10px rgba(234, 88, 12, 0.55);
}
.disc-c {
  background: var(--c-bg);
  box-shadow:
    0 0 0 1px rgba(193, 99, 63, 0.35),
    0 30px 80px -10px rgba(232, 180, 140, 0.5);
}
.flabel {
  text-align: center;
  line-height: 1.2;
}
.flabel b {
  display: block;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
}
.flabel span {
  font-size: 14px;
  color: var(--muted);
}
.flabel.c b {
  font-family: "Petrona", Georgia, serif;
  font-weight: 600;
}
@media (max-width: 640px) {
  .orbit {
    flex-direction: column;
    gap: 28px;
  }
  .float {
    flex-direction: row;
    gap: 16px;
  }
  .flabel {
    text-align: left;
  }
  .disc {
    width: 110px;
  }
}

/* SECTIONS */
section.band {
  padding-block: clamp(72px, 10vw, 128px);
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 18px;
}
.checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.checks svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* Produtos — na paleta da Solution; só o símbolo de cada produto mantém a cor própria */
.kitchen {
  background: var(--roxo);
  color: var(--lilas);
}
.clinics {
  background: var(--roxo-2);
  color: var(--lilas);
}
.kitchen .eyebrow {
  color: var(--magenta-2);
}
.clinics .eyebrow {
  color: var(--ciano);
}
.kitchen h2,
.clinics h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
}
.kitchen .lead,
.clinics .lead {
  font-size: 20px;
  color: #dccfea;
  max-width: 48ch;
}
.kitchen .checks,
.clinics .checks {
  color: var(--lilas);
}
.prod-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.prod-head .tile {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kitchen .tile {
  background: var(--k-bg);
}
.clinics .tile {
  background: var(--c-bg);
}
.prod-head img {
  width: 48px;
  height: 48px;
}
.prod-head .nm {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.prod-head .nm span:first-child {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
}
.prod-head .nm span:last-child {
  font-size: 28px;
  font-weight: 700;
}
.kitchen .nm span:last-child {
  color: var(--magenta-2);
}
.clinics .nm span:last-child {
  color: var(--ciano);
}
.col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ctarow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 8px;
}
.ctarow small {
  font-size: 15px;
  color: var(--muted);
}
.pill-k {
  background: var(--magenta-2);
  color: var(--roxo);
}
.pill-k:hover {
  background: #f0a6fb;
}
.pill-c {
  background: var(--ciano);
  color: var(--roxo);
}
.pill-c:hover {
  background: #7df0e1;
}

.bigmark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bigmark .disc {
  width: min(360px, 70vw);
}

.soon {
  background: var(--roxo);
}
.soon .box {
  border: 2px dashed rgba(201, 179, 227, 0.4);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.soon .box > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.soon h3 {
  font-size: clamp(22px, 2.2vw, 28px);
}
.soon p {
  color: var(--muted);
}
.pill-ghost {
  border: 1.5px solid rgba(246, 239, 252, 0.45);
  color: var(--lilas);
  background: transparent;
}
.pill-ghost:hover {
  border-color: var(--lilas);
}

.about {
  background: var(--roxo);
}
.about h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
}
.about .eyebrow {
  color: var(--ciano);
}
.about p.lead {
  font-size: 19px;
  color: #dccfea;
  max-width: 56ch;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 6vw, 72px);
}
@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}
.pillar {
  background: rgba(246, 239, 252, 0.05);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pillar h3 {
  font-size: 22px;
}
.pillar p {
  color: var(--muted);
  font-size: 16px;
}
.pillar .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--roxo-3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech {
  background: var(--roxo-3);
}
.tech h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.1;
}
.tech .eyebrow {
  color: var(--ciano);
}
.tech-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 48px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.tech-head p {
  color: var(--muted);
  font-size: 18px;
  max-width: 44ch;
}
.tgroups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1000px) {
  .tgroups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 380px) {
  .tgroups {
    grid-template-columns: 1fr;
  }
}
.tgroup {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(246, 239, 252, 0.03);
}
.tgroup h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tgroup h3::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c);
  transform: rotate(45deg) scaleY(0.58);
}
.tgroup ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tgroup li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tgroup li span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--roxo);
  background: var(--c);
}
.team {
  background: var(--roxo-2);
}
.team h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
}
.team .eyebrow {
  color: var(--ciano);
}
.team-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.team-head p {
  color: #dccfea;
  font-size: 19px;
}
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 720px) {
  .people {
    grid-template-columns: 1fr;
  }
}
.person {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
@media (max-width: 980px) {
  .person {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
.portrait {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 100%;
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease;
}
.person:hover .portrait img {
  filter: none;
}
.portrait::after {
  content: "";
  position: absolute;
  width: 30%;
  aspect-ratio: 1;
  right: -12px;
  bottom: -12px;
  border-radius: 14px;
  background: var(--tile);
  border: 4px solid var(--roxo-2);
  z-index: -0;
}
.portrait {
  isolation: isolate;
}
.bio {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}
.bio b {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.bio .role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tile);
}
.bio p {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
}
.stack {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stack li {
  font-size: 13px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #dccfea;
}

.contact {
  background: var(--roxo-3);
}
.contact .card {
  background: var(--roxo);
  border-radius: 36px;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--line);
}
.contact h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
}
.contact .lead {
  font-size: 19px;
  color: #dccfea;
}
.contact .line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}
form {
  background: var(--lilas);
  color: var(--roxo);
  border-radius: 26px;
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-size: 15px;
  font-weight: 600;
}
.field input,
.field select {
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid #d8c6ec;
  background: #fff;
  color: var(--roxo);
  font: inherit;
  font-size: 17px;
  color-scheme: light;
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--magenta);
  outline-offset: 1px;
}
form .pill {
  background: var(--roxo);
  color: var(--lilas);
  min-height: 56px;
  font-size: 17px;
}
form .pill:hover {
  background: #3a1a6e;
}
.formnote {
  font-size: 14px;
  color: #5b4a75;
  min-height: 1.4em;
}

footer {
  background: var(--roxo-3);
  border-top: 1px solid var(--line);
  padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px));
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--muted);
}
footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
footer a {
  text-decoration: none;
}
footer a:hover {
  color: var(--lilas);
}

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

/* Validação do formulário */
.err {
  font-size: 14px;
  color: #b3124a;
  min-height: 0;
}
.err:empty {
  display: none;
}
.field input[aria-invalid="true"] {
  border-color: #b3124a;
  background: #fff5f8;
}
.field input[aria-invalid="true"]:focus {
  outline-color: #b3124a;
}
.formnote.ok {
  color: #15807a;
  font-weight: 600;
}
.formnote.fail {
  color: #b3124a;
}
form button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Equipe com três pessoas: cartões verticais, foto em cima */
.people {
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.person {
  grid-template-columns: 1fr;
  align-items: start;
  align-content: start;
  gap: 24px;
}
.portrait {
  aspect-ratio: 1 / 1;
}
.portrait img {
  object-position: center top;
}
.portrait-initials {
  border-radius: 24px;
  background: var(--roxo);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-initials span {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--tile);
}
@media (max-width: 980px) {
  .people {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}
