:root {
  --blue: #2548ff;
  --green: #d7ff35;
  --black: #111318;
  --gray: #646875;
  --light: #f5f7fb;
  --white: #ffffff;
  --border: rgba(17, 19, 24, 0.12);
  --shadow: 0 30px 80px rgba(37, 72, 255, 0.14);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

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

.cursor {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  z-index: 9999;
}

.header {
  position: fixed;
  width: min(1180px, calc(100% - 32px));
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(17, 19, 24, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: lowercase;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--blue);
  font-size: 18px;
}

.logo-text {
  font-size: 23px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--gray);
  transition: 0.3s ease;
}

.nav a:hover {
  background: var(--light);
  color: var(--black);
}

.nav .nav-cta {
  background: var(--black);
  color: var(--white);
}

.nav .nav-cta:hover {
  background: var(--blue);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 38px;
  height: 38px;
  position: relative;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--black);
  position: absolute;
  left: 8px;
  transition: 0.3s ease;
}

.menu-toggle span:first-child {
  top: 14px;
}

.menu-toggle span:last-child {
  bottom: 14px;
}

.hero {
  min-height: 100vh;
  padding: 130px 24px 54px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 19, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 24, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  animation: gridMove 18s linear infinite;
}

/* ------------------------------
   HERO BACKGROUND ANIMADO
------------------------------ */

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--blue);
  left: -140px;
  top: 160px;
  opacity: 0.14;
  filter: blur(100px);
  animation: floatingBlue 12s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--green);
  right: -100px;
  top: 80px;
  opacity: 0.20;
  filter: blur(90px);
  animation: floatingGreen 10s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-particles span {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  opacity: 0.18;
  animation: particlesFloat linear infinite;
}

.hero-particles span:nth-child(1) {
  left: 8%;
  width: 12px;
  height: 12px;
  background: var(--blue);
  animation-duration: 14s;
}

.hero-particles span:nth-child(2) {
  left: 24%;
  width: 8px;
  height: 8px;
  background: var(--green);
  animation-duration: 18s;
  animation-delay: 2s;
}

.hero-particles span:nth-child(3) {
  left: 48%;
  width: 16px;
  height: 16px;
  background: var(--blue);
  animation-duration: 16s;
}

.hero-particles span:nth-child(4) {
  left: 72%;
  width: 10px;
  height: 10px;
  background: var(--green);
  animation-duration: 20s;
  animation-delay: 3s;
}

.hero-particles span:nth-child(5) {
  left: 88%;
  width: 14px;
  height: 14px;
  background: var(--blue);
  animation-duration: 15s;
}

/* ------------------------------
   HERO CONTENT
------------------------------ */

.hero-content {
  position: relative;
  z-index: 3;
  width: min(900px, 100%);
  text-align: center;
  margin-top: 10px;
}

.eyebrow,
.section-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 0;

  line-height: 0;
}

.hero-title span {
  font-size: clamp(72px, 17vw, 210px);
  line-height: 0.82;
  letter-spacing: -0.12em;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-logo-text {
  width: min(760px, 82vw);

  height: auto;

  display: block;

  margin: 0 auto -20px;

  object-fit: contain;
}

.hero-title small {
  margin-top: -6px;

  font-size: clamp(20px, 4vw, 54px);

  line-height: 1;

  color: var(--green);
  background: var(--blue);

  padding: 8px 18px 12px;

  border-radius: 999px;

  letter-spacing: -0.06em;

  transform: rotate(-2deg);
}

.hero-description {
  max-width: 620px;

  margin: 28px auto 0;

  color: var(--gray);

  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.3s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(37, 72, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-4px);
  background: var(--black);
}

.btn-outline {
  border: 1px solid var(--border);
  background: var(--white);
}

.btn-outline:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.hero-brand {
  position: absolute;
  right: 8%;
  top: 22%;
  z-index: 2;
}

.brand-circle {
  width: clamp(130px, 17vw, 230px);
  height: clamp(130px, 17vw, 230px);
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: var(--green);
  box-shadow: var(--shadow);
}

.brand-circle span {
  font-size: clamp(76px, 10vw, 140px);
  line-height: 1;
}

.brand-circle small {
  position: absolute;
  margin-left: 98px;
  margin-top: -46px;
  color: var(--white);
  font-weight: 900;
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: 190px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: 0 24px 70px rgba(17, 19, 24, 0.08);
}

.floating-card span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.floating-card strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.card-one {
  left: 8%;
  top: 28%;
  transform: rotate(-7deg);
}

.card-two {
  right: 12%;
  bottom: 22%;
  transform: rotate(6deg);
}

.floating-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.shape-blue {
  width: 120px;
  height: 120px;
  left: 12%;
  bottom: 18%;
  background: var(--blue);
  opacity: 0.12;
}

.shape-green {
  width: 160px;
  height: 160px;
  right: 22%;
  top: 16%;
  background: var(--green);
  opacity: 0.48;
}

.line-orbit {
  position: absolute;
  width: 580px;
  height: 260px;
  border: 2px solid rgba(17, 19, 24, 0.08);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.hero-footer {
  position: absolute;
  bottom: 24px;
  width: min(1080px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  font-weight: 900;
  color: var(--gray);
  letter-spacing: 0.14em;
}

.section {
  padding: 110px 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  margin-top: 24px;
  align-items: start;
}

.section-title,
.section-heading h2 {
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.about-text {
  color: var(--gray);
  font-size: 18px;
  line-height: 1.8;
}

.about-text p+p {
  margin-top: 20px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 820px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 290px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--light);
  border: 1px solid var(--border);
  transition: 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  background: var(--blue);
  color: var(--white);
}

.service-card span,
.process-item span {
  color: var(--blue);
  font-weight: 950;
}

.service-card:hover span,
.service-card:hover p {
  color: var(--green);
}

.service-card h3 {
  margin-top: 70px;
  font-size: 28px;
  letter-spacing: -0.06em;
}

.service-card p {
  margin-top: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
  box-shadow: 0 25px 80px rgba(17, 19, 24, 0.06);
}

.project-card.big {
  grid-row: span 2;
}

.project-visual {
  min-height: 260px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.project-card.big .project-visual {
  min-height: 560px;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 32px 32px;
}

.project-visual span {
  position: relative;
  z-index: 1;
  font-size: clamp(46px, 8vw, 110px);
  font-weight: 950;
  letter-spacing: -0.1em;
}

.visual-blue {
  background: var(--blue);
  color: var(--green);
}

.visual-green {
  background: var(--green);
  color: var(--blue);
}

.visual-light {
  background: var(--black);
  color: var(--white);
}

.project-card div:last-child {
  padding: 22px 4px 4px;
}

.project-card p {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.project-card h3 {
  margin-top: 8px;
  font-size: 30px;
  letter-spacing: -0.06em;
}

.process-list {
  border-top: 1px solid var(--border);
}

.process-item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.process-item h3 {
  font-size: 34px;
  letter-spacing: -0.06em;
}

.process-item p {
  color: var(--gray);
  line-height: 1.7;
}

.cta {
  margin: 70px auto;
  width: min(1180px, calc(100% - 48px));
  border-radius: 42px;
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";

  position: absolute;

  right: -40px;
  top: -40px;

  width: 320px;
  height: 320px;

  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.12;

  filter: grayscale(1) brightness(1.8);

  pointer-events: none;
}

.cta p {
  color: var(--green);
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.cta h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 18px auto 34px;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.cta .btn-primary {
  position: relative;
  z-index: 1;
  background: var(--green);
  color: var(--black);
  box-shadow: none;
}

.footer {
  position: relative;
  overflow: hidden;
  margin-top: 120px;
  padding: 90px 24px 40px;
  background: var(--black);
  color: var(--white);
}

.footer-top {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  position: relative;
  z-index: 2;
}

.footer-brand h2 {
  margin-top: 30px;
  font-size: clamp(52px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.footer-brand p {
  margin-top: 30px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column span {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.72);
  transition: 0.3s ease;
}

.footer-column a:hover {
  color: var(--white);
  transform: translateX(6px);
}

.footer-bottom {
  width: min(1180px, 100%);
  margin: 70px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.footer-bottom p,
.footer-bottom span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
}

.footer-glow-blue {
  width: 380px;
  height: 380px;
  background: var(--blue);
  left: -120px;
  bottom: -120px;
  opacity: 0.35;
}

.footer-glow-green {
  width: 300px;
  height: 300px;
  background: var(--green);
  right: -100px;
  top: -100px;
  opacity: 0.18;
}


@keyframes gridMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 42px 42px;
  }
}

@keyframes floatingBlue {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, -35px) scale(1.08);
  }
}

@keyframes floatingGreen {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-45px, 45px) scale(1.1);
  }
}

@keyframes particlesFloat {
  0% {
    transform: translateY(0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.18;
  }

  100% {
    transform: translateY(-120vh) scale(1.4);
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: 0.8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .cursor {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 260px;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 20px 70px rgba(17, 19, 24, 0.12);
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
  }

  .hero-brand,
  .floating-card {
    opacity: 0.4;
  }

  .about-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .hero {
    padding-top: 130px;
  }

  .hero-title span {
    font-size: clamp(70px, 24vw, 118px);
  }

  .hero-title small {
    font-size: 20px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-footer {
    display: none;
  }

  .hero-brand,
  .floating-card,
  .line-orbit {
    display: none;
  }

  .section {
    padding: 74px 18px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 240px;
  }

  .project-card.big .project-visual,
  .project-visual {
    min-height: 280px;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta {
    width: calc(100% - 28px);
    padding: 70px 18px;
    border-radius: 30px;
  }
}

/* ------------------------------
   TEAM
------------------------------ */
.team {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 110px 24px;
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 50px;
}

.team-header h2 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 30px;
  background: #f5f7fb;
  border: 1px solid rgba(17, 19, 24, 0.12);
  transition: 0.4s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(37, 72, 255, 0.12);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.team-avatar span {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.avatar-blue {
  background: #2548ff;
  color: #d7ff35;
}

.avatar-green {
  background: #d7ff35;
  color: #2548ff;
}

.avatar-dark {
  background: #111318;
  color: white;
}

.team-info span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2548ff;
}

.team-info h3 {
  margin-top: 10px;
  font-size: 36px;
  letter-spacing: -0.06em;
}

.team-info p {
  margin-top: 14px;
  color: #646875;
  line-height: 1.7;
  font-size: 16px;
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-header {
    display: block;
  }

  .team-header h2 {
    margin-top: 16px;
  }
}

/* ------------------------------
   FOOTER LIMPO
------------------------------ */

.footer {
  width: min(1180px, calc(100% - 48px));
  margin: 80px auto 0;
  padding: 26px 0 34px;
  border-top: 1px solid var(--border);
  background: transparent;
  color: var(--gray);
}

.footer-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-menu a {
  font-size: 14px;
  font-weight: 800;
  color: var(--gray);
}

.footer-menu a:hover {
  color: var(--blue);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--black);
  font-size: 20px;
  transition: 0.3s ease;
}

.social-icon:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
  transform: translateY(-3px);
}

.footer-copy {
  margin-top: 18px;
  font-size: 13px;
  color: var(--gray);
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-menu {
    gap: 14px;
  }

  .footer-copy {
    text-align: center;
  }
}

/* BLOQUEAR SELEÇÃO DE TEXTO */

body {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* PERMITIR EM INPUTS E TEXTAREA */

input,
textarea {
  -webkit-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

.logo-image {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-circle {
  animation: floatingBrand 3s ease-in-out infinite;
}

@keyframes floatingBrand {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-12px);
  }

}


/* =========================
   PÁGINA DE PROJETOS
========================= */

.portfolio-page {
  position: relative;
  overflow: hidden;
  padding: 160px 24px 100px;
}

.portfolio-hero {
  width: min(1180px, 100%);
  margin: 0 auto 80px;
  position: relative;
  z-index: 2;
}

.portfolio-hero h1 {
  max-width: 600px;
  margin-top: 18px;
  font-size: clamp(54px, 9vw, 130px);
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.portfolio-hero p {
  max-width: 620px;
  margin-top: 28px;
  color: var(--gray);
  font-size: 18px;
  line-height: 1.7;
}

/* =========================
   CLIENTE DESTACADO
========================= */

.featured-project {
  width: min(1180px, 100%);
  margin: 0 auto 28px;
  padding: 24px;

  border-radius: 42px;

  background: var(--black);
  color: var(--white);

  display: grid;
  grid-template-columns: 0.9fr 0.7fr;
  gap: 24px;

  position: relative;
  z-index: 2;

  overflow: hidden;
}

.featured-project::before {
  content: "";

  position: absolute;

  right: -40px;
  top: -40px;

  width: 320px;
  height: 320px;

  background-image: url("../img/logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.10;

  filter: grayscale(1) brightness(1.8);

  pointer-events: none;
}

.featured-text {
  padding: 42px;

  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-text span,
.creative-card span {
  color: var(--green);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-text h2 {
  margin-top: 18px;

  font-size: clamp(44px, 6vw, 92px);

  line-height: 0.9;
  letter-spacing: -0.08em;
}

.featured-text p {
  margin: 24px 0 34px;

  max-width: 460px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 17px;
  line-height: 1.7;
}

/* =========================
   IMAGEM DESTACADA
========================= */

.featured-media {
  width: 100%;
  aspect-ratio: 1 / 1;

  border-radius: 30px;

  overflow: hidden;

  background: var(--blue);

  position: relative;
}

.featured-media img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.7s ease;
}

.featured-media:hover img {
  transform: scale(1.06);
}

/* =========================
   GALERIA
========================= */

.creative-gallery {
  width: min(1180px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 18px;

  position: relative;
  z-index: 2;
}

.creative-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--light);
  border: 1px solid var(--border);
}

.creative-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(17, 19, 24, 0.82),
      rgba(17, 19, 24, 0.04));
  z-index: 1;
}

.creative-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: white;
}

.creative-card h3 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.creative-card.tall {
  grid-row: span 2;
}

.creative-card.wide {
  grid-column: span 2;
}

.creative-card img,
.creative-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.creative-card:hover img,
.creative-card:hover video {
  transform: scale(1.08);
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 980px) {

  .featured-project {
    grid-template-columns: 1fr;
  }

  .creative-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .creative-card.wide {
    grid-column: span 2;
  }

}

@media (max-width: 640px) {

  .portfolio-page {
    padding: 130px 16px 70px;
  }

  .featured-project {
    padding: 14px;
    border-radius: 30px;
  }

  .featured-text {
    padding: 28px 18px;
  }

  .featured-media {
    aspect-ratio: 1 / 1;
  }

  .creative-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .creative-card.wide,
  .creative-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

}

.project-link {
  color: inherit;
  text-decoration: none;
  display: contents;
}

.project-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.motion-slider {
  display: flex;

  width: max-content;
  height: 100%;

  animation: motionSlide 18s linear infinite;
}

.motion-slider img {
  width: 320px;
  height: 100%;

  object-fit: cover;

  flex-shrink: 0;
}

@keyframes motionSlide {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}



/* =========================
   PAGINA EQUIPE
========================= */
/* =========================
   PÁGINA EQUIPE
========================= */

.team-page {
  position: relative;
  overflow: hidden;
  padding: 160px 24px 100px;
}

.team-page-hero {
  width: min(1180px, 100%);
  margin: 0 auto 50px;
  position: relative;
  z-index: 2;
}

.team-page-hero h1 {
  max-width: 1050px;
  margin-top: 18px;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.team-page-hero p {
  max-width: 620px;
  margin-top: 28px;
  color: var(--gray);
  font-size: 18px;
  line-height: 1.7;
}

.team-video {
  width: min(1100px, 100%);
  height: 350px;
  margin: 0 auto 28px;
  border-radius: 42px;
  overflow: hidden;
  background: var(--black);
  position: relative;
  z-index: 2;
}

.team-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}

.team-profile-card {
  padding: 18px 18px 28px;
  border-radius: 34px;
  background: var(--light);
  border: 1px solid var(--border);
}

.team-profile-photo {
  height: 360px;
  border-radius: 26px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--blue);
}

.team-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile-card span,
.team-process-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-profile-card h2 {
  margin-top: 10px;
  font-size: 38px;
  letter-spacing: -0.06em;
}

.team-profile-card p {
  margin-top: 12px;
  color: var(--gray);
  line-height: 1.7;
}

.team-process {
  width: min(1180px, 100%);
  margin: 100px auto 0;
  position: relative;
  z-index: 2;
}

.team-process h2 {
  max-width: 850px;
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.team-process-list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-process-list div {
  padding: 28px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--border);
}

.team-process-list h3 {
  margin-top: 34px;
  font-size: 30px;
  letter-spacing: -0.06em;
}

.team-process-list p {
  margin-top: 12px;
  color: var(--gray);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .team-video {
    height: 460px;
  }

  .team-profile-grid,
  .team-process-list {
    grid-template-columns: 1fr;
  }

  .team-profile-photo {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .team-page {
    padding: 130px 16px 70px;
  }

  .team-video {
    height: 360px;
    border-radius: 30px;
  }

  .team-profile-photo {
    height: 360px;
  }
}


/* =========================
   TEAM CTA PREMIUM
========================= */

.team-cta {
  width: min(1180px, 100%);
  margin: 120px auto 0;

  padding: 60px;

  border-radius: 42px;

  background: #2548ff;

  position: relative;
  overflow: hidden;
}

.team-cta-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 40px;
  align-items: center;

  position: relative;
  z-index: 2;
}

.team-cta-left h2 {
  max-width: 760px;

  margin-top: 18px;

  font-size: clamp(52px, 7vw, 104px);

  line-height: 0.9;
  letter-spacing: -0.09em;

  color: white;
}

.team-cta-left p {
  max-width: 520px;

  margin-top: 24px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 18px;
  line-height: 1.7;
}

.team-cta-button {
  margin-top: 34px;

  width: fit-content;

  padding: 18px 28px;

  border-radius: 999px;

  background: var(--green);
  color: var(--black);

  font-size: 15px;
  font-weight: 900;

  display: flex;
  align-items: center;
  gap: 12px;

  transition: 0.3s ease;
}

.team-cta-button::after {
  content: "↗";
  font-size: 18px;
}

.team-cta-button:hover {
  transform: translateY(-5px);
}

/* RIGHT */

.team-cta-right {
  position: relative;
  height: 520px;
}

.team-preview-card {
  position: absolute;

  width: 240px;
  height: 340px;

  border-radius: 32px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.team-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-blue {
  left: 0;
  top: 70px;
  transform: rotate(-7deg);
}

.card-green {
  left: 120px;
  top: 0;
  z-index: 2;
}

.card-dark {
  right: 0;
  bottom: 20px;
  transform: rotate(7deg);
}

/* BG */

.team-cta-grid-bg {
  position: absolute;

  width: 420px;
  height: 420px;

  right: -120px;
  top: -120px;

  background: var(--green);

  opacity: 0.12;

  border-radius: 50%;

  filter: blur(120px);
}

/* RESPONSIVO */

@media (max-width: 980px) {

  .team-cta-grid {
    grid-template-columns: 1fr;
  }

  .team-cta-right {
    height: 420px;
  }

}

@media (max-width: 640px) {

  .team-cta {
    padding: 40px 22px;
    border-radius: 30px;
  }

  .team-cta-right {
    height: 320px;
  }

  .team-preview-card {
    width: 150px;
    height: 220px;
  }

  .card-green {
    left: 90px;
  }

}

.team-cta .section-label {
  color: var(--green);
}

.team-video img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =========================
   CORREÇÃO HERO INDEX
========================= */

.hero {
  min-height: 100vh;
  padding: 120px 24px 54px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(900px, 100%);
  text-align: center;
  margin-top: 20px;
}

.hero-title {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-logo-text {
  width: min(699px, 84vw);
  height: 190px;
  display: block;
  object-fit: cover;
  object-position: center;
  margin: 0 auto -8px;
}

.hero-title small {
  position: relative;
  top: 18px;

  margin-top: 0;

  font-size: clamp(20px, 4vw, 54px);

  line-height: 1;

  color: var(--green);
  background: var(--blue);

  padding: 8px 18px 12px;

  border-radius: 999px;

  letter-spacing: -0.06em;

  transform: rotate(-2deg);
}

.hero-description {
  max-width: 620px;
  margin: 28px auto 0;
  color: var(--gray);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 640px) {
  .hero {
    padding: 110px 18px 60px;
  }

  .hero-content {
    margin-top: 0;
  }

  .hero-logo-text {
    width: min(390px, 92vw);
    height: 110px;
    margin-bottom: 0;
  }

  .hero-title small {
    font-size: 20px;
    padding: 8px 14px 10px;
  }
}

.preloader {
  position: fixed;
  inset: 0;
  background: #2548ff;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-logo {
  width: min(420px, 80vw);
  animation: preloaderSpin 1s linear infinite;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}