/* ==========================================================================
   Fluxo Digital — Rodada 5 "Webuilder de Negócios Vivos"
   Tecnologia que cresce junto com a natureza: raízes de luz, seiva digital,
   anatomia de um site único, árvore do ecossistema e projetos vivos.
   ========================================================================== */

:root {
  --musgo: #34d399;
  --folha: #10b981;
  --seiva: #5eead4;
  --sol: #f5b942;
  --grad-bio: linear-gradient(120deg, #38bdf8 0%, #1ca0f8 48%, #60a5fa 100%);
  --grad-seiva: linear-gradient(180deg, rgba(94, 234, 212, 0) 0%, rgba(94, 234, 212, 0.9) 50%, rgba(94, 234, 212, 0) 100%);
}

.texto-bio {
  background: var(--grad-bio);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cenas guiadas pela rolagem: --p vai de 0 a 1 (JS). Sem movimento = estado final. */
[data-progresso] {
  --p: 1;
}

html.com-movimento [data-progresso] {
  --p: 0;
}

/* ==========================================================================
   Abertura de seção (substitui o cabeçalho título/rótulo da referência)
   ========================================================================== */
.abre {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 22px clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.abre__selo {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-family: var(--fonte-apoio);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--azul-3);
}

.abre__selo svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.abre__titulo {
  margin: 0;
  max-width: 17ch;
  font-family: var(--fonte-titulo);
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.abre__apoio {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  color: var(--texto-suave);
  text-wrap: pretty;
}

.abre__raiz {
  grid-column: 1 / -1;
  height: 22px;
  width: 100%;
  overflow: visible;
}

.abre__raiz path {
  fill: none;
  stroke: url(#grad-raiz-abre);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.abre__raiz circle {
  fill: var(--seiva);
}

html.com-movimento .abre[data-efeito="raiz-abre"] .abre__raiz path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease-out) 0.25s;
}

html.com-movimento .abre[data-efeito="raiz-abre"] .abre__raiz circle {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: opacity 0.4s, transform 0.5s var(--ease-mola);
  transition-delay: calc(0.5s + var(--n, 0) * 0.22s);
}

html.com-movimento .abre[data-efeito="raiz-abre"].is-in .abre__raiz path {
  stroke-dashoffset: 0;
}

html.com-movimento .abre[data-efeito="raiz-abre"].is-in .abre__raiz circle {
  opacity: 1;
  transform: scale(1);
}

.abre--centro {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.abre--centro .abre__selo {
  justify-self: center;
}

.abre--centro .abre__titulo {
  max-width: 20ch;
}

.abre--centro .abre__apoio {
  max-width: 60ch;
}

/* ==========================================================================
   Hero: raízes de luz no chão do palco
   ========================================================================== */
.hero__raizes {
  position: absolute;
  left: 50%;
  bottom: -2%;
  width: min(980px, 82vw);
  height: 34%;
  z-index: 6;
  transform: translateX(-50%);
  pointer-events: none;
  overflow: visible;
}

.hero__raizes path {
  fill: none;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.hero__raizes .raiz-base {
  stroke: rgba(94, 234, 212, 0.28);
}

.hero__raizes .raiz-seiva {
  stroke: #a7f3d0;
  stroke-width: 2;
  stroke-dasharray: 0.06 0.94;
  filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.9));
}

html.com-movimento .hero__raizes .raiz-base {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: raiz-cresce 2.4s var(--ease-out) 1.1s forwards;
}

html.com-movimento .hero__raizes .raiz-seiva {
  animation: seiva-corre 4.6s linear infinite;
  animation-delay: calc(2.4s + var(--n, 0) * 0.7s);
  opacity: 0;
}

@keyframes raiz-cresce {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes seiva-corre {
  0% {
    stroke-dashoffset: 1;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -0.06;
    opacity: 0;
  }
}

/* ==========================================================================
   #raiz — Micélio dos Negócios Vivos (substitui as faixas em marquee)
   ========================================================================== */
.raiz-viva {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(16, 185, 129, 0.08), transparent 70%),
    var(--abismo);
  overflow: hidden;
}

.raiz-viva__intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.raiz-viva__intro p {
  margin: 0;
  max-width: 48ch;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.raiz-viva__intro > span {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--texto-apoio);
}

.raiz-viva__palco {
  position: relative;
  height: clamp(220px, 22vw, 300px);
}

.raiz-viva__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.raiz-viva__svg .mic-traco {
  fill: none;
  stroke: url(#grad-micelio);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--p));
}

.raiz-viva__svg .mic-fino {
  stroke-width: 0.9;
  opacity: 0.55;
}

.raiz-viva__svg .mic-pulso {
  fill: none;
  stroke: #d1fae5;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 0.035 0.965;
  filter: drop-shadow(0 0 5px #5eead4);
  opacity: 0;
}

html.com-movimento .raiz-viva.is-vivo .raiz-viva__svg .mic-pulso {
  animation: seiva-corre 5.2s linear infinite;
  animation-delay: calc(var(--n, 0) * 0.9s);
}

.raiz-viva__nos {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.no-vivo {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  opacity: clamp(0.18, calc((var(--p) - var(--limiar)) * 6), 1);
}

.no-vivo__ponto {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #ecfdf5 0%, #5eead4 45%, rgba(16, 185, 129, 0.3) 70%);
  box-shadow: 0 0 0 6px rgba(94, 234, 212, 0.1), 0 0 22px rgba(94, 234, 212, 0.75);
}

.no-vivo--principal .no-vivo__ponto {
  width: 24px;
  height: 24px;
  box-shadow: 0 0 0 9px rgba(94, 234, 212, 0.12), 0 0 0 18px rgba(94, 234, 212, 0.05), 0 0 34px rgba(94, 234, 212, 0.9);
}

.no-vivo strong {
  font-family: var(--fonte-titulo);
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.no-vivo--principal strong {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
}

.no-vivo small {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--texto-apoio);
  white-space: nowrap;
}

.no-vivo--principal small {
  color: var(--azul-3);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ==========================================================================
   #unico — Template x Único (substitui o manifesto em folha clara)
   ========================================================================== */
.unico {
  position: relative;
  height: 230vh;
  background: var(--abismo);
}

.unico__fixo {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}

.unico__foto {
  position: absolute;
  inset: 0;
}

.unico__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 32%;
  filter: grayscale(calc(1 - var(--p))) brightness(calc(0.55 + var(--p) * 0.3)) contrast(calc(0.9 + var(--p) * 0.12));
  transform: scale(calc(1.12 - var(--p) * 0.12));
}

.unico__veu {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 17, 0.96) 0%, rgba(3, 7, 17, 0.82) 34%, rgba(3, 7, 17, 0.12) 64%, rgba(3, 7, 17, 0.3) 100%),
    linear-gradient(0deg, var(--abismo) 0%, rgba(3, 7, 17, 0) 24%);
}

/* Grade de template genérico que se desfaz com a rolagem */
.unico__template {
  position: absolute;
  top: 12%;
  right: 4%;
  width: min(640px, 52vw);
  height: 74%;
  display: grid;
  grid-template-rows: 34px 1fr 0.55fr 46px;
  gap: 12px;
  pointer-events: none;
}

.tpl {
  border-radius: 6px;
  background: rgba(203, 213, 225, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  opacity: clamp(0, calc(1 - (var(--p) - var(--d, 0)) * 3.4), 1);
  transform: translateY(calc(max(0, var(--p) - var(--d, 0)) * -90px)) rotate(calc(max(0, var(--p) - var(--d, 0)) * var(--giro, 8deg)));
}

.tpl--barra {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.tpl--barra i,
.tpl--linhas i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(100, 116, 139, 0.75);
}

.tpl--hero {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(45deg, transparent 49.6%, rgba(100, 116, 139, 0.65) 49.8%, rgba(100, 116, 139, 0.65) 50.2%, transparent 50.4%),
    linear-gradient(-45deg, transparent 49.6%, rgba(100, 116, 139, 0.65) 49.8%, rgba(100, 116, 139, 0.65) 50.2%, transparent 50.4%),
    rgba(203, 213, 225, 0.86);
}

.tpl--hero span {
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(100, 116, 139, 0.85);
  color: #f1f5f9;
  font-family: var(--fonte-apoio);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tpl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tpl--linhas {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 12px;
}

.unico__corpo {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.unico__texto {
  max-width: 560px;
}

.unico__titulo {
  margin: 18px 0 22px;
  font-family: var(--fonte-titulo);
  font-size: clamp(2.1rem, 4.3vw, 3.8rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

.unico__titulo em {
  font-style: normal;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(248, 113, 113, 0.75);
}

.unico__texto p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--texto-suave);
  text-wrap: pretty;
}

.unico__texto p strong {
  color: var(--texto-claro);
}

.unico__virada {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(6, 22, 26, 0.72);
  border: 1px solid rgba(94, 234, 212, 0.3);
  backdrop-filter: blur(10px);
  font-family: var(--fonte-titulo);
  font-weight: 650;
  font-size: 1.02rem;
  line-height: 1.4;
}

.unico__virada svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--azul-3);
}

html.com-movimento .unico__virada {
  opacity: clamp(0, calc((var(--p) - 0.55) * 4), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--p) - 0.55) * 4), 1)) * 18px));
}

/* ==========================================================================
   #webdesign — Anatomia de um site único (serviço principal)
   ========================================================================== */
.webdesign {
  position: relative;
  padding: clamp(90px, 11vw, 150px) 0 clamp(80px, 10vw, 130px);
  background:
    radial-gradient(50% 40% at 20% 30%, rgba(28, 160, 248, 0.12), transparent 70%),
    radial-gradient(40% 40% at 90% 80%, rgba(16, 185, 129, 0.08), transparent 70%),
    var(--noite);
}

.estudio-faixa {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: clamp(60px, 8vw, 110px);
  border: 1px solid rgba(94, 234, 212, 0.18);
}

.estudio-faixa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  transform: scale(calc(1.14 - var(--p) * 0.14)) translateY(calc((0.5 - var(--p)) * 40px));
}

.estudio-faixa__legenda {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 44px);
  max-width: 520px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(3, 7, 17, 0.72);
  border: 1px solid rgba(148, 184, 235, 0.16);
  backdrop-filter: blur(14px);
}

.estudio-faixa__legenda strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.estudio-faixa__legenda span {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--texto-suave);
}

.anatomia {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.anatomia__palco-wrap {
  position: sticky;
  top: 110px;
}

.anatomia__palco {
  position: relative;
  aspect-ratio: 1 / 0.92;
  perspective: 1600px;
}

.anatomia__pilha {
  position: absolute;
  inset: 8% 6%;
  transform-style: preserve-3d;
  --abre: calc(sin(var(--p) * 3.14159));
  transform: rotateX(calc(var(--abre) * 52deg)) rotateZ(calc(var(--abre) * -32deg)) scale(calc(1 - var(--abre) * 0.12));
}

.camada {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  transform: translateZ(calc(var(--abre) * var(--z) * 1px));
  border: 1px solid rgba(148, 184, 235, 0.22);
  box-shadow: 0 30px 60px rgba(0, 0, 0, calc(0.25 + var(--abre) * 0.25));
}

.camada__rotulo {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 5;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(3, 7, 17, 0.8);
  border: 1px solid rgba(94, 234, 212, 0.4);
  font-family: var(--fonte-apoio);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--azul-3);
  opacity: calc(var(--abre) * 1.4);
}

.camada--estrutura {
  --z: 0;
  background:
    linear-gradient(rgba(94, 234, 212, 0.09) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(94, 234, 212, 0.09) 1px, transparent 1px) 0 0 / 28px 28px,
    #04101a;
}

.camada--estrutura .wf {
  position: absolute;
  border: 1px dashed rgba(94, 234, 212, 0.5);
  border-radius: 6px;
}

.camada--imagem {
  --z: 80;
  background: transparent;
  border-color: rgba(148, 184, 235, 0.08);
}

.camada--imagem img {
  position: absolute;
  left: 4%;
  top: 14%;
  width: 92%;
  height: 52%;
  object-fit: cover;
  border-radius: 10px;
}

.camada--texto {
  --z: 160;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.camada--texto .cam-titulo {
  position: absolute;
  left: 8%;
  top: 22%;
  max-width: 62%;
  font-family: var(--fonte-titulo);
  font-size: clamp(1rem, 2.1vw, 1.9rem);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.6);
}

.camada--texto .cam-linhas {
  position: absolute;
  left: 8%;
  top: 72%;
  width: 58%;
  display: grid;
  gap: 7px;
}

.camada--texto .cam-linhas i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(180, 195, 220, 0.55);
}

.camada--acao {
  --z: 240;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.camada--acao .cam-botao {
  position: absolute;
  left: 8%;
  bottom: 9%;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--grad-botao);
  font-family: var(--fonte-apoio);
  font-size: clamp(0.66rem, 0.9vw, 0.82rem);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 87, 255, 0.5);
}

.camada--acao .cam-whats {
  position: absolute;
  right: 6%;
  bottom: 8%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--verde-whats);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.15);
}

.camada--acao .cam-whats svg {
  width: 22px;
  height: 22px;
}

.camada--acao .cam-nav {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--fonte-apoio);
  font-size: clamp(0.6rem, 0.8vw, 0.72rem);
  color: #e2e8f0;
}

.camada--acao .cam-nav b {
  display: inline-flex;
  gap: 14px;
  font-weight: 500;
  opacity: 0.85;
}

.anatomia__lista {
  display: grid;
  gap: 20px;
}

.entrega {
  position: relative;
  padding: 28px 28px 26px 30px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(14, 29, 56, 0.72), rgba(5, 11, 24, 0.9));
  border: 1px solid var(--borda-sutil);
  overflow: hidden;
}

.entrega::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 2px;
  background: var(--grad-seiva);
}

.entrega__tipo {
  display: block;
  margin-bottom: 8px;
  font-family: var(--fonte-apoio);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azul-3);
}

.entrega h3 {
  margin: 0 0 10px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  letter-spacing: -0.02em;
}

.entrega p {
  margin: 0 0 14px;
  color: var(--texto-suave);
  line-height: 1.65;
}

.entrega__unico {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--texto-claro);
}

.entrega__unico svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--azul-3);
}

html.com-movimento [data-efeito="broto"] {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--atraso, 0ms);
}

html.com-movimento [data-efeito="broto"]::before {
  transform-origin: 50% 0;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--atraso, 0ms) + 0.25s);
}

html.com-movimento [data-efeito="broto"]:not(.is-in) {
  opacity: 0;
  transform: translateX(34px);
}

html.com-movimento [data-efeito="broto"]:not(.is-in)::before {
  transform: scaleY(0);
}

/* ==========================================================================
   #ecossistema — Árvore do ecossistema (raízes, tronco, copa e frutos)
   ========================================================================== */
.ecossistema {
  position: relative;
  padding: clamp(90px, 11vw, 150px) 0 clamp(70px, 9vw, 120px);
  background:
    radial-gradient(70% 50% at 50% 100%, rgba(16, 185, 129, 0.1), transparent 70%),
    linear-gradient(180deg, var(--noite) 0%, #04110f 100%);
  overflow-x: clip;
}

.arvore {
  position: relative;
  height: 280vh;
}

.arvore__fixo {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  min-height: 640px;
}

.arvore__svg {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 600 / 760;
  transform: translateX(-50%);
  overflow: visible;
}

.arvore__svg .arv {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
}

.arvore__svg .arv--raiz {
  stroke: url(#grad-raiz-arvore);
  stroke-width: 2;
  stroke-dashoffset: calc(1 - clamp(0, var(--p) * 4, 1));
}

.arvore__svg .arv--tronco {
  stroke: url(#grad-tronco);
  stroke-width: 9;
  stroke-dashoffset: calc(1 - clamp(0, (var(--p) - 0.22) * 4, 1));
}

.arvore__svg .arv--galho {
  stroke: url(#grad-tronco);
  stroke-width: 3.2;
  stroke-dashoffset: calc(1 - clamp(0, (var(--p) - 0.44) * 4, 1));
}

.arvore__svg .arv--fino {
  stroke-width: 1.6;
}

.arvore__svg .folha {
  fill: rgba(52, 211, 153, 0.16);
  stroke: rgba(94, 234, 212, 0.75);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(clamp(0, (var(--p) - 0.6) * 5, 1));
}

.arvore__svg .fruto {
  fill: #fde68a;
  filter: drop-shadow(0 0 8px rgba(245, 185, 66, 0.9));
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(clamp(0, (var(--p) - 0.74) * 6, 1));
}

.arvore__svg .chao {
  stroke: rgba(94, 234, 212, 0.35);
  stroke-width: 1;
  stroke-dasharray: 3 7;
}

.arvore__svg .nucleo {
  opacity: clamp(0, (var(--p) - 0.3) * 4, 1);
}

.ramo {
  position: absolute;
  width: min(330px, 28vw);
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(4, 14, 22, 0.86);
  border: 1px solid rgba(94, 234, 212, 0.22);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
  opacity: clamp(0.15, calc((var(--p) - var(--limiar)) * 5), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--p) - var(--limiar)) * 5), 1)) * 24px));
}

.ramo__nivel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--fonte-apoio);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azul-3);
}

.ramo__nivel::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.ramo h3 {
  margin: 0 0 8px;
  font-family: var(--fonte-titulo);
  font-size: 1.22rem;
  letter-spacing: -0.015em;
}

.ramo p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--texto-suave);
}

.ramo--frutos {
  left: 2%;
  top: 4%;
  --limiar: 0.74;
}

.ramo--frutos .ramo__nivel {
  color: var(--sol);
}

.ramo--copa {
  right: 2%;
  top: 14%;
  --limiar: 0.52;
}

.ramo--tronco {
  left: 2%;
  top: 46%;
  --limiar: 0.3;
}

.ramo--tronco .ramo__nivel {
  color: var(--azul-3);
}

.ramo--raizes {
  right: 2%;
  bottom: 6%;
  --limiar: 0.04;
}

.arvore__rodape {
  position: relative;
  z-index: 2;
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   #negocios-vivos — Trilho horizontal guiado pela rolagem
   ========================================================================== */
.vivos {
  position: relative;
  background: #04110f;
}

.vivos__altura {
  position: relative;
  height: 360vh;
}

.vivos__fixo {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.vivos__topo {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(22px, 3vh, 34px);
}

.vivos__topo h2 {
  margin: 10px 0 0;
  max-width: 18ch;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.032em;
}

.vivos__topo p {
  margin: 0;
  max-width: 42ch;
  color: var(--texto-suave);
  line-height: 1.65;
}

.vivos__trilho {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  padding-inline: var(--pad-x);
  width: max-content;
  transform: translateX(calc(var(--p) * var(--desloca, 0px) * -1));
  will-change: transform;
}

.nicho {
  position: relative;
  flex: 0 0 auto;
  width: min(880px, 76vw);
  height: min(62vh, 560px);
  min-height: 440px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(150deg, #0a1f1c 0%, #050b18 70%);
  border: 1px solid rgba(94, 234, 212, 0.16);
}

.nicho--principal {
  width: min(980px, 84vw);
  border-color: rgba(94, 234, 212, 0.42);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.1), 0 30px 80px rgba(16, 185, 129, 0.14);
}

.nicho__foto {
  position: relative;
  overflow: hidden;
}

.nicho__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nicho__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 11, 24, 0) 60%, rgba(5, 11, 24, 0.85) 100%);
}

.nicho__corpo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 3.4vw, 48px);
}

.nicho__selo {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.35);
  font-family: var(--fonte-apoio);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azul-3);
}

.nicho--principal .nicho__selo {
  background: rgba(245, 185, 66, 0.12);
  border-color: rgba(245, 185, 66, 0.5);
  color: var(--sol);
}

.nicho h3 {
  margin: 0 0 12px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.nicho__dor {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto-suave);
}

.nicho__dor strong {
  color: var(--texto-claro);
}

.nicho ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nicho li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.nicho li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 8px;
  border-radius: 0 8px 0 8px;
  background: var(--grad-bio);
}

/* ==========================================================================
   #projetos — Vitrine viva de sites produzidos
   ========================================================================== */
.projetos {
  position: relative;
  padding: clamp(90px, 11vw, 150px) 0;
  background:
    radial-gradient(50% 40% at 80% 20%, rgba(28, 160, 248, 0.12), transparent 70%),
    var(--abismo);
}

.projetos__lista {
  display: grid;
  gap: clamp(70px, 9vw, 130px);
}

.projeto {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.projeto:nth-child(even) {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.projeto:nth-child(even) .projeto__info {
  order: 2;
}

.projeto__info h3 {
  margin: 12px 0 12px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.projeto__info p {
  margin: 0 0 18px;
  color: var(--texto-suave);
  line-height: 1.7;
}

.projeto__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.projeto__tags span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--borda-sutil);
  background: rgba(14, 29, 56, 0.5);
  font-size: 0.8rem;
  color: var(--texto-suave);
}

.projeto__nicho {
  font-family: var(--fonte-apoio);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azul-3);
}

.vitrine-aparelhos {
  position: relative;
  padding: 0 8% 8% 0;
  perspective: 1800px;
}

.notebook {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.1s var(--ease-out), opacity 0.9s var(--ease-out);
}

.notebook__tela {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px 14px 4px 4px;
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border: 1px solid rgba(148, 184, 235, 0.25);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.notebook__visor {
  position: relative;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.notebook__base {
  height: 14px;
  margin: 0 -5%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #334155, #0f172a);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5);
}

.rolagem-site {
  width: 100%;
  height: auto;
  animation: rola-site var(--dur, 26s) ease-in-out infinite alternate;
  animation-play-state: paused;
}

.projeto.is-in .rolagem-site {
  animation-play-state: running;
}

@keyframes rola-site {
  0%,
  8% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(calc(-100% + var(--janela, 300px)));
  }
}

.celular-frame {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 24%;
  aspect-ratio: 9 / 19;
  padding: 7px;
  border-radius: 26px;
  background: #0b1220;
  border: 1px solid rgba(148, 184, 235, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  transition: transform 1.1s var(--ease-out) 0.2s, opacity 0.9s var(--ease-out) 0.2s;
}

.celular-frame__visor {
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

html.com-movimento .projeto:not(.is-in) .notebook {
  opacity: 0;
  transform: rotateY(-18deg) rotateX(8deg) translateY(40px);
}

html.com-movimento .projeto:nth-child(even):not(.is-in) .notebook {
  transform: rotateY(18deg) rotateX(8deg) translateY(40px);
}

html.com-movimento .projeto:not(.is-in) .celular-frame {
  opacity: 0;
  transform: translateY(70px) rotate(6deg);
}

.projeto--proximo {
  grid-template-columns: 1fr !important;
  justify-items: center;
  text-align: center;
  padding: clamp(40px, 6vw, 70px);
  border-radius: 24px;
  border: 1px dashed rgba(94, 234, 212, 0.4);
  background: radial-gradient(60% 80% at 50% 0%, rgba(16, 185, 129, 0.1), transparent 70%);
}

.projeto--proximo h3 {
  margin: 0 0 12px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  letter-spacing: -0.03em;
}

.projeto--proximo p {
  max-width: 52ch;
  margin: 0 0 24px;
  color: var(--texto-suave);
  line-height: 1.7;
}

/* ==========================================================================
   #cases — Dossiês empilhados
   ========================================================================== */
.cases-vivos {
  position: relative;
  padding: clamp(90px, 11vw, 150px) 0 clamp(80px, 10vw, 130px);
  background: linear-gradient(180deg, var(--abismo) 0%, var(--noite) 100%);
}

.pilha-cases {
  display: grid;
  gap: 28px;
}

.dossie {
  position: sticky;
  top: calc(96px + var(--i, 0) * 22px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: 440px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(140deg, #0b1830 0%, #050b18 100%);
  border: 1px solid rgba(148, 184, 235, 0.18);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
}

.dossie__foto {
  position: relative;
  overflow: hidden;
}

.dossie__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dossie__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 11, 24, 0) 55%, rgba(5, 11, 24, 0.9) 100%);
}

.dossie__corpo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 56px);
}

.dossie__setor {
  font-family: var(--fonte-apoio);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azul-3);
}

.dossie__numero {
  margin: 14px 0 4px;
  font-family: var(--fonte-titulo);
  font-size: clamp(3rem, 6.6vw, 5.6rem);
  font-weight: 780;
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: var(--grad-bio);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dossie__numero-rotulo {
  margin-bottom: 22px;
  font-size: 0.95rem;
  color: var(--texto-suave);
}

.dossie h3 {
  margin: 0 0 10px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
}

.dossie p {
  margin: 0;
  line-height: 1.7;
  color: var(--texto-suave);
}

.bosque-marcas {
  margin-top: clamp(60px, 8vw, 100px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px;
  border: 1px solid var(--borda-sutil);
  background: radial-gradient(80% 120% at 50% 100%, rgba(16, 185, 129, 0.08), transparent 70%), rgba(9, 19, 38, 0.5);
}

.bosque-marcas__titulo {
  margin: 0 0 24px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.bosque-marcas__grade {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.bosque-marcas__item {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 184, 235, 0.1);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}

.bosque-marcas__item img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s;
}

.bosque-marcas__item:hover {
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(94, 234, 212, 0.05);
  transform: translateY(-3px);
}

.bosque-marcas__item:hover img {
  filter: none;
  opacity: 1;
}

/* ==========================================================================
   #depoimentos — Vozes com borda de seiva
   ========================================================================== */
.vozes {
  position: relative;
  padding: clamp(90px, 11vw, 150px) 0;
  background:
    radial-gradient(40% 50% at 0% 50%, rgba(245, 185, 66, 0.06), transparent 70%),
    var(--noite);
}

.vozes__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.vozes__lateral {
  position: sticky;
  top: 120px;
}

.vozes__lateral h2 {
  margin: 16px 0 22px;
  font-family: var(--fonte-titulo);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.033em;
  text-wrap: balance;
}

.nota-google {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(245, 185, 66, 0.07);
  border: 1px solid rgba(245, 185, 66, 0.3);
}

.nota-google strong {
  font-family: var(--fonte-titulo);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.nota-google span {
  display: block;
  color: var(--sol);
  letter-spacing: 0.1em;
}

.nota-google small {
  display: block;
  font-size: 0.82rem;
  color: var(--texto-suave);
}

.vozes__lista {
  display: grid;
  gap: 26px;
}

.voz {
  position: relative;
  padding: 2px;
  border-radius: 22px;
  background: rgba(148, 184, 235, 0.12);
  overflow: hidden;
  isolation: isolate;
}

.voz::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: -1;
  background: conic-gradient(from var(--ang, 0deg), transparent 0deg, transparent 280deg, #5eead4 320deg, #67e8f9 345deg, transparent 360deg);
  animation: seiva-gira 7s linear infinite;
  animation-delay: var(--atraso-giro, 0s);
}

@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes seiva-gira {
  to {
    --ang: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voz::before {
    animation: none;
  }
}

.voz__dentro {
  position: relative;
  padding: clamp(26px, 3.2vw, 40px);
  border-radius: 20px;
  background: linear-gradient(160deg, #0b1830 0%, #060d1c 100%);
}

.voz__aspas {
  position: absolute;
  right: 26px;
  top: 22px;
  width: 64px;
  height: 64px;
  color: rgba(94, 234, 212, 0.22);
}

.voz blockquote {
  margin: 0 0 24px;
  max-width: 60ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  color: #dbe5f3;
}

.voz__autor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.voz__pessoa {
  display: flex;
  align-items: center;
  gap: 14px;
}

.voz__pessoa img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #050b18, 0 0 0 4px rgba(94, 234, 212, 0.55);
}

.voz__pessoa h3 {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-size: 1.02rem;
}

.voz__pessoa span {
  font-size: 0.85rem;
  color: var(--texto-apoio);
}

.voz__estrelas {
  color: var(--sol);
  letter-spacing: 0.12em;
}

.vozes__lista .voz:nth-child(2) {
  margin-left: clamp(0px, 6vw, 80px);
}

/* ==========================================================================
   #conversa — Perguntas em conversa direta com o Thiago
   ========================================================================== */
.conversa {
  position: relative;
  padding: clamp(90px, 11vw, 150px) 0;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(28, 160, 248, 0.1), transparent 70%),
    var(--abismo);
}

.chat {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid var(--borda-sutil);
  background: linear-gradient(180deg, rgba(9, 19, 38, 0.85), rgba(5, 11, 24, 0.95));
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.chat__topo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--borda-sutil);
  background: rgba(3, 7, 17, 0.6);
}

.chat__avatar {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.chat__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
}

.chat__avatar::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--verde-whats);
  border: 2px solid #050b18;
}

.chat__topo strong {
  display: block;
  font-family: var(--fonte-titulo);
  font-size: 1.02rem;
}

.chat__topo span {
  font-size: 0.82rem;
  color: var(--azul-3);
}

.chat__corpo {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3.4vw, 40px);
}

.par {
  display: grid;
  gap: 10px;
}

.msg {
  max-width: min(620px, 86%);
  padding: 14px 18px;
  border-radius: 18px;
  line-height: 1.6;
  font-size: 0.98rem;
}

.msg--cliente {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, #0047cc, #1c7ef8);
  color: #fff;
  font-weight: 600;
}

.msg--thiago {
  justify-self: start;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: 0;
  background: none;
  max-width: min(700px, 92%);
}

.msg--thiago img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  flex-shrink: 0;
}

.msg--thiago p {
  margin: 0;
  padding: 14px 18px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 184, 235, 0.14);
  color: #dbe5f3;
}

.digitando {
  display: none;
}

html.com-movimento [data-efeito="mensagem"] .msg--cliente {
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-mola);
}

html.com-movimento [data-efeito="mensagem"] .msg--thiago {
  transition: opacity 0.5s var(--ease-out) 0.75s, transform 0.5s var(--ease-mola) 0.75s;
}

html.com-movimento [data-efeito="mensagem"]:not(.is-in) .msg--cliente {
  opacity: 0;
  transform: translateX(30px) scale(0.96);
}

html.com-movimento [data-efeito="mensagem"]:not(.is-in) .msg--thiago {
  opacity: 0;
  transform: translateX(-30px) scale(0.96);
}

html.com-movimento [data-efeito="mensagem"] .digitando {
  display: inline-flex;
  justify-self: start;
  gap: 5px;
  margin-left: 46px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(30, 41, 59, 0.85);
  height: 0;
  opacity: 0;
  overflow: hidden;
}

html.com-movimento [data-efeito="mensagem"].is-in .digitando {
  animation: digita 0.75s steps(1) forwards;
}

.digitando i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--texto-apoio);
  animation: pula 0.9s ease-in-out infinite;
}

.digitando i:nth-child(2) {
  animation-delay: 0.15s;
}

.digitando i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes digita {
  0% {
    height: auto;
    opacity: 1;
  }
  100% {
    height: 0;
    opacity: 0;
    padding: 0;
  }
}

@keyframes pula {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.chat__rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
  border-top: 1px solid var(--borda-sutil);
  background: rgba(3, 7, 17, 0.6);
}

.chat__rodape p {
  margin: 0;
  color: var(--texto-suave);
}

/* ==========================================================================
   #contato — Chamada final com retrato de corpo inteiro
   ========================================================================== */
.contato {
  position: relative;
  min-height: 100vh;
  padding: clamp(90px, 10vw, 140px) 0;
  overflow: hidden;
  background: #020812;
}

.contato__foto {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(54%, 900px);
}

.contato__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(calc(1.08 - var(--p) * 0.08));
}

.contato__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #020812 0%, rgba(2, 8, 18, 0.6) 22%, rgba(2, 8, 18, 0) 50%),
    linear-gradient(0deg, #020812 0%, rgba(2, 8, 18, 0) 18%),
    linear-gradient(180deg, #020812 0%, rgba(2, 8, 18, 0) 14%);
}

.contato__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
}

.contato__titulo {
  margin: 18px 0 18px;
  font-family: var(--fonte-titulo);
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -0.036em;
  text-wrap: balance;
}

.contato__apoio {
  margin: 0 0 30px;
  max-width: 46ch;
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--texto-suave);
}

.contato__form {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 22px;
  background: rgba(5, 13, 26, 0.82);
  border: 1px solid rgba(94, 234, 212, 0.24);
  backdrop-filter: blur(16px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.contato__form h3 {
  margin: 0 0 6px;
  font-family: var(--fonte-titulo);
  font-size: 1.3rem;
}

.contato__form > p {
  margin: 0 0 20px;
  font-size: 0.92rem;
  color: var(--texto-suave);
}

.contato__canais {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contato__assinatura {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.contato__assinatura img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.5);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .anatomia {
    grid-template-columns: 1fr;
  }

  .anatomia__palco-wrap {
    position: relative;
    top: 0;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .ramo {
    width: min(300px, 34vw);
  }

  .vozes__grid {
    grid-template-columns: 1fr;
  }

  .vozes__lateral {
    position: relative;
    top: 0;
  }

  .bosque-marcas__grade {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 860px) {
  .abre {
    grid-template-columns: 1fr;
  }

  .raiz-viva__intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .raiz-viva__palco {
    height: auto;
  }

  .raiz-viva__svg {
    display: none;
  }

  .raiz-viva__nos {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 14px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(94, 234, 212, 0.22);
  }

  .no-vivo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    align-items: center;
    text-align: left;
    opacity: 1;
  }

  .no-vivo > div {
    display: grid;
  }

  .no-vivo--principal {
    grid-column: 1 / -1;
  }

  .no-vivo strong,
  .no-vivo small {
    white-space: normal;
  }

  .unico {
    height: 190vh;
  }

  .unico__template {
    top: 6%;
    right: 3%;
    width: 70vw;
    height: 46%;
    opacity: 0.85;
  }

  .unico__corpo {
    align-items: flex-end;
    padding-bottom: 8vh;
  }

  .unico__veu {
    background: linear-gradient(0deg, rgba(3, 7, 17, 0.97) 0%, rgba(3, 7, 17, 0.88) 46%, rgba(3, 7, 17, 0.2) 75%);
  }

  .unico__foto img {
    object-position: 80% 20%;
  }

  .estudio-faixa {
    aspect-ratio: 4 / 5;
  }

  .estudio-faixa img {
    object-position: 70% 50%;
  }

  .estudio-faixa__legenda {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .arvore {
    height: auto;
  }

  .arvore__fixo {
    position: relative;
    top: 0;
    height: auto;
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .arvore__svg {
    position: relative;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto 10px;
  }

  .ramo {
    position: relative;
    inset: auto !important;
    width: auto;
    opacity: 1;
    transform: none;
  }

  .vivos__altura {
    height: auto;
  }

  .vivos__fixo {
    position: relative;
    height: auto;
    min-height: 0;
    padding: clamp(80px, 12vw, 120px) 0;
  }

  .vivos__topo {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .vivos__trilho {
    width: auto;
    flex-direction: column;
    transform: none !important;
  }

  .nicho,
  .nicho--principal {
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .nicho__foto {
    aspect-ratio: 4 / 3;
  }

  .nicho__foto::after {
    background: linear-gradient(0deg, rgba(5, 11, 24, 0.9) 0%, rgba(5, 11, 24, 0) 45%);
  }

  .projeto,
  .projeto:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .projeto:nth-child(even) .projeto__info {
    order: 0;
  }

  .dossie {
    grid-template-columns: 1fr;
    top: calc(80px + var(--i, 0) * 14px);
  }

  .dossie__foto {
    aspect-ratio: 16 / 9;
  }

  .dossie__foto::after {
    background: linear-gradient(0deg, rgba(5, 11, 24, 0.9) 0%, rgba(5, 11, 24, 0) 50%);
  }

  .bosque-marcas__grade {
    grid-template-columns: repeat(3, 1fr);
  }

  .vozes__lista .voz:nth-child(2) {
    margin-left: 0;
  }

  .contato__foto {
    position: relative;
    width: 100%;
    height: 72vh;
    max-height: 640px;
  }

  .contato__foto::after {
    background: linear-gradient(0deg, #020812 0%, rgba(2, 8, 18, 0) 40%), linear-gradient(180deg, #020812 0%, rgba(2, 8, 18, 0) 16%);
  }

  .contato {
    padding-top: 0;
  }

  .contato__grid {
    grid-template-columns: 1fr;
    margin-top: -18vh;
  }
}

@media (max-width: 560px) {
  .msg,
  .msg--thiago {
    max-width: 100%;
  }

  .bosque-marcas__grade {
    grid-template-columns: repeat(2, 1fr);
  }

  .dossie {
    position: relative;
    top: 0;
  }

  .celular-frame {
    width: 28%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rolagem-site {
    animation: none;
  }
}

/* Abertura em superfície clara (#processos) */
.abre--claro .abre__selo {
  color: var(--cobalto);
}

.abre--claro .abre__titulo {
  color: var(--texto-escuro);
}

.abre--claro .abre__apoio {
  color: var(--texto-escuro-2);
}

/* Dossiês: o anterior afunda quando o próximo cobre */
.dossie {
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--afunda, 0) * 0.05));
  filter: brightness(calc(1 - var(--afunda, 0) * 0.4));
}

html.com-movimento [data-efeito="dossie-sobe"] .dossie__numero {
  transition: opacity 0.9s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s, letter-spacing 1.2s var(--ease-out) 0.2s;
}

html.com-movimento [data-efeito="dossie-sobe"]:not(.is-in) .dossie__numero {
  opacity: 0;
  transform: translateY(30px);
  letter-spacing: 0.04em;
}

html.com-movimento [data-efeito="dossie-sobe"] .dossie__foto img {
  transition: transform 1.4s var(--ease-out), clip-path 1.2s var(--ease-out);
}

html.com-movimento [data-efeito="dossie-sobe"]:not(.is-in) .dossie__foto img {
  transform: scale(1.15);
  clip-path: inset(0 100% 0 0);
}

html.com-movimento [data-efeito="dossie-sobe"].is-in .dossie__foto img {
  clip-path: inset(0 0 0 0);
}

/* Ajustes de revisão */
.no-vivo > div {
  display: grid;
  gap: 3px;
  justify-items: center;
}

.dossie .dossie__numero {
  color: transparent;
}

.projeto.projeto--proximo {
  gap: 0;
}

.projeto--proximo .projeto__nicho {
  margin-bottom: 12px;
}

/* Sem movimento (reduzido ou captura): nichos em grade, todos visíveis */
html:not(.com-movimento) .vivos__altura {
  height: auto;
}

html:not(.com-movimento) .vivos__fixo {
  position: relative;
  height: auto;
  min-height: 0;
  padding: clamp(80px, 10vw, 130px) 0;
}

html:not(.com-movimento) .vivos__trilho {
  width: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  transform: none;
}

html:not(.com-movimento) .nicho,
html:not(.com-movimento) .nicho--principal {
  width: auto;
}

@media (max-width: 860px) {
  html:not(.com-movimento) .vivos__trilho {
    grid-template-columns: 1fr;
  }
}

/* Sobre no celular: coluna única sem estourar a largura */
@media (max-width: 900px) {
  .sobre__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sobre__cena-retrato {
    width: 100%;
    max-width: 100%;
  }
}

/* Selo de projeto conceito (site criado do zero, ainda não contratado pelo cliente) */
.projeto__selo-conceito {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  vertical-align: middle;
  background: rgba(245, 185, 66, 0.1);
  border: 1px solid rgba(245, 185, 66, 0.45);
  font-family: var(--fonte-apoio);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sol);
  white-space: nowrap;
}

.projeto__selo-conceito::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}


/* Rodada 6 — depoimentos com a mesma medida e respiro antes do autor */
.vozes__lista {
  grid-auto-rows: 1fr;
}

.vozes__lista .voz:nth-child(2) {
  margin-left: 0;
}

.voz,
.voz__dentro {
  height: 100%;
}

.voz__dentro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.voz blockquote {
  margin-bottom: 0;
}

.voz__autor {
  padding-top: 22px;
  border-top: 1px solid rgba(148, 184, 235, 0.12);
}

/* Rodada 6 — fusão da base do hero sem faixa escura nas laterais */
.hero__fusao-base {
  left: 6%;
  right: 6%;
  height: 22%;
  background: linear-gradient(180deg, rgba(3, 7, 17, 0) 0%, rgba(3, 7, 17, 0.55) 70%, rgba(3, 7, 17, 0.85) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
}

/* Rodada 6 — legenda do estúdio à direita para não cobrir o Thiago */
.estudio-faixa img {
  object-position: 40% 35%;
}

.estudio-faixa__legenda {
  left: auto;
  right: clamp(20px, 4vw, 48px);
}

@media (max-width: 860px) {
  .estudio-faixa img {
    object-position: 32% 50%;
  }

  .estudio-faixa__legenda {
    left: 14px;
    right: 14px;
  }
}

/* Rodada 7 — copa da árvore: folhas reais em degradê, brotando em ondas */
.arvore__svg .copa .folha {
  stroke: rgba(236, 254, 255, 0.35);
  stroke-width: 0.5;
  fill: url(#grad-folha-a);
  opacity: 0.9;
  transform-box: fill-box;
  transform-origin: 0 50%;
  transform: scale(clamp(0, calc((var(--p) - 0.56 - var(--d, 0)) * 6), 1));
}

.arvore__svg .copa .folha--b {
  fill: url(#grad-folha-b);
}

.arvore__svg .copa .folha--c {
  fill: url(#grad-folha-c);
  opacity: 0.8;
}

.arvore__svg .copa {
  filter: drop-shadow(0 0 10px rgba(94, 234, 212, 0.18));
}

.arvore__svg .fruto {
  transform: scale(clamp(0, calc((var(--p) - 0.78 - var(--d, 0)) * 7), 1));
}

.arvore__svg .arv--galho {
  stroke-width: 4;
}

.arvore__svg .arv--fino {
  stroke-width: 2;
}

/* ==========================================================================
   Rodada 7 — Cases em capítulos editoriais (foto fixa que troca ao passar)
   ========================================================================== */
.capitulos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.capitulos__palco {
  position: sticky;
  top: 110px;
  height: min(calc(100vh - 160px), 700px);
  border-radius: 22px;
  overflow: hidden;
  background: #050b18;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(148, 184, 235, 0.12);
}

.capitulos__foto {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  clip-path: inset(100% 0 0 0);
  transition: opacity 0.9s var(--ease-out), clip-path 1.1s var(--ease-out);
}

.capitulos__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.6s var(--ease-out);
}

.capitulos__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 17, 0) 55%, rgba(3, 7, 17, 0.55) 100%);
}

.capitulos__foto.is-ativa {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  z-index: 1;
}

.capitulos__foto.is-ativa img {
  transform: scale(1);
}

.capitulos__canto {
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-color: rgba(255, 255, 255, 0.7);
  border-style: solid;
  border-width: 0;
}

.capitulos__canto--a {
  top: 18px;
  left: 18px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.capitulos__canto--b {
  right: 18px;
  bottom: 18px;
  border-right-width: 1px;
  border-bottom-width: 1px;
}

.capitulos__lista {
  display: grid;
}

.capitulo {
  min-height: min(78vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 40px 34px;
  border-left: 1px solid rgba(148, 184, 235, 0.14);
  position: relative;
  transition: opacity 0.6s var(--ease-out);
}

.capitulo::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 30%;
  height: 40%;
  width: 2px;
  background: var(--grad-marca);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.9s var(--ease-out);
}

.capitulo.is-ativo::before {
  transform: scaleY(1);
}

.capitulo__foto-m {
  display: none;
}

.capitulo__setor {
  font-family: var(--fonte-apoio);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azul-3);
}

.capitulo__cliente {
  margin: 14px 0 26px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.capitulo__metrica {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  margin-bottom: 22px;
  border-top: 1px solid rgba(148, 184, 235, 0.14);
  border-bottom: 1px solid rgba(148, 184, 235, 0.14);
}

.capitulo__metrica strong {
  font-family: var(--fonte-titulo);
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  font-weight: 250;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #f8fbff;
}

.capitulo__metrica span {
  font-size: 0.98rem;
  color: var(--azul-3);
}

.capitulo p {
  margin: 0;
  max-width: 46ch;
  line-height: 1.75;
  color: var(--texto-suave);
}

html.com-movimento .capitulo:not(.is-ativo) {
  opacity: 0.42;
}

html.com-movimento [data-efeito="capitulo"] .capitulo__metrica strong {
  transition: opacity 0.9s var(--ease-out) 0.15s, transform 0.9s var(--ease-out) 0.15s;
}

html.com-movimento [data-efeito="capitulo"]:not(.is-in) .capitulo__metrica strong {
  opacity: 0;
  transform: translateY(24px);
}

@media (max-width: 860px) {
  .capitulos {
    grid-template-columns: 1fr;
  }

  .capitulos__palco {
    display: none;
  }

  .capitulo {
    min-height: 0;
    padding: 0 0 54px;
    border-left: 0;
  }

  .capitulo::before {
    display: none;
  }

  .capitulo__foto-m {
    display: block;
    margin: 0 0 22px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
  }

  .capitulo__foto-m img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  html.com-movimento .capitulo:not(.is-ativo) {
    opacity: 1;
  }
}

/* Rodada 7 — chamada final: foto maior com degradê longo e suave */
.contato__foto {
  width: min(68%, 1100px);
}

.contato__foto img {
  object-position: 62% 30%;
}

.contato__foto::after {
  background:
    linear-gradient(90deg, #020812 0%, rgba(2, 8, 18, 0.92) 12%, rgba(2, 8, 18, 0.7) 26%, rgba(2, 8, 18, 0.38) 40%, rgba(2, 8, 18, 0.12) 54%, rgba(2, 8, 18, 0) 66%),
    linear-gradient(0deg, #020812 0%, rgba(2, 8, 18, 0.6) 9%, rgba(2, 8, 18, 0) 26%),
    linear-gradient(180deg, #020812 0%, rgba(2, 8, 18, 0) 16%);
}

@media (max-width: 860px) {
  .contato__foto {
    width: 100%;
  }

  .contato__foto::after {
    background:
      linear-gradient(0deg, #020812 0%, rgba(2, 8, 18, 0.75) 18%, rgba(2, 8, 18, 0) 48%),
      linear-gradient(180deg, #020812 0%, rgba(2, 8, 18, 0) 16%);
  }
}

/* Rodada 8 — chamada final: foto se dissolve no fundo por máscara (sem faixa de cor) */
.contato {
  background:
    radial-gradient(55% 75% at 80% 45%, rgba(38, 27, 18, 0.55) 0%, rgba(14, 12, 14, 0.35) 45%, rgba(2, 8, 18, 0) 75%),
    #020812;
}

.contato__foto {
  width: min(62%, 1000px);
}

.contato__foto img {
  object-position: 58% 38%;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 14%, rgba(0, 0, 0, 0.55) 30%, #000 50%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 14%, rgba(0, 0, 0, 0.55) 30%, #000 50%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.contato__foto::after {
  background: linear-gradient(90deg, rgba(2, 8, 18, 0.35) 0%, rgba(2, 8, 18, 0) 40%);
}

@media (max-width: 860px) {
  .contato__foto img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 62%, transparent 100%);
  }

  .contato__foto::after {
    background: none;
  }
}

/* Rodada 8 — avaliações reais do Google em grade 2×3 com convite para avaliar */
.vozes__lista {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.voz--curta blockquote {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #f5f8fc;
}

.voz__dentro .voz__aspas {
  width: 48px;
  height: 48px;
}

.voz blockquote {
  padding-right: 34px;
}

.voz--convite {
  display: block;
  color: inherit;
  text-decoration: none;
}

.voz--convite .voz__dentro {
  justify-content: center;
  gap: 14px;
  background: radial-gradient(90% 80% at 50% 0%, rgba(28, 160, 248, 0.16), transparent 70%), linear-gradient(160deg, #0b1830 0%, #060d1c 100%);
}

.voz--convite strong {
  font-family: var(--fonte-titulo);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.voz--convite span {
  color: var(--texto-suave);
  line-height: 1.6;
}

.voz__convite-estrelas {
  color: var(--sol) !important;
  letter-spacing: 0.14em;
}

.voz__convite-acao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--azul-3) !important;
  font-weight: 600;
}

.voz__convite-acao svg {
  width: 16px;
  height: 16px;
}

.voz--convite:hover .voz__dentro {
  background: radial-gradient(90% 80% at 50% 0%, rgba(28, 160, 248, 0.26), transparent 70%), linear-gradient(160deg, #0b1830 0%, #060d1c 100%);
}

.vozes__avaliar {
  margin-top: 22px;
}

.vozes__selo {
  display: block;
  margin-top: 22px;
  width: min(300px, 100%);
  height: auto;
  border-radius: 10px;
}

@media (max-width: 860px) {
  .vozes__lista {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

/* Rodada 8 — depoimentos: cabeçalho em linha e cards em 3 colunas largas */
.vozes__grid {
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 60px);
}

.vozes__lateral {
  position: relative;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 18px 48px;
  align-items: end;
}

.vozes__lateral > .eyebrow-arq,
.vozes__lateral > h2 {
  grid-column: 1;
}

.vozes__lateral h2 {
  margin-bottom: 0;
  max-width: 16ch;
}

.vozes__lateral .nota-google {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.vozes__lateral .vozes__avaliar,
.vozes__lateral .vozes__selo {
  grid-column: 2;
  margin-top: 0;
}

.vozes__lista {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .vozes__lista {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .vozes__lateral {
    grid-template-columns: 1fr;
  }

  .vozes__lateral .nota-google,
  .vozes__lateral .vozes__avaliar,
  .vozes__lateral .vozes__selo {
    grid-column: 1;
    grid-row: auto;
  }

  .vozes__lista {
    grid-template-columns: 1fr;
  }
}

.vozes__lateral > .eyebrow-arq {
  justify-self: start;
}

.voz--curta .voz__dentro {
  justify-content: space-between;
}

.voz--curta blockquote {
  margin: auto 0;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.22;
}

/* Rodada 8 — estúdio de costas: foco central na tela */
.estudio-faixa img {
  object-position: 50% 40%;
}

/* Rodada 9 — "site comum" mais detalhado que se desmancha peça por peça com a rolagem */
.unico__template.tpl-janela {
  top: 9%;
  right: 4%;
  width: min(660px, 50vw);
  height: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "chrome chrome"
    "nav nav"
    "htxt himg"
    "tit tit"
    "cards cards"
    "logos logos"
    "rod rod";
  gap: 8px;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #475569;
}

.tpl-janela .tpl {
  --dx: 0px;
  --dy: 0px;
  --q: clamp(0, calc((var(--p) - var(--d, 0)) * 3.2), 1);
  opacity: calc(1 - var(--q));
  transform: translate(calc(var(--q) * var(--dx)), calc(var(--q) * var(--dy))) rotate(calc(var(--q) * var(--giro, 0deg))) scale(calc(1 - var(--q) * 0.12));
  filter: blur(calc(var(--q) * 6px));
  border-radius: 8px;
  background: #e5e9ef;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.tpl-chrome {
  grid-area: chrome;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  background: #cfd6df !important;
}

.tpl-pontos {
  display: flex;
  gap: 5px;
}

.tpl-pontos i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
}

.tpl-url {
  flex: 1;
  padding: 3px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  font-size: 0.68rem;
  color: #64748b;
}

.tpl-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 12px;
}

.tpl-logo {
  padding: 4px 9px;
  border: 1px dashed #94a3b8;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tpl-menu {
  display: flex;
  gap: 12px;
  margin-left: auto;
  font-size: 0.66rem;
}

.tpl-menu b {
  font-weight: 400;
}

.tpl-btn {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  background: #94a3b8;
  color: #f8fafc;
  font-size: 0.62rem;
}

.tpl-btn--p {
  background: #64748b;
}

.tpl-hero-txt {
  grid-area: htxt;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px 14px;
}

.tpl-hero-txt strong,
.tpl-titulo strong {
  font-size: 1rem;
  color: #334155;
}

.tpl-janela i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #b8c2cf;
}

.tpl-hero-txt .tpl-btn {
  justify-self: start;
  margin-top: 6px;
}

.tpl-hero-img {
  grid-area: himg;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  min-height: 130px;
  background: linear-gradient(180deg, #d6dde6, #c3ccd8) !important;
  color: #a3afbf;
  font-size: 0.62rem;
}

.tpl-hero-img svg {
  width: 64px;
  height: 42px;
}

.tpl-titulo {
  grid-area: tit;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px;
}

.tpl-janela .tpl-card {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 12px 10px;
  font-size: 0.72rem;
}

.tpl-janela .tpl-card:nth-of-type(6) { grid-area: auto; }

.tpl-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #b8c2cf;
}

.tpl-logos {
  grid-area: logos;
  display: flex;
  justify-content: space-around;
  padding: 10px;
}

.tpl-logos b {
  width: 48px;
  height: 12px;
  border-radius: 3px;
  background: #c3ccd8;
}

.tpl-rodape {
  grid-area: rod;
  padding: 8px 12px;
  background: #cfd6df !important;
  font-size: 0.6rem;
  text-align: center;
}

/* os 3 cards ocupam a linha "cards" */
.tpl-janela {
  grid-auto-flow: row dense;
}

@media (max-width: 860px) {
  .unico__template.tpl-janela {
    top: 5%;
    width: 86vw;
    transform: scale(0.82);
    transform-origin: top right;
  }
}

.tpl-cards-linha {
  grid-area: cards;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* Rodada 9 — estúdio: cena à esquerda, espaço negativo escuro à direita para a legenda */
.estudio-faixa {
  background: #03070e;
}

.estudio-faixa img {
  object-position: 0% 40%;
}

@media (max-width: 860px) {
  .estudio-faixa img {
    object-position: 24% 50%;
  }
}

/* Rodada 9 — depoimentos: cabeçalho limpo, linhas com altura própria e conteúdo alinhado ao topo */
.vozes__lateral {
  align-items: end;
}

.vozes__lateral .nota-google {
  grid-row: 1 / span 2;
}

.vozes__lista {
  grid-auto-rows: auto;
  align-items: stretch;
}

.voz__dentro {
  justify-content: flex-start;
  gap: 26px;
}

.voz__autor {
  margin-top: auto;
}

.voz--curta .voz__dentro {
  justify-content: flex-start;
}

.voz--curta blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
}

.voz--convite .voz__dentro {
  justify-content: flex-start;
  gap: 14px;
}

.voz__selo {
  display: block;
  width: min(280px, 100%);
  height: auto;
  border-radius: 10px;
  margin-bottom: 8px;
}

.voz__convite-acao {
  margin-top: auto;
}

/* Rodada 9 — chamada final: foto entra desfocada e deslizando de lado, assenta no centro da rolagem e segue em parallax */
.contato__foto img {
  --entra: clamp(0, calc(var(--p) * 2.4), 1);
  transform:
    translate3d(calc((1 - var(--entra)) * 90px + (var(--p) - 0.5) * -40px), calc((var(--p) - 0.5) * -50px), 0)
    scale(calc(1.14 - var(--entra) * 0.1));
  filter: blur(calc((1 - var(--entra)) * 12px)) saturate(calc(0.75 + var(--entra) * 0.25));
  will-change: transform, filter;
}

@media (prefers-reduced-motion: reduce) {
  .contato__foto img {
    transform: none;
    filter: none;
  }
}

.voz__autor {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* Rodada 10 — estúdio: close maior na cena, mantendo o espaço escuro à direita */
.estudio-faixa img {
  transform-origin: 0% 40%;
  transform: translateX(-7%) scale(calc(1.36 - var(--p) * 0.08)) translateY(calc((0.5 - var(--p)) * 20px));
}

@media (max-width: 860px) {
  .estudio-faixa img {
    transform-origin: 34% 45%;
    transform: scale(1.2);
  }
}

/* Rodada 11 — chamada final com o escritório industrial dessaturado */
.contato {
  background:
    radial-gradient(50% 70% at 78% 55%, rgba(40, 38, 36, 0.45) 0%, rgba(12, 12, 14, 0.3) 45%, rgba(2, 8, 18, 0) 75%),
    #020812;
}

.contato__foto img {
  object-position: 50% 60%;
}

/* Rodada 12 — cena editorial clara: fundo neutro e enquadramento no rosto e na mesa */
.contato {
  background:
    radial-gradient(50% 70% at 78% 50%, rgba(46, 40, 34, 0.5) 0%, rgba(14, 13, 14, 0.3) 45%, rgba(2, 8, 18, 0) 75%),
    #020812;
}

.contato__foto img {
  object-position: 50% 35%;
}
