/* ==========================================================================
   THE CASTRO — Seções
   Padding em vw e larguras % continuam fiéis ao _elementor_data (ver
   ESPECIFICACAO-PAGINA-ATUAL.md). Todo espaçamento INTERNO (título↔subtítulo,
   subtítulo↔conteúdo, dentro de card, entre cards) segue a escala única
   definida em styles.css (--space-1 a --space-7). Regra fixa aplicada em
   toda seção nova ou refeita:

     eyebrow  → título        : --space-2  (já em styles.css, .tc-eyebrow)
     título   → subtítulo/lead: --space-2h (20px)
     subtítulo → conteúdo     : --space-6
     título de card → descrição do card : --space-2
     gap entre cards pequenos (icon-box) : --space-3
     gap entre cards grandes (imagem)    : --space-5
     gap de coluna em layout 2 colunas   : --space-6
   ========================================================================== */

/* 1. HERO ================================================================== */
.hero {
  padding: 10vw 5vw;
}
.hero .tc-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.hero-col-esq { width: 48%; }
.hero-logo { width: 180px; margin-bottom: var(--space-2); }
.hero h1 { margin-bottom: var(--space-2); }
.hero-sub {
  font-family: var(--tc-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4em;
  margin-bottom: var(--space-3);
}
.botao-wrap { margin-bottom: 0; }
.hero-prova {
  margin-top: var(--space-2);
  font-family: var(--tc-sans);
  font-size: 15px;
  font-weight: 400;
}
.hero-media {
  width: 55%;
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 11px 12px 44px 0 rgba(0, 0, 0, 0.3);
  aspect-ratio: 16 / 9; /* dimensão nativa do hero-processo.webm (1280x720) */
}
.hero-media video,
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1366px) {
  .hero-media { width: 55%; }
}
@media (max-width: 1024px) {
  .hero .tc-container { flex-direction: column; align-items: flex-start; }
  .hero-col-esq { width: 79%; }
  .hero-media { width: 78%; border-radius: 20px; }
  .hero-logo { width: 160px; }
}
@media (max-width: 767px) {
  .hero { padding: 15vw 5vw; }
  .hero .tc-container { gap: var(--space-3); align-items: flex-start; }
  .hero-logo { width: 120px; margin-bottom: var(--space-1); }
  .hero h1 { margin-bottom: var(--space-2); }
  .hero-col-esq { width: 100%; }
  .hero-media { width: 100%; border-radius: 15px; }
}

/* 2. MANIFESTO ============================================================= */
.manifesto {
  padding: 2vw 5vw 5vw 5vw;
}
.manifesto .tc-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.manifesto-lottie { width: 6%; aspect-ratio: 1 / 1; margin-bottom: var(--space-2); }
.manifesto-lottie svg { width: 100% !important; height: 100% !important; }
.manifesto h2 {
  width: 48%;
  text-align: center;
  margin-bottom: var(--space-2h);
}
.manifesto-texto {
  width: 49%;
  text-align: center;
}
.manifesto-texto p {
  text-wrap: pretty;
}
/* parágrafo↔parágrafo dentro do bloco de texto: usa o --space-3 global do
   seletor "p" em styles.css, não precisa sobrescrever aqui */

@media (max-width: 1024px) {
  .manifesto { padding: 5vw; }
  .manifesto-lottie { width: 10%; }
  .manifesto h2 { width: 88%; }
  .manifesto-texto { width: 91%; }
}
@media (max-width: 767px) {
  .manifesto { padding: 12vw 5vw 15vw 5vw; }
  .manifesto-lottie { margin: 0 auto var(--space-2) auto; }
  .manifesto h2, .manifesto-texto { width: 100%; }
}

/* 3. BENEFÍCIOS ============================================================= */
.beneficios {
  position: relative;
  overflow: hidden;
  padding: 8vw 5vw;
}
.beneficios .tc-container {
  position: relative;
  z-index: 2; /* fica acima da chuva de linhas, que é position:absolute */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.beneficios h2 { width: 48%; text-align: center; margin-bottom: var(--space-2h); }
.beneficios-sub { width: 61%; text-align: center; margin-bottom: var(--space-6); }
.beneficios-grid {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}
.beneficio {
  width: 48%;
  flex: 0 1 48%; /* não deixa o último card sozinho esticar pra 100% */
}
.beneficio b { font-weight: 400; }

@media (max-width: 1366px) {
  .beneficios { padding: 5vw; }
  .beneficios h2 { width: 53%; }
}
@media (max-width: 1024px) {
  .beneficios { padding: 8vw 5vw; }
  .beneficios h2 { width: 88%; }
  .beneficios-sub { width: 63%; }
  .beneficio { width: 46%; flex-basis: 46%; }
}
@media (max-width: 767px) {
  .beneficios { padding: 15vw 5vw; }
  .beneficios h2, .beneficios-sub { width: 100%; }
  .beneficios-sub { margin-bottom: var(--space-4); } /* mais próximo do primeiro card */
  .beneficios-grid { gap: var(--space-2); }
  .beneficio { flex-basis: 100%; width: 100%; }
}

/* Chuva de linhas ----------------------------------------------------------- */
.moving-lines-wrap {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.moving-line {
  position: absolute;
  width: 1.5px;
  height: 100%;
  top: 0;
  left: 50%;
  background: rgba(0, 0, 0, .07);
  overflow: hidden;
}
.moving-line::after {
  content: "";
  display: block;
  position: absolute;
  height: 15vh;
  width: 100%;
  top: -50%;
  left: 0;
  background: linear-gradient(to bottom, transparent, #51AA96);
  animation: rainDrop 5s 0s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}
.moving-line:nth-child(1) { margin-left: -30%; }
.moving-line:nth-child(1)::after { animation-delay: 2s; }
.moving-line:nth-child(2) { margin-left: -10%; }
.moving-line:nth-child(2)::after { animation-delay: 2.5s; }
.moving-line:nth-child(3) { margin-left: 10%; }
.moving-line:nth-child(3)::after { animation-delay: 3s; }
.moving-line:nth-child(4) { margin-left: 30%; }
.moving-line:nth-child(4)::after { animation-delay: 3.5s; }
@keyframes rainDrop {
  0%   { top: -50%; }
  100% { top: 110%; }
}
@media (prefers-reduced-motion: reduce) {
  .moving-line::after { animation: none; opacity: 0; }
}

/* 4. PORTFÓLIO ============================================================= */
.portfolio {
  padding: 4vw 5vw;
}
.portfolio .tc-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portfolio h2 { width: 48%; text-align: center; margin-bottom: var(--space-2h); }
.portfolio-sub { width: 34%; text-align: center; margin-bottom: var(--space-6); }
.portfolio-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
.projeto {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 420px;
  padding: 30px;
  border-radius: 15px;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  text-decoration: none;
  color: var(--tc-texto-dark);
  overflow: hidden;
  transition: 0.5s;
}
.projeto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #011C1D00 40%, #011C1D 94%);
  opacity: .8;
  border-radius: inherit;
}
.projeto:hover { scale: 1.03; }
.projeto-conteudo { position: relative; z-index: 2; text-align: left; width: 100%; }
.projeto-conteudo .tc-h3 { margin-bottom: var(--space-2); }
.projeto-conteudo p { font-size: 17px; margin: 0; }

/* bolinha com seta no canto, some/aparece e muda de cor no hover */
.projeto-seta {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(242, 240, 236, .15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: var(--tc-texto-dark);
  transition: background .3s ease, transform .3s var(--tc-ease);
}
.projeto:hover .projeto-seta {
  background: var(--tc-verde);
  transform: translate(3px, -3px);
}
.projeto-seta svg { width: 14px; height: 14px; }
.portfolio-cta { text-align: center; }

@media (max-width: 1366px) {
  .portfolio { padding: 7vw 5vw; }
}
@media (max-width: 1024px) {
  .portfolio { padding: 5vw; }
  .portfolio h2 { width: 88%; }
  .portfolio-sub { width: 56%; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .projeto-conteudo p { font-size: 18px; }
}
@media (max-width: 767px) {
  .portfolio { padding: 15vw 5vw; }
  .portfolio h2, .portfolio-sub { width: 100%; }
  .portfolio-sub { margin-bottom: var(--space-4); } /* mais próximo do primeiro card */
  .portfolio-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .projeto-conteudo p { font-size: 16px; }
}

/* 5. MÉTODO EVR — fiel ao Figma (fileKey gqmFW9W0GO6ncPQwR40HRq, node 2:2) ==== */
.metodo {
  padding: 10vw 5vw 6vw 5vw;
}
/* SEM background próprio aqui: o fundo escuro já vem da animação de scroll
   do site (.dark → html.cor). Não chumbar cor nenhuma nesta seção. */

.metodo-head {
  max-width: 480px;
  margin: 0 auto var(--space-6) auto;
  text-align: center;
}
.metodo-head h2 {
  text-align: center;
  font-size: 36px;
  letter-spacing: -1.44px;
  margin-bottom: var(--space-2);
}
.metodo-sub {
  text-align: center;
  font-size: 17px;
  line-height: 1.3em;
}

.metodo-stack {
  position: relative;
}
.metodo-card-sticky {
  position: -webkit-sticky;
  position: sticky;
  width: 850px;
  max-width: 100%;
  margin: 0 auto 36px auto; /* centralizado */
}
/* cada card gruda um pouco mais embaixo que o anterior: é isso que faz o
   próximo cobrir o de cima sobrando só uma tira visível */
.metodo-card-sticky:nth-of-type(1) { top: 100px; }
.metodo-card-sticky:nth-of-type(2) { top: 136px; }
.metodo-card-sticky:nth-of-type(3) { top: 172px; }

/* Efeito de profundidade: os cards de trás ficam levemente mais estreitos */
.metodo-card-sticky:nth-of-type(1) .metodo-vidro { width: 92%; margin: 0 auto; }
.metodo-card-sticky:nth-of-type(2) .metodo-vidro { width: 96%; margin: 0 auto; }
.metodo-card-sticky:nth-of-type(3) .metodo-vidro { width: 100%; margin: 0 auto; }
.metodo-card-sticky:last-of-type { margin-bottom: 0; }

/* Vidro de verdade: fundo quase transparente + blur. É o blur que faz o card
   de cima "comer" o de baixo no empilhamento, sem precisar de retângulo sólido
   nenhum — o fundo escuro continua vindo da animação de scroll do site. */
.metodo-vidro {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 44px 48px;
  border-radius: 30px;
  background: rgba(1, 28, 29, 0.85); /* Fundo escuro para cobrir os cards de trás */
  border: 1px solid rgba(242, 240, 236, .10); /* Borda mais sutil */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: border-color .3s ease, transform .3s var(--tc-ease);
}
.metodo-vidro:hover {
  border-color: rgba(81, 170, 150, .4);
  transform: translateY(-4px);
}

.metodo-vidro-texto { flex: 1 1 auto; }
.metodo-vidro-titulo {
  font-family: var(--tc-serif);
  font-style: italic;
  font-weight: 400; /* era 200, ficava fininho demais */
  font-size: 50px;  /* tamanho real do Figma */
  letter-spacing: -2px;
  line-height: 1.3em;
  background: linear-gradient(90deg, var(--tc-realce), var(--tc-verde));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: var(--space-2);
}
.metodo-vidro-texto p { color: var(--tc-texto-dark); opacity: .92; font-size: 18px; line-height: 1.3em; }
.metodo-vidro-imagem {
  flex: 0 0 50%; /* era 42%, imagem maior */
  aspect-ratio: 16 / 9; /* proporção real das imagens (449x233) */
  border-radius: 20px;
  overflow: hidden;
}
.metodo-vidro-imagem img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  .metodo { padding: 10vw 5vw 6vw 5vw; }
  .metodo-card-sticky:nth-of-type(1) { top: 90px; }
  .metodo-card-sticky:nth-of-type(2) { top: 116px; }
  .metodo-card-sticky:nth-of-type(3) { top: 142px; }
  .metodo-vidro { min-height: 260px; padding: var(--space-4); gap: var(--space-4); }
  .metodo-vidro-titulo { font-size: 38px; }
}
@media (max-width: 767px) {
  .metodo { padding: 15vw 5vw 10vw 5vw; }
  .metodo-head h2 { font-size: 32px; }
  .metodo-card-sticky {
    position: -webkit-sticky;
    position: sticky;
    margin-bottom: var(--space-5);
  }
  .metodo-card-sticky:nth-of-type(1) { top: 80px; }
  .metodo-card-sticky:nth-of-type(2) { top: 104px; }
  .metodo-card-sticky:nth-of-type(3) { top: 128px; }
  .metodo-vidro-titulo { font-size: 32px; }
  .metodo-vidro {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-3);
    gap: var(--space-3);
  }
  .metodo-vidro-imagem { flex-basis: auto; width: 100%; aspect-ratio: 16 / 9; }
}

/* 6. SERVIÇOS =============================================================== */
.servicos { padding: 8vw 5vw; }
.servicos .tc-container { display: flex; flex-direction: column; align-items: center; }
.servicos-head { max-width: 720px; margin: 0 auto var(--space-6) auto; text-align: center; }
.servicos-head h2 { text-align: center; margin-bottom: var(--space-2h); }
.servicos-head .tc-h2x { text-align: center; text-wrap: balance; }

.serif-italic.verde {
  font-family: var(--tc-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--tc-verde);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px; /* (996 - (473 * 2)) = 50px gap para dar os 996px exatos */
  max-width: 996px; /* Tamanho exato do Figma */
  margin: 0 auto var(--space-5) auto; /* Centralizado */
  width: 100%;
}

.servico-card {
  position: relative;
  border-radius: 24px;
  background: var(--tc-primario);
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 455px; /* Tamanho exato do Figma */
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  box-shadow: 0px 40px 80px rgba(1, 28, 29, 0.15), 0px 10px 30px rgba(1, 28, 29, 0.10);
  transition: transform .4s var(--tc-ease), box-shadow .4s var(--tc-ease);
}
.servico-card:hover {
  transform: translateY(-12px);
  box-shadow: 0px 60px 100px rgba(1, 28, 29, 0.25), 0px 15px 40px rgba(1, 28, 29, 0.15);
}
.servico-card::after {
  content: "";
  position: absolute;
  right: -30%;
  top: 50%;
  transform: translateY(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(81, 170, 150, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.servico-bg-logo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at bottom, black 50%, transparent 80%);
  mask-image: radial-gradient(ellipse at bottom, black 50%, transparent 80%);
}

.servico-conteudo {
  position: relative;
  z-index: 2;
  padding: 48px 48px 0 48px;
  margin-bottom: 20px;
}
.servico-titulo {
  font-family: var(--tc-serif);
  font-style: italic;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--tc-verde);
  margin-bottom: var(--space-2);
}
.servico-conteudo p {
  font-size: 16px;
  color: var(--tc-claro);
  line-height: 1.3em;
  margin-bottom: 12px;
  text-wrap: pretty;
}
.servico-conteudo p:last-child { margin-bottom: 0; }
.servico-conteudo strong { font-weight: 700; color: var(--tc-claro); }

.servico-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 393px;
  margin: auto auto 0 auto;
  display: block;
  object-fit: contain;
  border-radius: 0 0 24px 24px;
  transition: transform .4s var(--tc-ease);
}
.servico-card:hover .servico-img {
  transform: translateY(-8px) scale(1.03);
}

.servicos-outros-pill {
  width: 100%;
  max-width: 996px; /* Tamanho exato do Figma */
  height: 143px; /* Tamanho exato do Figma */
  background: var(--tc-primario);
  border-radius: 30px;
  padding: 0 56px;
  margin: 0 auto var(--space-6) auto; /* Centralizado */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  box-shadow: 0px 40px 80px rgba(1, 28, 29, 0.15), 0px 10px 30px rgba(1, 28, 29, 0.10);
  position: relative;
  /* overflow: hidden removed to allow hover if needed, or kept? Let's keep it but since we used border-radius on the child, we don't need overflow hidden */
  transition: transform .4s var(--tc-ease), box-shadow .4s var(--tc-ease);
}
.servicos-outros-pill .servico-bg-logo {
  width: 500px;
  left: 0;
  bottom: 0;
  border-radius: 0 0 0 30px;
  -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(90deg, #000 30%, transparent 95%);
}
.servicos-outros-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0px 50px 90px rgba(1, 28, 29, 0.20), 0px 12px 36px rgba(1, 28, 29, 0.12);
}
.outros-titulo {
  font-family: var(--tc-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--tc-verde);
  line-height: 1.1;
  position: relative;
  z-index: 2;
}
.outros-lista {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}
.outros-lista li {
  font-family: var(--tc-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--tc-claro);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s var(--tc-ease);
}
.outros-lista li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tc-verde);
  transition: transform 0.3s var(--tc-ease), background 0.3s ease, box-shadow 0.3s ease;
}
.outros-lista li:hover {
  color: #FFFFFF;
  transform: translateY(-4px);
}
.outros-lista li:hover::before {
  background: #FFFFFF;
  transform: scale(1.5);
  box-shadow: 0 0 12px var(--tc-verde);
}

@media (max-width: 1024px) {
  .servicos-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .servico-card { height: auto; min-height: 455px; }
  .servicos-outros-pill { flex-direction: column; border-radius: 32px; padding: 40px; gap: 32px; text-align: center; height: auto; }
  .outros-lista { flex-direction: column; gap: 20px; align-items: center; }
}
@media (max-width: 767px) {
  .servicos { padding: 15vw 5vw; }
  .servico-card { padding: 0; height: auto; min-height: 400px; }
  .servico-conteudo { padding: 32px 32px 0 32px; }
  .servicos-outros-pill { border-radius: 24px; padding: 32px 24px; height: auto; }
  .outros-lista li { font-size: 18px; text-align: center; text-wrap: balance; }
}

/* 7. DEPOIMENTOS (no lugar do carrossel de template) ======================== */
.depoimentos { padding: 5vw; overflow: hidden; }
.depoimentos-head { max-width: 880px; margin: 0 auto var(--space-6); text-align: center; position: relative; z-index: 2; }
.depoimentos-head h2 { text-align: center; margin-bottom: var(--space-2h); }
.dep-rail {
  margin: 0 -5vw;
  padding: 0 5vw;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  overflow-x: auto;
  scroll-behavior: auto; /* "smooth" quebrava o loop: cada frame do JS interrompia a animação suave do frame anterior */
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  display: flex;
  position: relative;
  z-index: 2;
}
.dep-rail::-webkit-scrollbar { display: none; }
.dep-rail:active { cursor: grabbing; }
.dep-rail + .dep-rail { margin-top: var(--space-3); }
.dep-track {
  display: flex;
  gap: var(--space-3);
  width: max-content;
  padding-top: 8px; /* espaço pro card subir 4px no hover sem cortar a borda */
  padding-bottom: var(--space-2);
}
.dep-card {
  flex: 0 0 380px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(1, 28, 29, 0.1);
  border-radius: 16px;
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: border-color .3s ease, background .3s ease, transform .3s var(--tc-ease);
}
.dep-card:hover {
  border-color: rgba(81, 170, 150, .8); /* verde no hover */
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
}
.dep-card p { font-size: 16.5px; line-height: 1.5; color: var(--tc-texto); opacity: .86; flex: 1; margin: 0; }
.dep-pessoa {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(1, 28, 29, 0.1);
}
.dep-pessoa img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .35s ease;
}
.dep-card:hover .dep-pessoa img { filter: grayscale(0); } /* foto colorida no hover */
.dep-nome {
  font-family: var(--tc-serif);
  font-style: italic;
  font-size: 19px;
  color: var(--tc-primario);
  display: block;
}
.dep-empresa {
  font-family: var(--tc-sans);
  font-size: 13px;
  color: rgba(1, 28, 29, 0.55);
  display: block;
  margin-top: 2px;
}

@media (max-width: 767px) {
  .depoimentos { padding: 10vw 5vw; }
  .dep-card { flex: 0 0 300px; padding: var(--space-2); }
}

/* 8. JORNADA ================================================================ */
.jornada { padding: 8vw 5vw; }
.jornada-head {
  width: 100%;
  margin-bottom: var(--space-6);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
}
.jornada-head h2 {
  width: 62%;
  margin-bottom: 0;
  font-size: 54px; /* era 45px (padrão .tc-h2), pouca presença pra abrir a seção */
  letter-spacing: -2.4px;
}
.jornada-head p {
  width: 32%;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.5em;
}
.jornada-head p strong { color: var(--tc-primario); font-weight: 700; }
.jornada-map { position: relative; width: 100%; aspect-ratio: 1200 / 520; margin-bottom: 40px; }
.jornada-map svg { width: 100%; height: 100%; display: block; overflow: visible; }
.jornada-linha {
  fill: none; stroke: url(#jorGrad); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 2200; stroke-dashoffset: 2200;
  transition: stroke-dashoffset 2.4s var(--tc-ease);
}
.jornada-map.on .jornada-linha { stroke-dashoffset: 0; }
.jornada-fantasma { fill: none; stroke: rgba(1, 28, 29, .09); stroke-width: 2.5; stroke-linecap: round; }

/* faísca: só aparece depois que a linha termina de desenhar, daí fica em loop */
.jornada-spark { opacity: 0; transition: opacity .4s ease 2.2s; }
.jornada-map.on .jornada-spark { opacity: 1; }
.jornada-dot {
  position: absolute; width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--tc-realce);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.jornada-map.on .jornada-dot { transform: translate(-50%, -50%) scale(1); }
.jornada-dot--final { width: 20px; height: 20px; background: var(--tc-verde); border-color: var(--tc-verde); box-shadow: 0 0 0 6px rgba(81, 170, 150, .18); }
.jornada-map.on .jornada-dot--final { animation: jornada-pulso 2s ease-out 2.2s infinite; }
@keyframes jornada-pulso {
  0%   { box-shadow: 0 0 0 6px rgba(81, 170, 150, .18), 0 0 0 0 rgba(81, 170, 150, .5); }
  70%  { box-shadow: 0 0 0 6px rgba(81, 170, 150, .18), 0 0 0 18px rgba(81, 170, 150, 0); }
  100% { box-shadow: 0 0 0 6px rgba(81, 170, 150, .18), 0 0 0 0 rgba(81, 170, 150, 0); }
}

/* Distância do texto até a curva: "perto"/"longe" alternados evitam que dois
   checkpoints vizinhos (horizontalmente próximos na curva) se sobreponham —
   era esse o bug: com todos na mesma distância, 01/02/03 colidiam entre si,
   e 05/06/final também. */
.jornada-pt {
  position: absolute; width: 185px; opacity: 0;
  --jt-off: 32px; --jt-off-on: 42px;
  transition: opacity .6s ease, transform .6s var(--tc-ease);
}
.jornada-pt--far { --jt-off: 92px; --jt-off-on: 100px; }
/* o card final é mais alto (título maior) e a curva chega mais íngreme ali,
   então precisa de mais distância pra não sentar em cima da linha */
.jornada-pt--final { --jt-off: 78px; --jt-off-on: 90px; }
.jornada-map.on .jornada-pt { opacity: 1; }
.jornada-pt--up   { transform: translate(-50%, -100%) translateY(calc(-1 * var(--jt-off))); }
.jornada-map.on .jornada-pt--up { transform: translate(-50%, -100%) translateY(calc(-1 * var(--jt-off-on))); }
.jornada-pt--down { transform: translate(-50%, 0) translateY(var(--jt-off)); }
.jornada-map.on .jornada-pt--down { transform: translate(-50%, 0) translateY(var(--jt-off-on)); }
.jornada-pt--start { text-align: left; transform: translate(0, -100%) translateY(calc(-1 * var(--jt-off))); }
.jornada-map.on .jornada-pt--start { transform: translate(0, -100%) translateY(calc(-1 * var(--jt-off-on))); }
.jornada-pt--end { text-align: right; transform: translate(-100%, 0) translateY(var(--jt-off)); }
.jornada-map.on .jornada-pt--end { transform: translate(-100%, 0) translateY(var(--jt-off-on)); }
.jornada-num {
  font-family: var(--tc-sans); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tc-teal);
  display: block; margin-bottom: var(--space-1);
}
.jornada-pt .tc-h3 { font-size: 20px; margin-bottom: var(--space-1); }
.jornada-pt p { font-size: 14.5px; line-height: 1.4; opacity: .68; margin: 0; }
.jornada-pt--final .tc-h3 { color: var(--tc-realce); font-size: 24px; }

@media (max-width: 1024px) {
  .jornada-head { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .jornada-head h2, .jornada-head p { width: 100%; }
  .jornada-head h2 { font-size: 38px; letter-spacing: -1.6px; }
  .jornada-map { aspect-ratio: auto; position: relative; }
  .jornada-map svg, .jornada-dot { display: none; }

  /* trilho único que preenche de cima pra baixo conforme o scroll avança
     (posição/altura calculadas em JS, ver main.js). Antes cada checkpoint
     desenhava seu próprio pedacinho de linha isolado ao entrar na tela —
     ficava picotado e sem sensação real de progresso. */
  .jornada-trilho {
    position: absolute; left: 5px; width: 2px;
    background: rgba(1, 28, 29, .1); border-radius: 2px; z-index: 0;
  }
  .jornada-trilho-fill {
    position: absolute; left: 0; top: 0; width: 100%; height: 0;
    background: linear-gradient(180deg, var(--tc-realce), var(--tc-teal) 60%, var(--tc-verde));
    border-radius: 2px;
  }
  .jornada-trilho-ponta {
    position: absolute; left: 50%; top: 0; width: 9px; height: 9px;
    background: var(--tc-verde); border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    box-shadow: 0 0 12px 3px rgba(81, 170, 150, .55);
    transition: top .08s linear, transform .3s var(--tc-ease);
  }
  .jornada-trilho--ativo .jornada-trilho-ponta { transform: translate(-50%, -50%) scale(1); }

  .jornada-pt,
  .jornada-pt--up, .jornada-pt--down, .jornada-pt--start, .jornada-pt--end,
  .jornada-map.on .jornada-pt,
  .jornada-map.on .jornada-pt--up, .jornada-map.on .jornada-pt--down,
  .jornada-map.on .jornada-pt--start, .jornada-map.on .jornada-pt--end {
    position: relative; left: auto !important; top: auto !important;
    width: auto; text-align: left;
    padding: 0 0 var(--space-4) 26px; margin-left: 6px;
  }
  /* cada checkpoint ainda entra deslizando da esquerda quando aparece na
     tela (classe .mob-on via IntersectionObserver) — isso fica como está. */
  .jornada-pt {
    /* !important pra vencer a regra do desktop (.jornada-map.on .jornada-pt),
       que tem mais especificidade e ficava forçando opacity:1 em todo mundo
       assim que o mapa entrava na tela, atropelando a entrada por item */
    opacity: 0 !important;
    transform: translateX(-18px) !important;
    transition: opacity .6s ease, transform .6s var(--tc-ease);
  }
  .jornada-pt.mob-on { opacity: 1 !important; transform: translateX(0) !important; }
  .jornada-pt::before {
    content: ""; position: absolute; left: -7px; top: 3px; z-index: 1;
    width: 12px; height: 12px; border-radius: 50%; background: #fff;
    border: 2.5px solid rgba(1, 28, 29, .18);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .35s ease, border-color .35s ease;
    transform: scale(0);
  }
  .jornada-pt.mob-on::before { transform: scale(1); }
  /* "acende" (fica cheio, cor de marca) exatamente quando o trilho passa
     por ele — não mais junto com a entrada do texto. */
  .jornada-pt--lit::before {
    background: linear-gradient(135deg, var(--tc-realce), var(--tc-verde));
    border-color: var(--tc-verde);
  }
  .jornada-pt--final::before { background: #fff; border-color: rgba(1, 28, 29, .18); }
  .jornada-pt--final.jornada-pt--lit::before {
    background: var(--tc-verde); border-color: var(--tc-verde);
    box-shadow: 0 0 0 6px rgba(81, 170, 150, .18);
    animation: jornada-pulso 2s ease-out .3s infinite;
  }
}
@media (max-width: 767px) {
  .jornada { padding: 15vw 5vw; }
  .jornada-head h2 { font-size: 32px; }
}

/* 9. SOBRE =================================================================== */
.sobre { padding: 8vw 5vw; }
.sobre .tc-container { display: flex; flex-direction: column; gap: 50px; }
.sobre-titulo {
  font-family: var(--tc-serif); font-weight: 200; font-size: 36px;
  line-height: 1.15em; letter-spacing: -1.44px; color: var(--tc-secundario);
  max-width: 780px; margin: 0 auto; text-align: center;
}
.sobre-conteudo { display: flex; flex-direction: row; gap: 55px; align-items: flex-start; }

.sobre-foto {
  position: relative;
  flex: 0 0 47%; max-width: 500px; aspect-ratio: 500 / 599; border-radius: 20px;
  overflow: hidden; border: 2px solid rgba(255, 255, 255, .2);
  box-shadow:
    -30px 18px 77px 0 rgba(0, 0, 0, .29),
    -119px 72px 139px 0 rgba(0, 0, 0, .26),
    -269px 161px 188px 0 rgba(0, 0, 0, .15),
    -478px 287px 223px 0 rgba(0, 0, 0, .04),
    -746px 448px 244px 0 rgba(0, 0, 0, .01);
  transition: box-shadow .4s ease;
}
.sobre-foto img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s var(--tc-ease), filter .5s ease;
}
.sobre-foto::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--tc-verde);
  opacity: 0; transition: opacity .45s ease; pointer-events: none;
}
.sobre-foto:hover img { transform: scale(1.06); filter: saturate(1.08); }
.sobre-foto:hover::after { opacity: .7; }

.sobre-texto { flex: 1; display: flex; flex-direction: column; gap: 28px; }
.sobre-nome {
  font-family: var(--tc-serif); font-weight: 200; font-size: 32px;
  line-height: 1.2em; letter-spacing: -.6px; color: var(--tc-secundario); margin: 0;
}
.sobre-texto > p { font-size: 17px; line-height: 1.6; opacity: .82; margin: 0; }
.sobre-texto > p strong { font-weight: 700; opacity: 1; }
.sobre-destaque {
  position: relative;
  font-family: var(--tc-serif); font-style: italic; font-weight: 400;
  font-size: 28px; line-height: 1.35; color: var(--tc-secundario);
  padding-left: 16px; margin: 0;
}
.sobre-destaque::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--tc-realce), var(--tc-verde));
  transform-origin: top; transform: scaleY(0);
  transition: transform 1s var(--tc-ease);
}
.sobre-destaque.on::before { transform: scaleY(1); }

.sobre-lista { display: flex; flex-direction: column; gap: 23px; }
.sobre-item { display: flex; align-items: center; gap: 10px; }
.sobre-check { flex: none; }
.sobre-item span {
  font-family: var(--tc-serif); font-style: italic; font-weight: 400;
  font-size: 24px; line-height: 1.25; color: var(--tc-secundario);
}
.sobre-linha { height: 1px; background: rgba(1, 38, 39, .14); }

@media (max-width: 1024px) {
  .sobre-conteudo { flex-direction: column; }
  .sobre-foto { flex-basis: auto; max-width: 420px; width: 100%; margin: 0 auto; }
}
@media (max-width: 767px) {
  .sobre { padding: 15vw 5vw; }
  .sobre-titulo { font-size: 32px; }
  .sobre-nome { font-size: 26px; }
  .sobre-destaque { font-size: 22px; }
  .sobre-item span { font-size: 19px; }
  .sobre-foto { max-width: 320px; }
}

/* 10. FAQ ===================================================================== */
.faq { padding: 8vw 5vw; }
.faq-flex { display: flex; flex-direction: row; gap: var(--space-6); align-items: flex-start; }
.faq-titulo {
  flex: 0 0 372px; font-family: var(--tc-serif); font-weight: 200; font-size: 36px;
  line-height: 1.2em; letter-spacing: -1.44px; color: var(--tc-secundario); margin: 0;
}
.faq-lista { flex: 1; max-width: 664px; }
.faq-item { border: none; }
.faq-linha { border: none; border-top: 1px solid rgba(1, 28, 29, .14); margin: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: var(--space-3) 40px var(--space-3) 0; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
  transition: opacity .25s ease;
}
.faq-item summary:hover { opacity: .8; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-pergunta { font-size: 24px; }
.faq-chevron {
  flex: none; color: var(--tc-realce); transition: transform .35s var(--tc-ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-resposta { padding: 0 40px var(--space-4) 0; display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.faq-resposta p { font-size: 20px; line-height: 1.6; color: var(--tc-secundario); opacity: .85; margin: 0; }
.faq-item[open] .faq-resposta { animation: faq-abre .45s var(--tc-ease); }
@keyframes faq-abre {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .faq-flex { flex-direction: column; gap: var(--space-4); }
  .faq-titulo { flex-basis: auto; }
}
@media (max-width: 767px) {
  .faq { padding: 15vw 5vw; }
  .faq-titulo { font-size: 32px; }
  .faq-pergunta { font-size: 19px; }
  .faq-item summary { padding: var(--space-2) 30px var(--space-2) 0; }
  .faq-resposta { padding-right: 0; }
  .faq-resposta p { font-size: 17px; }
}

/* 11. CTA FINAL (dark) ======================================================= */
.cta { padding: 10vw 5vw; }
.cta .tc-container { max-width: 900px; margin: 0 auto; text-align: center; }
.cta-tag {
  display: inline-flex; align-items: center; gap: var(--space-1);
  font-family: var(--tc-sans); font-weight: 700; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--tc-verde); margin-bottom: var(--space-3);
}
.cta-tag i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--tc-verde);
  animation: cta-pulse 2s infinite;
}
@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(81, 170, 150, .55); }
  70%  { box-shadow: 0 0 0 12px rgba(81, 170, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(81, 170, 150, 0); }
}
.cta h2 { text-align: center; font-size: 52px; letter-spacing: -2.5px; margin-bottom: var(--space-2h); }
/* subtítulo padronizado: um tom só de cor/opacidade (era um parágrafo apagado
   + um "forte" com opacidade diferente, ficava com duas cores na mesma seção),
   destaque vem só do <strong> nos pontos-chave, como nas outras seções. */
.cta-sub { font-size: 20px; line-height: 1.5; max-width: 640px; margin: 0 auto var(--space-6); opacity: .85; }
.cta-sub strong { font-weight: 700; opacity: 1; }
.cta-rodape { font-size: 15px !important; opacity: .45; margin-top: var(--space-3) !important; }

@media (max-width: 767px) {
  .cta { padding: 15vw 5vw; }
  .cta h2 { font-size: 32px; letter-spacing: -1.2px; }
  .cta-sub { font-size: 17px; }
}

/* 12. RODAPÉ =================================================================
   Cor fixa (mesma do CTA final), não participa do sistema de scroll .dark/.cor
   — é sempre a última coisa da página, então fica sempre nessa cor. */
.rodape { background: var(--tc-fundo-cor); padding: 48px 5vw; }
.rodape-conteudo {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  text-align: center;
}
.rodape-logo { height: 26px; width: auto; opacity: .9; }
.rodape-texto {
  font-family: var(--tc-sans); font-size: 13px; line-height: 1.6;
  color: var(--tc-texto-dark); opacity: .5; max-width: 620px; margin: 0;
}
@media (max-width: 767px) {
  .rodape { padding: 36px 8vw; }
  .rodape-texto { font-size: 12px; }
}

/* ==========================================================================
   Ícones inline (setas dos botões e projetos)
   ========================================================================== */
.icone-seta { width: 15px; height: 15px; }
