.sobre-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  margin-top: -1px;
  padding-top: clamp(96px, 9vw, 120px);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.008));
}

.sobre-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(104deg, rgba(3, 9, 20, 0.985) 0%, rgba(4, 12, 26, 0.955) 34%, rgba(5, 15, 32, 0.84) 60%, rgba(6, 17, 34, 0.44) 100%),
    url('../../ativos/imagens/sobre-bg-aboutus.jpg') center right / cover no-repeat;
  opacity: 0.64;
  transform: scale(1.18) translate3d(0, 38px, 0);
  transform-origin: center;
  filter: saturate(0.8) contrast(1.05);
  transition:
    transform 1.8s cubic-bezier(0.16, 0.84, 0.22, 1),
    opacity 1.18s ease,
    filter 1.18s ease;
}

.sobre-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.96) 0%, rgba(7, 17, 31, 0.16) 14%, rgba(7, 17, 31, 0.18) 84%, rgba(7, 17, 31, 0.96) 100%),
    radial-gradient(circle at 79% 34%, rgba(79, 179, 255, 0.14), transparent 20%),
    radial-gradient(circle at 18% 84%, rgba(255, 102, 0, 0.07), transparent 24%);
}

.sobre-section.is-inview::before {
  opacity: 0.9;
  transform: scale(1.03) translate3d(0, 0, 0);
  filter: saturate(0.88) contrast(1.06);
}

.sobre-wrapper {
  position: relative;
  z-index: 1;
  width: calc(100% - (var(--gutter-fluid) * 2));
  max-width: none;
  margin-inline: auto;
}

.sobre-wrapper::before {
  content: "";
  position: absolute;
  right: -40px;
  top: 88px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 179, 255, 0.12) 0%, rgba(79, 179, 255, 0) 68%);
  filter: blur(16px);
  pointer-events: none;
}

.sobre-heading {
  margin-bottom: 42px;
  max-width: 920px;
}

.sobre-heading .secao-titulo {
  display: inline-block;
  max-width: none;
  color: #eef6ff;
  background: linear-gradient(180deg, #ffffff 0%, #beddff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.sobre-heading .secao-titulo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 78px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(79, 179, 255, 0.98), rgba(255, 102, 0, 0.45));
  box-shadow: 0 0 18px rgba(79, 179, 255, 0.22);
}

.sobre-subtitulo {
  max-width: 840px;
  margin-top: 32px;
  font-size: clamp(1.2rem, 1.75vw, 1.56rem);
  line-height: 1.55;
  font-weight: 600;
  color: #eef5ff;
}

.sobre-emphasis {
  color: #7fcbff;
  text-shadow: 0 0 18px rgba(79, 179, 255, 0.16);
}

.sobre-intro {
  margin: 18px 0 0;
  max-width: 780px;
  color: var(--cor-texto-secundario);
  font-size: 1.03rem;
  line-height: 1.84;
}

.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.86fr);
  gap: clamp(20px, 2vw, 34px);
  align-items: stretch;
}

.sobre-card {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.sobre-card--principal {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 18, 37, 0.82), rgba(7, 18, 37, 0.6));
  backdrop-filter: blur(16px);
}

.sobre-card--principal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(79, 179, 255, 0), rgba(79, 179, 255, 0.72), rgba(255, 102, 0, 0.3), rgba(79, 179, 255, 0));
}

.sobre-card--principal::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.09) 0%, rgba(255, 102, 0, 0) 70%);
  pointer-events: none;
}

.sobre-callout {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.028));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.sobre-callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 102, 0, 0.95), rgba(79, 179, 255, 0.55));
}

.sobre-callout--primary {
  margin: 0 0 26px;
  padding: 18px 22px 18px 24px;
}

.sobre-callout--secondary {
  margin-top: 26px;
  padding: 18px 22px 18px 24px;
  background: linear-gradient(180deg, rgba(8, 20, 40, 0.62), rgba(7, 18, 37, 0.34));
  border-color: rgba(79, 179, 255, 0.14);
}

.sobre-callout-label {
  margin: 0 0 14px;
  padding-left: 12px;
  color: #dcecff;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.sobre-callout-title {
  display: block;
  padding-left: 12px;
  color: #ffffff;
  font-size: clamp(1.02rem, 1.24vw, 1.14rem);
  line-height: 1.74;
  letter-spacing: 0;
}

.sobre-callout-title--question {
  font-size: clamp(1.08rem, 1.34vw, 1.2rem);
  line-height: 1.62;
  margin-bottom: 6px;
}

.sobre-callout-text {
  margin: 16px 0 0;
  padding-left: 12px;
  color: var(--cor-texto-secundario);
  font-size: 0.97rem;
  line-height: 1.82;
  text-align: justify;
  text-wrap: pretty;
}

.sobre-copy {
  display: grid;
  gap: 24px;
}

.sobre-text {
  margin: 0;
  color: var(--cor-texto-secundario);
  line-height: 1.88;
  font-size: 1.01rem;
  text-align: justify;
  text-wrap: pretty;
}

.sobre-text + .sobre-text {
  margin-top: 0;
}


.sobre-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.sobre-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #edf5ff;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}

.sobre-card--stats {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-content: stretch;
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 100%;
}

.sobre-stat {
  --scroll-progress: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 28px 24px 24px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, calc(68px - (var(--scroll-progress) * 24px)), 0) scale(0.958);
  filter: blur(14px);
  transition: opacity 1.02s ease, transform 1.02s cubic-bezier(0.16, 0.84, 0.22, 1), filter 1.02s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.sobre-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(79, 179, 255, 0.95), rgba(79, 179, 255, 0.06));
}

.sobre-stat.is-inview {
  opacity: 1;
  transform: translate3d(0, calc((1 - var(--scroll-progress)) * 12px), 0) scale(1);
  filter: blur(0);
}

.sobre-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 179, 255, 0.22);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.sobre-stat strong {
  display: block;
  padding-left: 14px;
  font-size: 1.04rem;
  margin-bottom: 0;
  color: #ffffff;
  line-height: 1.46;
}

.sobre-stat span {
  display: block;
  padding-left: 14px;
  color: var(--cor-texto-secundario);
  line-height: 1.78;
  font-size: 0.95rem;
  text-align: justify;
  text-wrap: pretty;
}

.sobre-stat__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: transform;
}

.sobre-card--stats .sobre-stat.is-inview .sobre-stat__inner {
  animation: sobreStatAlive 6.8s ease-in-out infinite;
}

.sobre-card--stats .sobre-stat:nth-child(2).is-inview .sobre-stat__inner {
  animation-duration: 7.4s;
  animation-delay: -1.3s;
}

.sobre-card--stats .sobre-stat:nth-child(3).is-inview .sobre-stat__inner {
  animation-duration: 6.2s;
  animation-delay: -2.6s;
}

.sobre-card--stats .sobre-stat:nth-child(4).is-inview .sobre-stat__inner {
  animation-duration: 7.9s;
  animation-delay: -0.9s;
}

.sobre-card--stats .sobre-stat:nth-child(5).is-inview .sobre-stat__inner {
  animation-duration: 6.6s;
  animation-delay: -3.1s;
}

.sobre-stat:hover .sobre-stat__inner {
  animation-play-state: paused;
}

@keyframes sobreStatAlive {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    transform: translate3d(0, -4px, 0) rotate(-0.35deg);
  }
  50% {
    transform: translate3d(0, 1px, 0) rotate(0.28deg);
  }
  75% {
    transform: translate3d(0, -3px, 0) rotate(0.18deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

.sobre-reveal {
  --scroll-progress: 0;
  opacity: 0;
  transform: translate3d(0, calc(86px - (var(--scroll-progress) * 28px)), 0) scale(0.948);
  transform-origin: center top;
  filter: blur(14px);
  transition:
    opacity 1.08s ease,
    transform 1.08s cubic-bezier(0.16, 0.84, 0.22, 1),
    filter 1.08s ease;
}

.sobre-reveal.is-inview {
  opacity: 1;
  transform: translate3d(0, calc((1 - var(--scroll-progress)) * 14px), 0) scale(1);
  filter: blur(0);
}

.sobre-reveal--delay-1 { transition-delay: 0.10s; }
.sobre-reveal--delay-2 { transition-delay: 0.16s; }
.sobre-reveal--delay-3 { transition-delay: 0.24s; }
.sobre-reveal--delay-4 { transition-delay: 0.32s; }
.sobre-reveal--delay-5 { transition-delay: 0.40s; }
.sobre-reveal--delay-6 { transition-delay: 0.48s; }

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

  .sobre-card--stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .sobre-section::before {
    background-position: 72% center;
  }
}

@media (max-width: 920px) {
  .sobre-heading {
    margin-bottom: 34px;
  }

  .sobre-card--principal {
    padding: 30px 26px 28px;
  }

  .sobre-subtitulo {
    font-size: 1.12rem;
  }

  .sobre-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sobre-section::before {
    opacity: 0.62;
    background-position: 74% center;
  }

  .sobre-wrapper::before {
    right: -70px;
    top: 120px;
  }
}

@media (max-width: 640px) {
  .sobre-card--principal {
    padding: 28px 22px;
  }

  .sobre-callout--primary,
  .sobre-callout--secondary {
    padding-right: 16px;
  }

  .sobre-card--stats,
  .sobre-highlights {
    grid-template-columns: 1fr;
  }

  .sobre-callout-title,
  .sobre-callout-label,
  .sobre-callout-text,
  .sobre-stat strong,
  .sobre-stat span {
    padding-left: 10px;
  }

  .sobre-stat {
    padding: 20px 18px 18px;
  }

  .sobre-pill {
    width: 100%;
  }

  .sobre-section::before {
    background-position: 78% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sobre-section::before,
  .sobre-reveal,
  .sobre-stat,
  .sobre-stat__inner {
    transition: none;
    transform: none;
    filter: none;
    animation: none;
  }
}

/* Refresh clean 2026 */
.sobre-section {
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.86) 48%, rgba(255, 255, 255, 0.58) 100%),
    url('../../ativos/imagens/sobre-bg-aboutus.jpg') center right / cover no-repeat;
  padding-top: clamp(82px, 8vw, 112px);
}

.sobre-section::before,
.sobre-section::after,
.sobre-wrapper::before,
.sobre-card--principal::after {
  display: none;
}

.sobre-heading .secao-titulo,
.sobre-heading .secao-titulo::before,
.sobre-heading .secao-titulo::after,
.experiencia-heading .secao-titulo,
.servicos-heading .secao-titulo,
.como-trabalho-heading .secao-titulo,
.contato-heading .secao-titulo {
  -webkit-text-fill-color: currentColor;
  background: none;
}

.sobre-heading .secao-titulo {
  color: var(--cor-texto-principal);
}

.sobre-heading .secao-titulo::after,
.experiencia-heading .secao-titulo::after,
.servicos-heading .secao-titulo::after,
.como-trabalho-heading .secao-titulo::after,
.contato-heading .secao-titulo::after {
  width: 56px;
  height: 2px;
  background: var(--cor-destaque);
  box-shadow: none;
}

.sobre-subtitulo {
  color: var(--cor-texto-principal);
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
}

.sobre-emphasis {
  color: var(--cor-azul);
  text-shadow: none;
}

.sobre-intro,
.sobre-text,
.sobre-callout-text,
.sobre-stat span {
  color: var(--cor-texto-secundario);
}

.sobre-card {
  border-radius: var(--raio-cartao);
  border-color: var(--cor-borda-suave);
  box-shadow: var(--sombra-principal);
}

.sobre-card--principal,
.sobre-callout,
.sobre-callout--secondary,
.sobre-stat {
  background: #ffffff;
  border-color: var(--cor-borda-suave);
  backdrop-filter: none;
}

.sobre-card--principal::before {
  background: var(--cor-destaque);
}

.sobre-callout,
.sobre-stat,
.sobre-pill {
  border-radius: var(--raio-cartao);
}

.sobre-callout::before,
.sobre-stat::before {
  background: var(--cor-destaque);
}

.sobre-callout-label {
  color: var(--cor-azul);
}

.sobre-callout-title,
.sobre-stat strong {
  color: var(--cor-texto-principal);
}

.sobre-highlights {
  gap: 8px;
}

.sobre-pill {
  background: var(--cor-azul-claro);
  border-color: rgba(23, 105, 194, 0.1);
  color: var(--cor-azul-profundo);
}

.sobre-card--stats .sobre-stat.is-inview .sobre-stat__inner {
  animation: none;
}

.sobre-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 105, 194, 0.18);
  box-shadow: 0 22px 44px rgba(15, 37, 64, 0.12);
}
