/* TRELLA Group — design system / authored 2026 */
:root {
  --ink: #161025;
  --ink2: #39314a;
  --muted: #736d80;
  --purple: #8727ec;
  --purple2: #af59ff;
  --lilac: #ecdafe;
  --paper: #faf9fc;
  --line: #e9e3ef;
  --dark: #0e0918;
  --dark2: #181027;
  --edge: clamp(20px, 5.4vw, 86px);
  --radius: 25px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 80px rgba(72, 26, 109, 0.09);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Manrope",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
img,
svg {
  max-width: 100%;
}
img {
  display: block;
}
::selection {
  background: #cc9cff;
  color: #10081c;
}
section {
  position: relative;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
.wrap {
  width: min(100% - var(--edge) * 2, 1370px);
  margin-inline: auto;
}
.display {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.07;
}
.gradient-text {
  background: linear-gradient(103deg, #6d10d9 5%, #a92ef3 45%, #da84ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.text-muted {
  color: var(--muted);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow:before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
}
.section {
  padding: clamp(92px, 10vw, 148px) 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(2.55rem, 5.4vw, 5.4rem);
  max-width: 840px;
  margin: 17px 0 0;
}
.section-head .section-aside {
  max-width: 335px;
  color: var(--muted);
  font-size: 0.99rem;
  margin: 0 0 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e7d6f8;
  background: #f8efff;
  color: #6821ac;
  border-radius: 100px;
  padding: 7px 12px;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.tag-dot {
  width: 7px;
  height: 7px;
  background: #923bea;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #e7d2ff;
}
/* navbar */
.progress-track {
  height: 2px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: transparent;
}
.progress-line {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #5c00cf, #cb60ff);
}
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 254, 0.87);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(80, 37, 105, 0.08);
  transition:
    box-shadow 0.3s,
    height 0.3s;
}
.header.is-scrolled {
  box-shadow: 0 9px 36px rgba(51, 16, 81, 0.07);
}
.header-in {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.logo-mark {
  width: 46px;
  height: 43px;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text strong {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.08em;
  font-size: 1.48rem;
  font-weight: 800;
}
.logo-text small {
  font-size: 0.56rem;
  letter-spacing: 0.52em;
  margin: 5px 0 0 3px;
  font-weight: 750;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 38px);
  margin-left: auto;
}
.nav-links a {
  font-size: 0.79rem;
  font-weight: 750;
  position: relative;
  color: #534762;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--purple);
}
.nav-links a:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--purple);
  left: 0;
  right: 100%;
  bottom: -8px;
  transition: right 0.3s var(--ease);
}
.nav-links a:hover:after,
.nav-links a[aria-current="page"]:after {
  right: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.3s;
}
.button:hover {
  transform: translateY(-3px);
}
.button.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 26px rgba(30, 12, 47, 0.15);
}
.button.primary:hover {
  background: #7927d7;
  box-shadow: 0 16px 36px rgba(140, 49, 234, 0.25);
}
.button.light {
  background: #fff;
  color: #241335;
}
.button.stroke {
  background: transparent;
  border-color: #d8c8e8;
  color: var(--ink);
}
.button .arrow {
  font-size: 1.18rem;
  line-height: 1;
  transition: transform 0.3s;
}
.button:hover .arrow {
  transform: translate(2px, -2px);
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: transparent;
  color: var(--ink);
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.mobile-drawer {
  display: none;
}
.language-switch { position: relative; flex-shrink: 0; }
.language-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px; padding: 7px 10px;
  border: 1px solid var(--line); border-radius: 11px;
  background: #fff9; color: var(--ink);
  font-size: .72rem; font-weight: 800;
}
.language-chevron { font-size: 1rem; line-height: 1; }
.language-options {
  position: absolute; right: 0; top: calc(100% + 7px);
  z-index: 130; min-width: 150px;
  padding: 5px; border: 1px solid var(--line); border-radius: 11px;
  background: #fff; box-shadow: 0 12px 30px #2210321c;
}
.language-options[hidden] { display: none; }
.language-options a {
  display: block; padding: 9px 12px; border-radius: 7px;
  font-size: .78rem; color: var(--ink);
}
.language-options a:hover,
.language-options a[aria-current="true"] { background: #f3eafa; color: var(--purple); }
.language-switch-mobile { display: none; }
@media (max-width: 900px) {
  .header-in > .language-switch { display: none; }
  .language-switch-mobile { display: block; margin-top: 14px; }
  .language-switch-mobile .language-toggle { width: 100%; justify-content: center; }
  .language-switch-mobile .language-options { position: static; box-shadow: none; margin-top: 7px; }
}
/* interactive background */
.site-glow {
  position: absolute;
  pointer-events: none;
  inset: 0;
  overflow: hidden;
}
.grid-noise {
  background-image: radial-gradient(#6f39a725 0.5px, transparent 0.7px);
  background-size: 5px 5px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent);
}
/* hero */
.hero {
  min-height: min(860px, calc(100svh - 82px));
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 105px 0 115px;
  background:
    radial-gradient(ellipse 43% 54% at 96% 12%, #eac7ff 0%, transparent 84%),
    radial-gradient(ellipse 35% 45% at -6% 100%, #f1ddff 0%, transparent 87%),
    #fbf9fd;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(117, 52, 155, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(117, 52, 155, 0.035) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(90deg, transparent 24%, #000 90%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 30px;
}
.hero-copy {
  max-width: 750px;
  z-index: 4;
}
.hero-copy h1 {
  font-size: clamp(3.9rem, 6.55vw, 7.45rem);
  margin: 28px 0 28px;
}
.hero-copy .lead {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.8;
  max-width: 540px;
  color: #605568;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 36px 0 40px;
}
.hero-caption {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #7a6d87;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.hero-caption .mini-line {
  height: 1px;
  width: 52px;
  background: #a071d0;
}
.hero-right {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}
.hero-right:before {
  content: "";
  width: clamp(310px, 38vw, 570px);
  aspect-ratio: 1;
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #dba6fa99 0%,
    #dcc5ff66 39%,
    transparent 74%
  );
  filter: blur(15px);
}
.hero-ring {
  position: absolute;
  width: clamp(320px, 40vw, 610px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #be8df64d;
  transform: rotate(-18deg) scaleY(0.85);
}
.hero-ring:before,
.hero-ring:after {
  content: "";
  position: absolute;
  inset: 37px;
  border-radius: 50%;
  border: 1px solid #b374e45b;
}
.hero-ring:after {
  inset: 81px;
  border-color: #e6baff99;
}
.hero-mark {
  position: relative;
  width: min(100%, 620px);
  object-fit: contain;
  filter: drop-shadow(0 34px 48px #961dda22);
  will-change: transform;
  animation: float 7s ease-in-out infinite;
}
.hero-float {
  position: absolute;
  z-index: 2;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.67);
  border: 1px solid #fff;
  box-shadow: 0 22px 45px #8737af17;
  border-radius: 16px;
  padding: 15px 18px;
  min-width: 183px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-float em {
  font-style: normal;
  color: #8252ae;
  font-size: 0.69rem;
  font-weight: 800;
  display: block;
}
.hero-float strong {
  font-size: 0.78rem;
  display: block;
}
.hero-float .float-ico {
  font-size: 1.35rem;
  color: #8a24e0;
}
.float-a {
  right: 0;
  top: 14%;
  animation: float 6s -2s ease-in-out infinite;
}
.float-b {
  left: -1%;
  bottom: 17%;
  animation: float 6.7s -1s ease-in-out infinite;
}
@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .hero-mark {
    --float-offset: -7px;
    animation-duration: 6s;
  }
  .hero-ring {
    animation: hero-ring-drift 14s ease-in-out infinite alternate;
  }
  .hero-right::before {
    filter: none;
    animation: hero-glow-drift 18s ease-in-out infinite alternate;
  }
  .hero.is-offscreen .hero-mark,
  .hero.is-offscreen .hero-ring,
  .hero.is-offscreen .hero-right::before,
  .hero.is-offscreen .hero-float,
  .hero.is-offscreen .scroll-down::after {
    animation-play-state: paused;
  }
}
@keyframes hero-ring-drift {
  from {
    transform: translate(0, 0) rotate(-18deg) scaleY(0.85);
  }
  to {
    transform: translate(2px, -4px) rotate(-18deg) scaleY(0.85);
  }
}
@keyframes hero-glow-drift {
  from {
    transform: translate(0, 0);
    opacity: 0.84;
  }
  to {
    transform: translate(-5px, 6px);
    opacity: 1;
  }
}
.hero-bottom {
  position: absolute;
  bottom: 24px;
  left: var(--edge);
  right: var(--edge);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7d718a;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 3;
}
.scroll-down {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-down:before {
  content: "";
  height: 28px;
  width: 18px;
  border: 1px solid #b28dcf;
  border-radius: 12px;
}
.scroll-down::after {
  content: "";
  position: absolute;
  top: calc(50% - 9px);
  left: 6px;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #953ce6 2px, transparent 3px);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-down::after {
    animation: scroll-wheel 1.6s ease-in-out infinite;
  }
}
@keyframes scroll-wheel {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  65% {
    transform: translateY(8px);
    opacity: 0;
  }
  80% {
    transform: translateY(0);
    opacity: 0;
  }
}
/* editorial line */
.ticker {
  border-top: 1px solid #ede5f2;
  border-bottom: 1px solid #ede5f2;
  overflow: hidden;
  background: white;
  padding: 19px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 30px;
  animation: drift 33s linear infinite;
}
.ticker span {
  font-family: "Sora", sans-serif;
  font-size: clamp(0.95rem, 1.65vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
  color: #786b86;
}
.ticker b {
  color: #b377ec;
  font-size: 0.9rem;
  margin-inline: 18px;
}
/* dark zone */
.dark-zone {
  background: var(--dark);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.dark-zone:before {
  content: "";
  position: absolute;
  width: 850px;
  height: 850px;
  right: -480px;
  top: -380px;
  background: radial-gradient(
    circle,
    #8c13ed78 0,
    #6b17ab38 25%,
    transparent 67%
  );
  filter: blur(40px);
  pointer-events: none;
}
.dark-zone:after {
  content: "";
  position: absolute;
  width: 750px;
  height: 750px;
  left: -510px;
  bottom: -460px;
  background: radial-gradient(circle, #983aff3d 0, transparent 68%);
  pointer-events: none;
}
.dark-zone .section-head .section-aside,
.dark-zone .text-muted {
  color: #b0a5bb;
}
.dark-zone .section-head {
  position: relative;
  z-index: 2;
}
.dark-zone .eyebrow {
  color: #dbb6ff;
}
.dark-zone .eyebrow:before {
  background: #b265ff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 2;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 375px;
  padding: 34px 31px;
  background: linear-gradient(155deg, #241433e8, #160e24eb);
  border: 1px solid #473159;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    border-color 0.3s,
    background 0.3s;
  will-change: transform;
}
.service-card:after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  right: -170px;
  top: -160px;
  background: #a83cff66;
  filter: blur(45px);
  transition:
    right 0.45s,
    top 0.45s;
}
.service-card:hover {
  border-color: #8d54b2;
  background: linear-gradient(155deg, #35204f, #190e29);
}
.service-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 750;
  font-size: 0.75rem;
  color: #b78ccd;
}
.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #8f31d726;
  border: 1px solid #bc66f64a;
  color: #d2a0ff;
}
.service-card .inner {
  margin-top: auto;
  z-index: 1;
}
.service-card h3 {
  font-size: clamp(1.6rem, 2vw, 2.05rem);
  font-weight: 750;
  letter-spacing: -0.06em;
  margin-bottom: 14px;
}
.service-card p {
  color: #bfb3cc;
  font-size: 0.91rem;
  line-height: 1.75;
  max-width: 330px;
  margin-bottom: 27px;
}
.service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e1b9ff;
  font-size: 0.79rem;
  font-weight: 800;
}
.service-link svg {
  transition: transform 0.3s;
}
.service-card:hover .service-link svg {
  transform: translate(4px, -4px);
}
.dark-bottom-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 47px;
  color: #a99ab8;
  font-size: 0.79rem;
}
.dark-bottom-note:before {
  content: "";
  height: 1px;
  width: 64px;
  background: #7f4ba2;
}
/* manifesto */
.manifesto {
  overflow: hidden;
  background: #f8f5fb;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}
.manifesto h2 {
  font-size: clamp(2.9rem, 5.3vw, 5.75rem);
  margin: 20px 0 22px;
}
.manifesto p {
  color: #665a72;
  font-size: 1.03rem;
  line-height: 1.85;
  max-width: 550px;
}
/* Nossa Essência: demonstração de código e produto */
.manifesto-visual.trella-demo  {
  position: relative;
  min-width: 0;
  min-height: 540px;
  padding: 12px 0;
  perspective: 1200px;
}
.trella-demo-scene  {
  transform: rotateX(var(--demo-rx, 0deg)) rotateY(var(--demo-ry, 0deg));
  transition: transform 500ms var(--ease);
}
.trella-demo-editor  {
  width: 91%;
  border: 1px solid #41304e;
  border-radius: 16px;
  background: linear-gradient(135deg, #251832, #171120 70%);
  box-shadow: 0 18px 45px #32104b18;
  overflow: hidden;
  color: #e3d8ec;
}
.trella-demo-toolbar  {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #ffffff12;
  font-size: 10px;
  color: #c8b7d6;
}
.trella-demo-controls  {
  display: flex;
  gap: 4px;
}
.trella-demo-controls i  {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #82708f;
}
.trella-demo-controls i:last-child  {
  background: #b77be8;
}
.trella-demo-language  {
  margin-left: auto;
  color: #a995b9;
}
.trella-demo-code  {
  margin: 0;
  padding: 18px 16px;
  font: 11px/1.8 Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  counter-reset: demo-line;
}
.trella-demo-code code  {
  font: inherit;
}
.trella-demo-line  {
  display: inline-block;
  width: 100%;
  padding-left: 25px;
  position: relative;
}
.trella-demo-line::before  {
  counter-increment: demo-line;
  content: counter(demo-line, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: #82728f;
  font-size: 9px;
}
.trella-demo-code b  {
  color: #ca9bf5;
  font-weight: 400;
}
.trella-demo-code em  {
  color: #b9d6c4;
  font-style: normal;
}
.trella-demo-code strong  {
  color: #eee1ff;
  font-weight: 400;
}
.trella-demo-editor-status  {
  display: flex;
  gap: 8px;
  padding: 9px 16px;
  border-top: 1px solid #ffffff12;
  color: #b7a3c8;
  font-size: 10px;
}
.trella-demo-editor-status span  {
  color: #c787ff;
}
.trella-demo-connection  {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  height: 35px;
  padding-right: 38px;
  color: #9344d4;
}
.trella-demo-connection span  {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, #ad66e300, #ad66e3);
}
.trella-demo-connection span:last-child  {
  transform: rotate(180deg);
}
.trella-demo-connection i  {
  font-style: normal;
  font-size: 18px;
}
.trella-demo-dashboard  {
  width: 91%;
  margin-left: auto;
  background: #fff;
  border: 1px solid #e4d7ed;
  border-radius: 16px;
  box-shadow: 0 20px 55px #65249d16, 0 2px 8px #65249d06;
  overflow: hidden;
}
.trella-demo-appbar  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #efe8f5;
}
.trella-demo-appname  {
  font-family: "Sora", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.6px;
}
.trella-demo-appname > span  {
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  color: #81738b;
  font-weight: 500;
  letter-spacing: 0;
}
.trella-demo-avatar  {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: #eee3fa;
  color: #8033bd;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
}
.trella-demo-dashboard-body  {
  padding: 16px 18px;
}
.trella-demo-dashboard-heading  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.trella-demo-dashboard-heading > strong  {
  font: 600 16px "Sora", sans-serif;
  letter-spacing: -.5px;
}
.trella-demo-live  {
  color: #82718f;
  font-size: 9px;
}
.trella-demo-metrics  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.trella-demo-metrics > div  {
  display: grid;
  padding: 12px;
  border: 1px solid #eee3f7;
  border-radius: 10px;
  background: linear-gradient(120deg, #f8f3fd, #fcfaff);
}
.trella-demo-metrics span  {
  color: #695775;
  font-size: 10px;
}
.trella-demo-metrics strong  {
  margin: 3px 0;
  color: #352044;
  font: 600 27px "Sora", sans-serif;
  letter-spacing: -1px;
}
.trella-demo-metrics small  {
  font-size: 9px;
  color: #82718f;
}
.trella-demo-metrics strong small  {
  font-size: 15px;
  color: #8c48c3;
}
.trella-demo-chart  {
  margin-top: 14px;
}
.trella-demo-chart-heading  {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  gap: 8px;
}
.trella-demo-period  {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 7px;
  background: #f5effa;
}
.trella-demo-period button  {
  border: 0;
  background: transparent;
  padding: 6px 8px;
  border-radius: 5px;
  color: #746080;
  cursor: pointer;
  font: 600 9px "Manrope", sans-serif;
}
.trella-demo-period button[aria-pressed="true"]  {
  background: #fff;
  color: #7932b4;
  box-shadow: 0 1px 4px #3c165c13;
}
.trella-demo-period button:focus-visible  {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}
.trella-demo-bars  {
  display: flex;
  gap: 10px;
  height: 72px;
  margin-top: 12px;
  border-bottom: 1px solid #e8dcef;
  background: repeating-linear-gradient(to top, transparent 0 23px, #f0e9f6 23px 24px);
}
.trella-demo-bars i  {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(0deg, #d7b2f5, #a863df);
  transform: scaleY(var(--bar));
  transform-origin: bottom;
  transition: transform 600ms var(--ease);
}
.trella-demo-bars i:last-child  {
  background: linear-gradient(0deg, #ad65e7, #7f24c6);
}
.trella-demo-axis  {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 8px;
  color: #8b7a96;
}
.trella-demo-delivery  {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 9px;
  color: #6c587a;
}
.trella-demo-delivery span:first-child  {
  color: #8a34cc;
}
.trella-demo-delivery span:last-child  {
  margin-left: auto;
  color: #8a34cc;
}
.trella-demo-caption  {
  padding: 9px 12px;
  text-align: center;
  border-top: 1px solid #efe8f5;
  font-size: 9px;
  color: #8a7896;
}
@media (min-width: 1121px)  {
  .trella-demo-code  {
    line-height: 1.55;
  }
}
@media (max-width: 1120px)  {
  .trella-demo-editor, .trella-demo-dashboard  {
    width: 100%;
  }
  .trella-demo-code  {
    font-size: 10px;
    padding: 14px 10px;
  }
  .trella-demo-line  {
    padding-left: 21px;
  }
}
@media (max-width: 640px)  {
  .manifesto-visual.trella-demo  {
    min-height: 0;
    padding: 8px 0 0;
  }
  .trella-demo-dashboard-body  {
    padding: 16px;
  }
  .trella-demo-live  {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference)  {
  .trella-demo.is-visible .trella-demo-line  {
    animation: trella-demo-reveal 450ms both;
    animation-delay: calc(var(--line, 0) * 75ms + 200ms);
  }
  .trella-demo.is-visible .trella-demo-item  {
    animation: trella-demo-reveal 650ms both;
    animation-delay: 1050ms;
  }
  .trella-demo.is-visible .trella-demo-chart  {
    animation-delay: 1250ms;
  }
  .trella-demo.is-visible .trella-demo-delivery  {
    animation-delay: 1450ms;
  }
  .trella-demo.is-visible .trella-demo-connection  {
    animation: trella-demo-reveal 800ms 800ms both;
  }
}
@keyframes trella-demo-reveal  {
  from  {
    opacity: 0;
    transform: translateY(6px);
  }
  to  {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce)  {
  .trella-demo-scene  {
    transform: none;
    transition: none;
  }
  .trella-demo-bars i  {
    transition: none;
  }
}
/* works */
.projects {
  background: #fff;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}
.project-card {
  border: 1px solid #e9e0f0;
  border-radius: 27px;
  overflow: hidden;
  background: #f8f4fc;
  min-height: 390px;
  position: relative;
  transition:
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.project-card:hover {
  box-shadow: 0 27px 66px #7731ae21;
  transform: translateY(-5px);
}
.project-card.feature {
  grid-row: span 2;
  min-height: 800px;
  background: radial-gradient(circle at 92% 12%, #bc88fb, #eee1ff 47%, #faf4ff);
}
.project-preview {
  height: calc(100% - 165px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 220px;
}
.project-card.feature .project-preview {
  min-height: 580px;
}
.project-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 165px;
  padding: 26px 30px 27px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: end;
  border-top: 1px solid #ece4f2;
}
.project-caption strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.055em;
}
.project-caption p {
  font-size: 0.81rem;
  color: #77707e;
  margin: 6px 0 0;
}
.status {
  display: inline-block;
  padding: 6px 10px;
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  font-weight: 800;
  text-transform: uppercase;
  background: #efe3ff;
  color: #7224a6;
  border-radius: 5px;
  margin-bottom: 10px;
}
.project-action {
  border: 1px solid #e6d6f1;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--purple);
}
.browser-mock {
  width: 80%;
  border-radius: 17px;
  background: #1a1029;
  box-shadow: 0 35px 60px #41166752;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-9deg) rotateX(8deg) rotateZ(-4deg);
  transition: transform 0.65s var(--ease);
}
.project-card:hover .browser-mock {
  transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) rotateZ(-1deg);
}
.browser-top {
  height: 29px;
  background: #291a38;
  display: flex;
  align-items: center;
  padding: 0 13px;
  gap: 5px;
}
.browser-dot {
  height: 6px;
  width: 6px;
  background: #715381;
  border-radius: 50%;
}
.browser-hero {
  position: relative;
  min-height: 360px;
  padding: 34px;
  background: radial-gradient(circle at 90% 5%, #ad50ec6d, #100a1c 60%);
  color: white;
  overflow: hidden;
}
.browser-hero:after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid #d7a5fa6d;
  border-radius: 50%;
  right: -58px;
  top: 45px;
  box-shadow:
    0 0 0 35px #a15ad213,
    0 0 0 70px #a15ad20d;
}
.browser-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 0.58rem;
  color: #e6dbec;
}
.browser-nav strong {
  font-size: 0.76rem;
}
.browser-title {
  font-family: Sora, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.07em;
  margin-top: 56px;
  max-width: 360px;
  position: relative;
  z-index: 2;
}
.browser-title span {
  color: #cb87fc;
}
.browser-cta {
  margin-top: 24px;
  display: inline-flex;
  border: 1px solid #d3a7fb;
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 0.58rem;
  font-weight: 800;
}
.browser-bars {
  display: flex;
  gap: 8px;
  margin-top: 45px;
}
.browser-bars span {
  height: 36px;
  background: #ffffff16;
  border: 1px solid #ffffff21;
  border-radius: 6px;
  flex: 1;
}
.mini-ui {
  position: relative;
  width: 77%;
  max-width: 400px;
  aspect-ratio: 1.75;
  background: #fff;
  box-shadow: 0 25px 55px #7217bc29;
  border-radius: 17px;
  transform: rotate(-5deg);
  display: grid;
  grid-template-columns: 68px 1fr;
  overflow: hidden;
}
.mini-sidebar {
  background: #1a1028;
  padding: 13px 12px;
}
.mini-sidebar span {
  display: block;
  background: #6e477d;
  opacity: 0.7;
  height: 6px;
  border-radius: 8px;
  margin: 14px 0;
}
.mini-sidebar span:first-child {
  background: #ad63ee;
  height: 15px;
  width: 15px;
  border-radius: 5px;
}
.mini-content {
  padding: 18px;
}
.mini-lines {
  height: 8px;
  width: 74%;
  background: #e9dced;
  border-radius: 8px;
  margin-bottom: 18px;
}
.mini-squares {
  display: flex;
  gap: 7px;
}
.mini-squares span {
  flex: 1;
  height: 58px;
  background: linear-gradient(140deg, #f5eaff, #d6baf3);
  border-radius: 8px;
}
.mini-graph {
  height: 43%;
  background: linear-gradient(180deg, #e7d2f8, #fff);
  margin-top: 12px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.mini-graph:after {
  content: "";
  position: absolute;
  left: 20%;
  right: 0;
  bottom: 13px;
  height: 58px;
  border: 3px solid #9c4bec;
  border-bottom: 0;
  border-left: 0;
  transform: rotate(-15deg);
}
.project-card.secondary:nth-child(3) {
  background: linear-gradient(135deg, #f3e8ff, #f8f7fa);
}
.device {
  width: 160px;
  height: 280px;
  background: #130d20;
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 25px 45px #6d1abd3b;
  transform: rotate(11deg);
  border: 4px solid #3d2b51;
  transition: transform 0.6s;
}
.project-card:hover .device {
  transform: rotate(3deg);
}
.device-in {
  background: #fff;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  padding: 20px 13px;
}
.device-head {
  width: 75%;
  height: 12px;
  background: #ead5fc;
  border-radius: 5px;
  margin: 16px auto;
}
.device-hero {
  height: 76px;
  border-radius: 12px;
  background: linear-gradient(135deg, #b65efd, #5b13bc);
  margin-top: 23px;
}
.device-chips {
  display: flex;
  gap: 5px;
  margin-top: 13px;
}
.device-chips span {
  width: 40px;
  height: 14px;
  background: #f0e5f7;
  border-radius: 12px;
}
.device-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 14px;
}
.device-slots span {
  height: 30px;
  border-radius: 6px;
  background: #f3e9fc;
}
.device-slots span:nth-child(4) {
  background: #9139e4;
}
/* steps */
.process {
  background: #f9f6fc;
}
.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 29px 24px 34px;
  background: white;
  border: 1px solid #ebe2f0;
  border-radius: 20px;
  min-height: 252px;
}
.step:before {
  content: "";
  position: absolute;
  top: 45px;
  left: 100%;
  width: 15px;
  height: 1px;
  background: #bb8bde;
  z-index: 1;
}
.step:last-child:before {
  display: none;
}
.step-number {
  font-family: Sora, sans-serif;
  font-size: 3.15rem;
  letter-spacing: -0.08em;
  color: #d6b2f8;
  line-height: 1;
}
.step h3 {
  font-size: 1.22rem;
  letter-spacing: -0.055em;
  margin: 32px 0 9px;
}
.step p {
  font-size: 0.87rem;
  color: #79717f;
  line-height: 1.7;
  margin: 0;
}
/* partners */
.partners {
  background: #fff;
  padding: 110px 0;
}
.partners-inner {
  display: flex;
  justify-content: space-between;
  gap: 45px;
  align-items: start;
}
.partners h2 {
  font-size: clamp(2rem, 3.65vw, 3.6rem);
  max-width: 550px;
  margin: 18px 0;
}
.partners p {
  color: #716578;
  max-width: 460px;
  font-size: 0.94rem;
}
.placeholder-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 48%;
  max-width: 600px;
}
.placeholder-logo {
  height: 100px;
  display: grid;
  place-items: center;
  border: 1px dashed #d9c7e9;
  background: #faf7fd;
  border-radius: 15px;
  color: #ab95bc;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
/* faq */
.faq-section {
  background: #f8f5fb;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8vw;
}
.faq-layout h2 {
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  margin-top: 17px;
}
.faq-layout .help {
  color: #74677c;
  max-width: 330px;
}
.faq-group {
  border-top: 1px solid #d9cde2;
}
.faq-group details {
  border-bottom: 1px solid #d9cde2;
  padding: 3px 0;
}
.faq-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-weight: 800;
  font-size: 0.94rem;
}
.faq-group summary::-webkit-details-marker {
  display: none;
}
.faq-group summary:after {
  content: "+";
  font-size: 1.5rem;
  color: var(--purple);
  font-weight: 450;
  transition: transform 0.3s;
}
.faq-group details[open] summary:after {
  transform: rotate(45deg);
}
.faq-group details p {
  font-size: 0.9rem;
  color: #777080;
  line-height: 1.8;
  max-width: 610px;
  padding: 0 25px 19px 0;
  margin: 0;
}
/* footer CTA */
.cta-block {
  padding: 110px 0 0;
  background: #0f091a;
  color: #fff;
  overflow: hidden;
}
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 100px);
  background:
    radial-gradient(ellipse at 92% 3%, #8c2deb55, transparent 53%),
    radial-gradient(ellipse at -15% 130%, #a434e89a, transparent 55%),
    linear-gradient(115deg, #1e1030, #10091d);
  border: 1px solid #66328e;
  border-radius: 31px;
  text-align: center;
}
.cta-panel:before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  border: 1px solid #e2b2ff30;
  border-radius: 50%;
  right: -360px;
  top: -180px;
  box-shadow:
    0 0 0 62px #d09dff0a,
    0 0 0 130px #d09dff09;
}
.cta-panel h2 {
  font-size: clamp(2.65rem, 5.7vw, 6.2rem);
  max-width: 1000px;
  margin: 22px auto;
}
.cta-panel p {
  color: #d5bedf;
  max-width: 530px;
  margin: 0 auto 32px;
}
.cta-panel .eyebrow:before {
  background: #ce93ff;
}
.cta-panel .button {
  position: relative;
  z-index: 1;
}
.footer {
  background: #0f091a;
  color: white;
  padding: 80px 0 24px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 45px;
}
.footer-about p {
  max-width: 280px;
  color: #ab9cb9;
  font-size: 0.86rem;
  margin-top: 20px;
}
.footer h4 {
  color: #cbb5d7;
  text-transform: uppercase;
  font-size: 0.69rem;
  letter-spacing: 0.13em;
  margin: 0 0 25px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.footer li a {
  font-size: 0.86rem;
  color: #d3c8d9;
  transition: color 0.2s;
}
.footer li a:hover {
  color: #b86bfa;
}
.footer .logo-text strong {
  color: white;
}
.footer-note {
  font-size: 0.79rem;
  color: #a89bb1;
}
.footer-socials {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.footer-socials a {
  display: grid;
  place-items: center;
  height: 42px;
  width: 42px;
  border: 1px solid #4a3758;
  border-radius: 12px;
  color: #e6d8ea;
  transition:
    transform 0.2s,
    background 0.2s;
}
.footer-socials a:hover {
  background: #482567;
  transform: translateY(-3px);
}
.footer-word {
  font-family: Sora, sans-serif;
  letter-spacing: -0.096em;
  font-size: clamp(6rem, 18vw, 19rem);
  font-weight: 800;
  line-height: 0.98;
  margin: 70px 0 16px;
  background: linear-gradient(
    96deg,
    #fff 2%,
    #e9d4fa 39%,
    #8b24dd 84%,
    #f2caff
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.footer-baseline {
  border-top: 1px solid #3d2e4a;
  padding-top: 21px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #9989a8;
  font-size: 0.72rem;
}
/* inner pages */
.page-hero {
  background:
    radial-gradient(circle at 88% 9%, #e8c9ff, transparent 48%), #faf8fd;
  padding: 105px 0 96px;
  overflow: hidden;
}
.page-hero .inner {
  max-width: 960px;
}
.page-hero h1 {
  font-size: clamp(3.55rem, 7vw, 7.4rem);
  margin: 23px 0 20px;
}
.page-hero p {
  max-width: 670px;
  color: #675d70;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.8;
}
.page-hero .small-index {
  color: #9765b8;
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  font-weight: 800;
}
.page-hero:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid #cba5e674;
  right: -300px;
  top: -170px;
  box-shadow:
    0 0 0 50px #ce9be60c,
    0 0 0 110px #cba5e60a;
}
.page-section {
  padding: 90px 0 110px;
}
.page-section h2 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  margin: 15px 0 40px;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.detail-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
  min-height: 280px;
}
.detail-card .num {
  color: #9c61ca;
  font-weight: 850;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
}
.detail-card h3 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  letter-spacing: -0.055em;
  margin: 65px 0 15px;
}
.detail-card p {
  font-size: 0.9rem;
  color: #6d6475;
  max-width: 420px;
}
.features-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.features-list span {
  font-size: 0.7rem;
  border: 1px solid #e7d8f0;
  padding: 6px 9px;
  border-radius: 6px;
  color: #623e78;
  background: #fcf9ff;
}
.feature-story {
  padding: 95px 0;
  background: #160c25;
  color: white;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  align-items: center;
}
.story-grid h2 {
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}
.story-grid p {
  color: #c7b5d0;
  line-height: 1.85;
}
.story-abstract {
  min-height: 400px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #512078 0%, #1a102a 66%);
  border: 1px solid #4f3367;
  border-radius: 26px;
  overflow: hidden;
}
.story-abstract img {
  width: min(70%, 420px);
  filter: drop-shadow(0 15px 45px #962cbb5e);
}
/* Fundadores: retratos e apresentação na página Sobre. */
.trella-founders {
  background: #f8f5fb;
  border-block: 1px solid #eee6f4;
}
.trella-founders-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.trella-founders-intro h2 {
  margin: 22px 0 25px;
  font-size: clamp(2.4rem, 3.6vw, 3.8rem);
  line-height: 1.12;
}
.trella-founders-intro p {
  color: #6b5b77;
  font-size: 0.94rem;
  line-height: 1.85;
}
.trella-founders-intro p:last-child {
  margin-bottom: 0;
}
.trella-founders-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  max-width: 668px;
  justify-self: end;
}
.trella-founder {
  min-width: 0;
}
.trella-founder-card {
  transition: transform 400ms var(--ease);
}
.trella-founder-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: #211d24;
  box-shadow: 0 8px 26px #39204d0d;
}
.trella-founder-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.trella-founder-photo-nicolas {
  object-position: 50% 40%;
}
.trella-founder-photo-adryan {
  object-position: 52% 40%;
}
.trella-founder-copy {
  padding-top: 22px;
}
.trella-founder-role {
  color: #8344b5;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.trella-founder h3 {
  margin: 8px 0 10px;
  font: 600 clamp(1.3rem, 1.7vw, 1.6rem) / 1.25 "Sora", sans-serif;
  letter-spacing: -0.04em;
}
.trella-founder-area {
  min-height: calc(3.4em + 17px);
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5d9ee;
  color: #6d537f;
  font-size: 0.74rem;
  line-height: 1.7;
}
.trella-founder-bio {
  margin: 0;
  color: #72657c;
  font-size: 0.85rem;
  line-height: 1.85;
}
.trella-founder-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  color: #7436a7;
  font-size: .78rem;
  font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .trella-founder-instagram:hover { color: #4f1d79; text-decoration: underline; }
}
@media (max-width: 1120px) {
  .trella-founders-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .trella-founders-intro {
    max-width: 680px;
  }
  .trella-founders-grid {
    justify-self: start;
  }
}
@media (max-width: 640px) {
  .trella-founders-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
    justify-self: center;
    gap: 42px;
  }
  .trella-founder-area {
    min-height: 0;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .trella-founder-card:hover {
    transform: translateY(-4px);
  }
  .trella-founder-card:hover .trella-founder-photo {
    transform: scale(1.025);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .trella-founder.is-visible .trella-founder-copy {
    animation: trella-founder-copy-in 650ms 150ms both;
  }
}
@keyframes trella-founder-copy-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .trella-founder-card,
  .trella-founder-photo {
    transition: none;
  }
}
/* contact */
.contact-section {
  background: #f7f4fb;
  padding: 90px 0 135px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: 8vw;
}
.contact-side h2 {
  font-size: clamp(2.75rem, 4.3vw, 5.2rem);
  margin: 20px 0;
}
.contact-side p {
  color: #70647b;
  line-height: 1.9;
}
.contact-direct {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding: 20px 0;
  border-top: 1px solid #e3d8eb;
  border-bottom: 1px solid #e3d8eb;
  font-weight: 850;
}
.contact-direct svg {
  color: #8e29db;
}
.contact-direct + .contact-direct {
  margin-top: 0;
  border-top: 0;
}
.contact-direct[hidden] {
  display: none;
}
.form-card {
  border: 1px solid #e9dcef;
  border-radius: 25px;
  background: white;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
}
.form-card h3,
.form-card h2 {
  font-size: 1.4rem;
  letter-spacing: -0.05em;
  margin: 0 0 6px;
}
.form-card .intro {
  color: #83788b;
  font-size: 0.86rem;
  margin-bottom: 27px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-weight: 800;
  font-size: 0.72rem;
  color: #453250;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fbf9fd;
  border: 1px solid #e7dfed;
  border-radius: 10px;
  padding: 14px 15px;
  min-height: 50px;
  outline: none;
  color: #251a31;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #aa62ea;
  box-shadow: 0 0 0 4px #bf87e625;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.76rem;
  color: #72677b;
  margin: 22px 0;
}
.form-consent input {
  accent-color: #8c2bde;
  flex-shrink: 0;
  margin-top: 4px;
}
.form-consent a {
  text-decoration: underline;
}
.contact-error {
  margin: 0 0 12px;
  color: #9f3048;
  font-size: 0.76rem;
}
.field .contact-error {
  margin: 0;
}
.field input[aria-invalid="true"] {
  border-color: #b84d63;
}
.form-consent input[aria-invalid="true"] {
  outline: 1px solid #b84d63;
  outline-offset: 2px;
}
.form-card button[type="submit"] {
  width: 100%;
}
.form-foot {
  font-size: 0.72rem;
  color: #8c8294;
  margin: 13px 0 0;
}
.success-card {
  text-align: center;
  max-width: 660px;
  margin: auto;
  padding: 75px 30px;
}
.success-icon {
  font-size: 3.1rem;
  color: var(--purple);
  margin-bottom: 12px;
}
.legal-copy {
  max-width: 840px;
  color: #5e5467;
  line-height: 1.85;
  font-size: 0.93rem;
}
.legal-copy h2 {
  color: var(--ink);
  font-size: 1.5rem;
  margin-top: 35px;
  letter-spacing: -0.05em;
}
/* interaction */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 {
  transition-delay: 0.1s;
}
.reveal.delay-2 {
  transition-delay: 0.18s;
}
.reveal.delay-3 {
  transition-delay: 0.26s;
}
.pointer-glow {
  position: absolute;
  pointer-events: none;
  width: 450px;
  height: 450px;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #8b32ea22, transparent 68%);
  opacity: 0;
  transition: opacity 0.3s;
}
.spotlight:hover .pointer-glow {
  opacity: 1;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(var(--float-offset, -15px));
  }
}
@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}
@keyframes enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body {
  animation: enter 0.55s both;
}
/* accessibility and responsive */
:focus-visible {
  outline: 3px solid #9f51ed;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: #1b1027;
  color: #fff;
  z-index: 1000;
  border-radius: 8px;
}
.skip-link:focus-visible {
  top: calc(14px + env(safe-area-inset-top));
  left: calc(14px + env(safe-area-inset-left));
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 20px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 1120px) {
  .nav-links {
    gap: 16px;
  }
  .header-in > .button {
    padding-inline: 16px;
  }
  .hero-copy h1 {
    font-size: clamp(3.5rem, 6.45vw, 6rem);
  }
  .hero-float {
    padding: 10px 12px;
    min-width: 150px;
  }
  .hero-right {
    min-height: 445px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-card.feature {
    min-height: 700px;
  }
  .project-card.feature .project-preview {
    min-height: 500px;
  }
  .project-card.secondary {
    min-height: 340px;
  }
  .project-card.secondary .project-preview {
    min-height: 175px;
  }
}
@media (max-width: 900px) {
  .page-hero::after {
    display: none;
  }
  .header-in {
    height: 76px;
  }
  .header {
    z-index: 120;
  }
  html.mobile-menu-open .header {
    background: #fbf9fe;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header-in > .button {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-drawer {
    --mobile-header-offset: 76px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    z-index: 110;
    top: calc(var(--mobile-header-offset) + env(safe-area-inset-top));
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--mobile-header-offset) - env(safe-area-inset-top));
    max-height: calc(100dvh - var(--mobile-header-offset) - env(safe-area-inset-top));
    padding: 24px var(--edge) 35px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fbf9ff;
    box-shadow: 0 18px 40px #22103224;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .mobile-drawer.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-drawer a:not(.button) {
    padding: 13px 0;
    border-bottom: 1px solid #eadbf3;
    font-weight: 750;
  }
  .mobile-drawer .button {
    margin-top: 18px;
    width: 100%;
  }
  .menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .hero {
    padding: 75px 0 90px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-copy h1 {
    font-size: clamp(3.65rem, 10vw, 6rem);
  }
  .hero-right {
    min-height: 400px;
    margin-top: -22px;
  }
  .hero-mark {
    width: min(70%, 475px);
  }
  .hero-float {
    right: 11%;
    top: 18%;
  }
  .float-b {
    left: 11%;
    bottom: 12%;
  }
  .section-head {
    display: block;
  }
  .section-head .section-aside {
    margin-top: 20px;
    max-width: 570px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card:last-child {
    grid-column: 1/-1;
    min-height: 280px;
  }
  .manifesto-grid {
    gap: 35px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-card.feature {
    min-height: 600px;
  }
  .project-card.feature .project-preview {
    min-height: 430px;
  }
  .step-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .step:nth-child(2):before {
    display: none;
  }
  .partners-inner {
    display: block;
  }
  .placeholder-logo-grid {
    width: 100%;
    max-width: none;
    margin-top: 40px;
    grid-template-columns: repeat(4, 1fr);
  }
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .faq-layout .help {
    max-width: none;
  }
  .footer-cols {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-cols > div:last-child {
    grid-column: 1/-1;
  }
  .story-grid {
    gap: 4vw;
  }
}
@media (max-width: 640px) {
  :root {
    --edge: 22px;
  }
  .header-in {
    height: 70px;
  }
  .mobile-drawer {
    --mobile-header-offset: 70px;
  }
  .logo-mark {
    width: 40px;
    height: 38px;
  }
  .logo-text strong {
    font-size: 1.33rem;
  }
  .logo-text small {
    font-size: 0.48rem;
  }
  .hero {
    padding: 68px 0 105px;
    min-height: 0;
  }
  .hero-copy h1 {
    font-size: clamp(3.32rem, 12vw, 5rem);
    margin: 27px 0 20px;
  }
  .hero-copy .lead {
    font-size: 0.98rem;
    line-height: 1.75;
  }
  .hero-actions {
    margin: 29px 0 25px;
    gap: 9px;
  }
  .hero-actions .button {
    min-height: 50px;
    padding: 13px 15px;
    font-size: 0.74rem;
  }
  .hero-caption {
    font-size: 0.61rem;
  }
  .hero-right {
    min-height: 315px;
    margin-top: 0;
  }
  .hero-mark {
    width: 85%;
    max-width: 400px;
  }
  .hero-ring {
    width: 90%;
  }
  .hero-float {
    font-size: 0.7rem;
    min-width: 0;
    padding: 9px 12px;
  }
  .hero-float strong {
    font-size: 0.65rem;
  }
  .hero-float em {
    font-size: 0.6rem;
  }
  .float-a {
    right: -2%;
    top: 3%;
  }
  .float-b {
    left: -4%;
    bottom: 5%;
  }
  .hero-bottom {
    bottom: 20px;
    font-size: 0.58rem;
  }
  .ticker {
    padding: 15px 0;
  }
  .ticker span {
    font-size: 0.95rem;
  }
  .section {
    padding: 76px 0;
  }
  .section-head {
    margin-bottom: 30px;
  }
  .section-head h2 {
    font-size: clamp(2.5rem, 10.2vw, 3.5rem);
  }
  .section-head .section-aside {
    font-size: 0.91rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .service-card {
    min-height: 310px;
    padding: 26px;
  }
  .service-card:last-child {
    grid-column: auto;
    min-height: 310px;
  }
  .dark-bottom-note {
    margin-top: 33px;
    font-size: 0.74rem;
  }
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
  .manifesto h2 {
    font-size: clamp(2.6rem, 10.5vw, 3.5rem);
  }
  .manifesto p {
    font-size: 0.94rem;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .project-card.feature {
    grid-row: auto;
    min-height: 600px;
  }
  .project-card.feature .project-preview {
    min-height: 410px;
  }
  .project-card.secondary {
    min-height: 350px;
  }
  .project-card.secondary .project-preview {
    min-height: 200px;
  }
  .browser-mock {
    width: 85%;
    transform: rotate(-4deg);
  }
  .browser-hero {
    min-height: 300px;
  }
  .browser-title {
    font-size: 2.1rem;
    margin-top: 42px;
  }
  .project-caption {
    padding: 20px;
  }
  .project-caption strong {
    font-size: 1.17rem;
  }
  .step-list {
    grid-template-columns: 1fr;
  }
  .step {
    min-height: 210px;
  }
  .step:before {
    display: none;
  }
  .step h3 {
    margin-top: 22px;
  }
  .partners {
    padding: 73px 0;
  }
  .placeholder-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .placeholder-logo {
    height: 88px;
  }
  .faq-layout h2 {
    font-size: 2.8rem;
  }
  .cta-block {
    padding-top: 75px;
  }
  .cta-panel {
    border-radius: 22px;
    padding: 56px 24px;
  }
  .cta-panel h2 {
    font-size: clamp(2.65rem, 11vw, 4rem);
  }
  .footer {
    padding-top: 60px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .footer-cols > div:first-child {
    grid-column: 1/-1;
  }
  .footer-cols > div:last-child {
    grid-column: 1/-1;
  }
  .footer-word {
    font-size: 19vw;
    margin-top: 50px;
  }
  .page-hero {
    padding: 80px 0 76px;
  }
  .page-hero h1 {
    font-size: clamp(3.05rem, 11.3vw, 4.5rem);
  }
  .page-section {
    padding: 70px 0;
  }
  .details-grid {
    grid-template-columns: 1fr;
  }
  .detail-card {
    min-height: 250px;
    padding: 28px;
  }
  .detail-card h3 {
    margin-top: 50px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-abstract {
    min-height: 330px;
  }
  .contact-section {
    padding: 69px 0 85px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: 1;
  }
  .form-card {
    padding: 24px;
  }
  .page-hero p {
    font-size: 0.96rem;
  }
}
@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 3.03rem;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-right {
    min-height: 280px;
  }
  .hero-float {
    display: none;
  }
  .portfolio-grid {
    gap: 13px;
  }
  .project-card.feature {
    min-height: 540px;
  }
  .project-card.feature .project-preview {
    min-height: 365px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-mark {
    animation: none;
  }
  .ticker-track {
    animation: none;
  }
}
.icon {
  width: 21px;
  height: 21px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.sm {
  width: 17px;
  height: 17px;
}
.icon.lg {
  width: 26px;
  height: 26px;
}

/* iPhone notch / safe area handling */
.header {
  padding-top: env(safe-area-inset-top);
}
html.mobile-menu-open {
  overflow: hidden;
}

/* Logo principal da TRELLA */
.logo-full {
  display: block;
  width: 115px;
  height: 38px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 640px) {
  .logo-full {
    width: 105px;
    height: 34px;
  }
}


/* Logo do rodape */

/* Logo completa do rodapé */
.logo-footer-completa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.logo-footer-completa .logo-footer {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-footer-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-footer-text strong {
  font-family: "Sora", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #ffffff;
}

.logo-footer-text small {
  margin-top: 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
}

/* Remover seta ao lado da logo do rodapé */
.footer-about .logo::after {
  content: none !important;
  display: none !important;
}

.footer-about .logo::before {
  content: none !important;
}


/* Logo completa do cabeçalho */
.logo-header-completa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.logo-header-completa .logo-full {
  display: block;
  width: 45px;
  height: 45px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-header-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-header-text strong {
  font-family: "Sora", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.7px;
  color: #191225;
}

.logo-header-text small {
  margin-top: 5px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #191225;
}

@media (max-width: 640px) {
  .logo-header-completa .logo-full {
    width: 45px;
    height: 45px;
  }

  .logo-header-text strong {
    font-size: 16px;
  }
}

/* Inner page introductions and contact hierarchy. */
.page-explore { display: none; }
.page-contact .contact-side { grid-column: 1; grid-row: 1; }
.page-contact .form-card { grid-column: 2; grid-row: 1; }
@media (max-width: 900px) {
  :is(.page-services, .page-projects, .page-about, .page-contact) .page-hero {
    padding: clamp(32px, 5svh, 54px) 0 32px;
  }
  :is(.page-services, .page-projects, .page-about, .page-contact) .page-hero h1 {
    font-size: clamp(2.5rem, 9.6vw, 4.8rem);
    line-height: 1.08;
    margin: 18px 0;
    text-wrap: balance;
  }
  :is(.page-services, .page-projects, .page-about) .page-hero p {
    line-height: 1.75;
    margin: 14px 0 0;
  }
  .page-explore {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    margin-top: 20px;
    color: #7436a7;
    font-size: .76rem;
    font-weight: 800;
  }
  .page-explore span { font-size: 1.2rem; }
  :is(.page-services, .page-projects, .page-about) .page-hero + section {
    padding-top: clamp(32px, 4.5svh, 50px);
  }
  :is(.page-services, .page-projects) .page-section h2 {
    margin-top: 12px;
    margin-bottom: 28px;
    font-size: clamp(2rem, 7.5vw, 3.6rem);
  }
  .page-contact .page-hero { padding-block: 28px 24px; }
  .page-contact .page-hero h1 { margin-block: 14px; }
  .page-contact .page-hero p { margin-bottom: 0; line-height: 1.65; }
  .page-contact .form-card h2 { margin-bottom: 20px; }
  .page-contact .contact-section { padding-top: 24px; }
  .page-contact .contact-grid { gap: 44px; }
  .page-contact .form-card,
  .page-contact .contact-side { grid-column: auto; grid-row: auto; }
  .page-contact .form-card { padding: clamp(20px, 4vw, 32px); }
  .page-contact .field :is(input, select, textarea) {
    /* Avoid Safari zooming the viewport when a field receives focus. */
    font-size: 16px;
  }
}
