:root {
  --brand: #f24d23;
  --brand-light: #ff7a4d;
  --bg: #0b0b0c;
  --bg-alt: #181818;
  --bg-soft: #161616;
  --white: #f5f5f3;
  --muted: rgba(245, 245, 243, 0.65);
  --font-display: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Entrance animations ---------- */

.reveal-up {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
  animation: revealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.reveal-fade {
  opacity: 0;
  animation: revealFade 1s ease forwards;
  animation-delay: var(--delay, 0s);
}

.reveal-down {
  opacity: 0;
  transform: translateY(-24px);
  animation: revealDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-left {
  display: inline-block;
  opacity: 0;
  transform: translateX(-90px);
  animation: revealLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.reveal-right {
  display: inline-block;
  opacity: 0;
  transform: translateX(90px);
  animation: revealRight 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealFade {
  to {
    opacity: 1;
  }
}

@keyframes revealDown {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes revealLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(11, 11, 12, 0.85) 0%, rgba(11, 11, 12, 0.65) 40%, rgba(11, 11, 12, 0.94) 100%),
    url('../assets/hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 30%, rgba(242, 77, 35, 0.12), transparent);
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  left: 50%;
  bottom: -26vw;
  width: 46vw;
  height: 46vw;
  min-width: 420px;
  min-height: 420px;
  transform: translateX(-50%) scale(0.6);
  background: linear-gradient(180deg, #ff6502 0%, #ff5c00 50%, #ff4001 100%);
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0;
  z-index: 1;
  animation: blobIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes blobIn {
  to {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
}

/* ---------- Particles ---------- */

.particles {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.particles--blob {
  left: 50%;
  bottom: -10%;
  width: 60vw;
  height: 55vw;
  min-width: 520px;
  min-height: 520px;
  transform: translateX(-50%);
}

.particles--left {
  left: 0;
  top: 0;
  width: 14vw;
  height: 100%;
}

.particles--right {
  right: 0;
  top: 0;
  width: 14vw;
  height: 100%;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--brand-light);
  opacity: 0;
  animation: particleFloat var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
}

.particles--left .particle,
.particles--right .particle {
  background: var(--white);
}

.particle--glow {
  box-shadow: 0 0 12px 2px currentColor;
}

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

  15% {
    opacity: var(--op, 0.6);
  }

  50% {
    transform: translateY(-22px) scale(1);
  }

  85% {
    opacity: var(--op, 0.6);
  }

  100% {
    opacity: 0;
    transform: translateY(-40px) scale(0.6);
  }
}

/* ---------- Navbar ---------- */

.navbar {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 56px;
}

.navbar__logo {
  position: relative;
  z-index: 10002;
  display: block;
}

.navbar__logo img {
  height: 42px;
  display: block;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar__menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-left: 16px;
  transition: color 0.25s ease;
}

.navbar__menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.navbar__menu li.is-active a,
.navbar__menu a:hover {
  color: var(--brand-light);
}

.navbar__menu li.is-active a::before,
.navbar__menu a:hover::before {
  background: var(--brand);
  border-color: var(--brand);
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  translate: 0 -2px;
  opacity: 0.7;
}

.navbar__actions {
  position: relative;
  z-index: 10002;
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 243, 0.18);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.icon-btn:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  transform: scale(1.05);
}

.navbar__btn-contato {
  position: relative;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(245, 245, 243, 0.18);
  background: transparent;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.navbar__btn-contato:hover {
  border-color: var(--brand);
  background: rgba(242, 77, 35, 0.12);
  color: var(--white);
  transform: translateY(-1px);
}

.navbar__btn-contato.is-active {
  border-color: var(--brand);
  background: rgba(242, 77, 35, 0.08);
  color: var(--brand-light);
}

.navbar__menu-contato {
  display: none;
}

.menu-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(245, 245, 243, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.25s ease;
}

.menu-btn:hover {
  background: var(--brand);
}

.menu-btn span {
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.3s ease, margin 0.3s ease;
}

.menu-btn span:nth-child(2) {
  width: 12px;
  align-self: flex-start;
  margin-left: 17px;
}

.navbar.is-open .menu-btn {
  background: var(--brand);
}

.navbar.is-open .menu-btn span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.navbar.is-open .menu-btn span:nth-child(2) {
  opacity: 0;
}

.navbar.is-open .menu-btn span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Side vertical text ---------- */

.hero__side {
  position: absolute;
  right: 48px;
  z-index: 5;
  writing-mode: vertical-rl;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.hero__side a:hover {
  color: var(--brand-light);
}

.hero__side--contact {
  top: 140px;
}

.hero__side--phone {
  bottom: 64px;
}

/* ---------- Hero content ---------- */

.hero__content {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 56px 190px;
}

.hero__eyebrow {
  --delay: .05s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-size: clamp(38px, 6.6vw, 100px);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line:nth-child(2) {
  transform: translateX(-1.5em);
}

.hero__text {
  --delay: .7s;
  max-width: 440px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 1025px) {
  .hero__headline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 36px;
    width: 100%;
  }

  .hero__title {
    grid-column: 2;
  }

  .hero__text {
    grid-column: 3;
    justify-self: start;
    min-width: 0;
    width: 360px;
    margin-left: -200px;
    text-align: left;
  }
}

.hero__cta {
  --delay: .85s;
  position: absolute;
  left: 56px;
  bottom: 64px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 999px;
  border: none;
  background: rgba(245, 245, 243, 0.08);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s ease, gap 0.3s ease;
}

.hero__cta svg {
  width: 16px;
  height: 16px;
}

.hero__cta:hover {
  background: var(--brand);
  gap: 16px;
}

.hero__scroll {
  --delay: 1.2s;
  position: absolute;
  left: 50%;
  bottom: 48px;
  translate: -50% 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__scroll span {
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--muted), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--brand);
  animation: scrollDrip 2s ease-in-out infinite;
}

@keyframes scrollDrip {
  0% {
    top: -100%;
  }

  60% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

/* ---------- Responsive ---------- */

@media (max-height: 820px) {
  .hero__content {
    padding-bottom: 130px;
  }

  .hero__text {
    margin-top: 20px;
  }

  .hero__scroll {
    bottom: 32px;
  }

  .hero__scroll-line {
    height: 36px;
  }
}

@media (min-width: 1025px) {
  .menu-btn {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero__side {
    display: none;
  }

  .menu-btn {
    display: flex;
    position: relative;
    z-index: 100002;
  }

  .navbar {
    position: relative;
    z-index: 100;
  }

  .navbar.is-open {
    position: relative;
    z-index: 99999;
  }

  .navbar__logo {
    position: relative;
    z-index: 100002;
  }

  .navbar__actions {
    position: relative;
    z-index: 100002;
  }

  .navbar.is-open .icon-btn,
  .navbar.is-open .navbar__btn-contato {
    opacity: 0;
    pointer-events: none;
  }

  .navbar__menu-contato {
    display: block;
  }

  .navbar__menu {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 100000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 80px 24px;
    background-color: #0b0b0c;
    background-image:
      radial-gradient(ellipse 80% 60% at 50% 25%, rgba(242, 77, 35, 0.25), transparent 70%),
      radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255, 122, 77, 0.15), transparent 70%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.3s;
  }

  .navbar.is-open .navbar__menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .navbar__menu li {
    list-style: none;
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .navbar__menu a {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(28px, 8vw, 42px);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--white);
    padding: 12px 32px;
    border-radius: 999px;
    transition: color 0.25s ease, transform 0.25s ease;
  }

  .navbar__menu a::before {
    display: none;
  }

  .navbar__menu li.is-active a {
    color: var(--brand);
  }

  .navbar__menu a:hover,
  .navbar__menu a:active {
    color: var(--brand-light);
    transform: scale(1.06);
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 20px;
  }

  .navbar__menu {
    gap: 24px;
  }

  .navbar__menu a {
    font-size: clamp(24px, 7.5vw, 32px);
    padding: 8px 16px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__content {
    padding: 0 24px 120px;
  }

  .hero__title {
    font-size: clamp(34px, 11vw, 56px);
    line-height: 1.15;
  }

  .hero__text {
    margin-top: 20px;
    font-size: 15px;
    max-width: 320px;
  }

  .hero__cta {
    left: 24px;
    bottom: 110px;
    padding: 14px 22px;
    font-size: 12px;
  }

  .hero__scroll {
    left: auto;
    right: 24px;
    bottom: 96px;
    translate: 0 0;
    align-items: flex-end;
  }

  .hero__scroll-line {
    height: 26px;
  }

  .hero__blob {
    min-width: 320px;
    min-height: 320px;
    bottom: -60vw;
  }

  .navbar__logo img {
    height: 34px;
  }

  .menu-btn {
    width: 44px;
    height: 44px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }

  .navbar__btn-contato {
    height: 38px;
    padding: 0 16px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .hero__content {
    padding-bottom: 64px;
  }

  .hero__text {
    margin-top: 16px;
  }

  .hero__scroll {
    bottom: 80px;
  }

  .hero__scroll-line {
    height: 20px;
  }

  .hero__cta {
    bottom: 90px;
  }

  .hero__blob {
    bottom: -70vw;
  }
}

/* ==================================================
   Scroll reveal (reusable across sections)
================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   Shared section elements
================================================== */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  max-width: 620px;
}

/* ==================================================
   Services section
================================================== */

.services {
  position: relative;
  background: var(--bg);
  padding: 140px 56px 100px;
}

.services__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 96px;
}

.services__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.services__cta span:last-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--white);
}

.services__cta-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 243, 0.2);
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.services__cta-circle svg {
  width: 20px;
  height: 20px;
}

.services__cta:hover .services__cta-circle {
  background: var(--brand);
  border-color: var(--brand);
  transform: rotate(45deg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.services__grid .service-card:nth-child(2) {
  margin-top: 48px;
}

.services__grid .service-card:nth-child(3) {
  margin-top: 96px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  min-height: 460px;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: var(--bg-soft);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card__media {
  transform: scale(1.06);
}

.service-card--01 .service-card__media {
  background-image:
    radial-gradient(ellipse 90% 70% at 30% 85%, rgba(242, 77, 35, 0.4), transparent),
    url('../assets/servicos/servico-estrategia-e-posicionamento.png');
  background-size: cover;
  background-position: center;
}

.service-card--02 .service-card__media {
  background-image:
    radial-gradient(ellipse 80% 60% at 75% 15%, rgba(255, 122, 77, 0.3), transparent),
    url('../assets/servicos/servico-identidade-de-marca.png');
  background-size: cover;
  background-position: center;
}

.service-card--03 .service-card__media {
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(242, 77, 35, 0.35), transparent),
    url('../assets/servicos/servico-implantacao-da-comunicacao.png');
  background-size: cover;
  background-position: center;
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.15) 0%, rgba(11, 11, 12, 0.55) 55%, rgba(11, 11, 12, 0.9) 100%);
  transition: background 0.4s ease;
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.25) 0%, rgba(11, 11, 12, 0.65) 55%, rgba(11, 11, 12, 0.92) 100%);
}

.service-card__number {
  position: relative;
  z-index: 2;
  display: block;
  padding: 28px 0 0 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--brand-light);
}

.service-card__title {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 28px 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
}

.service-card__link {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 245, 243, 0.1);
  border: 1px solid rgba(245, 245, 243, 0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-8px, 8px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.service-card__link svg {
  width: 18px;
  height: 18px;
}

.service-card:hover .service-card__link {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  background: var(--brand);
  border-color: var(--brand);
}

.services__followup {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 780px;
  margin: 140px auto 0;
}

.services__followup-bar {
  flex-shrink: 0;
  width: 3px;
  align-self: stretch;
  min-height: 56px;
  background: linear-gradient(180deg, var(--brand-light), var(--brand));
  border-radius: 2px;
  margin-top: 0;
}

.services__followup p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}

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

  .services__grid .service-card:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: 32px;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 100px 24px 70px;
  }

  .services__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 56px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services__grid .service-card:nth-child(2),
  .services__grid .service-card:nth-child(3) {
    grid-column: auto;
    margin-top: 0;
  }

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

  .service-card__title {
    font-size: 22px;
  }

  .services__followup {
    margin-top: 80px;
  }

  .services__followup p {
    font-size: 17px;
  }
}

/* ==================================================
   Inner service pages
================================================== */

.page-hero {
  position: relative;
  background: var(--bg);
  padding: 160px 56px 40px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(242, 77, 35, 0.12), transparent),
    linear-gradient(160deg, #141415 0%, #0b0b0c 55%, #0a0a0a 100%);
  z-index: 0;
}

.page-hero--alt::before {
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(242, 77, 35, 0.12), transparent),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--bg-alt);
  background-size: auto, calc(100% / 3) 100%, auto;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero--alt .page-hero__inner {
  max-width: 1140px;
}

.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease, gap 0.25s ease;
}

.page-hero__back svg {
  width: 14px;
  height: 14px;
}

.page-hero__back:hover {
  color: var(--brand-light);
  gap: 14px;
}

.page-hero__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.1;
  max-width: 760px;
}

.page-media {
  max-width: calc(820px + 112px);
  margin: 0 auto 48px;
  padding: 0 56px;
  position: relative;
  z-index: 2;
}

.page-media__image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 32px rgba(242, 77, 35, 0.12);
  display: block;
}

.page-content {
  background: var(--bg);
  padding: 0 56px 140px;
}

.page-content--legal {
  position: relative;
  background: var(--bg-alt);
  overflow: hidden;
}

.page-content--legal::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  pointer-events: none;
}

.page-content__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.page-content__lead {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 32px;
}

.page-content__inner p.page-content__text {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 24px;
}

.page-content__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.page-content__inner .page-content__heading:first-child {
  margin-top: 0;
}

.page-content__inner ul.page-content__list {
  margin: 0 0 24px;
  padding-left: 20px;
  list-style: disc;
}

.page-content__inner ul.page-content__list li {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 10px;
}

.page-content__updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

.page-content__closing {
  font-size: 19px;
  font-style: italic;
  line-height: 1.7;
  color: var(--brand-light);
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 245, 243, 0.12);
}

.page-content__cta {
  margin-top: 56px;
}

@media (max-width: 768px) {
  .page-hero {
    padding: 160px 24px 72px;
  }

  .page-media {
    padding: 0 24px;
  }

  .page-content {
    padding: 0 24px 100px;
  }

  .portfolio-section {
    padding: 0 24px 100px;
  }

  .page-content__lead {
    font-size: 18px;
  }

  .page-content__closing {
    font-size: 17px;
  }
}

/* ==================================================
   Portfolio grid examples
================================================== */

.portfolio-toggle {
  display: inline-flex;
  gap: 8px;
  margin-top: 32px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(245, 245, 243, 0.06);
  border: 1px solid rgba(245, 245, 243, 0.1);
}

.portfolio-toggle a {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s ease, background 0.25s ease;
}

.portfolio-toggle a:hover {
  color: var(--white);
}

.portfolio-toggle a.is-active {
  background: var(--brand);
  color: var(--white);
}

.portfolio-section {
  position: relative;
  background: var(--bg-alt);
  padding: 0 56px 160px;
  overflow: hidden;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  pointer-events: none;
}

.portfolio-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* Standard grid: uniform, even rows */
.portfolio-grid--standard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.portfolio-grid--standard .portfolio-card__media {
  aspect-ratio: 1 / 1;
}

/* Masonry grid: authentic Pinterest-style multi-column waterfall */
.portfolio-grid--masonry {
  display: block;
  column-count: 3;
  column-gap: 28px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.portfolio-grid--masonry .portfolio-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 28px;
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.portfolio-grid--masonry .portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 24px rgba(242, 77, 35, 0.18);
  border-color: rgba(242, 77, 35, 0.35);
}

.portfolio-grid--masonry .portfolio-card__media {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-soft);
}

.portfolio-grid--masonry .portfolio-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-grid--masonry .portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.06);
}

/* Pinterest varied pin aspect ratios */
.portfolio-grid--masonry .portfolio-card--m1 .portfolio-card__media {
  aspect-ratio: 3 / 4;
}

.portfolio-grid--masonry .portfolio-card--m2 .portfolio-card__media {
  aspect-ratio: 9 / 14;
}

.portfolio-grid--masonry .portfolio-card--m3 .portfolio-card__media {
  aspect-ratio: 4 / 5;
}

.portfolio-grid--masonry .portfolio-card--m4 .portfolio-card__media {
  aspect-ratio: 1 / 1;
}

.portfolio-grid--masonry .portfolio-card--m5 .portfolio-card__media {
  aspect-ratio: 9 / 13;
}

.portfolio-grid--masonry .portfolio-card--m6 .portfolio-card__media {
  aspect-ratio: 16 / 11;
}

.portfolio-grid--masonry .portfolio-card--m7 .portfolio-card__media {
  aspect-ratio: 3 / 4;
}

.portfolio-grid--masonry .portfolio-card--m8 .portfolio-card__media {
  aspect-ratio: 1 / 1;
}

.portfolio-grid--masonry .portfolio-card--m9 .portfolio-card__media {
  aspect-ratio: 9 / 14;
}

.portfolio-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover {
  transform: translateY(-6px);
}

.portfolio-card__media {
  display: block;
  position: relative;
  width: 100%;
  background-color: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-card__media--0 {
  background-image:
    radial-gradient(ellipse 90% 80% at 30% 20%, rgba(242, 77, 35, 0.5), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.portfolio-card__media--1 {
  background-image:
    radial-gradient(ellipse 80% 70% at 75% 25%, rgba(255, 122, 77, 0.42), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.portfolio-card__media--2 {
  background-image:
    radial-gradient(ellipse 90% 80% at 50% 90%, rgba(242, 77, 35, 0.45), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.portfolio-card__media--3 {
  background-image:
    radial-gradient(ellipse 70% 70% at 20% 80%, rgba(255, 122, 77, 0.4), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.portfolio-card__media--4 {
  background-image:
    radial-gradient(ellipse 85% 75% at 65% 15%, rgba(242, 77, 35, 0.48), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.portfolio-card__media--5 {
  background-image:
    radial-gradient(ellipse 80% 80% at 35% 85%, rgba(255, 122, 77, 0.45), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.15) 45%, transparent 70%);
}

.portfolio-card__number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  color: rgba(245, 245, 243, 0.75);
}

.portfolio-card__info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.portfolio-card__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}

@media (max-width: 900px) {
  .portfolio-grid--standard {
    grid-template-columns: 1fr 1fr;
  }

  .portfolio-grid--masonry {
    column-count: 2;
    column-gap: 20px;
  }

  .portfolio-grid--masonry .portfolio-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .portfolio-section {
    padding: 0 20px 80px;
  }

  .portfolio-grid--standard {
    grid-template-columns: 1fr;
  }

  .portfolio-grid--masonry {
    column-count: 1;
    column-gap: 0;
  }

  .portfolio-grid--masonry .portfolio-card {
    margin-bottom: 20px;
  }

  .portfolio-grid--masonry .portfolio-card--m2 .portfolio-card__media,
  .portfolio-grid--masonry .portfolio-card--m5 .portfolio-card__media,
  .portfolio-grid--masonry .portfolio-card--m9 .portfolio-card__media {
    aspect-ratio: 4 / 5;
  }
}

/* ==================================================
   Portfolio Project Detail (Case Study)
================================================== */
.page-projeto-detail {
  background: var(--bg-alt);
}

.project-hero {
  position: relative;
  background: var(--bg-alt);
  padding: 160px 56px 40px;
  overflow: hidden;
}

.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(242, 77, 35, 0.12), transparent),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    var(--bg-alt);
  background-size: auto, calc(100% / 3) 100%, auto;
  z-index: 0;
}

.project-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.project-hero__header {
  max-width: 820px;
}

.project-hero__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
}

.project-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--white);
}

.project-hero__lead {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  max-width: 780px;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding: 28px 32px;
  width: 100%;
  background: rgba(245, 245, 243, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.project-meta__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-meta__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.project-meta__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

/* Featured Hero Media */
.project-media-section {
  position: relative;
  background: var(--bg-alt);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  padding-bottom: 48px;
}

.project-media-hero {
  max-width: calc(1040px + 112px);
  margin: 0 auto;
  padding: 0 56px;
  position: relative;
  z-index: 2;
}

.project-media-hero__container {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(242, 77, 35, 0.12);
  background: var(--bg-soft);
}

.project-media-hero__img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.project-media-hero__caption {
  display: block;
  padding: 14px 20px;
  background: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(12px);
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Project Sections */
.project-section {
  position: relative;
  background: var(--bg-alt);
  padding: 64px 56px;
  overflow: hidden;
}

.project-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  pointer-events: none;
}

.project-section--alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.project-container {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.project-section-header {
  margin-bottom: 48px;
  max-width: 720px;
}

.project-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 8px 0 14px;
}

.project-section-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* Story Narrative Grid */
.project-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.project-story-col {
  display: flex;
  flex-direction: column;
}

.project-story-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Rich Description Story Narrative */
.project-story-desc {
  width: 100%;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.project-story-desc h2,
.project-story-desc h3,
.project-story-desc h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.25;
}

.project-story-desc h2 {
  font-size: clamp(22px, 2.5vw, 32px);
}

.project-story-desc h3 {
  font-size: clamp(19px, 2vw, 24px);
}

.project-story-desc p {
  margin-bottom: 20px;
}

.project-story-desc strong,
.project-story-desc b {
  color: var(--white);
  font-weight: 700;
}

.project-story-desc ul,
.project-story-desc ol {
  margin: 16px 0 24px 24px;
  color: var(--muted);
}

.project-story-desc ul {
  list-style-type: disc;
}

.project-story-desc ol {
  list-style-type: decimal;
}

.project-story-desc li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.project-story-desc a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.project-story-desc a:hover {
  color: var(--brand-light);
}

.project-story-desc blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 20px;
  margin: 28px 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

.project-story-desc img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 28px 0;
}

/* Key Metrics Stats Grid */
.project-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.project-stat-card {
  padding: 28px 22px;
  background: rgba(245, 245, 243, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 77, 35, 0.4);
}

.project-stat-card__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 42px);
  line-height: 1;
  color: var(--brand);
}

.project-stat-card__label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Strategic Pillars */
.project-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.project-pillar-card {
  position: relative;
  z-index: 1;
  padding: 32px 26px;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.project-pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 77, 35, 0.3);
  background: #141416;
}

.project-pillar-card__step {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--brand);
  margin-bottom: 16px;
}

.project-pillar-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 14px;
}

.project-pillar-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* Visual Gallery Showcase - Grade flexível de 6 colunas para 1 inteira, 2 ou 3 lado a lado */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.project-gallery__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.project-gallery__item--full {
  grid-column: span 6; /* 1 imagem inteira (100% da largura) */
}

.project-gallery__item--two-thirds {
  grid-column: span 4; /* 2/3 da largura (66.67% / 67%) - combina com span 2 (33%) */
}

.project-gallery__item--half {
  grid-column: span 3; /* 2 imagens lado a lado (50% cada) */
}

.project-gallery__item--third {
  grid-column: span 2; /* 3 imagens lado a lado (33.3% cada) */
}

.project-gallery__item img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-gallery__item:hover img {
  transform: scale(1.03);
}

.project-gallery__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 24px 20px;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.95) 0%, rgba(11, 11, 12, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.project-gallery__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.project-gallery__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
}

/* Prev / Next Navigation */
.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-nav__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(245, 245, 243, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  max-width: 380px;
  width: 100%;
}

.project-nav__link:hover {
  border-color: var(--brand);
  background: rgba(242, 77, 35, 0.05);
  transform: translateY(-3px);
}

.project-nav__link--next {
  text-align: right;
  margin-left: auto;
}

.project-nav__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-nav__link--next .project-nav__label {
  justify-content: flex-end;
}

.project-nav__label svg {
  width: 14px;
  height: 14px;
}

.project-nav__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

/* CTA Banner */
.project-cta-banner {
  position: relative;
  background: var(--bg-alt);
  padding: 110px 56px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  pointer-events: none;
  z-index: 0;
}

.project-cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.project-cta-banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
  color: var(--white);
}

.project-cta-banner__desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 36px;
}

.project-cta-banner__actions {
  display: flex;
  justify-content: center;
}

.project-cta-banner .hero__cta {
  position: static;
  display: inline-flex;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px rgba(242, 77, 35, 0.35);
}

.project-cta-banner .hero__cta:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(242, 77, 35, 0.5);
}

/* Responsive for Project Detail */
@media (max-width: 1024px) {
  .project-hero {
    padding: 140px 24px 36px;
  }

  .project-media-hero {
    padding: 0 24px;
    margin-bottom: 48px;
  }

  .project-section {
    padding: 48px 24px;
  }

  .project-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
  }

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

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

  .project-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-cta-banner {
    padding: 72px 24px;
  }
}

@media (max-width: 640px) {
  .project-hero {
    padding: 120px 20px 28px;
  }

  .project-media-hero {
    padding: 0 20px;
    margin-bottom: 36px;
  }

  .project-section {
    padding: 36px 20px;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

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

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-gallery__item--full,
  .project-gallery__item--two-thirds,
  .project-gallery__item--half,
  .project-gallery__item--third {
    grid-column: span 1;
  }

  .project-nav {
    flex-direction: column;
  }

  .project-nav__link {
    max-width: 100%;
  }

  .project-nav__link--next {
    text-align: left;
  }

  .project-nav__link--next .project-nav__label {
    justify-content: flex-start;
  }

  .project-cta-banner {
    padding: 56px 20px;
  }
}

/* ==================================================
   Marquee section
================================================== */

.marquee {
  background: var(--bg);
  padding: 48px 0;
  overflow: hidden;
}

.marquee__row {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  will-change: transform;
}

.marquee__group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__row span:not(.marquee__sep):not(.marquee__group) {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(32px, 5.6vw, 84px);
  line-height: 1;
  padding: 0 20px;
  color: var(--white);
}

.marquee__row--fast span:not(.marquee__sep):not(.marquee__group) {
  background: linear-gradient(90deg, #7a7a7a 0%, #ffffff 50%, #7a7a7a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.marquee__sep {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5.6vw, 84px);
  color: var(--brand);
}

.marquee__row--fast .marquee__track {
  animation: marqueeLeft 37s linear infinite;
}

.marquee__row--slow .marquee__track {
  animation: marqueeRight 57s linear infinite;
  margin-top: 12px;
}

.marquee__row--outline span:not(.marquee__sep):not(.marquee__group) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--muted);
  text-stroke: 1.5px var(--muted);
}

@keyframes marqueeLeft {
  from {
    transform: translateX(0);
  }

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

@keyframes marqueeRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (max-width: 640px) {
  .marquee {
    padding: 32px 0;
  }

  .marquee__row--slow .marquee__track {
    margin-top: 4px;
  }
}

/* ==================================================
   Projects section
================================================== */

.projects {
  position: relative;
  background: var(--bg-alt);
  padding: 90px 56px 100px;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  pointer-events: none;
}

.projects::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 100%, rgba(242, 77, 35, 0.1), transparent);
  pointer-events: none;
}

.projects__header,
.projects__body,
.projects__cta {
  position: relative;
  z-index: 1;
}

.projects__header {
  max-width: 640px;
  margin-bottom: 80px;
}

.projects__body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 64px;
}

.projects__list {
  width: 580px;
  max-width: 100%;
  margin: 0;
  border-top: 1px solid rgba(245, 245, 243, 0.12);
}

.projects__item {
  border-bottom: 1px solid rgba(245, 245, 243, 0.12);
}

.projects__link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 0;
  text-align: left;
  transition: padding-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects__item:hover .projects__link {
  padding-left: 16px;
}

.projects__number {
  flex-shrink: 0;
  width: 180px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 6.2vw, 90px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--muted);
  text-stroke: 1.5px var(--muted);
  transition: color 0.35s ease, -webkit-text-stroke-color 0.35s ease;
}

.projects__item:hover .projects__number {
  color: var(--white);
  -webkit-text-stroke: 1.5px var(--white);
  text-stroke: 1.5px var(--white);
}

.projects__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.projects__meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.projects__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  transition: color 0.3s ease;
}

.projects__item:hover .projects__title {
  color: var(--brand-light);
}

.projects__arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 243, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transform: translate(-8px, 6px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease;
}

.projects__arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease;
}

.projects__item:hover .projects__arrow {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  background: var(--brand);
  border-color: var(--brand);
}

.projects__item:hover .projects__arrow svg {
  transform: translate(2px, -2px);
}

.projects__preview {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  height: 230px;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects__preview-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 230px;
  border-radius: 14px;
  border: 1px solid rgba(245, 245, 243, 0.12);
  background-size: cover;
  background-position: center;
  background-color: var(--bg-soft);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform-origin: center center;
  transform: scale(0.96) rotate(var(--rot, 0deg));
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.projects__preview-img.is-active {
  opacity: 1;
  transform: scale(1) rotate(var(--rot, 0deg));
  z-index: 2;
}

.projects__mobile-img {
  display: none;
}

.projects__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 64px auto 0;
  padding: 18px 30px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(245, 245, 243, 0.18);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.projects__cta svg {
  width: 16px;
  height: 16px;
}

.projects__cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  gap: 16px;
}

@media (max-width: 1024px) {
  .projects__body {
    display: block;
    width: 100%;
  }

  .projects__list {
    width: 100%;
  }

  .projects__preview {
    display: none;
  }

  .projects__link {
    padding: 32px 0 20px;
  }

  .projects__mobile-img {
    display: block;
    position: relative;
    width: 100%;
    height: 240px;
    margin: 0 0 32px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(245, 245, 243, 0.12);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    background: var(--bg-soft);
  }

  .projects__mobile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

@media (max-width: 640px) {
  .projects {
    padding: 64px 24px 70px;
  }

  .projects__header {
    margin-bottom: 48px;
  }

  .projects__link {
    gap: 16px;
    padding: 24px 0 16px;
  }

  .projects__number {
    width: 72px;
    font-size: 38px;
  }

  .projects__arrow {
    display: none;
  }

  .projects__mobile-img {
    height: 190px;
    margin: 0 0 24px;
    border-radius: 10px;
  }
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 243, 0.18);
  background: rgba(11, 11, 12, 0.7);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand);
  border-color: var(--brand);
}

/* ---------- WhatsApp floating button ---------- */

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: whatsapp-pulse 2.4s ease-out infinite;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(242, 77, 35, 0.4);
}

.whatsapp-float:hover svg {
  transform: scale(1.06);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 77, 35, 0.5), 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(242, 77, 35, 0), 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(242, 77, 35, 0), 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 640px) {
  .back-to-top {
    left: 20px;
    bottom: 20px;
    width: 46px;
    height: 46px;
  }

  .whatsapp-float {
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ==================================================
   About section
================================================== */

.about {
  scroll-margin-top: -80px;
  position: relative;
  padding: 140px 56px 0;
  background-color: var(--bg);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about__container {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(242, 77, 35, 0.1);
  aspect-ratio: 3 / 4;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about__image-wrapper:hover .about__img {
  transform: scale(1.03);
}

.about__content {
  display: flex;
  flex-direction: column;
}

.about__content .section-title {
  margin: 12px 0 24px;
  font-size: clamp(26px, 3.2vw, 40px);
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about__text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .about {
    scroll-margin-top: 70px;
    padding: 100px 32px 0;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__image-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .about {
    padding: 80px 24px 0;
  }

  .about__text p {
    font-size: 15px;
  }
}

/* ==================================================
   Team section
================================================== */

.team {
  position: relative;
  background-color: var(--bg);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  padding: 140px 0 180px;
  overflow: hidden;
}

.team__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 72px;
  padding: 0 56px;
}

.team__intro {
  max-width: 640px;
}

.team__nav {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.team__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 243, 0.18);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.team__arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.team__arrow[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

.team__slider {
  position: relative;
  overflow: hidden;
}

.team__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 56px;
  padding: 0 56px;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  scroll-behavior: smooth;
}

.team__track::-webkit-scrollbar {
  display: none;
}

.team__card {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  user-select: none;
  -webkit-user-select: none;
}

.team__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: var(--bg-soft);
  border: 1px solid rgba(245, 245, 243, 0.08);
}

.team__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team__card:hover .team__img {
  transform: scale(1.05);
}

.team__initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 96px;
  color: rgba(245, 245, 243, 0.14);
}

.team__photo--0 {
  background-image:
    radial-gradient(ellipse 90% 70% at 30% 20%, rgba(242, 77, 35, 0.45), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.team__photo--1 {
  background-image:
    radial-gradient(ellipse 80% 70% at 75% 25%, rgba(255, 122, 77, 0.4), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.team__photo--2 {
  background-image:
    radial-gradient(ellipse 90% 80% at 50% 90%, rgba(242, 77, 35, 0.4), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.team__photo--3 {
  background-image:
    radial-gradient(ellipse 70% 70% at 20% 80%, rgba(255, 122, 77, 0.42), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.team__photo--4 {
  background-image:
    radial-gradient(ellipse 85% 75% at 65% 15%, rgba(242, 77, 35, 0.45), transparent),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.team__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 4px;
}

.team__role {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .team {
    padding: 100px 0 120px;
  }

  .team__header {
    padding: 0 24px;
    margin-bottom: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .team__track {
    padding: 0 24px;
    gap: 18px;
  }

  .team__card {
    width: 240px;
  }

  .team__initial {
    font-size: 72px;
  }
}

/* ==================================================
   Stats section
================================================== */

.stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background-color: var(--bg-alt);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  background-origin: content-box;
  background-clip: border-box;
  padding: 100px 56px;
  border-top: 1px solid rgba(245, 245, 243, 0.1);
}

.stats__item {
  flex: 1 1 0;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 40px;
  border-left: 1px solid rgba(245, 245, 243, 0.12);
}

.stats__item:first-child {
  padding-left: 0;
  border-left: none;
}

.stats__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 7vw, 110px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
  text-stroke: 1.5px var(--white);
  white-space: nowrap;
}

.stats__label {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .stats {
    padding: 80px 40px;
  }

  .stats__item {
    flex: 1 1 45%;
    padding: 24px 24px;
    border-left: none;
    border-top: 1px solid rgba(245, 245, 243, 0.12);
  }

  .stats__item:first-child {
    border-top: none;
  }
}

@media (max-width: 640px) {
  .stats {
    padding: 64px 24px;
    flex-direction: column;
  }

  .stats__item {
    flex: 1 1 auto;
    padding: 24px 0;
  }

  .stats__number {
    font-size: 56px;
  }
}

/* ==================================================
   Testimonials section
================================================== */

.testimonials {
  position: relative;
  background: var(--bg);
  padding: 140px 56px 180px;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  pointer-events: none;
}

.testimonials__header {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-bottom: 80px;
}

.testimonial-slide {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 100%;
  margin: 0 auto;
}

.testimonial-slide__person {
  flex-shrink: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-slide__photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    radial-gradient(ellipse 90% 80% at 30% 20%, rgba(242, 77, 35, 0.55), transparent),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  background-color: var(--bg-soft);
  border: 1px solid rgba(245, 245, 243, 0.1);
  transition: opacity 0.3s ease;
}

.testimonial-slide__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.testimonial-slide__photo span {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 32px;
  color: rgba(245, 245, 243, 0.3);
}

.testimonial-slide__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 6px;
  transition: opacity 0.3s ease;
}

.testimonial-slide__role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 22px;
  transition: opacity 0.3s ease;
}

.testimonial-slide__nav {
  display: flex;
  gap: 10px;
}

.testimonial-slide__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(245, 245, 243, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.testimonial-slide__arrow svg {
  width: 15px;
  height: 15px;
}

.testimonial-slide__arrow:hover {
  background: var(--brand);
}

.testimonial-slide__divider {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  background: rgba(245, 245, 243, 0.15);
}

.testimonial-slide__quote {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.55;
  color: var(--white);
  transition: opacity 0.3s ease;
}

@media (max-width: 1024px) {
  .testimonial-slide {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    max-width: 100%;
  }

  .testimonial-slide__divider {
    display: none;
  }

  .testimonial-slide__person {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .testimonials {
    padding: 100px 24px 120px;
  }

  .testimonials__header {
    margin-bottom: 48px;
  }

  .testimonial-slide__photo {
    width: 88px;
    height: 88px;
  }

  .testimonial-slide__photo span {
    font-size: 24px;
  }

  .testimonial-slide__quote {
    font-size: 17px;
  }
}

/* ==================================================
   CTA / Contact section
================================================== */

.cta-touch {
  position: relative;
  background: var(--bg-alt);
  padding: 100px 56px;
  border-top: 1px solid rgba(245, 245, 243, 0.1);
  overflow: hidden;
}

.cta-touch::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(245, 245, 243, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  pointer-events: none;
}

.cta-touch__link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-touch__title {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.28em;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(32px, 5vw, 88px);
  white-space: nowrap;
}

.cta-touch__title-fill {
  color: var(--white);
}

.cta-touch__title-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
  text-stroke: 1.5px var(--white);
}

.cta-touch__circle {
  flex-shrink: 0;
  width: clamp(140px, 11vw, 190px);
  height: clamp(140px, 11vw, 190px);
  border-radius: 50%;
  background: rgba(245, 245, 243, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-touch__circle span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.25;
}

.cta-touch__link:hover .cta-touch__circle {
  background: var(--brand);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .cta-touch {
    padding: 72px 24px;
  }

  .cta-touch__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .cta-touch__circle {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 420px) {
  .cta-touch__title {
    flex-wrap: wrap;
    white-space: normal;
    font-size: clamp(30px, 10vw, 40px);
  }
}

/* ==================================================
   Contact page
================================================== */

.contact-section,
.service-section {
  position: relative;
  background: var(--bg-alt);
  padding: 0 56px 160px;
  overflow: hidden;
}

.contact-section::before,
.service-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  pointer-events: none;
}

/* ==================================================
   Service Details (Vertical Media + Side Content)
================================================== */
.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: 64px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

.service-media {
  position: sticky;
  top: 110px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 32px rgba(242, 77, 35, 0.08);
  background: var(--bg-card);
}

.service-media__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-media:hover .service-media__image {
  transform: scale(1.025);
}

.service-body {
  display: flex;
  flex-direction: column;
}

.service-body__lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.service-body__text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}

.service-body__closing {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brand);
  margin-top: 12px;
  margin-bottom: 36px;
}

.service-body__cta {
  position: static !important;
  align-self: flex-start;
  margin-top: 8px;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  max-width: 860px;
  margin: 0 auto;
}

.contact-info__text {
  margin-top: 20px;
  max-width: 380px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.contact-info__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 245, 243, 0.12);
}

.contact-info__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info__item a {
  font-size: 17px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.contact-info__item a:hover {
  color: var(--brand-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: rgba(245, 245, 243, 0.05);
  border: 1px solid rgba(245, 245, 243, 0.15);
  border-radius: 10px;
  padding: 16px 18px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 245, 243, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(245, 245, 243, 0.08);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s ease, gap 0.3s ease;
}

.contact-form__submit:hover {
  background: var(--brand-light);
  gap: 16px;
}

.contact-form__submit svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 991px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-media {
    position: static;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .contact-section,
  .service-section {
    padding: 0 24px 100px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==================================================
   Footer
================================================== */

.site-footer {
  --muted: rgba(245, 245, 243, 0.8);
  background: var(--bg);
  border-top: 1px solid rgba(245, 245, 243, 0.1);
}

.site-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 56px;
  padding: 100px 56px 64px;
}

.site-footer__brand img {
  height: 40px;
  display: block;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 160px;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

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

.site-footer__links a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.25s ease;
}

.site-footer__links a:hover {
  color: var(--brand-light);
}

.site-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-footer__contact-item strong {
  font-weight: 700;
  font-size: 14px;
  color: #f5f5f3;
  letter-spacing: 0.01em;
}

.site-footer__col--subscribe {
  flex: 1;
  max-width: 340px;
}

.site-footer__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 245, 243, 0.25);
}

.site-footer__form input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
}

.site-footer__form input::placeholder {
  color: var(--muted);
}

.site-footer__form input:focus {
  outline: none;
}

.site-footer__form button {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--white);
  font-size: 16px;
  transition: color 0.25s ease;
}

.site-footer__form button:hover {
  color: var(--brand-light);
}

.site-footer__text {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.site-footer__socials {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.site-footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 1px solid rgba(245, 245, 243, 0.18);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-footer__socials svg {
  width: 15px;
  height: 15px;
}

.site-footer__socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 56px;
  border-top: 1px solid rgba(245, 245, 243, 0.1);
  font-size: 13px;
  color: var(--muted);
}

.site-footer__legal {
  display: flex;
  gap: 32px;
}

.site-footer__legal a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.site-footer__legal a:hover {
  color: var(--brand-light);
}

@media (max-width: 900px) {
  .site-footer__top {
    flex-wrap: wrap;
    row-gap: 48px;
  }

  .site-footer__col--subscribe {
    max-width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .site-footer__top {
    padding: 72px 24px 48px;
  }

  .site-footer__bottom {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-footer__legal {
    flex-wrap: wrap;
    row-gap: 8px;
    gap: 20px;
  }
}

/* ==================================================
   Desktop container — content ~20% mais estreito e centralizado
================================================== */

@media (min-width: 1025px) {

  .navbar,
  .services,
  .page-hero,
  .page-media,
  .page-content,
  .portfolio-section,
  .contact-section,
  .service-section,
  .team__header,
  .team__track,
  .stats,
  .testimonials,
  .projects,
  .cta-touch,
  .site-footer__top,
  .site-footer__bottom {
    padding-left: calc(10vw + 86px);
    padding-right: calc(10vw + 86px);
  }

  .team__track {
    scroll-padding-left: calc(10vw + 86px);
    /* Desktop: navigate only via the prev/next arrows, no drag/swipe scrolling. */
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-snap-type: none;
    touch-action: pan-y;
  }
}

/* ==================================================
   Cookie Consent Banner (LGPD)
================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  max-width: 440px;
  width: calc(100% - 48px);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cookie-banner__inner {
  background: rgba(18, 18, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 245, 243, 0.12);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.cookie-banner__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-banner__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(242, 77, 35, 0.15);
  color: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner__icon svg {
  width: 20px;
  height: 20px;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.cookie-banner__text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-banner__text a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245, 245, 243, 0.35);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.cookie-banner__text a:hover {
  color: var(--brand-light);
  text-decoration-color: var(--brand-light);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.cookie-btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(242, 77, 35, 0.35);
}

.cookie-btn--primary:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 77, 35, 0.45);
}

.cookie-btn--secondary {
  background: rgba(245, 245, 243, 0.06);
  color: var(--white);
  border: 1px solid rgba(245, 245, 243, 0.15);
}

.cookie-btn--secondary:hover {
  background: rgba(245, 245, 243, 0.12);
  border-color: rgba(245, 245, 243, 0.25);
  transform: translateY(-1px);
}

.site-footer__cookie-link {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.site-footer__cookie-link:hover {
  color: var(--brand-light);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    width: calc(100% - 32px);
    max-width: none;
  }
  .cookie-banner__inner {
    padding: 18px;
    border-radius: 16px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 8px;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}