/* Campos Salles — refinamentos de imagem, contraste, tipografia, movimento e navegação */

/* Tipografia: duas famílias em todo o projeto */
body,
button,
input,
textarea,
select {
  font-family: var(--sans, 'Montserrat', sans-serif);
}

.sobre-pull,
.filo-quote,
.filo-quote cite {
  font-family: var(--serif, 'Cormorant Garamond', serif);
}

/* Contraste e leitura */
.areas {
  background: #202020 !important;
}

.areas-grid {
  gap: 1px !important;
  background: rgba(245,245,242,.12) !important;
  border: 1px solid rgba(245,245,242,.08);
}

.area {
  background: #2c2c2c !important;
  border: 0 !important;
  transition: transform .38s var(--ease), background .38s var(--ease), box-shadow .38s var(--ease) !important;
}

.area:hover {
  background: #353535 !important;
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
  z-index: 2;
}

.area-desc,
.sobre-body,
.content-body p,
.content-body li,
.side-card p,
.valor p,
.team-card p,
.team-media-lead,
.depoimento-text,
.footer-address,
.footer-slogan {
  color: rgba(245,245,242,.76) !important;
}

.area-desc,
.content-body p,
.content-body li,
.side-card p,
.team-card p {
  font-weight: 400 !important;
}

.area-num {
  color: rgba(214,195,163,.88) !important;
}

.area-name {
  color: #ffffff !important;
}

.area-link,
.text-link {
  color: rgba(245,245,242,.92) !important;
}

.area-link:hover,
.text-link:hover {
  color: var(--beige) !important;
}

.sec-label,
.breadcrumb,
.team-kicker,
.home-team-kicker,
.professional-strip-kicker {
  color: #dfcbaa !important;
}

/* Menu mobile: botão de fechamento visível e utilizável */
.hamburger {
  border: 0;
  padding: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  transform-origin: center;
}

body.menu-open .nav {
  z-index: 420 !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}

body.menu-open .nav .logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

body.menu-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}

body.menu-open .hamburger span:nth-child(2) {
  opacity: 0 !important;
  transform: scaleX(0) !important;
}

body.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

.mobile-menu {
  z-index: 380 !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(214,195,163,.11), transparent 35%),
    #0b0b0b !important;
}

.mobile-menu a {
  position: relative;
  color: rgba(245,245,242,.9) !important;
  transition: color .25s ease, transform .25s ease !important;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--beige) !important;
  transform: translateX(4px);
  outline: none;
}

/* Scroll reveal real — as regras antigas mantêm conteúdo visível sem JS */
html.motion-ready .reveal {
  opacity: 0 !important;
  visibility: visible !important;
  transform: translate3d(0, 28px, 0) !important;
  transition:
    opacity .78s var(--ease),
    transform .78s var(--ease),
    border-color .35s var(--ease),
    background .35s var(--ease),
    box-shadow .35s var(--ease) !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform;
}

html.motion-ready .reveal[data-reveal="left"] {
  transform: translate3d(-30px, 0, 0) !important;
}

html.motion-ready .reveal[data-reveal="right"] {
  transform: translate3d(30px, 0, 0) !important;
}

html.motion-ready .reveal[data-reveal="scale"] {
  transform: scale(.965) !important;
}

html.motion-ready .reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

html.motion-ready .reveal.d1 { --reveal-delay: 80ms; }
html.motion-ready .reveal.d2 { --reveal-delay: 160ms; }
html.motion-ready .reveal.d3 { --reveal-delay: 240ms; }
html.motion-ready .reveal.d4 { --reveal-delay: 320ms; }

/* Sócios na página inicial */
.home-team {
  position: relative;
  padding: 8.5rem 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(214,195,163,.10), transparent 30%),
    #151515;
  border-top: 1px solid rgba(214,195,163,.08);
  border-bottom: 1px solid rgba(214,195,163,.08);
}

.home-team-header {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 3rem;
}

.home-team-kicker,
.professional-strip-kicker {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.home-team-kicker::before,
.professional-strip-kicker::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--beige);
}

.home-team-intro {
  font-size: .9rem;
  line-height: 1.85;
  color: rgba(245,245,242,.72);
  max-width: 620px;
}

.home-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-team-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 360px;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(48,48,48,.58), rgba(18,18,18,.82));
  border: 1px solid rgba(214,195,163,.14);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 42px rgba(0,0,0,.16);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}

.home-team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(214,195,163,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 54px rgba(0,0,0,.24);
  background: linear-gradient(145deg, rgba(56,56,56,.62), rgba(20,20,20,.88));
}

.home-team-photo {
  position: relative;
  min-height: 338px;
  overflow: hidden;
  background: #252525;
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(0,0,0,.22);
}

.home-team-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.14));
  pointer-events: none;
}

.home-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.9) contrast(1.03);
  transition: transform .7s var(--ease), filter .45s ease;
}

.home-team-card:hover .home-team-photo img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.04);
}

.home-team-copy {
  padding: 1.6rem 1.9rem 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-team-role {
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: .7rem;
}

.home-team-name {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.16;
  color: var(--offwhite);
  margin-bottom: .4rem;
}

.home-team-oab {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,245,242,.58);
  margin-bottom: 1.15rem;
}

.home-team-copy p {
  font-size: .82rem;
  line-height: 1.75;
  color: rgba(245,245,242,.74);
  margin-bottom: 1.3rem;
}

.home-team-link {
  align-self: flex-start;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--offwhite);
  text-decoration: none;
}

.home-team-link:hover { color: var(--beige); }

/* Imagens como prova institucional */
.home-evidence {
  padding: 8rem 0;
  background: #101010;
}

.home-evidence-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 1rem;
  margin-top: 2.8rem;
}

.home-evidence-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(214,195,163,.14);
  background: #222;
}

.home-evidence-card:first-child { min-height: 500px; }

.home-evidence-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(12%) brightness(.84);
  transition: transform .8s var(--ease), filter .45s ease;
}

.home-evidence-card:hover img {
  transform: scale(1.035);
  filter: grayscale(0) brightness(.96);
}

.home-evidence-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5,5,5,.9));
}

.home-evidence-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.35rem;
  z-index: 2;
}

.home-evidence-caption strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--offwhite);
  margin-bottom: .35rem;
}

.home-evidence-caption span {
  display: block;
  font-size: .73rem;
  line-height: 1.55;
  color: rgba(245,245,242,.7);
}

/* Presença humana nas páginas de serviço */
.professional-strip {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #171717, #232323);
  border-top: 1px solid rgba(214,195,163,.1);
  border-bottom: 1px solid rgba(214,195,163,.1);
}

.professional-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.professional-strip-photos {
  display: flex;
  align-items: center;
  padding-left: .75rem;
}

.professional-strip-photos img {
  width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #202020;
  box-shadow: 0 0 0 1px rgba(214,195,163,.25);
}

.professional-strip-photos img + img {
  margin-left: -18px;
}

.professional-strip h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--offwhite);
  margin-bottom: .65rem;
}

.professional-strip p {
  font-size: .84rem;
  line-height: 1.75;
  color: rgba(245,245,242,.72);
  max-width: 700px;
}

/* Página Quem Somos: apresentação mais orgânica dos sócios */
.page-quem-somos .team-grid {
  gap: 1.6rem;
}

.page-quem-somos .team-card {
  grid-template-columns: 230px minmax(0, 1fr) !important;
  gap: 2rem !important;
  padding: 1rem !important;
  align-items: center !important;
  border-radius: 34px !important;
  background: linear-gradient(145deg, rgba(50,50,50,.58), rgba(18,18,18,.82)) !important;
  border: 1px solid rgba(214,195,163,.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 18px 42px rgba(0,0,0,.16);
}

.page-quem-somos .team-card:hover {
  background: linear-gradient(145deg, rgba(56,56,56,.62), rgba(20,20,20,.88)) !important;
  border-color: rgba(214,195,163,.3) !important;
}

.page-quem-somos .founder-avatar {
  width: 230px !important;
  height: 100% !important;
  min-height: 320px;
  border-radius: 28px !important;
  align-self: stretch;
  box-shadow: 0 18px 36px rgba(0,0,0,.22);
  background: #212121;
}

.page-quem-somos .founder-avatar img {
  object-position: center center;
}

.page-quem-somos .team-card > div:last-child {
  padding: .7rem .8rem .7rem 0;
  align-self: center;
}

/* Foco e acessibilidade */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--beige);
  outline-offset: 4px;
}

@media (max-width: 1050px) {
  .home-team-card {
    grid-template-columns: 185px minmax(0, 1fr);
    min-height: 335px;
  }
  .home-team-photo { min-height: 315px; }
}


@keyframes homeBrandSymbolFloat {
  0%, 100% { translate: 0 0; opacity: .44; }
  50% { translate: -18px 20px; opacity: .62; }
}







@media (max-width: 900px) {
  .home-team,
  .home-evidence { padding: 5.5rem 0; }

  .home-team-header,
  .home-team-grid,
  .home-evidence-grid,
  .professional-strip-inner {
    grid-template-columns: 1fr !important;
  }

  .home-team-header { gap: 1.25rem; }
  .home-team-card { grid-template-columns: 160px minmax(0, 1fr); min-height: 300px; padding: .85rem; border-radius: 28px; }
  .home-team-photo { min-height: 280px; border-radius: 24px; }
  .home-evidence-card,
  .home-evidence-card:first-child { min-height: 340px; }

  .professional-strip-inner {
    text-align: center;
    justify-items: center;
  }

  .professional-strip-photos { padding-left: 0; }
  .professional-strip p { max-width: 620px; }

  .page-quem-somos .team-card {
    grid-template-columns: 170px minmax(0, 1fr) !important;
    border-radius: 28px !important;
    padding: .9rem !important;
  }

  .page-quem-somos .founder-avatar {
    width: 170px !important;
    min-height: 250px;
    border-radius: 24px !important;
  }
}

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

  .home-team-photo {
    min-height: 0;
    aspect-ratio: 1 / 1.12;
    border-radius: 24px;
  }

  .home-team-copy { padding: 1.25rem .55rem .9rem; }

  .home-evidence-card,
  .home-evidence-card:first-child { min-height: 290px; }

  .professional-strip { padding: 4.5rem 0; }
  .professional-strip-photos img { width: 82px; height: 82px; }

  .page-quem-somos .team-card {
    grid-template-columns: 1fr !important;
    padding: .95rem !important;
    border-radius: 24px !important;
  }

  .page-quem-somos .founder-avatar {
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 1 / 1.18;
    border-radius: 22px !important;
  }

  .page-quem-somos .team-card > div:last-child {
    padding: .6rem .25rem .5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ready .reveal,
  html.motion-ready .reveal[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .area,
  .home-team-card,
  .home-team-photo img,
  .home-evidence-card img {
    transition: none !important;
  }
}

/* ======================================================================
   CAMPOS SALLES — MOTION EXPERIENCE V2
   Movimento deliberadamente mais intenso: scroll vertical, parallax,
   botões vivos, cards 3D, loader, trilho de progresso e menu coreografado.
   ====================================================================== */

:root {
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
  --motion-ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --motion-gold: #d6c3a3;
  --motion-gold-bright: #f1dfbd;
  --motion-dark: #0b0b0b;
  --scroll-progress: 0;
}

html.motion-v2 {
  scroll-behavior: smooth;
}

html.motion-v2 body {
  position: relative;
}

/* Loader de entrada */
.motion-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: all;
  background: #0b0b0b;
  transition: visibility 0s linear 1.05s;
}

.motion-loader::before,
.motion-loader::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background: #0b0b0b;
  transition: transform 1.05s var(--motion-ease);
  will-change: transform;
}

.motion-loader::before { left: 0; transform-origin: left center; }
.motion-loader::after  { right: 0; transform-origin: right center; }

.motion-loader-mark {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  color: var(--offwhite, #f5f5f2);
  transition: opacity .35s ease, transform .65s var(--motion-ease);
}

.motion-loader-mark strong {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.motion-loader-mark span {
  width: 90px;
  height: 2px;
  overflow: hidden;
  background: rgba(214,195,163,.18);
}

.motion-loader-mark span::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--motion-gold-bright);
  transform: translateX(-105%);
  animation: loaderLine 1.05s var(--motion-ease) infinite;
}

.motion-loader.is-finished {
  visibility: hidden;
  pointer-events: none;
}

.motion-loader.is-finished::before { transform: translateX(-102%); }
.motion-loader.is-finished::after  { transform: translateX(102%); }
.motion-loader.is-finished .motion-loader-mark {
  opacity: 0;
  transform: scale(.88) translateY(-18px);
}

@keyframes loaderLine {
  0% { transform: translateX(-105%); }
  55%, 100% { transform: translateX(105%); }
}

/* Trilho vertical do scroll */
.scroll-rail {
  position: fixed;
  z-index: 9990;
  top: 50%;
  right: 1rem;
  width: 34px;
  height: min(44vh, 360px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  pointer-events: none;
  mix-blend-mode: screen;
}

.scroll-rail-track {
  position: relative;
  flex: 1;
  width: 2px;
  overflow: hidden;
  background: rgba(245,245,242,.14);
}

.scroll-rail-fill {
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--scroll-progress) * 100%);
  background: linear-gradient(180deg, var(--motion-gold-bright), var(--motion-gold));
  box-shadow: 0 0 18px rgba(214,195,163,.85);
  transition: height .08s linear;
}

.scroll-rail-dot {
  position: absolute;
  left: 50%;
  top: calc(var(--scroll-progress) * 100%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--motion-gold-bright);
  box-shadow: 0 0 0 5px rgba(214,195,163,.10), 0 0 24px rgba(214,195,163,.85);
  transform: translate(-50%, -50%);
  transition: top .08s linear;
}

.scroll-rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .48rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: rgba(245,245,242,.62);
}


/* Reveal vertical muito mais perceptível */
html.motion-ready .reveal {
  --motion-transform: translate3d(0, 118px, 0) scale(.92) rotateX(10deg);
  --motion-blur: 10px;
  opacity: 0 !important;
  visibility: visible !important;
  transform: var(--motion-transform) !important;
  filter: blur(var(--motion-blur)) saturate(.75) !important;
  transform-origin: center bottom;
  transition:
    opacity .82s var(--motion-ease),
    transform 1.05s var(--motion-ease),
    filter .85s var(--motion-ease),
    clip-path 1.05s var(--motion-ease),
    border-color .35s ease,
    background .35s ease,
    box-shadow .35s ease !important;
  transition-delay: var(--reveal-delay, 0ms) !important;
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
}

html.motion-ready .reveal[data-reveal="left"],
html.motion-ready .reveal[data-motion="left"] {
  --motion-transform: translate3d(-135px, 40px, 0) scale(.9) rotateY(-10deg);
  transform-origin: left center;
}

html.motion-ready .reveal[data-reveal="right"],
html.motion-ready .reveal[data-motion="right"] {
  --motion-transform: translate3d(135px, 40px, 0) scale(.9) rotateY(10deg);
  transform-origin: right center;
}

html.motion-ready .reveal[data-reveal="scale"],
html.motion-ready .reveal[data-motion="zoom"] {
  --motion-transform: translate3d(0, 30px, 0) scale(.72) rotateZ(-2deg);
}

html.motion-ready .reveal[data-motion="flip"] {
  --motion-transform: translate3d(0, 85px, 0) perspective(1000px) rotateX(28deg) scale(.9);
}

html.motion-ready .reveal.is-visible {
  --motion-transform: translate3d(0,0,0) scale(1) rotateX(0) rotateY(0) rotateZ(0);
  --motion-blur: 0px;
  opacity: 1 !important;
  filter: blur(0) saturate(1) !important;
}

html.motion-ready .reveal.d1 { --reveal-delay: 110ms; }
html.motion-ready .reveal.d2 { --reveal-delay: 220ms; }
html.motion-ready .reveal.d3 { --reveal-delay: 330ms; }
html.motion-ready .reveal.d4 { --reveal-delay: 440ms; }

/* Seções com movimento e iluminação dependentes do scroll */
.motion-section {
  position: relative;
  isolation: isolate;
}

.motion-section-light {
  position: absolute;
  z-index: 0;
  width: 42vw;
  height: 42vw;
  min-width: 360px;
  min-height: 360px;
  max-width: 760px;
  max-height: 760px;
  left: calc(8% + var(--section-x, 0px));
  top: calc(18% + var(--section-y, 0px));
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,195,163,.10), rgba(214,195,163,.03) 45%, transparent 72%);
  filter: blur(28px);
  opacity: calc(.25 + var(--section-visibility, 0) * .75);
  pointer-events: none;
  transition: opacity .2s linear;
}

.motion-section:nth-of-type(even) > .motion-section-light {
  left: auto;
  right: calc(6% + var(--section-x, 0px));
}

.motion-section-line {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: calc(var(--section-visibility, 0) * 100%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,195,163,.9), transparent);
  box-shadow: 0 0 20px rgba(214,195,163,.45);
  pointer-events: none;
}

.motion-section > :not(.motion-section-light):not(.motion-section-line) {
  position: relative;
  z-index: 1;
}

/* Hero mais vivo */
.hero-inner,
.inner-hero-inner,
.team-compact-hero-inner,
.team-hero-inner {
  will-change: transform, opacity;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(var(--hero-scale, 1));
  opacity: var(--hero-opacity, 1);
}

.hero::before,
.inner-hero::before,
.team-compact-hero::before,
.team-hero::before {
  transform: translate3d(0, var(--hero-bg-shift, 0px), 0) scale(1.12);
  will-change: transform;
}

.hero-title,
.inner-title,
.team-title {
  text-shadow: 0 0 42px rgba(214,195,163,.08);
}

.motion-v2 .hero-title,
.motion-v2 .inner-title,
.motion-v2 .team-title {
  animation: heroPunch 1.15s .18s var(--motion-ease) both !important;
}

.motion-v2 .hero-eyebrow,
.motion-v2 .breadcrumb,
.motion-v2 .team-kicker {
  animation: heroSide 1s .05s var(--motion-ease) both !important;
}

.motion-v2 .hero-tagline,
.motion-v2 .inner-subtitle,
.motion-v2 .team-subtitle {
  animation: heroPunch 1s .42s var(--motion-ease) both !important;
}

@keyframes heroPunch {
  from { opacity: 0; transform: translate3d(0, 95px, 0) scale(.82); filter: blur(12px); }
  70% { opacity: 1; transform: translate3d(0, -8px, 0) scale(1.025); filter: blur(0); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes heroSide {
  from { opacity: 0; transform: translate3d(-85px,0,0); letter-spacing: .55em; }
  to { opacity: 1; transform: none; }
}

/* Botões animados: brilho, pulso, magnetismo e ripple */
.btn-solid,
.btn-call,
.btn-ghost,
.nav-cta,
.area-link,
.text-link {
  --mag-x: 0px;
  --mag-y: 0px;
  --button-scale: 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--mag-x), var(--mag-y), 0) scale(var(--button-scale));
  transition:
    transform .22s var(--motion-ease-back),
    color .3s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease !important;
  will-change: transform;
}

.btn-solid::before,
.btn-call::before,
.nav-cta::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -80% -45%;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.65) 48%, transparent 62%);
  transform: translateX(-75%) rotate(8deg);
  animation: buttonShine 2.55s ease-in-out infinite;
}

.btn-solid::after,
.btn-call::after,
.nav-cta::after {
  content: '';
  position: absolute;
  inset: 3px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.34);
  pointer-events: none;
  pointer-events: none;
}

.btn-solid:hover,
.btn-call:hover,
.nav-cta:hover {
  --button-scale: 1.075;
  box-shadow: 0 18px 45px rgba(214,195,163,.25), 0 0 38px rgba(214,195,163,.22) !important;
}

.btn-ghost::after,
.area-link::after,
.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -.3rem;
  width: 100%;
  height: 2px;
  background: var(--motion-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .4s var(--motion-ease);
}

.btn-ghost:hover::after,
.area-link:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.motion-ripple {
  position: absolute;
  z-index: 5;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: rippleBurst .7s ease-out forwards;
}

@keyframes buttonShine {
  0%, 42% { transform: translateX(-78%) rotate(8deg); }
  72%, 100% { transform: translateX(78%) rotate(8deg); }
}

@keyframes rippleBurst {
  to { transform: translate(-50%, -50%) scale(18); opacity: 0; }
}

/* Cards com elevação e tilt 3D */
.motion-tilt {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-lift: 0px;
  --glare-x: 50%;
  --glare-y: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

html.motion-ready .reveal.is-visible.motion-tilt {
  --motion-transform: perspective(1050px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0,var(--tilt-lift),0) scale(1);
}

.motion-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: var(--glare-opacity, 0);
  background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255,255,255,.22), transparent 38%);
  transition: opacity .25s ease;
}

.motion-tilt:hover {
  --tilt-lift: -10px;
  --glare-opacity: 1;
  border-color: rgba(214,195,163,.55) !important;
  box-shadow: 0 30px 70px rgba(0,0,0,.42), 0 0 35px rgba(214,195,163,.08) !important;
}

.area,
.valor,
.depoimento-card,
.home-team-card,
.home-evidence-card,
.team-card,
.side-card,
.internal-link,
.cred-item,
.stat {
  overflow: hidden;
}

.motion-orb {
  position: absolute;
  z-index: 0;
  right: -54px;
  bottom: -92px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(214,195,163,.18), transparent 68%);
  transition: transform .55s var(--motion-ease), opacity .55s ease;
  opacity: .35;
}

.motion-tilt:hover .motion-orb {
  transform: translate(-45px,-45px) scale(1.8);
  opacity: .75;
}

/* Parallax de imagens */
.motion-parallax {
  --parallax-y: 0px;
  --parallax-scale: 1.08;
  transform: translate3d(0,var(--parallax-y),0) scale(var(--parallax-scale)) !important;
  transition: transform .12s linear !important;
  will-change: transform;
}

/* Menu mobile coreografado */
.mobile-menu {
  clip-path: circle(0% at calc(100% - 36px) 36px);
  transition:
    clip-path .8s var(--motion-ease),
    opacity .25s ease,
    visibility .25s ease !important;
}

.mobile-menu.open {
  clip-path: circle(145% at calc(100% - 36px) 36px);
}

.mobile-menu a {
  opacity: 0;
  transform: translate3d(0, 75px, 0) scale(.8) !important;
  transition:
    opacity .55s var(--motion-ease),
    transform .7s var(--motion-ease),
    color .25s ease !important;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1) !important;
}

.mobile-menu.open a:nth-child(1) { transition-delay: .10s !important; }
.mobile-menu.open a:nth-child(2) { transition-delay: .18s !important; }
.mobile-menu.open a:nth-child(3) { transition-delay: .26s !important; }
.mobile-menu.open a:nth-child(4) { transition-delay: .34s !important; }
.mobile-menu.open a:nth-child(5) { transition-delay: .42s !important; }
.mobile-menu.open a:nth-child(6) { transition-delay: .50s !important; }

body.menu-open .hamburger {
  animation: menuButtonPop .7s var(--motion-ease-back) both;
}

@keyframes menuButtonPop {
  0% { transform: scale(.5) rotate(-90deg); }
  100% { transform: scale(1) rotate(0); }
}


/* WhatsApp mais vivo */
.whatsapp-float,
.wa-float,
.whats-float,
.floating-whatsapp {
  animation: whatsappAggressive 1.8s var(--motion-ease) infinite !important;
}

@keyframes whatsappAggressive {
  0%, 100% { transform: translateY(0) scale(1) rotate(0); box-shadow: 0 12px 32px rgba(37,211,102,.28), 0 0 0 0 rgba(37,211,102,.25); }
  35% { transform: translateY(-8px) scale(1.08) rotate(-4deg); box-shadow: 0 20px 40px rgba(37,211,102,.38), 0 0 0 11px rgba(37,211,102,.08); }
  65% { transform: translateY(-3px) scale(1.03) rotate(3deg); }
}

/* Títulos com linha viva */
.sec-heading,
.contato-title,
.team-title,
.inner-title {
  position: relative;
  display: inline-block;
}

.sec-heading::after,
.contato-title::after,
.team-title::after,
.inner-title::after {
  content: '';
  display: block;
  width: calc(18% + var(--heading-progress, 0) * 82%);
  height: 3px;
  margin-top: .65rem;
  background: linear-gradient(90deg, var(--motion-gold-bright), rgba(214,195,163,.05));
  box-shadow: 0 0 18px rgba(214,195,163,.34);
  transition: width 1.1s var(--motion-ease);
}

.reveal.is-visible.sec-heading,
.reveal.is-visible.contato-title,
.reveal.is-visible.team-title,
.reveal.is-visible.inner-title {
  --heading-progress: 1;
}

/* Dispositivos menores: efeitos ainda fortes, porém sem tilt/cursor */
@media (max-width: 900px) {
  .scroll-rail { right: .35rem; height: 34vh; opacity: .72; }
  .scroll-rail-label { display: none; }

  html.motion-ready .reveal {
    --motion-transform: translate3d(0, 92px, 0) scale(.9) rotateX(8deg);
  }

  html.motion-ready .reveal[data-reveal="left"],
  html.motion-ready .reveal[data-motion="left"] {
    --motion-transform: translate3d(-92px, 28px, 0) scale(.9);
  }

  html.motion-ready .reveal[data-reveal="right"],
  html.motion-ready .reveal[data-motion="right"] {
    --motion-transform: translate3d(92px, 28px, 0) scale(.9);
  }

  .motion-tilt,
  html.motion-ready .reveal.is-visible.motion-tilt {
    --tilt-x: 0deg !important;
    --tilt-y: 0deg !important;
    --tilt-lift: 0px !important;
  }

  .btn-solid,
  .btn-call,
  .btn-ghost,
  .nav-cta {
    min-height: 52px;
  }
}

@media (max-width: 520px) {
  .scroll-rail { display: none; }
  .motion-loader-mark strong { font-size: .82rem; letter-spacing: .19em; }
}

@media (prefers-reduced-motion: reduce) {
  .motion-loader { display: none !important; }
  .scroll-rail { display: none !important; }

  html.motion-ready .reveal,
  html.motion-ready .reveal[data-reveal],
  html.motion-ready .reveal[data-motion] {
    --motion-transform: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .btn-solid,
  .btn-call,
  .nav-cta,
  .whatsapp-float,
  .wa-float,
  .whats-float,
  .floating-whatsapp {
    animation: none !important;
  }

  .motion-parallax { transform: none !important; }
}

/* Correções visuais após teste responsivo */
@media (min-width: 901px) {
  .home-team-header {
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr) !important;
    gap: 5rem !important;
    align-items: center !important;
  }
  .home-team-header > * { min-width: 0; }
  .home-team-header .sec-heading { max-width: 690px; }
}

@media (max-width: 900px) {
  .mobile-menu {
    z-index: 9998 !important;
    clip-path: circle(0 at calc(100% - 34px) 34px) !important;
  }

  .mobile-menu.open {
    clip-path: circle(170vmax at calc(100% - 34px) 34px) !important;
  }

  body.menu-open .nav { z-index: 9999 !important; }

  .hamburger {
    position: relative !important;
    display: block !important;
  }

  .hamburger span {
    position: absolute !important;
    left: 11px !important;
    top: 22px !important;
    width: 24px !important;
    height: 2px !important;
    border-radius: 2px;
  }

  body:not(.menu-open) .hamburger span:nth-child(1) {
    transform: translateY(-7px) !important;
  }
  body:not(.menu-open) .hamburger span:nth-child(2) {
    transform: none !important;
    opacity: 1 !important;
  }
  body:not(.menu-open) .hamburger span:nth-child(3) {
    transform: translateY(7px) !important;
  }

  body.menu-open .hamburger span:nth-child(1) {
    transform: rotate(45deg) !important;
  }
  body.menu-open .hamburger span:nth-child(2) {
    transform: scaleX(0) !important;
    opacity: 0 !important;
  }
  body.menu-open .hamburger span:nth-child(3) {
    transform: rotate(-45deg) !important;
  }
}


/* Ajuste solicitado: mantém o halo do topo e do menu, mas remove faixas automáticas de brilho */
.btn-solid::before,
.btn-call::before,
.nav-cta::before {
  content: none !important;
  display: none !important;
  animation: none !important;
  background: none !important;
}

/* Permanecem removidos somente a faixa rolante e o cursor personalizado */
.motion-marquee,
.motion-cursor-dot,
.motion-cursor-ring {
  display: none !important;
}

html,
body {
  cursor: auto;
}

a,
button,
[role="button"],
.hamburger {
  cursor: pointer;
}

/* ======================================================================
   CAMPOS SALLES — MOTION EXPERIENCE V3
   H1 palavra por palavra, revelação de imagens por máscara, contadores
   animados e navegação que acompanha a seção atual.
   ====================================================================== */

/* H1: entrada palavra por palavra (somente o título principal de cada página) */
.motion-v2 h1.h1-word-reveal {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.h1-word-reveal .h1-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 1.15em, 0) rotateX(-72deg) scale(.78);
  transform-origin: center bottom;
  filter: blur(10px);
  will-change: opacity, transform, filter;
}

body.page-entered .h1-word-reveal .h1-word {
  animation: h1WordRise .9s var(--motion-ease) forwards;
  animation-delay: calc(.08s + var(--word-index, 0) * 82ms);
}

@keyframes h1WordRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 1.15em, 0) rotateX(-72deg) scale(.78);
    filter: blur(10px);
  }
  72% {
    opacity: 1;
    transform: translate3d(0, -.09em, 0) rotateX(5deg) scale(1.035);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* Fotografias: cortina/máscara que abre quando entram na tela */
.motion-mask-host {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

.motion-mask-host > img {
  clip-path: inset(0 100% 0 0);
  transition:
    clip-path 1.12s var(--motion-ease),
    filter .45s ease,
    transform .12s linear !important;
}

.motion-mask-host.mask-visible > img {
  clip-path: inset(0 0 0 0);
  transition-delay: var(--mask-delay, 0ms), 0ms, 0ms !important;
}

.motion-image-mask {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  background:
    linear-gradient(115deg, #171717 0%, #29241d 48%, #d6c3a3 49%, #302a22 53%, #111 100%);
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 1.08s var(--motion-ease);
  transition-delay: var(--mask-delay, 0ms);
  box-shadow: 0 0 36px rgba(214,195,163,.22);
}

.motion-mask-host.mask-visible .motion-image-mask {
  transform: scaleX(0);
  transform-origin: right center;
}

/* Contadores numéricos */
.motion-counter,
.cred-num[data-counter-ready],
.area-num[data-counter-ready] {
  display: inline-block;
  min-width: 2ch;
  font-variant-numeric: tabular-nums;
  will-change: transform, opacity;
}

.counter-running {
  animation: counterKick .72s var(--motion-ease-back) both;
}

@keyframes counterKick {
  0% { opacity: .25; transform: translateY(18px) scale(.72); filter: blur(5px); }
  55% { opacity: 1; transform: translateY(-5px) scale(1.12); filter: blur(0); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

/* Menu acompanhando a seção/página atual */
.nav-links a.active-section,
.mobile-menu a.active-section {
  color: var(--motion-gold-bright, #f1dfbd) !important;
}

.nav-links a.active-section::after {
  width: 100% !important;
  background: linear-gradient(90deg, var(--motion-gold-bright), var(--motion-gold)) !important;
  box-shadow: 0 0 14px rgba(214,195,163,.45);
}

.mobile-menu a.active-section {
  transform: translateX(10px) scale(1.035) !important;
  text-shadow: 0 0 22px rgba(214,195,163,.28);
}

.mobile-menu a.active-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -1.35rem;
  width: .75rem;
  height: 2px;
  background: var(--motion-gold-bright);
  box-shadow: 0 0 12px rgba(214,195,163,.65);
  transform: translateY(-50%);
}

@media (prefers-reduced-motion: reduce) {
  .h1-word-reveal .h1-word,
  body.page-entered .h1-word-reveal .h1-word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .motion-mask-host > img,
  .motion-mask-host.mask-visible > img {
    clip-path: none !important;
    transition: none !important;
  }

  .motion-image-mask { display: none !important; }
  .counter-running { animation: none !important; }
}

/* Correção responsiva específica da página Quem Somos */
@media (max-width: 900px) {
  .team-compact-hero .wrap,
  .team-section .wrap,
  .team-media-section .wrap {
    width: 100%;
    max-width: none;
    padding-left: 1.35rem !important;
    padding-right: 1.35rem !important;
  }

  .team-grid,
  .team-media-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
  }

  .team-card {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 1rem !important;
    padding: 1.25rem !important;
  }

  .team-card p {
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  .team-media-card,
  .team-media-main {
    min-height: 260px !important;
    width: 100%;
  }

  .team-media-card img,
  .team-media-main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

@media (max-width: 600px) {
  .team-compact-hero {
    padding-top: 7.25rem !important;
    padding-bottom: 2.25rem !important;
  }

  .team-title {
    font-size: clamp(1.85rem, 9.2vw, 2.65rem) !important;
    line-height: 1.06 !important;
    overflow-wrap: normal;
  }

  .team-lead {
    font-size: .88rem !important;
    line-height: 1.72 !important;
  }

  .team-section {
    padding-top: 1.2rem !important;
    padding-bottom: 4.5rem !important;
  }

  .team-card {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .founder-avatar {
    width: 64px !important;
    height: 64px !important;
  }

  .team-card h2 {
    font-size: 1rem !important;
  }

  .team-card p {
    grid-column: 1 / -1;
    margin-top: .35rem;
    font-size: .81rem !important;
    line-height: 1.72 !important;
  }

  .team-media-header {
    margin-bottom: 1.5rem !important;
  }

  .team-media-card,
  .team-media-main {
    min-height: 235px !important;
  }
}

/* ======================================================================
   CAMPOS SALLES — MOTION EXPERIENCE V4
   Fragmentos do monograma, linhas arquitetônicas e planos em profundidade.
   Aplicado ao hero da home e às páginas internas.
   ====================================================================== */

.hero,
.inner-hero,
.team-compact-hero,
.team-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --brand-pointer-x: 0px;
  --brand-pointer-y: 0px;
  --brand-scroll-y: 0px;
  --brand-scroll-progress: 0;
}

.brand-motion-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(var(--brand-pointer-x), var(--brand-pointer-y), 0);
  transition: transform .28s cubic-bezier(.16,1,.3,1);
}

.hero > .hero-inner,
.hero > .scroll-hint,
.inner-hero > .wrap,
.team-compact-hero > .wrap,
.team-hero > .wrap {
  position: relative;
  z-index: 3;
}


/* Sistema visual renovado: linhas de decisão + painéis documentais */
.brand-symbol-full,
.brand-fragment,
.brand-line,
.brand-plane {
  display: none !important;
}

.brand-decision-path,
.brand-doc-panel {
  position: absolute;
  pointer-events: none;
  will-change: transform, opacity;
}

.brand-decision-path {
  opacity: .58;
  filter: drop-shadow(0 0 14px rgba(214,195,163,.12));
}

.brand-decision-path .seg {
  position: absolute;
  display: block;
  background: linear-gradient(90deg, rgba(214,195,163,.14), rgba(245,245,242,.52), rgba(214,195,163,.18));
  box-shadow: 0 0 10px rgba(214,195,163,.18);
}

.brand-decision-path .seg.v {
  width: 2px;
  background: linear-gradient(180deg, rgba(214,195,163,.14), rgba(245,245,242,.48), rgba(214,195,163,.18));
}

.brand-decision-path .seg.h {
  height: 2px;
}

.brand-decision-path .marker {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid rgba(214,195,163,.44);
  background: rgba(214,195,163,.16);
  box-shadow: 0 0 14px rgba(214,195,163,.18);
}

.brand-doc-panel {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(214,195,163,.16);
  background:
    linear-gradient(160deg, rgba(245,245,242,.10), rgba(214,195,163,.05) 45%, rgba(11,11,11,.14) 100%),
    rgba(18,18,18,.18);
  box-shadow:
    0 22px 48px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(245,245,242,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand-doc-panel::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 16px;
  width: 54px;
  height: 8px;
  border-radius: 999px;
  background: rgba(214,195,163,.52);
  box-shadow: 72px 0 0 rgba(245,245,242,.12), 100px 0 0 rgba(245,245,242,.08);
}

.brand-doc-panel::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  top: 40px;
  bottom: 16px;
  background:
    linear-gradient(180deg,
      rgba(245,245,242,.10) 0 2px,
      transparent 2px 18px,
      rgba(245,245,242,.08) 18px 20px,
      transparent 20px 34px,
      rgba(214,195,163,.16) 34px 36px,
      transparent 36px 56px,
      rgba(245,245,242,.08) 56px 58px,
      transparent 58px 76px,
      rgba(245,245,242,.06) 76px 78px,
      transparent 78px 100%);
  opacity: .92;
}

/* Home: composição principal */
body.page-home .hero-wm-right {
  display: none !important;
}

body.page-home .hero .brand-decision-path.path-a {
  left: 4%;
  top: 18%;
  width: 34%;
  height: 26%;
  transform: translate3d(calc(var(--brand-scroll-y) * -.12), calc(var(--brand-scroll-y) * -.08), 0);
  animation: decisionPathFloatA 11s ease-in-out infinite;
}
body.page-home .hero .brand-decision-path.path-a .s1 { left: 0; top: 0; width: 72%; height: 2px; }
body.page-home .hero .brand-decision-path.path-a .s2 { left: 72%; top: 0; width: 2px; height: 62%; }
body.page-home .hero .brand-decision-path.path-a .s3 { left: 72%; top: 62%; width: 26%; height: 2px; }
body.page-home .hero .brand-decision-path.path-a .m1 { left: calc(72% - 4px); top: calc(62% - 4px); }
body.page-home .hero .brand-decision-path.path-a .m2 { left: calc(98% - 6px); top: calc(62% - 4px); }

body.page-home .hero .brand-decision-path.path-b {
  right: 7%;
  top: 16%;
  width: 28%;
  height: 24%;
  transform: translate3d(calc(var(--brand-scroll-y) * .10), calc(var(--brand-scroll-y) * -.10), 0);
  animation: decisionPathFloatB 9.8s ease-in-out infinite;
}
body.page-home .hero .brand-decision-path.path-b .s1 { right: 0; top: 0; width: 58%; height: 2px; }
body.page-home .hero .brand-decision-path.path-b .s2 { right: 58%; top: 0; width: 2px; height: 70%; }
body.page-home .hero .brand-decision-path.path-b .s3 { right: 58%; top: 70%; width: 34%; height: 2px; }
body.page-home .hero .brand-decision-path.path-b .m1 { right: calc(58% - 5px); top: calc(70% - 4px); }
body.page-home .hero .brand-decision-path.path-b .m2 { right: calc(92% - 5px); top: calc(70% - 4px); }

body.page-home .hero .brand-decision-path.path-c {
  left: 16%;
  bottom: 14%;
  width: 32%;
  height: 18%;
  transform: translate3d(calc(var(--brand-scroll-y) * .14), calc(var(--brand-scroll-y) * -.14), 0);
  animation: decisionPathFloatC 10.8s ease-in-out infinite;
}
body.page-home .hero .brand-decision-path.path-c .s1 { left: 0; bottom: 0; width: 46%; height: 2px; }
body.page-home .hero .brand-decision-path.path-c .s2 { left: 46%; bottom: 0; width: 2px; height: 82%; }
body.page-home .hero .brand-decision-path.path-c .s3 { left: 46%; top: 0; width: 42%; height: 2px; }
body.page-home .hero .brand-decision-path.path-c .m1 { left: calc(46% - 4px); top: calc(0% - 4px); }
body.page-home .hero .brand-decision-path.path-c .m2 { left: calc(88% - 5px); top: calc(0% - 4px); }

body.page-home .hero .brand-doc-panel.panel-a {
  width: clamp(180px, 19vw, 300px);
  height: clamp(220px, 22vw, 340px);
  right: 11%;
  top: 28%;
  transform: translate3d(calc(var(--brand-scroll-y) * -.06), calc(var(--brand-scroll-y) * .10), 0) rotate(8deg);
  animation: docPanelFloatA 11.2s ease-in-out infinite;
}

body.page-home .hero .brand-doc-panel.panel-b {
  width: clamp(150px, 16vw, 240px);
  height: clamp(200px, 19vw, 280px);
  right: 22%;
  top: 24%;
  opacity: .72;
  transform: translate3d(calc(var(--brand-scroll-y) * -.10), calc(var(--brand-scroll-y) * -.04), 0) rotate(2deg);
  animation: docPanelFloatB 10.4s -1.2s ease-in-out infinite;
}

body.page-home .hero .brand-doc-panel.panel-c {
  width: clamp(130px, 13vw, 210px);
  height: clamp(165px, 16vw, 250px);
  left: 8%;
  bottom: 12%;
  opacity: .60;
  transform: translate3d(calc(var(--brand-scroll-y) * .08), calc(var(--brand-scroll-y) * -.10), 0) rotate(-10deg);
  animation: docPanelFloatC 9.6s -2.2s ease-in-out infinite;
}

/* Subpáginas: mesma linguagem, com menor intensidade */
body:not(.page-home) .brand-decision-path.path-a {
  left: 7%;
  top: 18%;
  width: 26%;
  height: 20%;
  transform: translate3d(calc(var(--brand-scroll-y) * -.10), calc(var(--brand-scroll-y) * -.08), 0);
  animation: decisionPathFloatA 10.6s ease-in-out infinite;
}
body:not(.page-home) .brand-decision-path.path-a .s1 { left: 0; top: 0; width: 68%; height: 2px; }
body:not(.page-home) .brand-decision-path.path-a .s2 { left: 68%; top: 0; width: 2px; height: 60%; }
body:not(.page-home) .brand-decision-path.path-a .s3 { left: 68%; top: 60%; width: 22%; height: 2px; }
body:not(.page-home) .brand-decision-path.path-a .m1 { left: calc(68% - 4px); top: calc(60% - 4px); }
body:not(.page-home) .brand-decision-path.path-a .m2 { left: calc(90% - 5px); top: calc(60% - 4px); }

body:not(.page-home) .brand-decision-path.path-b {
  right: 10%;
  bottom: 14%;
  width: 24%;
  height: 18%;
  transform: translate3d(calc(var(--brand-scroll-y) * .12), calc(var(--brand-scroll-y) * -.10), 0);
  animation: decisionPathFloatB 9.2s -1s ease-in-out infinite;
}
body:not(.page-home) .brand-decision-path.path-b .s1 { right: 0; bottom: 0; width: 52%; height: 2px; }
body:not(.page-home) .brand-decision-path.path-b .s2 { right: 52%; bottom: 0; width: 2px; height: 70%; }
body:not(.page-home) .brand-decision-path.path-b .s3 { right: 52%; top: 0; width: 32%; height: 2px; }
body:not(.page-home) .brand-decision-path.path-b .m1 { right: calc(52% - 4px); top: calc(0% - 4px); }
body:not(.page-home) .brand-decision-path.path-b .m2 { right: calc(84% - 5px); top: calc(0% - 4px); }

body:not(.page-home) .brand-decision-path.path-c {
  display: none;
}

body:not(.page-home) .brand-doc-panel.panel-a {
  width: clamp(140px, 14vw, 220px);
  height: clamp(170px, 16vw, 250px);
  right: 12%;
  top: 24%;
  transform: translate3d(calc(var(--brand-scroll-y) * -.08), calc(var(--brand-scroll-y) * .10), 0) rotate(8deg);
  opacity: .74;
  animation: docPanelFloatA 10.4s ease-in-out infinite;
}

body:not(.page-home) .brand-doc-panel.panel-b {
  width: clamp(124px, 12vw, 190px);
  height: clamp(150px, 14vw, 220px);
  right: 22%;
  top: 20%;
  opacity: .54;
  transform: translate3d(calc(var(--brand-scroll-y) * -.10), calc(var(--brand-scroll-y) * -.04), 0) rotate(2deg);
  animation: docPanelFloatB 9.6s -1.4s ease-in-out infinite;
}

body:not(.page-home) .brand-doc-panel.panel-c {
  display: none;
}

@keyframes decisionPathFloatA {
  0%, 100% { translate: 0 0; opacity: .44; }
  50% { translate: 14px -12px; opacity: .68; }
}

@keyframes decisionPathFloatB {
  0%, 100% { translate: 0 0; opacity: .38; }
  50% { translate: -12px 14px; opacity: .62; }
}

@keyframes decisionPathFloatC {
  0%, 100% { translate: 0 0; opacity: .36; }
  50% { translate: 16px -10px; opacity: .58; }
}

@keyframes docPanelFloatA {
  0%, 100% { translate: 0 0; opacity: .56; }
  50% { translate: -12px 18px; opacity: .82; }
}

@keyframes docPanelFloatB {
  0%, 100% { translate: 0 0; opacity: .46; }
  50% { translate: 12px -12px; opacity: .70; }
}

@keyframes docPanelFloatC {
  0%, 100% { translate: 0 0; opacity: .38; }
  50% { translate: 8px -18px; opacity: .62; }
}

/* Títulos internos: sem sublinhado duplicado no accent */
body:not(.page-home) .inner-title .accent,
body:not(.page-home) .team-title .accent {
  position: relative;
  display: inline-block;
}

body:not(.page-home) .inner-title .accent::after,
body:not(.page-home) .team-title .accent::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 900px) {
  body.page-home .hero .brand-decision-path.path-a {
    left: 3%;
    top: 22%;
    width: 42%;
    height: 22%;
  }

  body.page-home .hero .brand-decision-path.path-b {
    right: 4%;
    top: 18%;
    width: 34%;
    height: 18%;
  }

  body.page-home .hero .brand-decision-path.path-c {
    left: 12%;
    bottom: 16%;
    width: 42%;
    height: 14%;
  }

  body.page-home .hero .brand-doc-panel.panel-a {
    width: 164px;
    height: 210px;
    right: 4%;
    top: 34%;
  }

  body.page-home .hero .brand-doc-panel.panel-b {
    width: 130px;
    height: 170px;
    right: 18%;
    top: 30%;
  }

  body.page-home .hero .brand-doc-panel.panel-c {
    width: 108px;
    height: 140px;
    left: 4%;
    bottom: 15%;
  }

  body:not(.page-home) .brand-decision-path.path-a {
    width: 34%;
    height: 18%;
    left: 4%;
    top: 20%;
  }

  body:not(.page-home) .brand-decision-path.path-b {
    width: 30%;
    height: 15%;
    right: 4%;
    bottom: 14%;
  }

  body:not(.page-home) .brand-doc-panel.panel-a {
    width: 118px;
    height: 150px;
    right: 2%;
    top: 28%;
  }

  body:not(.page-home) .brand-doc-panel.panel-b {
    width: 102px;
    height: 130px;
    right: 16%;
    top: 22%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-motion-field,
  .brand-decision-path,
  .brand-doc-panel {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Garantia final: apenas um traço nos H1 das páginas internas */
body:not(.page-home) .inner-title .accent::before,
body:not(.page-home) .inner-title .accent::after,
body:not(.page-home) .team-title .accent::before,
body:not(.page-home) .team-title .accent::after {
  content: none !important;
  display: none !important;
}


/* V11 — tipografia limitada às duas fontes originais do projeto */
body,
body * {
  font-family: var(--sans, 'Montserrat', sans-serif) !important;
}

.sobre-pull,
.sobre-pull *,
.filo-quote,
.filo-quote * {
  font-family: var(--serif, 'Cormorant Garamond', serif) !important;
}

/* Remove o sistema geométrico anterior */
.brand-decision-path,
.brand-doc-panel,
.brand-fragment,
.brand-symbol-full,
.brand-pill,
.brand-line,
.brand-plane {
  display: none !important;
}

body:not(.page-home) .brand-motion-field {
  display: none !important;
}

/* Home: partículas douradas e módulos de encaixe */
body.page-home .hero .brand-strategy-field {
  display: block;
  opacity: 1;
  overflow: hidden;
}

.brand-micro-particle {
  position: absolute;
  left: var(--particle-left);
  top: var(--particle-top);
  width: var(--particle-size);
  height: var(--particle-size);
  background: rgba(214,195,163,.78);
  box-shadow: 0 0 14px rgba(214,195,163,.30);
  opacity: .34;
  will-change: transform, opacity;
  animation: microGoldFloat 8.8s ease-in-out var(--particle-delay) infinite;
}

.brand-micro-particle.dot {
  border-radius: 50%;
}

.brand-micro-particle.hex {
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
}

.brand-puzzle-cluster {
  position: absolute;
  right: 5%;
  top: 18%;
  width: clamp(280px, 31vw, 500px);
  height: clamp(250px, 29vw, 450px);
  opacity: .46;
  transform: translate3d(var(--brand-pointer-x), var(--brand-pointer-y), 0);
  transition: transform .7s cubic-bezier(.16,1,.3,1);
  animation: puzzleClusterFloat 12s ease-in-out infinite;
}

.brand-puzzle-piece,
.brand-puzzle-arc {
  position: absolute;
  display: block;
  border: 1px solid rgba(214,195,163,.30);
  background: linear-gradient(145deg, rgba(214,195,163,.055), rgba(245,245,242,.008));
  box-shadow: inset 0 1px 0 rgba(245,245,242,.035), 0 0 28px rgba(214,195,163,.035);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.brand-puzzle-piece.piece-a {
  width: 38%;
  aspect-ratio: 1;
  right: 34%;
  top: 4%;
  border-radius: 28%;
  transform: rotate(-8deg);
}

.brand-puzzle-piece.piece-a::after {
  content: '';
  position: absolute;
  right: -20%;
  top: 34%;
  width: 40%;
  aspect-ratio: 1;
  border: 1px solid rgba(214,195,163,.30);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  background: rgba(214,195,163,.025);
}

.brand-puzzle-piece.piece-b {
  width: 34%;
  aspect-ratio: 1;
  right: 4%;
  top: 40%;
  border-radius: 30%;
  transform: rotate(7deg);
}

.brand-puzzle-piece.piece-b::before {
  content: '';
  position: absolute;
  left: -18%;
  top: 30%;
  width: 36%;
  aspect-ratio: 1;
  border: 1px solid rgba(214,195,163,.26);
  border-right: 0;
  border-radius: 999px 0 0 999px;
  background: rgba(214,195,163,.018);
}

.brand-puzzle-piece.piece-c {
  width: 26%;
  aspect-ratio: 1;
  left: 15%;
  bottom: 7%;
  border-radius: 34%;
  transform: rotate(11deg);
  opacity: .72;
}

.brand-puzzle-arc {
  background: transparent;
  box-shadow: none;
}

.brand-puzzle-arc.arc-a {
  width: 28%;
  height: 14%;
  left: 32%;
  top: 48%;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  transform: rotate(90deg);
}

.brand-puzzle-arc.arc-b {
  width: 20%;
  height: 10%;
  right: 18%;
  bottom: 7%;
  border-top: 0;
  border-radius: 0 0 999px 999px;
  transform: rotate(-18deg);
  opacity: .64;
}

@keyframes microGoldFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(.92); opacity: .24; }
  50% { transform: translate3d(7px,-12px,0) scale(1.08); opacity: .54; }
}

@keyframes puzzleClusterFloat {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: -12px 16px; rotate: .8deg; }
}

/* Quem Somos: mesma linguagem visual da seção principal */
.page-quem-somos .team-section {
  background: var(--black);
}

.page-quem-somos .team-card,
.home-team-card {
  border-color: rgba(214,195,163,.14) !important;
}

.page-quem-somos .team-card p,
.home-team-card p {
  color: rgba(245,245,242,.64) !important;
}

@media (max-width: 900px) {
  .brand-puzzle-cluster {
    right: -8%;
    top: 24%;
    width: 360px;
    height: 330px;
    opacity: .34;
  }

  .brand-micro-particle:nth-of-type(n+9) {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand-puzzle-cluster {
    right: -32%;
    top: 30%;
    width: 310px;
    height: 285px;
    opacity: .24;
  }

  .brand-micro-particle {
    opacity: .24;
  }

  .brand-micro-particle:nth-of-type(n+7) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-micro-particle,
  .brand-puzzle-cluster {
    animation: none !important;
    transform: none !important;
  }
}

/* ======================================================================
   V12 — ajustes visuais solicitados: home mais limpa, mídia orgânica,
   imagem de biblioteca no escritório e coerência entre home e Quem Somos
   ====================================================================== */

/* Home sem bolinhas, sem recortes geométricos e sem partículas ao fundo */
body.page-home .hero .brand-motion-field,
body.page-home .hero .hero-motion-field,
body.page-home .hero .hero-motion-particle,
body.page-home .hero .brand-puzzle-cluster,
body.page-home .hero .brand-micro-particle,
body.page-home .hero .brand-decision-path,
body.page-home .hero .brand-pill,
body.page-home .hero .brand-orbit-ring {
  display: none !important;
}

/* Mantém destaque apenas na palavra final do hero */
body.page-home .hero-title.kinetic-hero-title {
  text-shadow: 0 0 28px rgba(214,195,163,.08);
}

body.page-home .kinetic-title-line-three {
  color: var(--beige);
}

/* Fundo do escritório com estante/livros, mostrando melhor a imagem e terminando em degradê */
body.page-home .sobre-copy-bg {
  left: -10% !important;
  top: 51% !important;
  width: min(136%, 980px) !important;
  aspect-ratio: 1600 / 1067 !important;
  transform: translate3d(-20px, -50%, 0) !important;
  opacity: .18 !important;
  filter: saturate(.82) contrast(.9) brightness(.74) !important;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0 46%, rgba(0,0,0,.92) 62%, rgba(0,0,0,.55) 80%, transparent 100%) !important;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 46%, rgba(0,0,0,.92) 62%, rgba(0,0,0,.55) 80%, transparent 100%) !important;
}

body.page-home .sobre-copy-bg::after {
  background:
    linear-gradient(90deg, rgba(11,11,11,.64) 0%, rgba(11,11,11,.28) 16%, rgba(11,11,11,.10) 34%, rgba(11,11,11,.12) 63%, rgba(11,11,11,.40) 82%, rgba(11,11,11,.78) 100%),
    linear-gradient(180deg, rgba(11,11,11,.58) 0%, transparent 20%, transparent 74%, rgba(11,11,11,.62) 100%) !important;
}

body.page-home .sobre-copy-bg img {
  object-fit: contain !important;
  object-position: center center !important;
}

/* Cards de entrevistas menores, mais orgânicos e consistentes na home */
.home-evidence-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  margin-top: 2.6rem !important;
}

.home-evidence-card,
.home-evidence-card:first-child {
  min-height: 270px !important;
  border-radius: 28px !important;
  border: 1px solid rgba(214,195,163,.14) !important;
  background: rgba(42,42,42,.72) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.home-evidence-card:nth-child(1) { border-radius: 30px 22px 28px 22px !important; }
.home-evidence-card:nth-child(2) { border-radius: 22px 30px 24px 28px !important; }
.home-evidence-card:nth-child(3) { border-radius: 26px 24px 30px 22px !important; }
.home-evidence-card:nth-child(4) { border-radius: 24px 28px 22px 30px !important; }

.home-evidence-card img {
  filter: grayscale(8%) brightness(.88) !important;
}

.home-evidence-card:hover img {
  transform: scale(1.03) !important;
  filter: grayscale(0) brightness(.98) !important;
}

/* Quem Somos — mesma linguagem de mídia da home */
.page-quem-somos .team-card,
.home-team-card {
  border-radius: 30px !important;
}

.page-quem-somos .team-media-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  max-width: 980px !important;
}

.page-quem-somos .team-media-card,
.page-quem-somos .team-media-main {
  min-height: 255px !important;
  overflow: hidden !important;
  border-radius: 28px !important;
  border: 1px solid rgba(214,195,163,.14) !important;
  background: rgba(42,42,42,.72) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.page-quem-somos .team-media-card:nth-child(1) { border-radius: 30px 22px 28px 22px !important; }
.page-quem-somos .team-media-card:nth-child(2) { border-radius: 22px 30px 24px 28px !important; }
.page-quem-somos .team-media-card:nth-child(3) { border-radius: 26px 24px 30px 22px !important; }
.page-quem-somos .team-media-card:nth-child(4) { border-radius: 24px 28px 22px 30px !important; }

.page-quem-somos .team-media-card img,
.page-quem-somos .team-media-main img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  filter: grayscale(8%) brightness(.9) !important;
  transition: transform .75s var(--ease), filter .45s var(--ease) !important;
}

.page-quem-somos .team-media-card:hover img,
.page-quem-somos .team-media-main:hover img {
  transform: scale(1.03) !important;
  filter: grayscale(0%) brightness(1) !important;
}

.page-quem-somos .team-media-card::after,
.home-evidence-card::after {
  background: linear-gradient(180deg, transparent 42%, rgba(5,5,5,.84) 100%) !important;
}

@media (max-width: 900px) {
  .home-evidence-grid,
  .page-quem-somos .team-media-grid {
    grid-template-columns: 1fr !important;
  }

  .home-evidence-card,
  .home-evidence-card:first-child,
  .page-quem-somos .team-media-card,
  .page-quem-somos .team-media-main {
    min-height: 260px !important;
  }
}

@media (max-width: 700px) {
  body.page-home .sobre-copy-bg {
    left: -8% !important;
    width: 124% !important;
    opacity: .14 !important;
  }
}

/* ======================================================================
   V13 — refinamentos confirmados
   ====================================================================== */

/* Botões de conversão distribuídos pelas seções */
.section-cta {
  display: flex;
  align-items: center;
  margin-top: 1.8rem;
}

.section-cta-center {
  justify-content: center;
  margin-top: 2.4rem;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 48px;
  padding: .92rem 1.7rem;
  border: 1px solid rgba(214,195,163,.92);
  border-radius: 12px;
  background: linear-gradient(135deg, #d6c3a3, #b99761);
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--sans, 'Montserrat', sans-serif);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .16em;
  box-shadow: 0 12px 30px rgba(185,151,97,.15);
  transition: transform .3s var(--ease), box-shadow .3s ease, filter .3s ease;
}

.btn-gold span {
  font-size: 1rem;
  transition: transform .3s var(--ease);
}

.btn-gold:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 18px 42px rgba(185,151,97,.28);
}

.btn-gold:hover span {
  transform: translateX(5px);
}

html.motion-ready .section-cta.is-visible .btn-gold {
  animation: goldCtaPulse 3.6s ease-in-out infinite;
}

@keyframes goldCtaPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(185,151,97,.15); }
  50% { box-shadow: 0 16px 40px rgba(214,195,163,.30), 0 0 0 7px rgba(214,195,163,.055); }
}

/* Seção O Escritório: imagem inteira, suave e integrada ao fundo */
body.page-home .sobre {
  position: relative;
  overflow: hidden;
}

body.page-home .sobre-scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

body.page-home .sobre-scene-bg img {
  position: absolute;
  top: 50%;
  right: -2%;
  width: min(72vw, 1120px);
  height: auto;
  transform: translateY(-50%);
  object-fit: contain;
  opacity: .28;
  filter: saturate(.82) contrast(.94) brightness(.82);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 12%, #000 30%, #000 78%, rgba(0,0,0,.28) 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 12%, #000 30%, #000 78%, rgba(0,0,0,.28) 94%, transparent 100%);
}

body.page-home .sobre-scene-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b0b0b 0%, rgba(11,11,11,.92) 20%, rgba(11,11,11,.56) 46%, rgba(11,11,11,.38) 72%, rgba(11,11,11,.82) 100%),
    linear-gradient(180deg, #0b0b0b 0%, transparent 18%, transparent 80%, #0b0b0b 100%);
}

body.page-home .sobre .wrap {
  position: relative;
  z-index: 2;
}

/* Entrevistas: mosaico editorial no desktop e imagem sem corte excessivo */
@media (min-width: 901px) {
  .home-evidence-grid,
  .page-quem-somos .team-media-grid {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-auto-rows: 178px !important;
    gap: 1rem !important;
    max-width: 1120px !important;
  }

  .home-evidence-card:nth-child(1),
  .page-quem-somos .team-media-card:nth-child(1) {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
  }

  .home-evidence-card:nth-child(2),
  .page-quem-somos .team-media-card:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
  }

  .home-evidence-card:nth-child(3),
  .page-quem-somos .team-media-card:nth-child(3) {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
  }

  .home-evidence-card:nth-child(4),
  .page-quem-somos .team-media-card:nth-child(4) {
    grid-column: 3 / 11;
    grid-row: 3 / 4;
  }

  .home-evidence-card,
  .home-evidence-card:first-child,
  .page-quem-somos .team-media-card,
  .page-quem-somos .team-media-main {
    min-height: 0 !important;
    height: auto !important;
  }

  .home-evidence-card img,
  .page-quem-somos .team-media-card img,
  .page-quem-somos .team-media-main img {
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    background: #151515;
  }

  .home-evidence-card:hover img,
  .page-quem-somos .team-media-card:hover img,
  .page-quem-somos .team-media-main:hover img {
    transform: scale(1.012) !important;
  }
}

/* No celular, preserva a proporção aprovada */
@media (max-width: 900px) {
  .home-evidence-grid,
  .page-quem-somos .team-media-grid {
    grid-template-columns: 1fr !important;
  }

  .home-evidence-card,
  .home-evidence-card:first-child,
  .page-quem-somos .team-media-card,
  .page-quem-somos .team-media-main {
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
  }

  .home-evidence-card img,
  .page-quem-somos .team-media-card img,
  .page-quem-somos .team-media-main img {
    object-fit: contain !important;
    object-position: center center !important;
    background: #151515;
  }

  body.page-home .sobre-scene-bg img {
    width: 132vw;
    right: -44%;
    opacity: .20;
  }
}

/* CTA da filosofia abaixo do conjunto, sem quebrar a grade */
.filosofia-cta {
  grid-column: 1 / -1;
  width: 100%;
}

/* Quem Somos: elimina o excesso de traços no kicker */
.page-quem-somos .team-kicker::before,
.page-quem-somos .team-kicker::after {
  content: none !important;
  display: none !important;
}

.page-quem-somos .team-kicker {
  gap: 0 !important;
}

/* Halo superior presente em todas as páginas internas */
body:not(.page-home) .inner-hero,
body:not(.page-home) .team-compact-hero,
body:not(.page-home) .team-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

body:not(.page-home) .inner-hero::after,
body:not(.page-home) .team-compact-hero::after,
body:not(.page-home) .team-hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -170px;
  width: min(900px, 88vw);
  height: 390px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(214,195,163,.18) 0%, rgba(214,195,163,.08) 32%, rgba(214,195,163,0) 72%);
  filter: blur(10px);
}

body:not(.page-home) .inner-hero > .wrap,
body:not(.page-home) .team-compact-hero > .wrap,
body:not(.page-home) .team-hero > .wrap {
  position: relative;
  z-index: 2;
}

/* Fotos novas mantidas no formato circular nas páginas de serviço */
.professional-strip-photos img {
  object-fit: cover !important;
  object-position: center 24% !important;
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ready .section-cta.is-visible .btn-gold {
    animation: none !important;
  }
}


/* ======================================================================
   V14 — refinamentos de botões, palavras mobile, entrevistas e escritório
   ====================================================================== */

/* CTAs em bege/pastel, menos dourados e com pulsação sutil */
.btn-gold {
  border: 1px solid rgba(214,195,163,.68) !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f3eee4 0%, #e0d2bd 100%) !important;
  color: #111 !important;
  box-shadow: 0 12px 30px rgba(112,95,68,.12), inset 0 1px 0 rgba(255,255,255,.55) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.28);
}
.btn-gold:hover {
  filter: brightness(1.02) !important;
  box-shadow: 0 18px 42px rgba(112,95,68,.16), 0 0 0 6px rgba(214,195,163,.08) !important;
}
html.motion-ready .section-cta.is-visible .btn-gold {
  animation: beigeCtaPulse 3.4s ease-in-out infinite !important;
}
@keyframes beigeCtaPulse {
  0%,100% { box-shadow: 0 12px 30px rgba(112,95,68,.12), inset 0 1px 0 rgba(255,255,255,.55); }
  50% { box-shadow: 0 18px 40px rgba(112,95,68,.16), 0 0 0 8px rgba(214,195,163,.07), inset 0 1px 0 rgba(255,255,255,.65); }
}

/* Imagem da seção escritório mais identificável e integrada */
body.page-home .sobre-scene-bg img {
  width: min(78vw, 1120px) !important;
  right: -4% !important;
  opacity: .34 !important;
  filter: saturate(.9) contrast(.96) brightness(.9) !important;
  object-fit: contain !important;
  object-position: center center !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 10%, rgba(0,0,0,.96) 28%, rgba(0,0,0,.98) 72%, rgba(0,0,0,.30) 92%, transparent 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 10%, rgba(0,0,0,.96) 28%, rgba(0,0,0,.98) 72%, rgba(0,0,0,.30) 92%, transparent 100%) !important;
}
body.page-home .sobre-scene-bg::after {
  background:
    linear-gradient(90deg, #0b0b0b 0%, rgba(11,11,11,.90) 19%, rgba(11,11,11,.48) 44%, rgba(11,11,11,.24) 67%, rgba(11,11,11,.76) 100%),
    linear-gradient(180deg, rgba(11,11,11,.74) 0%, transparent 22%, transparent 78%, rgba(11,11,11,.74) 100%) !important;
}

/* Palavras decorativas nas seções: corrigidas no celular */
@media (max-width: 900px) {
  body.page-home .home-motion-word {
    top: 1.2rem !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 1.5rem) !important;
    max-width: calc(100% - 1.5rem) !important;
    padding-inline: .4rem !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: keep-all !important;
    font-size: clamp(2.05rem, 10.5vw, 4rem) !important;
    line-height: .92 !important;
    letter-spacing: -.035em !important;
    transform: translate3d(-50%, 0, 0) rotate(-1.5deg) !important;
    opacity: .16 !important;
  }
  body.page-home .motion-section:nth-of-type(even) .home-motion-word {
    left: 50% !important;
    right: auto !important;
  }
}

/* Ajustes nas entrevistas para desktop: mosaico irregular e imagem melhor preenchida */
@media (min-width: 901px) {
  .home-evidence-grid,
  .page-quem-somos .team-media-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-auto-rows: 165px !important;
    gap: 1rem !important;
    max-width: 1120px !important;
  }
  .home-evidence-card:nth-child(1),
  .page-quem-somos .team-media-card:nth-child(1) { grid-column: 1 / 7 !important; grid-row: 1 / 3 !important; }
  .home-evidence-card:nth-child(2),
  .page-quem-somos .team-media-card:nth-child(2) { grid-column: 7 / 13 !important; grid-row: 1 / 2 !important; }
  .home-evidence-card:nth-child(3),
  .page-quem-somos .team-media-card:nth-child(3) { grid-column: 7 / 13 !important; grid-row: 2 / 3 !important; }
  .home-evidence-card:nth-child(4),
  .page-quem-somos .team-media-card:nth-child(4) { grid-column: 3 / 11 !important; grid-row: 3 / 4 !important; }

  .home-evidence-card,
  .page-quem-somos .team-media-card {
    border-width: 1px !important;
    background: rgba(18,18,18,.9) !important;
  }
  .home-evidence-card img,
  .page-quem-somos .team-media-card img,
  .page-quem-somos .team-media-main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    background: transparent !important;
  }
  .home-evidence-card:nth-child(1) img,
  .page-quem-somos .team-media-card:nth-child(1) img { object-position: 54% 38% !important; }
  .home-evidence-card:nth-child(2) img,
  .page-quem-somos .team-media-card:nth-child(2) img { object-position: 54% 34% !important; }
  .home-evidence-card:nth-child(3) img,
  .page-quem-somos .team-media-card:nth-child(3) img { object-position: 52% 32% !important; }
  .home-evidence-card:nth-child(4) img,
  .page-quem-somos .team-media-card:nth-child(4) img { object-position: 58% 34% !important; }
}

/* CTA ao fim da seção áreas */
.areas .section-cta-center {
  margin-top: 2.2rem !important;
}

/* Mobile: imagem do escritório continua suave e visível */
@media (max-width: 900px) {
  body.page-home .sobre-scene-bg img {
    width: 145vw !important;
    right: -42% !important;
    opacity: .22 !important;
  }
}


/* ======================================================================
   V15 — mobile das palavras, 3 imagens na mídia e riscos nas subpáginas
   ====================================================================== */

/* Mobile: palavras decorativas totalmente centralizadas e legíveis */
@media (max-width: 900px) {
  body.page-home .motion-section {
    overflow: hidden !important;
  }
  body.page-home .home-motion-word {
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    width: calc(100% - 1.2rem) !important;
    max-width: calc(100% - 1.2rem) !important;
    padding: 0 .6rem !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: none !important;
    font-size: clamp(2rem, 11vw, 3.9rem) !important;
    line-height: .94 !important;
    letter-spacing: -.03em !important;
    transform: none !important;
    top: 1rem !important;
    opacity: .15 !important;
  }
  body.page-home .motion-section:nth-of-type(even) .home-motion-word {
    left: 0 !important;
    right: 0 !important;
  }
}

/* Home e Quem Somos com 3 imagens de entrevistas no desktop */
@media (min-width: 901px) {
  .home-evidence-grid,
  .page-quem-somos .team-media-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-auto-rows: 190px !important;
  }
  .home-evidence-card:nth-child(1),
  .page-quem-somos .team-media-card:nth-child(1) {
    grid-column: 1 / 8 !important;
    grid-row: 1 / 3 !important;
  }
  .home-evidence-card:nth-child(2),
  .page-quem-somos .team-media-card:nth-child(2) {
    grid-column: 8 / 13 !important;
    grid-row: 1 / 2 !important;
  }
  .home-evidence-card:nth-child(3),
  .page-quem-somos .team-media-card:nth-child(3) {
    grid-column: 8 / 13 !important;
    grid-row: 2 / 3 !important;
  }

  .home-evidence-card:nth-child(1) img,
  .page-quem-somos .team-media-card:nth-child(1) img { object-position: 52% 36% !important; }
  .home-evidence-card:nth-child(2) img,
  .page-quem-somos .team-media-card:nth-child(2) img { object-position: 53% 28% !important; }
  .home-evidence-card:nth-child(3) img,
  .page-quem-somos .team-media-card:nth-child(3) img { object-position: 52% 32% !important; }
}

/* Remove o traço/kicker superior da mídia na subpágina Quem Somos */
.page-quem-somos .team-media-header .sec-label {
  display: none !important;
}

/* Riscos arquitetônicos nas primeiras seções de todas as subpáginas */
body:not(.page-home) .inner-hero::before,
body:not(.page-home) .team-compact-hero::before,
body:not(.page-home) .team-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .7;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'><path d='M70 690 L360 600 L520 455 L760 420 L930 255' fill='none' stroke='rgba(214,195,163,0.22)' stroke-width='1.15' stroke-linecap='round'/><path d='M980 120 L1125 210 L1100 395 L1305 455 L1510 350' fill='none' stroke='rgba(245,245,242,0.12)' stroke-width='1.15' stroke-linecap='round'/><path d='M175 185 L360 145 L430 255 L650 205' fill='none' stroke='rgba(214,195,163,0.18)' stroke-width='1.15' stroke-linecap='round'/><path d='M1010 690 L1160 575 L1390 610 L1535 520' fill='none' stroke='rgba(245,245,242,0.10)' stroke-width='1.15' stroke-linecap='round'/><path d='M790 90 L790 810' fill='none' stroke='rgba(214,195,163,0.10)' stroke-width='1.1' stroke-linecap='round'/></svg>");
  background-size: cover;
  background-position: center;
  filter: drop-shadow(0 0 8px rgba(214,195,163,.08));
}
body:not(.page-home) .inner-hero > .wrap,
body:not(.page-home) .team-compact-hero > .wrap,
body:not(.page-home) .team-hero > .wrap {
  position: relative;
  z-index: 2;
}


/* ======================================================================
   V16 — nova imagem orgânica na 2ª seção e refinamento visual geral
   ====================================================================== */

/* Palavra decorativa mais perceptível nas seções escuras */
body.page-home .home-motion-word {
  color: rgba(214,195,163,.14) !important;
  text-shadow: 0 0 26px rgba(214,195,163,.05);
}

/* Segunda seção: imagem orgânica de biblioteca integrada ao fundo */
body.page-home .sobre-scene-bg {
  inset: 0;
  overflow: hidden;
}
body.page-home .sobre-scene-bg img {
  width: min(84vw, 1180px) !important;
  right: -2% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: .30 !important;
  filter: saturate(.86) contrast(.94) brightness(.92) !important;
  object-fit: contain !important;
  object-position: center center !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.16) 10%, rgba(0,0,0,.88) 26%, rgba(0,0,0,.96) 58%, rgba(0,0,0,.52) 82%, transparent 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.16) 10%, rgba(0,0,0,.88) 26%, rgba(0,0,0,.96) 58%, rgba(0,0,0,.52) 82%, transparent 100%) !important;
}
body.page-home .sobre-scene-bg::after {
  background:
    linear-gradient(90deg, rgba(11,11,11,.92) 0%, rgba(11,11,11,.78) 18%, rgba(11,11,11,.34) 42%, rgba(11,11,11,.22) 60%, rgba(11,11,11,.70) 86%, rgba(11,11,11,.92) 100%),
    linear-gradient(180deg, rgba(11,11,11,.78) 0%, rgba(11,11,11,.12) 18%, rgba(11,11,11,.08) 74%, rgba(11,11,11,.78) 100%) !important;
}

/* Dá mais respiro visual à seção do escritório */
body.page-home .sobre-copy {
  max-width: 660px;
}
body.page-home .sobre .sobre-body,
body.page-home .sobre .sobre-pull {
  text-shadow: 0 1px 1px rgba(0,0,0,.18);
}

/* Mobile: imagem ainda discreta, mas visível */
@media (max-width: 900px) {
  body.page-home .home-motion-word {
    color: rgba(214,195,163,.16) !important;
  }
  body.page-home .sobre-scene-bg img {
    width: 170vw !important;
    right: -52% !important;
    opacity: .18 !important;
  }
}


/* ======================================================================
   V17 — rodada de refinamento visual em quatro prioridades
   1. O Escritório  2. Entrevistas  3. Efeitos unificados  4. Contraste
   ====================================================================== */

/* ---------- 1. O ESCRITÓRIO: imagem mais presente, leitura e profundidade ---------- */
body.page-home .sobre {
  padding: 8.5rem 0 !important;
  background:
    radial-gradient(ellipse at 78% 48%, rgba(214,195,163,.075) 0%, rgba(214,195,163,.025) 28%, transparent 58%),
    linear-gradient(135deg, #101010 0%, #0b0b0b 56%, #12110f 100%) !important;
  isolation: isolate;
}

body.page-home .sobre::before {
  content: '';
  position: absolute;
  inset: 8% 2% 8% 43%;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(214,195,163,.07);
  border-radius: 38px 18px 38px 18px;
  background: linear-gradient(145deg, rgba(245,245,242,.025), rgba(214,195,163,.018));
}

body.page-home .sobre-scene-bg {
  inset: 3% -1% 3% 39% !important;
  border-radius: 34px 0 0 34px;
  overflow: hidden !important;
}

body.page-home .sobre-scene-bg img {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  right: 0 !important;
  transform: none !important;
  object-fit: cover !important;
  object-position: 54% center !important;
  opacity: .42 !important;
  filter: saturate(.78) contrast(.94) brightness(.78) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.36) 10%, #000 30%, #000 88%, rgba(0,0,0,.72) 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.36) 10%, #000 30%, #000 88%, rgba(0,0,0,.72) 100%) !important;
}

body.page-home .sobre-scene-bg::after {
  background:
    linear-gradient(90deg, #0b0b0b 0%, rgba(11,11,11,.88) 12%, rgba(11,11,11,.44) 32%, rgba(11,11,11,.10) 60%, rgba(11,11,11,.24) 100%),
    linear-gradient(180deg, rgba(11,11,11,.82) 0%, transparent 16%, transparent 82%, rgba(11,11,11,.84) 100%) !important;
}

body.page-home .sobre-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
  gap: 5.5rem !important;
}

body.page-home .sobre-copy {
  max-width: 680px !important;
  padding: 2rem 2.25rem 2rem 0 !important;
  position: relative;
}

body.page-home .sobre-copy::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -1.4rem -2.3rem -1.4rem -3rem;
  border-radius: 0 30px 30px 0;
  background: linear-gradient(90deg, rgba(11,11,11,.92) 0%, rgba(11,11,11,.72) 68%, rgba(11,11,11,.08) 100%);
  backdrop-filter: blur(2px);
}

body.page-home .sobre-pull {
  color: #f7f4ed !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.36) !important;
}

body.page-home .sobre-body {
  color: rgba(245,245,242,.72) !important;
  max-width: 630px;
}

body.page-home .sobre-card {
  background: linear-gradient(145deg, rgba(45,43,39,.82), rgba(20,20,19,.90)) !important;
  border-color: rgba(214,195,163,.20) !important;
  border-radius: 26px !important;
  box-shadow: 0 24px 58px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(9px);
}

body.page-home .cred-text {
  color: rgba(245,245,242,.60) !important;
}

/* ---------- 2. ENTREVISTAS: mosaico editorial leve e sem cortes relevantes ---------- */
@media (min-width: 901px) {
  .home-evidence,
  .page-quem-somos .team-media-section {
    padding-top: 7.2rem !important;
    padding-bottom: 7.2rem !important;
  }

  .home-evidence-grid,
  .page-quem-somos .team-media-grid {
    display: grid !important;
    grid-template-columns: 1.22fr .92fr 1.04fr !important;
    gap: 1.15rem !important;
    max-width: 1180px !important;
    align-items: start !important;
  }

  .home-evidence-card,
  .home-evidence-card:first-child,
  .page-quem-somos .team-media-card,
  .page-quem-somos .team-media-main {
    grid-column: auto !important;
    grid-row: auto !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 22px !important;
    background: #101010 !important;
    border: 1px solid rgba(214,195,163,.13) !important;
    box-shadow: 0 16px 38px rgba(0,0,0,.18);
  }

  .home-evidence-card:nth-child(2),
  .page-quem-somos .team-media-card:nth-child(2) {
    margin-top: 3.3rem;
    border-radius: 16px 24px 18px 24px !important;
  }

  .home-evidence-card:nth-child(3),
  .page-quem-somos .team-media-card:nth-child(3) {
    margin-top: 1.15rem;
    border-radius: 24px 17px 24px 18px !important;
  }

  .home-evidence-card img,
  .page-quem-somos .team-media-card img,
  .page-quem-somos .team-media-main img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
    background: transparent !important;
    filter: grayscale(5%) brightness(.92) !important;
  }

  .home-evidence-card:nth-child(1) img,
  .page-quem-somos .team-media-card:nth-child(1) img { object-position: 50% 42% !important; }
  .home-evidence-card:nth-child(2) img,
  .page-quem-somos .team-media-card:nth-child(2) img { object-position: 52% 36% !important; }
  .home-evidence-card:nth-child(3) img,
  .page-quem-somos .team-media-card:nth-child(3) img { object-position: 53% 39% !important; }

  .home-evidence-card:hover img,
  .page-quem-somos .team-media-card:hover img,
  .page-quem-somos .team-media-main:hover img {
    transform: scale(1.018) !important;
    filter: grayscale(0) brightness(1) !important;
  }
}

/* ---------- 3. LINGUAGEM DE EFEITOS UNIFICADA ---------- */
:root {
  --surface-1: #101010;
  --surface-2: #151515;
  --surface-3: #1b1a18;
  --border-soft: rgba(214,195,163,.14);
  --shadow-soft: 0 18px 46px rgba(0,0,0,.18);
}

body.page-home .home-motion-word {
  color: rgba(214,195,163,.09) !important;
  -webkit-text-stroke: 1px rgba(214,195,163,.18) !important;
  text-shadow: 0 0 30px rgba(214,195,163,.045) !important;
}

.home-team-card,
.page-quem-somos .team-card,
.area,
.depoimento-card,
.internal-link,
.professional-strip {
  border-color: var(--border-soft) !important;
  box-shadow: var(--shadow-soft);
}

.home-team-card,
.page-quem-somos .team-card,
.depoimento-card,
.internal-link {
  transition: transform .38s var(--ease), border-color .38s var(--ease), box-shadow .38s ease, background .38s ease !important;
}

.home-team-card:hover,
.page-quem-somos .team-card:hover,
.depoimento-card:hover,
.internal-link:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(214,195,163,.28) !important;
  box-shadow: 0 24px 54px rgba(0,0,0,.24) !important;
}

body:not(.page-home) .inner-hero::before,
body:not(.page-home) .team-compact-hero::before,
body:not(.page-home) .team-hero::before {
  opacity: .58 !important;
}

body:not(.page-home) .inner-hero::after,
body:not(.page-home) .team-compact-hero::after,
body:not(.page-home) .team-hero::after {
  opacity: .86;
}

/* ---------- 4. CONTRASTE, RESPIRAÇÃO E ALTERNÂNCIA ENTRE SEÇÕES ---------- */
body.page-home .home-team {
  padding: 8rem 0 !important;
  background: linear-gradient(180deg, #121212, #101010) !important;
}

body.page-home .areas {
  padding: 8rem 0 !important;
  background:
    radial-gradient(circle at 84% 14%, rgba(214,195,163,.045), transparent 30%),
    #181818 !important;
}

body.page-home .home-evidence {
  background: linear-gradient(180deg, #0e0e0e, #11100f) !important;
}

body.page-home .depoimentos {
  padding: 7.5rem 0 !important;
  background: #161616 !important;
}

body.page-home .filosofia {
  padding: 8rem 0 !important;
  background:
    radial-gradient(ellipse at 20% 48%, rgba(214,195,163,.05), transparent 36%),
    #0d0d0d !important;
}

body.page-home .contato {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

.home-team-intro,
.area-desc,
.valor-d,
.depoimento-text,
.content-body p,
.professional-strip p,
.team-lead,
.team-media-lead {
  color: rgba(245,245,242,.68) !important;
}

.sec-label,
.home-team-kicker,
.sobre-card-kicker,
.founder-role,
.home-team-role {
  color: #ddc9a7 !important;
}

.area {
  background: linear-gradient(145deg, rgba(48,48,48,.72), rgba(31,31,31,.88)) !important;
  border-radius: 18px !important;
}

.depoimento-card {
  background: linear-gradient(145deg, rgba(42,42,42,.86), rgba(26,26,26,.92)) !important;
  border-radius: 20px !important;
}

.section-cta {
  margin-top: 2.35rem !important;
}

/* Internas: melhor alternância visual e respiro, sem trocar a identidade */
body:not(.page-home) .content-section {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
  background: #101010 !important;
}

body:not(.page-home) .professional-strip {
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
  background: linear-gradient(135deg, #171717, #201f1d) !important;
}

body:not(.page-home) .internal-links {
  padding-top: 5.5rem !important;
  padding-bottom: 5.5rem !important;
  background: #181818 !important;
}

.page-quem-somos .team-section {
  padding-top: 4rem !important;
  padding-bottom: 7.5rem !important;
  background: #101010 !important;
}

.page-quem-somos .team-media-section {
  background: #151515 !important;
}

/* Mobile: conserva os refinamentos sem sobrecarga visual */
@media (max-width: 900px) {
  body.page-home .sobre,
  body.page-home .home-team,
  body.page-home .areas,
  body.page-home .home-evidence,
  body.page-home .depoimentos,
  body.page-home .filosofia,
  body.page-home .contato {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
  }

  body.page-home .sobre::before {
    inset: 36% -18% 4% 22%;
    border-radius: 28px 0 0 28px;
  }

  body.page-home .sobre-scene-bg {
    inset: 33% -28% 1% 8% !important;
    border-radius: 28px 0 0 28px;
  }

  body.page-home .sobre-scene-bg img {
    opacity: .24 !important;
    object-position: 55% center !important;
  }

  body.page-home .sobre-grid {
    grid-template-columns: 1fr !important;
    gap: 3.25rem !important;
  }

  body.page-home .sobre-copy {
    padding: 0 !important;
  }

  body.page-home .sobre-copy::after {
    inset: -1rem -.8rem -1rem -.8rem;
    border-radius: 18px;
    background: rgba(11,11,11,.70);
  }

  .home-evidence-card:nth-child(2),
  .home-evidence-card:nth-child(3),
  .page-quem-somos .team-media-card:nth-child(2),
  .page-quem-somos .team-media-card:nth-child(3) {
    margin-top: 0 !important;
  }

  body.page-home .home-motion-word {
    color: rgba(214,195,163,.11) !important;
    -webkit-text-stroke-color: rgba(214,195,163,.17) !important;
  }

  body:not(.page-home) .content-section,
  body:not(.page-home) .professional-strip,
  body:not(.page-home) .internal-links,
  .page-quem-somos .team-section,
  .page-quem-somos .team-media-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-team-card,
  .page-quem-somos .team-card,
  .depoimento-card,
  .internal-link,
  .home-evidence-card img,
  .page-quem-somos .team-media-card img {
    transition: none !important;
    transform: none !important;
  }
}


/* ======================================================================
   V18 — frases enfeite sutis e legíveis + entrevistas desktop ajustadas
   ====================================================================== */

/* Frases enfeite: mais sutis no geral */
body.page-home .home-motion-word {
  color: rgba(214,195,163,.085) !important;
  -webkit-text-stroke-width: 1px !important;
  -webkit-text-stroke-color: rgba(214,195,163,.12) !important;
  text-shadow: none !important;
}

/* No celular: centraliza, evita corte e deixa um pouco mais perceptível */
@media (max-width: 900px) {
  body.page-home .motion-section {
    position: relative !important;
    overflow: hidden !important;
  }

  body.page-home .motion-section > .wrap,
  body.page-home .motion-section > .wrap-wide,
  body.page-home .sobre-grid,
  body.page-home .sobre-copy {
    position: relative;
    z-index: 2;
  }

  body.page-home .home-motion-word {
    position: absolute !important;
    z-index: 1 !important;
    left: 50% !important;
    right: auto !important;
    top: .8rem !important;
    width: calc(100% - 1.5rem) !important;
    max-width: calc(100% - 1.5rem) !important;
    margin: 0 !important;
    padding: 0 .35rem !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    font-size: clamp(1.85rem, 9vw, 3.15rem) !important;
    line-height: .95 !important;
    letter-spacing: -.03em !important;
    opacity: .11 !important;
    color: rgba(214,195,163,.105) !important;
    -webkit-text-stroke-color: rgba(214,195,163,.14) !important;
  }

  body.page-home .motion-section:nth-of-type(even) .home-motion-word {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
}

/* Entrevistas no desktop: mosaico claro, sem sobreposição/desalinho */
@media (min-width: 901px) {
  .home-evidence-grid,
  .page-quem-somos .team-media-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .95fr) !important;
    grid-template-rows: 250px 250px !important;
    gap: 1.1rem !important;
    align-items: stretch !important;
    max-width: 1120px !important;
    margin-inline: auto !important;
  }

  .home-evidence-card,
  .page-quem-somos .team-media-card {
    margin-top: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-radius: 22px !important;
  }

  .home-evidence-card:nth-child(1),
  .page-quem-somos .team-media-card:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
  }

  .home-evidence-card:nth-child(2),
  .page-quem-somos .team-media-card:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .home-evidence-card:nth-child(3),
  .page-quem-somos .team-media-card:nth-child(3) {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  .home-evidence-card img,
  .page-quem-somos .team-media-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: none !important;
  }

  .home-evidence-card:nth-child(1) img,
  .page-quem-somos .team-media-card:nth-child(1) img { object-position: center 34% !important; }

  .home-evidence-card:nth-child(2) img,
  .page-quem-somos .team-media-card:nth-child(2) img { object-position: center 24% !important; }

  .home-evidence-card:nth-child(3) img,
  .page-quem-somos .team-media-card:nth-child(3) img { object-position: center 26% !important; }
}


/* ======================================================================
   V19 — estratégia mobile sem corte + nova imagem na seção do escritório
   ====================================================================== */

/* Seção do escritório: aplica a nova imagem de biblioteca de forma orgânica */
body.page-home .sobre-scene-bg {
  inset: 0 !important;
  overflow: hidden !important;
}
body.page-home .sobre-scene-bg img {
  width: min(88vw, 1220px) !important;
  right: 0 !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: .34 !important;
  filter: saturate(.9) contrast(.95) brightness(.94) !important;
  object-fit: contain !important;
  object-position: center right !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 7%, rgba(0,0,0,.90) 25%, rgba(0,0,0,.98) 58%, rgba(0,0,0,.44) 84%, transparent 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 7%, rgba(0,0,0,.90) 25%, rgba(0,0,0,.98) 58%, rgba(0,0,0,.44) 84%, transparent 100%) !important;
}
body.page-home .sobre-scene-bg::after {
  background:
    linear-gradient(90deg, rgba(11,11,11,.94) 0%, rgba(11,11,11,.82) 18%, rgba(11,11,11,.42) 40%, rgba(11,11,11,.18) 62%, rgba(11,11,11,.72) 88%, rgba(11,11,11,.94) 100%),
    linear-gradient(180deg, rgba(11,11,11,.82) 0%, rgba(11,11,11,.10) 22%, rgba(11,11,11,.08) 74%, rgba(11,11,11,.82) 100%) !important;
}

/* Frases enfeite mais sutis */
body.page-home .home-motion-word {
  color: rgba(214,195,163,.075) !important;
  -webkit-text-stroke-color: rgba(214,195,163,.10) !important;
}

/* Mobile: garante que ESTRATÉGIA e demais palavras não cortem */
@media (max-width: 900px) {
  body.page-home .motion-section {
    overflow: hidden !important;
  }
  body.page-home .home-motion-word {
    position: absolute !important;
    z-index: 1 !important;
    left: 50% !important;
    right: auto !important;
    top: 1rem !important;
    transform: translateX(-50%) scale(.84) !important;
    transform-origin: top center !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: initial !important;
    font-size: clamp(1.7rem, 8vw, 2.8rem) !important;
    line-height: .95 !important;
    letter-spacing: -.03em !important;
    opacity: .09 !important;
    color: rgba(214,195,163,.095) !important;
    -webkit-text-stroke-color: rgba(214,195,163,.12) !important;
  }
  body.page-home .motion-section:nth-of-type(even) .home-motion-word {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) scale(.84) !important;
  }

  body.page-home .sobre-scene-bg img {
    width: 182vw !important;
    right: -62% !important;
    opacity: .17 !important;
    object-position: 76% center !important;
  }
}


/* ======================================================================
   V20 — imagem da biblioteca efetivamente visível na seção O Escritório
   ====================================================================== */

body.page-home .sobre {
  position: relative !important;
  overflow: hidden !important;
  background: #0b0b0b !important;
}

body.page-home .sobre-scene-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

body.page-home .sobre-scene-bg img {
  position: absolute !important;
  top: 50% !important;
  right: -2% !important;
  left: auto !important;
  width: min(82vw, 1180px) !important;
  height: auto !important;
  transform: translateY(-50%) !important;
  opacity: .44 !important;
  filter: saturate(.92) contrast(.98) brightness(1.02) !important;
  object-fit: contain !important;
  object-position: center right !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.38) 12%, rgba(0,0,0,.96) 30%, #000 68%, rgba(0,0,0,.72) 88%, transparent 100%) !important;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.38) 12%, rgba(0,0,0,.96) 30%, #000 68%, rgba(0,0,0,.72) 88%, transparent 100%) !important;
}

body.page-home .sobre-scene-bg::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    linear-gradient(90deg, rgba(11,11,11,.96) 0%, rgba(11,11,11,.84) 18%, rgba(11,11,11,.48) 38%, rgba(11,11,11,.16) 62%, rgba(11,11,11,.42) 84%, rgba(11,11,11,.78) 100%),
    linear-gradient(180deg, rgba(11,11,11,.66) 0%, rgba(11,11,11,.08) 20%, rgba(11,11,11,.06) 76%, rgba(11,11,11,.72) 100%) !important;
}

body.page-home .sobre .wrap {
  position: relative !important;
  z-index: 2 !important;
}

/* Proteção localizada atrás do texto, sem apagar a imagem inteira */
body.page-home .sobre-copy {
  position: relative !important;
  isolation: isolate !important;
}

body.page-home .sobre-copy::after {
  content: '' !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: -1.2rem -1.4rem -1.2rem -1.2rem !important;
  border-radius: 24px !important;
  background: linear-gradient(90deg, rgba(11,11,11,.88) 0%, rgba(11,11,11,.72) 68%, rgba(11,11,11,.18) 100%) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.16) !important;
}

@media (max-width: 900px) {
  body.page-home .sobre-scene-bg img {
    width: 145vw !important;
    right: -32% !important;
    top: 56% !important;
    opacity: .31 !important;
    object-position: 72% center !important;
    filter: saturate(.9) contrast(.96) brightness(1.04) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.30) 10%, rgba(0,0,0,.94) 28%, #000 72%, rgba(0,0,0,.50) 90%, transparent 100%) !important;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.30) 10%, rgba(0,0,0,.94) 28%, #000 72%, rgba(0,0,0,.50) 90%, transparent 100%) !important;
  }

  body.page-home .sobre-scene-bg::after {
    background:
      linear-gradient(90deg, rgba(11,11,11,.94) 0%, rgba(11,11,11,.76) 26%, rgba(11,11,11,.28) 56%, rgba(11,11,11,.46) 100%),
      linear-gradient(180deg, rgba(11,11,11,.72) 0%, rgba(11,11,11,.08) 22%, rgba(11,11,11,.08) 74%, rgba(11,11,11,.76) 100%) !important;
  }

  body.page-home .sobre-copy::after {
    inset: -1rem -.8rem -1rem -.8rem !important;
    border-radius: 18px !important;
    background: linear-gradient(90deg, rgba(11,11,11,.84) 0%, rgba(11,11,11,.60) 74%, rgba(11,11,11,.18) 100%) !important;
  }
}


/* ======================================================================
   V21 — imagem da biblioteca estática dentro da seção O Escritório
   ====================================================================== */
body.page-home .sobre-scene-bg,
body.page-home .sobre-scene-bg.home-scene-content,
body.page-home .sobre-scene-bg.scene-static {
  transform: none !important;
  translate: none !important;
  rotate: none !important;
  scale: 1 !important;
  opacity: 1 !important;
  will-change: auto !important;
}

body.page-home .sobre-scene-bg img {
  transform: translateY(-50%) !important;
  will-change: auto !important;
}


/* ======================================================================
   V22 — otimização de performance móvel sem alteração da identidade visual
   ====================================================================== */
@media (max-width: 900px) {
  /* Mantém as revelações, eliminando apenas o blur animado mais caro. */
  html.mobile-performance .reveal {
    filter: none !important;
    will-change: auto !important;
    transition-property: opacity, transform !important;
  }

  html.mobile-performance .motion-parallax {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  html.mobile-performance .hero-inner,
  html.mobile-performance .inner-hero-inner,
  html.mobile-performance .team-compact-hero-inner,
  html.mobile-performance .team-hero-inner,
  html.mobile-performance .hero::before,
  html.mobile-performance .inner-hero::before,
  html.mobile-performance .team-compact-hero::before,
  html.mobile-performance .team-hero::before,
  html.mobile-performance .home-motion-word,
  html.mobile-performance .home-scene-content {
    will-change: auto !important;
  }

  /* O halo e a linha continuam visíveis, mas passam a reagir por seção,
     sem cálculos contínuos a cada pixel rolado. */
  html.mobile-performance .motion-section-light {
    left: 8% !important;
    right: auto !important;
    top: 18% !important;
    filter: blur(12px) !important;
    opacity: .28 !important;
    transition: opacity .55s ease !important;
    will-change: auto !important;
  }
  html.mobile-performance .motion-section:nth-of-type(even) > .motion-section-light {
    left: auto !important;
    right: 6% !important;
  }
  html.mobile-performance .motion-section.scene-active > .motion-section-light {
    opacity: .72 !important;
  }
  html.mobile-performance .motion-section-line {
    width: 0 !important;
    opacity: .24 !important;
    box-shadow: 0 0 10px rgba(214,195,163,.28) !important;
    transition: width .8s cubic-bezier(.16,1,.3,1), opacity .4s ease !important;
  }
  html.mobile-performance .motion-section.scene-active > .motion-section-line {
    width: 100% !important;
    opacity: .58 !important;
  }

  /* Mantém o layout e os reveals, mas evita animações contínuas de muitos
     cards e imagens ao mesmo tempo em aparelhos móveis. */
  html.mobile-performance body.page-home .scene-active .home-team-card,
  html.mobile-performance body.page-home .scene-active .area,
  html.mobile-performance body.page-home .scene-active .depoimento-card,
  html.mobile-performance body.page-home .motion-mask-host.mask-visible > img,
  html.mobile-performance body.page-home .area-link,
  html.mobile-performance body.page-home .btn-ghost span {
    animation: none !important;
  }

  /* Animações decorativas fora da tela ficam pausadas e retomam ao entrar. */
  html.mobile-performance .motion-section:not(.perf-in-view) .btn-solid,
  html.mobile-performance .motion-section:not(.perf-in-view) .btn-call,
  html.mobile-performance .motion-section:not(.perf-in-view) .btn-gold,
  html.mobile-performance .motion-section:not(.perf-in-view) .brand-micro-particle,
  html.mobile-performance .motion-section:not(.perf-in-view) .brand-puzzle-piece,
  html.mobile-performance .motion-section:not(.perf-in-view) .brand-puzzle-arc,
  html.mobile-performance .brand-hero-host:not(.perf-in-view) .arch-path,
  html.mobile-performance .brand-hero-host:not(.perf-in-view) .brand-micro-particle,
  html.mobile-performance .brand-hero-host:not(.perf-in-view) .brand-puzzle-piece,
  html.mobile-performance .brand-hero-host:not(.perf-in-view) .brand-puzzle-arc {
    animation-play-state: paused !important;
  }

  html.mobile-performance .motion-glare,
  html.mobile-performance .motion-orb {
    display: none !important;
  }

  /* Evita composição excessiva de camadas durante a rolagem. */
  html.mobile-performance .btn-solid,
  html.mobile-performance .btn-call,
  html.mobile-performance .btn-gold,
  html.mobile-performance .whatsapp-float,
  html.mobile-performance .wa-float,
  html.mobile-performance .whats-float,
  html.mobile-performance .floating-whatsapp {
    will-change: auto !important;
  }
}
