/* ==========================================================================
   TENDA — landing
   Referencia visual: briefing/mockup (fundo quase preto, luz roxa,
   titulos finos com destaque roxo em negrito, rotulos espacados).
   ========================================================================== */

:root {
  --preto:        #050507;
  --roxo:         #8854E0;   /* medido no mockup */
  --roxo-claro:   #A47CF0;
  --texto:        #F4F3F7;
  --texto-suave:  #B8B4C4;
  --contorno:     rgba(255, 255, 255, .34);

  --fonte:  "Montserrat", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --margem: clamp(1.5rem, 6vw, 6rem);
  /* respiro lateral das secoes: centraliza uma coluna de 80rem na tela;
     em telas menores que isso, vale a margem normal */
  --respiro: max(var(--margem), calc((100% - 80rem) / 2));
  --curva:  cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* ancoras param abaixo da barra fixa do menu */
[id] { scroll-margin-top: 4.5rem; }

body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font-family: var(--fonte);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }

/* ---------- Botoes -------------------------------------------------------- */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;             /* <button> viria com o fundo claro do navegador */
  cursor: pointer;
  font: 500 .95rem/1.25 var(--fonte);
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  transition: background-color .25s, border-color .25s, color .25s;
}

.botao--principal { background: var(--roxo); border-color: var(--roxo); color: #fff; }
.botao--principal:hover { background: var(--roxo-claro); border-color: var(--roxo-claro); }

.botao--secundario { border-color: var(--contorno); color: var(--texto); }
.botao--secundario:hover { border-color: var(--roxo-claro); color: #fff; }

.botao:focus-visible { outline: 2px solid var(--roxo-claro); outline-offset: 3px; }

/* ---------- Regua roxa (elemento recorrente da marca) --------------------- */

.regua {
  display: block;
  width: clamp(8rem, 15vw, 12.5rem);
  height: 2px;
  background: var(--roxo);
  transform-origin: left center;
}

/* ==========================================================================
   Bloco 01 — Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: clamp(4.5rem, 10vh, 7rem) var(--margem) clamp(4rem, 9vh, 6rem);
  overflow: hidden;
}

.hero__fundo,
.hero__fundo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__fundo { z-index: -2; }
.hero__fundo img { object-fit: cover; object-position: 78% center; }

/* a imagem ja vem escura a esquerda; o degrade garante leitura em qualquer
   proporcao de tela e funde a base com o proximo bloco */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--preto) 0%, rgba(5,5,7,.9) 28%, rgba(5,5,7,.5) 50%, rgba(5,5,7,0) 70%),
    linear-gradient(0deg, var(--preto) 0%, rgba(5,5,7,0) 24%);
}

.hero__conteudo { width: min(100%, 40rem); }

.hero__logo { width: clamp(190px, 22vw, 330px); height: auto; }

.hero .regua { margin: clamp(1.6rem, 3.6vh, 2.4rem) 0; }

.hero__titulo {
  font-size: clamp(2.1rem, 4.1vw, 3.7rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.hero__titulo strong { font-weight: 700; color: var(--roxo); }

.servicos {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 0;
  margin-top: clamp(1.6rem, 3.4vh, 2.3rem);
  padding: 0;
  list-style: none;
}

.servicos__item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 0 1.3rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.servicos__item:first-child { padding-left: 0; }
.servicos__item + .servicos__item { border-left: 1px solid var(--roxo); }

/* icone como mascara: a cor vem do CSS, o PNG so fornece o desenho */
.servicos__icone {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--roxo);
  -webkit-mask: var(--icone) center / contain no-repeat;
          mask: var(--icone) center / contain no-repeat;
}

.hero__descricao {
  max-width: 34em;
  margin-top: clamp(1.4rem, 3vh, 2rem);
  color: var(--texto-suave);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: clamp(2rem, 4.2vh, 2.7rem);
}

.hero__micro {
  max-width: 32em;
  margin-top: 1.1rem;
  color: var(--texto-suave);
  font-size: .85rem;
}

/* Entrada: fundo se aproxima devagar, conteudo sobe em cascata, regua se desenha */
@media (prefers-reduced-motion: no-preference) {
  .hero__fundo img { animation: aproxima 2.8s var(--curva) both; }

  .hero__conteudo > * { animation: sobe .9s var(--curva) both; }
  .hero__conteudo > .regua { animation-name: desenha; animation-duration: 1.2s; }

  .hero__conteudo > :nth-child(1) { animation-delay: .15s; }
  .hero__conteudo > :nth-child(2) { animation-delay: .45s; }
  .hero__conteudo > :nth-child(3) { animation-delay: .55s; }
  .hero__conteudo > :nth-child(4) { animation-delay: .75s; }
  .hero__conteudo > :nth-child(5) { animation-delay: .9s;  }
  .hero__conteudo > :nth-child(6) { animation-delay: 1.05s; }
  .hero__conteudo > :nth-child(7) { animation-delay: 1.2s; }
}

@keyframes aproxima { from { transform: scale(1.06); } }
@keyframes sobe     { from { opacity: 0; transform: translateY(14px); } }
@keyframes desenha  { from { transform: scaleX(0); } }

/* Telas em pe (celular e tablet): stand no alto, conteudo assenta na base.
   Em tablet retrato o layout lado a lado joga o texto sobre o stand iluminado. */
@media (max-width: 760px), (orientation: portrait) and (max-width: 1024px) {
  .hero { align-items: flex-end; padding-top: 42vh; }

  .hero__fundo img { object-position: 72% top; height: 62%; }

  .hero::before {
    background: linear-gradient(0deg, var(--preto) 0%, var(--preto) 42%, rgba(5,5,7,.55) 62%, rgba(5,5,7,.1) 100%);
  }
}

/* Celular: hero centralizado sobre a foto inteira, escurecida e levemente
   desfocada (o texto ficava sobre a parte iluminada do stand). Logo maior.
   Sobrescreve o layout empilhado acima, que segue valendo em tablet retrato. */
@media (max-width: 760px) {
  .hero {
    align-items: center;
    justify-content: center;
    padding-top: clamp(4.5rem, 12vh, 7rem);
    text-align: center;
  }

  .hero__fundo img {
    height: 100%;
    object-position: 60% center;
    filter: blur(3px) brightness(.55);
    transform: scale(1.08);   /* esconde a borda clara que o blur cria */
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5,5,7,.55) 0%, rgba(5,5,7,.35) 45%, var(--preto) 100%),
      radial-gradient(70vw 40vh at 50% 42%, rgba(5,5,7,.55), transparent 70%);
  }

  .hero__conteudo { display: flex; flex-direction: column; align-items: center; }
  .hero__logo { width: min(64vw, 300px); }
  .hero__titulo { max-width: 12ch; }
  .hero__descricao, .hero__micro { margin-inline: auto; }

  .servicos { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; }
  .servicos__item {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 0 .9rem;
    font-size: .66rem;
    letter-spacing: .08em;
  }
  .servicos__item:first-child { padding-left: .9rem; }

  .hero__acoes { flex-direction: column; width: 100%; }
  .botao { width: 100%; }
}

/* ==========================================================================
   Estrutura comum das secoes
   ========================================================================== */

.secao {
  position: relative;
  padding: clamp(5rem, 13vh, 9rem) var(--respiro);
}

.titulo-secao {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.titulo-secao strong { font-weight: 700; color: var(--roxo); }

/* rotulo em caixa alta espacada, como no mockup */
.assinatura {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .24em;
  line-height: 2.1;
  text-transform: uppercase;
}

.assinatura strong { font-weight: 700; color: var(--roxo); }

/* Revelacao na rolagem (site.js marca .visivel) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-revela] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .9s var(--curva), transform .9s var(--curva);
    transition-delay: var(--atraso, 0s);
  }
  .js [data-revela="linha"] { opacity: 1; transform: scaleX(0); transition-duration: 1.2s; }
  .js [data-revela].visivel { opacity: 1; transform: none; }
}

/* ==========================================================================
   Bloco 02 — Posicionamento
   ========================================================================== */

.posicionamento { isolation: isolate; overflow: hidden; }

/* halo roxo discreto, ecoando a luz das imagens da marca.
   Centro abaixo do topo: o halo precisa chegar transparente na borda
   superior, senao forma uma faixa na emenda com o hero. */
.posicionamento::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(40vw 30vw at 90% 58%, rgba(136, 84, 224, .13), transparent 70%);
  pointer-events: none;
}

.posicionamento__grade {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: end;
  max-width: 80rem;
}

.posicionamento .regua { margin-bottom: clamp(1.8rem, 3.6vh, 2.4rem); }

.posicionamento__texto p {
  max-width: 34em;
  color: var(--texto-suave);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.posicionamento__texto p + p { margin-top: 1.2em; }

.posicionamento__fecho {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem 4rem;
  max-width: 80rem;
  margin-top: clamp(3.5rem, 9vh, 6.5rem);
  padding-top: clamp(2rem, 4.5vh, 3rem);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.posicionamento__frase {
  max-width: 27em;
  color: var(--texto-suave);
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  font-weight: 300;
  line-height: 1.4;
}

.posicionamento__frase strong { color: var(--texto); font-weight: 500; }

.posicionamento .assinatura { text-align: right; }

@media (max-width: 860px) {
  .posicionamento__grade { grid-template-columns: 1fr; gap: 2rem; }
  .posicionamento .assinatura { text-align: left; }
}

/* ==========================================================================
   Base complementar dos blocos 03-10
   ========================================================================== */

[hidden] { display: none !important; }

.texto-suave,
.texto-corrido p { color: var(--texto-suave); }
.texto-corrido p + p { margin-top: 1.1em; }

.micro {
  max-width: 32em;
  margin-top: 1rem;
  color: var(--texto-suave);
  font-size: .85rem;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: clamp(1.8rem, 4vh, 2.5rem);
}

/* marcador de informacao ainda nao enviada pela cliente: "[CNPJ]" */

.secao__topo { max-width: 54rem; }

.subtitulo {
  margin-top: 1.2rem;
  color: var(--texto-suave);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

/* rotulo de secao: traco roxo + nome em caixa alta espacada (mockup) */
.rotulo {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: clamp(1.3rem, 3vh, 1.9rem);
  color: var(--roxo-claro);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.rotulo::before,
.rotulo--centro::after {
  content: "";
  flex: none;
  width: 2.5rem;
  height: 2px;
  background: var(--roxo);
}

.rotulo--centro { justify-content: center; }

/* selo das imagens que sao projeto 3D, nao obra entregue */
.selo-3d {
  position: absolute;
  z-index: 2;
  top: .75rem;
  left: .75rem;
  padding: .35rem .6rem;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(5, 5, 7, .72);
  color: #fff;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.formula {
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
  font-weight: 300;
  line-height: 1.3;
}

.formula .mais { color: var(--roxo); font-weight: 400; }

.titulo-secao--grande { font-size: clamp(2.4rem, 5vw, 4.4rem); }

/* traco roxo no inicio da linha superior dos diferenciais */
.diferencial::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--roxo);
}

/* ==========================================================================
   Bloco 03 — Quem somos
   ========================================================================== */

/* texto a direita, luz a esquerda: alterna com o hero e o posicionamento */
.quem-somos {
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: min(100svh, 62rem);
  overflow: hidden;
}

.quem-somos__fundo,
.quem-somos__fundo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.quem-somos__fundo { z-index: -2; }
/* imagem espelhada: a parede com as palavras fica na borda esquerda e
   precisa sobreviver ao recorte do cover em telas mais estreitas */
.quem-somos__fundo img { object-fit: cover; object-position: 0% center; }

.quem-somos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(270deg, var(--preto) 0%, rgba(5,5,7,.9) 32%, rgba(5,5,7,.35) 62%, rgba(5,5,7,.05) 100%),
    linear-gradient(180deg, var(--preto) 0%, rgba(5,5,7,0) 16%, rgba(5,5,7,0) 84%, var(--preto) 100%);
}

.quem-somos__conteudo { width: min(100%, 38rem); }

.quem-somos .texto-corrido {
  margin-top: clamp(1.4rem, 3vh, 2rem);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.quem-somos__alem {
  margin-top: 2rem;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 500;
}

.quem-somos__alem + .texto-suave { margin-top: .6rem; }
.quem-somos .assinatura,
.quem-somos .botao { margin-top: 2rem; }

/* ==========================================================================
   Bloco 04 — O que fazemos
   ========================================================================== */

.servicos-grade {
  display: grid;
  grid-template-columns: repeat(var(--colunas, 3), minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.6rem);
  max-width: 80rem;
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding: 0;
  list-style: none;
}

.cartao {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .07);
  background: #0c0b11;
  transition: border-color .3s;
}

.cartao:hover { border-color: rgba(136, 84, 224, .45); }

.cartao__imagem { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }

.cartao__imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--curva);
}

.cartao:hover .cartao__imagem img { transform: scale(1.04); }

.cartao__corpo { padding: clamp(1.4rem, 2.2vw, 2rem); }

.cartao__titulo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cartao__corpo p { color: var(--texto-suave); font-size: .97rem; }
.cartao__corpo p + p { margin-top: .9em; }

.faixa-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.8rem 4rem;
  max-width: 80rem;
  margin-top: clamp(3rem, 7vh, 4.5rem);
  padding-top: clamp(2rem, 4vh, 2.8rem);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.faixa-cta .texto-suave { max-width: 36em; margin-top: .6rem; }
.faixa-cta__acao .micro { max-width: 22em; }

/* ==========================================================================
   Bloco 05 — Nossa essencia
   ========================================================================== */

.pilares {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 80rem;
  margin-top: clamp(2.8rem, 7vh, 4.5rem);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.pilar { padding: clamp(2rem, 4vh, 2.6rem) clamp(1.25rem, 2.6vw, 2.6rem) 0; }
.pilar:first-child { padding-left: 0; }
.pilar + .pilar { border-left: 1px solid rgba(255, 255, 255, .1); }

.pilar__nome {
  margin-bottom: 1.1rem;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 200;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pilar__nome::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: 1.2rem;
  background: var(--roxo);
}

.pilar p { color: var(--texto-suave); font-size: .98rem; }
.pilar p + p { margin-top: .9em; }

.proposito {
  max-width: 80rem;
  margin-top: clamp(4rem, 10vh, 6.5rem);
  padding: clamp(2.6rem, 6vh, 4.2rem) clamp(1.25rem, 5vw, 4rem);
  border: 1px solid rgba(136, 84, 224, .28);
  background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(136, 84, 224, .2), transparent 70%);
  text-align: center;
}

.proposito__texto {
  max-width: 26em;
  margin: 0 auto;
  font-size: clamp(1.45rem, 2.9vw, 2.5rem);
  font-weight: 300;
  line-height: 1.25;
  text-wrap: balance;
}

.proposito__texto strong { color: var(--roxo); font-weight: 700; }

/* ==========================================================================
   Bloco 06 — A experiencia TENDA
   ========================================================================== */

/* foto de bastidores numa coluna, etapas em duas colunas ao lado */
.processo__corpo {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr);
  gap: clamp(1rem, 1.6vw, 1.4rem);
  max-width: 80rem;
  margin-top: clamp(2.8rem, 7vh, 4.5rem);
}

/* imagem absoluta: acompanha a altura das etapas em vez de impor a propria */
.processo__foto {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #0a090f;
}

.processo__foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.etapas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 1.6vw, 1.4rem);
  margin: 0;               /* <ol> traz margem padrao: desalinhava da foto */
  padding: 0;
  list-style: none;
}

.etapa {
  position: relative;
  padding: clamp(1.4rem, 2.2vw, 1.8rem);
  border: 1px solid rgba(255, 255, 255, .08);
  background: #0a090f;
  transition: background-color .4s;
}

.etapa:hover { background: #0e0c15; }

/* Traco roxo do canto que, no hover, percorre o contorno inteiro do card
   em 0,6s: ::before desenha topo e lateral direita; ::after, base e lateral
   esquerda (0,15s por lado). Ao sair, recolhe de volta ao traco inicial. */
.etapa::before,
.etapa::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  border: 2px solid transparent;
  pointer-events: none;
}

.etapa::before {
  top: -1px;
  left: -1px;
  width: 2.5rem;
  height: 0;
  border-top-color: var(--roxo);
}

.etapa::after {
  right: -1px;
  bottom: -1px;
  width: 0;
  height: 0;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* saida: lateral esquerda, base, lateral direita, topo (0,4s) */
  .etapa::before { transition: height .1s linear .2s, border-right-color 0s linear .3s, width .1s linear .3s; }
  .etapa::after  { transition: height .1s linear, width .1s linear .1s, border-color 0s linear .2s; }

  .etapa:hover::before {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-right-color: var(--roxo);
    transition: width .15s linear, border-right-color 0s linear .15s, height .15s linear .15s;
  }

  .etapa:hover::after {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-bottom-color: var(--roxo);
    border-left-color: var(--roxo);
    transition: border-color 0s linear .3s, width .15s linear .3s, height .15s linear .45s;
  }
}

@media (hover: hover) and (prefers-reduced-motion: reduce) {
  .etapa:hover { border-color: var(--roxo); }
}

.etapa__numero {
  display: block;
  color: var(--roxo);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 200;
  line-height: 1;
}

.etapa__nome {
  margin-top: .9rem;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.etapa p {
  max-width: 24em;
  margin-top: .55rem;
  color: var(--texto-suave);
  font-size: .97rem;
}

.processo__apoio {
  max-width: 80rem;
  margin-top: clamp(3.5rem, 8vh, 5.5rem);
  font-size: clamp(1.45rem, 2.9vw, 2.4rem);
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
}

.processo__apoio strong { color: var(--roxo); font-weight: 700; }

/* ==========================================================================
   Bloco 07 — Por que TENDA?
   ========================================================================== */

.por-que { isolation: isolate; overflow: hidden; }

/* o simbolo da marca, enorme e quase apagado: a tenda que "se ergue" */
.por-que__simbolo {
  position: absolute;
  z-index: -1;
  right: -4vw;
  bottom: 6%;
  width: min(62vw, 820px);
  height: auto;
  opacity: .05;
  pointer-events: none;
}

.por-que__grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 7rem);
  max-width: 80rem;
  margin-top: clamp(2.5rem, 6vh, 4rem);
}

.por-que__lead { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 500; }
.por-que__conceito > .texto-suave { max-width: 34em; margin-top: .9rem; }

.momentos {
  margin: clamp(1.6rem, 3.5vh, 2.2rem) 0;
  padding: 0;
  list-style: none;
}

.momentos li {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 200;
  line-height: 1.32;
}

/* cada momento um pouco mais aceso, ate a oportunidade em roxo */
.momentos li:nth-child(1) { color: rgba(244, 243, 247, .42); }
.momentos li:nth-child(2) { color: rgba(244, 243, 247, .58); }
.momentos li:nth-child(3) { color: rgba(244, 243, 247, .74); }
.momentos li:nth-child(4) { color: rgba(244, 243, 247, .9); }
.momentos li:last-child   { color: var(--roxo); font-weight: 500; }

.principio {
  padding-left: clamp(1.25rem, 2.6vw, 2.2rem);
  border-left: 2px solid var(--roxo);
}

.principio__intro { color: var(--texto-suave); }

.principio__frase {
  margin: .8rem 0 1.8rem;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  font-weight: 300;
  line-height: 1.22;
  text-wrap: balance;
}

.principio__lista p { color: var(--texto-suave); font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.principio__lista p + p { margin-top: .45rem; }
.principio__lista strong { color: var(--texto); font-weight: 500; }
.principio .assinatura { margin-top: 2rem; }

/* ==========================================================================
   Bloco 08 — Nossos diferenciais
   ========================================================================== */

.diferenciais__lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: clamp(1.75rem, 3vh, 2.25rem) clamp(1.25rem, 2vw, 2rem);
  max-width: 80rem;
  margin-top: clamp(2.8rem, 7vh, 4.5rem);
  padding: 0;
  list-style: none;
}

.diferencial {
  position: relative;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.diferencial h3 { margin-bottom: .7rem; font-size: 1.12rem; font-weight: 500; }
.diferencial p { color: var(--texto-suave); font-size: .95rem; }
.diferencial p + p { margin-top: .7em; }

.diferenciais .formula { max-width: 80rem; margin-top: clamp(3rem, 7vh, 4.5rem); }

.diferenciais__fecho {
  max-width: 24em;
  margin-top: clamp(2.2rem, 5vh, 3.2rem);
  color: var(--texto-suave);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.22;
  text-wrap: balance;
}

.diferenciais__fecho strong { color: var(--texto); font-weight: 500; }

/* ==========================================================================
   Bloco 09 — Portfolio
   ========================================================================== */

.portfolio__topo {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 7rem);
  max-width: 80rem;
}

.portfolio__intro p + p { margin-top: .8em; }

.portfolio__pergunta {
  padding-left: 1.2rem;
  border-left: 2px solid var(--roxo);
  color: var(--texto);
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 300;
  line-height: 1.3;
}

.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: clamp(2.5rem, 6vh, 3.5rem) 0 1.6rem;
}

.filtro {
  padding: .7rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 2px;
  background: transparent;
  color: var(--texto-suave);
  font: 500 .74rem/1 var(--fonte);
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}

.filtro:hover { border-color: var(--roxo-claro); color: #fff; }
.filtro[aria-pressed="true"] { border-color: var(--roxo); background: var(--roxo); color: #fff; }

.filtro:focus-visible,
.projeto:focus-visible { outline: 2px solid var(--roxo-claro); outline-offset: 3px; }

.projetos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.4vw, 1.2rem);
  max-width: 80rem;
  padding: 0;
  list-style: none;
}

.projeto {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0c0b11;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.projeto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--curva);
}

.projeto:hover img { transform: scale(1.05); }

.projeto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,5,7,.94) 0%, rgba(5,5,7,.55) 34%, rgba(5,5,7,0) 62%);
}

.projeto__info {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1.1rem 1.25rem 1.2rem;
}

.projeto__marca { color: #fff; font-size: 1.18rem; font-weight: 500; }
.projeto__evento { color: var(--texto-suave); font-size: .84rem; }

.projeto__categoria {
  margin-top: .45rem;
  color: var(--roxo-claro);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.portfolio__cta { margin-top: clamp(2rem, 5vh, 3rem); }

/* galeria (lightbox) */
.galeria {
  width: min(94vw, 1180px);
  max-width: none;
  max-height: none;
  padding: 3.2rem 0 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--texto);
}

.galeria::backdrop { background: rgba(3, 3, 5, .94); }

.galeria__palco {
  position: relative;
  display: grid;
  place-items: center;
  background: #000;
}

.galeria__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 10rem);
  object-fit: contain;
}

.galeria__nav {
  position: absolute;
  top: 50%;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(5, 5, 7, .6);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s;
}

.galeria__nav:hover { background: var(--roxo); }
.galeria__nav--anterior { left: .75rem; }
.galeria__nav--proximo { right: .75rem; }

.galeria__fechar {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.galeria__legenda {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .9rem;
  color: var(--texto-suave);
  font-size: .88rem;
}

.galeria__titulo { color: #fff; font-weight: 500; }

/* ==========================================================================
   Bloco 10 — CTA final
   ========================================================================== */

.chamada {
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 16vh, 10rem);
}

.chamada__fundo,
.chamada__fundo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chamada__fundo { z-index: -2; }
.chamada__fundo img { object-fit: cover; object-position: 60% center; }

.chamada::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vw 50vw at 12% 50%, rgba(80, 40, 144, .35), transparent 70%),
    linear-gradient(90deg, rgba(5,5,7,.96) 0%, rgba(5,5,7,.86) 42%, rgba(5,5,7,.5) 100%),
    linear-gradient(180deg, var(--preto) 0%, rgba(5,5,7,0) 18%, rgba(5,5,7,0) 82%, var(--preto) 100%);
}

.chamada__conteudo { width: min(100%, 44rem); }

.chamada__lista {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.6rem;
  margin: clamp(1.4rem, 3vh, 2rem) 0;
  padding: 0;
  list-style: none;
}

.chamada__lista li {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 300;
}

/* cada item carrega o proprio marcador: ao quebrar a linha, nenhum sobra solto */
.chamada__lista li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--roxo); }

.chamada__estrutura { font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 500; }
.chamada__estrutura + .texto-suave { max-width: 36em; margin-top: .8rem; }

.chamada__pergunta {
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 400;
}

/* ==========================================================================
   Formulario de contato
   ========================================================================== */

.contato__grade {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 7rem);
  max-width: 80rem;
}

.contato .regua { margin-bottom: clamp(1.8rem, 3.6vh, 2.4rem); }

.formulario {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.4rem;
}

.campo { display: flex; flex-direction: column; gap: .5rem; }
.campo--inteiro { grid-column: 1 / -1; }

.campo label {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.obrigatorio { color: var(--roxo-claro); }

.campo input,
.campo textarea {
  width: 100%;
  padding: .75rem .15rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  border-radius: 0;
  background: transparent;
  color: var(--texto);
  font: 300 1rem/1.4 var(--fonte);
  color-scheme: dark;
  transition: border-color .25s, background-color .25s;
}

.campo textarea { min-height: 7.5rem; resize: vertical; }

.campo input::placeholder,
.campo textarea::placeholder { color: #75707f; }

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-bottom-color: var(--roxo);
  background: rgba(136, 84, 224, .06);
}

.formulario .botao {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: .6rem;
  cursor: pointer;
}

.formulario__sucesso {
  padding: clamp(2rem, 5vh, 3rem);
  border: 1px solid rgba(136, 84, 224, .35);
  background: radial-gradient(ellipse 80% 100% at 0% 0%, rgba(136, 84, 224, .16), transparent 70%);
}

.formulario__sucesso-titulo {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 300;
}

.formulario__sucesso p + p { color: var(--texto-suave); }

/* ==========================================================================
   Rodape
   ========================================================================== */

.rodape {
  padding: clamp(4rem, 9vh, 6rem) var(--respiro) 2rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #030305;
}

.rodape__grade {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 2.5rem 4rem;
  max-width: 80rem;
}

.rodape__logo { width: clamp(150px, 14vw, 190px); height: auto; }
.rodape__tagline { margin-top: 1.3rem; color: var(--texto-suave); }

.rodape__servicos {
  margin-top: .5rem;
  color: var(--roxo-claro);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.rodape__contatos {
  display: grid;
  gap: .55rem;
  padding: 0;
  list-style: none;
  color: var(--texto-suave);
  font-size: .95rem;
}

.rodape__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 2rem;
  max-width: 80rem;
  margin-top: clamp(3rem, 7vh, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: var(--texto-suave);   /* era #7d7889 em .78rem: a cliente nao conseguia ler */
  font-size: .88rem;
  font-weight: 400;
}

.rodape__contatos li { display: flex; align-items: center; gap: .65rem; }
.rodape__icone { flex: none; width: 1.15rem; height: 1.15rem; color: var(--roxo-claro); }

.rodape__contatos a { color: var(--texto); text-decoration: none; transition: color .25s; }
.rodape__contatos a:hover { color: var(--roxo-claro); }

.rodape__legal a { color: var(--texto); text-underline-offset: 3px; }
.rodape__legal a:hover { color: var(--texto); }

/* link do rodape que reabre as preferencias de cookies (e um botao, parece link) */
.rodape__cookies {
  padding: 0;
  border: 0;
  background: none;
  color: var(--texto);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rodape__cookies:focus-visible { outline: 2px solid var(--roxo-claro); outline-offset: 3px; }

/* ==========================================================================
   Cookies (LGPD): banner no rodape da tela
   ========================================================================== */

.cookies[hidden] { display: none; }
.cookies {
  position: fixed;
  z-index: 60;                         /* acima do WhatsApp (50) */
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 clamp(.75rem, 2.5vw, 1.75rem) clamp(.75rem, 2.5vw, 1.75rem);
  pointer-events: none;                /* so a caixa recebe clique */
}
.cookies__caixa {
  pointer-events: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .9rem 2rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: rgba(14, 12, 20, .96);
  border: 1px solid rgba(164, 124, 240, .28);
  border-radius: 6px;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px);
}
.cookies__titulo {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--roxo-claro);
}
.cookies__texto { margin: 0; color: var(--texto-suave); font-size: .92rem; line-height: 1.55; }
.cookies__texto a { color: var(--texto); text-underline-offset: 3px; }
.cookies__opcoes { grid-column: 1 / -1; display: grid; gap: .6rem; }
.cookies__opcoes[hidden] { display: none; }
.cookies__opcao {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 4px;
  color: var(--texto-suave);
  font-size: .88rem;
  line-height: 1.45;
  cursor: pointer;
}
.cookies__opcao strong { display: block; color: var(--texto); font-weight: 500; }
.cookies__opcao input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--roxo); }
.cookies__opcao:has(input:disabled) { cursor: default; opacity: .75; }
.cookies__acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .6rem; }
.cookies__acoes .botao { padding: .7rem 1.3rem; font-size: .85rem; }
.cookies__link {
  margin-right: .4rem;
  padding: .4rem 0;
  border: 0;
  background: none;
  color: var(--texto-suave);
  font: inherit;
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookies__link:hover { color: var(--texto); }
.cookies__link:focus-visible { outline: 2px solid var(--roxo-claro); outline-offset: 3px; }
.cookies__opcoes:not([hidden]) ~ .cookies__acoes { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .cookies__caixa { grid-template-columns: 1fr; padding: 1.1rem 1.1rem 1.2rem; }
  .cookies__acoes { justify-content: stretch; }
  .cookies__acoes .botao { flex: 1 1 8rem; }
  .cookies__link { flex-basis: 100%; margin: 0; text-align: left; }
}

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */

.zap {
  position: fixed;
  z-index: 50;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: calc(clamp(1rem, 2.5vw, 1.75rem) + var(--cookies-altura, 0px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .8rem;
}

.zap__botao {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  cursor: pointer;
  transition: transform .25s;
}

.zap__botao:hover { transform: scale(1.06); }
.zap__botao:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.zap__botao svg { width: 1.75rem; height: 1.75rem; }

.zap__fundo {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(5, 5, 7, .72);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.zap__fechar {
  position: absolute;
  top: .35rem;
  right: .5rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: none;
  color: var(--texto-suave);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s;
}

.zap__fechar:hover { color: #fff; }

.zap__painel {
  position: relative;
  width: min(20rem, calc(100vw - 2rem));
  padding: 1.25rem 2.4rem 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .75rem;
  background: #121019;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  font-size: .92rem;
}

.zap__saudacao { margin-bottom: .5rem; padding-right: .4rem; color: #fff; font-size: 1rem; font-weight: 500; }
.zap__saudacao ~ p { color: var(--texto-suave); }

.zap__acao {
  width: 100%;
  margin-top: 1rem;
  border-color: #25d366;
  background: #25d366;
  color: #05301a;
}

.zap__acao:hover { border-color: #3ee07b; background: #3ee07b; }

/* ==========================================================================
   Responsivo dos blocos 03-10
   ========================================================================== */

@media (max-width: 1024px) {
  .etapas,
  .projetos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* tablet: a foto de bastidores sobe para o topo, na horizontal */
  .processo__corpo { grid-template-columns: 1fr; }
  .processo__foto { aspect-ratio: 16 / 9; }
  .rodape__grade { grid-template-columns: 1fr 1fr; }
  /* coluna estreita: tracking menor evita o "•" pendurado na quebra */
  .rodape__servicos { letter-spacing: .14em; }
}

/* tablet: cartoes de servico na horizontal, imagem ao lado do texto */
@media (max-width: 1024px) and (min-width: 641px) {
  .servicos-grade { grid-template-columns: 1fr; }
  .cartao { flex-direction: row; }
  .cartao__imagem { flex: 0 0 42%; aspect-ratio: auto; }
}

@media (max-width: 860px) {
  .portfolio__topo,
  .por-que__grade,
  .contato__grade,
  .faixa-cta { grid-template-columns: 1fr; }

  .pilares { grid-template-columns: 1fr; border-top: 0; }
  .pilar,
  .pilar:first-child { padding: 0; }
  .pilar + .pilar { margin-top: 2.4rem; border-left: 0; }

  .quem-somos::before {
    background:
      linear-gradient(90deg, rgba(5,5,7,.94) 0%, rgba(5,5,7,.78) 100%),
      linear-gradient(180deg, var(--preto) 0%, rgba(5,5,7,0) 16%, rgba(5,5,7,0) 84%, var(--preto) 100%);
  }

  .chamada::before {
    background:
      linear-gradient(90deg, rgba(5,5,7,.94) 0%, rgba(5,5,7,.84) 100%),
      linear-gradient(180deg, var(--preto) 0%, rgba(5,5,7,0) 18%, rgba(5,5,7,0) 82%, var(--preto) 100%);
  }
}

@media (max-width: 640px) {
  .servicos-grade,
  .etapas,
  .projetos,
  .formulario,
  .rodape__grade { grid-template-columns: 1fr; }

  .processo__foto { aspect-ratio: 4 / 3; }

  /* tracking menor: com .24em as quebras deixavam palavras e "•" soltos */
  .assinatura { letter-spacing: .16em; }
  .rodape__servicos { letter-spacing: .14em; }

  .acoes { flex-direction: column; }
  .galeria__nav { width: 2.5rem; height: 2.5rem; }
}

/* ==========================================================================
   Fundo fotografico discreto (duotone) atras de secoes so de texto
   ========================================================================== */

.secao__fundo {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.secao__fundo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
}

.secao__fundo::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Por que TENDA?: a foto aparece a direita, atras do principio;
   a lista de momentos, a esquerda, segue sobre o preto */
.por-que .secao__fundo img { object-position: 65% center; opacity: .6; }

.por-que .secao__fundo::after {
  background:
    linear-gradient(90deg, var(--preto) 0%, rgba(5,5,7,.88) 38%, rgba(5,5,7,.3) 100%),
    linear-gradient(180deg, var(--preto) 0%, rgba(5,5,7,0) 22%, rgba(5,5,7,0) 78%, var(--preto) 100%);
}

/* Diferenciais: a arquitetura emerge em direcao a frase de fechamento */
.diferenciais { isolation: isolate; overflow: hidden; }

.diferenciais .secao__fundo img { object-position: center 60%; }

.diferenciais .secao__fundo::after {
  background:
    linear-gradient(180deg, var(--preto) 0%, rgba(5,5,7,.9) 32%, rgba(5,5,7,.5) 72%, var(--preto) 100%),
    linear-gradient(90deg, rgba(5,5,7,.55) 0%, rgba(5,5,7,0) 60%);
}

@media (max-width: 860px) {
  .por-que .secao__fundo::after {
    background:
      linear-gradient(0deg, rgba(5,5,7,.86), rgba(5,5,7,.86)),
      linear-gradient(180deg, var(--preto) 0%, rgba(5,5,7,0) 18%, rgba(5,5,7,0) 82%, var(--preto) 100%);
  }
}

/* ==========================================================================
   Formulario: mascaras e validacao
   ========================================================================== */

.campo__controle { position: relative; }
.campo__controle--sufixo input { padding-right: 2.6rem; }

/* "m2" so aparece depois que ha um valor */
.campo__sufixo {
  position: absolute;
  top: 50%;
  right: .15rem;
  transform: translateY(-50%);
  color: var(--texto-suave);
  font-size: .95rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.campo__controle input:not(:placeholder-shown) + .campo__sufixo { opacity: 1; }

.campo__erro { color: #ff8d96; font-size: .78rem; line-height: 1.3; }
.campo__erro:empty { display: none; }

.campo--erro input,
.campo--erro textarea,
.campo--erro input:focus,
.campo--erro textarea:focus { border-bottom-color: #ff6b78; }

.campo--erro input:focus,
.campo--erro textarea:focus { background: rgba(255, 107, 120, .06); }

/* ==========================================================================
   Icones das etapas e dos diferenciais (inspirados na apresentacao)
   ========================================================================== */

.etapa__icone {
  position: absolute;
  top: clamp(1.4rem, 2.2vw, 1.8rem);
  right: clamp(1.4rem, 2.2vw, 1.8rem);
  width: 2rem;
  height: 2rem;
  color: var(--roxo);
  transition: transform .4s var(--curva);
}

.etapa:hover .etapa__icone { transform: translateY(-3px); }

.diferencial__icone {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(136, 84, 224, .45);
  border-radius: 50%;
  color: var(--roxo);
}

.diferencial__icone svg { width: 1.4rem; height: 1.4rem; }

/* ==========================================================================
   Secoes claras: alternam com as escuras, como na apresentacao da TENDA.
   Os componentes usam as variaveis de cor; aqui elas sao redefinidas.
   ========================================================================== */

.secao--clara {
  --texto:       #16131f;
  --texto-suave: #564f6b;
  --roxo-claro:  #6a3cc9;               /* rotulos: roxo mais escuro p/ contraste no claro */
  --contorno:    rgba(22, 19, 31, .28);
  background: #f5f3fa;
  color: var(--texto);
}


.secao--clara .cartao {
  border-color: rgba(22, 19, 31, .07);
  background: #fff;
  box-shadow: 0 18px 40px -26px rgba(60, 30, 110, .35);
}

.secao--clara .cartao:hover { border-color: rgba(136, 84, 224, .5); }

.secao--clara .faixa-cta,
.secao--clara .diferencial { border-top-color: rgba(22, 19, 31, .12); }

.secao--clara .etapa {
  border-color: rgba(22, 19, 31, .08);
  background: #fff;
}

.secao--clara .etapa:hover { background: #fbfaff; }

.secao--clara .processo__foto {
  border-color: rgba(22, 19, 31, .08);
  background: #e9e5f3;
}

/* diferenciais: foto lavada em lavanda, mais presente a direita (slide "O que nos move") */
.diferenciais.secao--clara .secao__fundo img { opacity: .7; }

.diferenciais.secao--clara .secao__fundo::after {
  background:
    linear-gradient(90deg, #f5f3fa 0%, rgba(245, 243, 250, .9) 45%, rgba(245, 243, 250, .55) 100%),
    linear-gradient(180deg, #f5f3fa 0%, rgba(245, 243, 250, 0) 25%, rgba(245, 243, 250, 0) 80%, #f5f3fa 100%);
}

/* ==========================================================================
   Micro-interacoes de hover (leves)
   Movimento so com mouse e sem preferencia por movimento reduzido.
   Elevacao usa a propriedade `translate`, independente do `transform`
   da revelacao na rolagem, para os dois nao brigarem.
   ========================================================================== */

@property --brilho {
  syntax: '<number>';
  inherits: false;
  initial-value: 0;
}

.botao { position: relative; isolation: isolate; overflow: hidden; }

/* sinal de "abrir galeria" no card do portfolio (so aparece no hover) */
.projeto__abrir {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(5, 5, 7, .45);
  opacity: 0;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.projeto__abrir::before,
.projeto__abrir::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1.5px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.projeto__abrir::after { transform: translate(-50%, -50%) rotate(90deg); }

/* links do rodape: sublinhado que cresce da esquerda */
.rodape__contatos a {
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color .25s, background-size .35s var(--curva);
}

.rodape__contatos a:hover { background-size: 100% 1px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {

  /* Botoes: sobem um pouco. O principal ganha brilho e um reflexo de luz
     que o atravessa; o secundario se preenche de roxo da esquerda. */
  .botao,
  .js .botao[data-revela] {
    transition:
      opacity .9s var(--curva) var(--atraso, 0s),
      transform .9s var(--curva) var(--atraso, 0s),
      translate .35s var(--curva),
      background-color .25s, border-color .25s, color .25s,
      box-shadow .35s var(--curva);
  }

  .botao:hover { translate: 0 -2px; }
  .botao--principal:hover { box-shadow: 0 12px 28px -12px rgba(136, 84, 224, .85); }

  .botao--principal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
    transform: translateX(-120%);
    pointer-events: none;
  }

  .botao--principal:hover::after { transform: translateX(120%); transition: transform .75s var(--curva); }

  .botao--secundario::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--roxo);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .45s var(--curva);
  }

  .botao--secundario:hover { border-color: var(--roxo); color: #fff; }
  .botao--secundario:hover::before { transform: scaleX(1); }

  /* Brilho roxo que segue o cursor dentro dos cards (posicao via site.js).
     Inclui os :hover porque .etapa:hover usa o atalho `background`, que
     zeraria o background-image. */
  .cartao,
  .etapa,
  .etapa:hover,
  .secao--clara .cartao,
  .secao--clara .etapa,
  .secao--clara .etapa:hover {
    background-image: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
                      rgb(136 84 224 / calc(var(--brilho) * .16)), transparent 70%);
  }

  .cartao:hover,
  .etapa:hover { --brilho: 1; }

  .etapa,
  .js .etapa[data-revela] {
    transition:
      opacity .9s var(--curva) var(--atraso, 0s),
      transform .9s var(--curva) var(--atraso, 0s),
      background-color .4s, --brilho .4s;
  }

  /* Cartoes de servico: sobem, ganham sombra e uma linha roxa no topo */
  .cartao,
  .js .cartao[data-revela] {
    position: relative;
    transition:
      opacity .9s var(--curva) var(--atraso, 0s),
      transform .9s var(--curva) var(--atraso, 0s),
      translate .5s var(--curva),
      border-color .3s, box-shadow .5s var(--curva), --brilho .4s;
  }

  .cartao:hover { translate: 0 -6px; box-shadow: 0 26px 50px -30px rgba(60, 30, 110, .7); }

  .cartao::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--roxo);
    transition: width .55s var(--curva);
  }

  .cartao:hover::before { width: 100%; }
  .cartao .servicos__icone { transition: transform .5s var(--curva); }
  .cartao:hover .servicos__icone { transform: rotate(-10deg) scale(1.12); }

  /* Essencia: so o traco do pilar cresce; o nome fica parado */
  .pilar__nome::before { transition: width .5s var(--curva); }
  .pilar:hover .pilar__nome::before { width: 4.5rem; }

  /* Diferenciais: o traco percorre a linha e o circulo se preenche */
  .diferencial::before { transition: width .6s var(--curva); }
  .diferencial:hover::before { width: 100%; }
  .diferencial__icone { transition: background-color .35s, border-color .35s, color .35s; }
  .diferencial__icone svg { transition: transform .5s var(--curva); }
  .diferencial:hover .diferencial__icone { border-color: var(--roxo); background: var(--roxo); color: #fff; }
  .diferencial:hover .diferencial__icone svg { transform: rotate(-12deg) scale(1.1); }

  /* Por que TENDA?: um traco roxo empurra o momento e ele acende */
  .momentos li,
  .js .momentos li[data-revela] {
    transition:
      opacity .9s var(--curva) var(--atraso, 0s),
      transform .9s var(--curva) var(--atraso, 0s),
      color .3s;
  }

  .momentos li::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 2px;
    margin-right: 0;
    vertical-align: middle;
    background: var(--roxo);
    transition: width .4s var(--curva), margin-right .4s var(--curva);
  }

  .momentos li:hover { color: var(--texto); }
  .momentos li:last-child:hover { color: var(--roxo); }
  .momentos li:hover::before { width: 1.4rem; margin-right: .8rem; }

  /* Portfolio: a informacao sobe, linha roxa na base e o sinal de abrir */
  .projeto__info { transition: transform .5s var(--curva); }
  .projeto:is(:hover, :focus-visible) .projeto__info { transform: translateY(-6px); }

  .projeto::before {
    content: "";
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--roxo);
    transition: width .55s var(--curva);
  }

  .projeto:is(:hover, :focus-visible)::before { width: 100%; }

  .projeto__abrir { transform: scale(.7) rotate(-90deg); transition: opacity .35s, transform .5s var(--curva); }
  .projeto:is(:hover, :focus-visible) .projeto__abrir { opacity: 1; transform: none; }

  /* Bastidores: aproximacao lenta da foto */
  .processo__foto img { transition: transform 1.4s var(--curva); }
  .processo__foto:hover img { transform: scale(1.05); }
}

/* ==========================================================================
   Menu superior
   Transparente no topo (so os links); ao rolar ganha fundo escuro, fica
   fixo e a logo aparece — no topo a logo do hero ja cumpre esse papel.
   ========================================================================== */

.menu {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}

.menu--fixo {
  background: rgba(5, 5, 7, .82);
  border-bottom-color: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.menu__barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 4.25rem;
  padding: 0 var(--margem);   /* sem largura maxima: links encostam na margem direita */
}

.menu__logo {
  display: block;
  width: 108px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .4s var(--curva), transform .4s var(--curva);
  pointer-events: none;
}

.menu__logo img { width: 100%; height: auto; }
.menu--fixo .menu__logo { opacity: 1; transform: none; pointer-events: auto; }

.menu__nav { display: flex; align-items: center; gap: 2rem; }
.menu__lista { display: flex; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }

.menu__link {
  position: relative;
  padding: .4rem 0;
  color: var(--texto-suave);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s;
}

/* sublinhado roxo que cresce; fica cheio na secao atual */
.menu__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--roxo);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--curva);
}

.menu__link:hover { color: #fff; }
.menu__link--ativo { color: var(--roxo-claro); }
.menu__link:hover::after,
.menu__link--ativo::after { transform: scaleX(1); }

.menu__cta { min-height: 2.6rem; padding: .55rem 1.2rem; font-size: .82rem; }

/* botao hamburguer (so no celular) */
.menu__botao {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu__botao span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  transition: transform .3s var(--curva), opacity .3s;
}

.menu__botao[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu__botao[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu__botao[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu__botao { display: flex; }

  /* O painel fica DENTRO do .menu (absolute), e e o .menu que cresce ate o
     rodape quando aberto. Um painel "fixed" aqui dentro nao funciona: o
     backdrop-filter da barra escura vira o referencial do fixed. */
  .menu__nav {
    position: absolute;
    top: 4.25rem;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: 1rem var(--margem) 3rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }

  .menu--aberto {
    bottom: 0;
    background: rgba(5, 5, 7, .98);
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    overflow-y: auto;
  }

  .menu--aberto .menu__nav { opacity: 1; visibility: visible; }
  /* com o menu aberto, o botao do WhatsApp (z-index maior) sai da frente */
  .menu--aberto ~ .zap { visibility: hidden; }

  .menu__lista { flex-direction: column; align-items: center; gap: 1.6rem; }
  .menu__link { font-size: 1rem; letter-spacing: .2em; }
  .menu__cta { width: min(100%, 22rem); }
}

@media (prefers-reduced-motion: reduce) {
  .menu, .menu__logo, .menu__link::after, .menu__nav, .menu__botao span { transition: none; }
}

/* ==========================================================================
   Aviso LGPD no formulario e pagina da Politica de Privacidade
   ========================================================================== */

.formulario__aviso {
  grid-column: 1 / -1;
  max-width: 34em;
  color: var(--texto-suave);
  font-size: .8rem;
}

.formulario__aviso a { color: var(--roxo-claro); text-underline-offset: 3px; }

.legal__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem var(--margem);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.legal__topo img { width: 120px; height: auto; }

.legal { max-width: 46rem; }
.legal h1 { margin-bottom: clamp(2rem, 5vh, 3rem); }
.legal h2 { margin: clamp(2rem, 5vh, 2.8rem) 0 .9rem; font-size: 1.25rem; font-weight: 500; }
/* texto corrido em branco e peso 400: no cinza claro/300 a cliente achou dificil de ler */
.legal p, .legal li { color: var(--texto); font-size: 1.02rem; font-weight: 400; }
.legal p + p { margin-top: .9em; }
.legal ul { margin: .8em 0; padding-left: 1.3em; }
.legal li + li { margin-top: .35em; }
.legal strong { color: var(--texto); font-weight: 500; }
.legal a { color: var(--roxo-claro); text-underline-offset: 3px; }

.legal__assinatura {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .9rem;
}

/* campo armadilha do formulario: invisivel para pessoas, preenchido por robos */
.campo--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formulario__erro { grid-column: 1 / -1; color: #ff8d96; font-size: .85rem; }
.formulario__erro:empty { display: none; }
