body {
  background-color: #ffffff;
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background-size: 60px 60px;
  background-position: center top;
  /* Soft fade at the very bottom so it disappears before Section 3 */
  mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
}

/* Header Logo Glow (Spotlight) with Horizontal Ping-Pong Animation */
.spotlight {
  position: absolute;
  top: -200px;
  left: 0;
  width: 900px;
  height: 900px;
  /* Using a highly diffuse elliptical gradient */
  background: radial-gradient(100% 100% at 50% 50%, rgba(201, 244, 255, 0.45) 0%, rgba(127, 191, 234, 0.2) 40%, rgba(111, 174, 219, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  /* 20s extremely slow ping-pong animation */
  animation: glowSweep 20s ease-in-out infinite alternate;
}

@keyframes glowSweep {
  0% {
    transform: translateX(-30%) rotate(-15deg);
  }

  100% {
    transform: translateX(calc(100vw - 70%)) rotate(-15deg);
  }
}



#canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  /* Removed dragging cursors since interaction is removed */
}

.pill-hover {
  transition: all 0.2s ease-in-out;
}

.pill-hover:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

/* Marquee Animation */
.marquee-container {
  overflow-x: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-container::-webkit-scrollbar {
  display: none;
}

.marquee-content {
  display: flex;
  gap: 1rem;
  animation: scroll 40s linear infinite;
  padding-right: 1rem;
  will-change: transform;
}

.marquee-container:hover .marquee-content,
.marquee-container:active .marquee-content {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border: 1px solid #D9D9D9;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #7A7A7A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  flex-shrink: 0;
}

.pill:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

/* Typing Animation Cursor */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: currentColor;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  opacity: 0.5;
}

@keyframes blink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }
}

/* Chevron Pulse Animation for '#1 no Brasil' - Pulsing inwards with bright cyan */
@keyframes chevronPulseInward {

  0%,
  40%,
  100% {
    color: #2C5BA5;
    text-shadow: none;
    opacity: 0.4;
  }

  15%,
  25% {
    color: #4A90D9;
    /* Bright UI Cyan/Blue */
    text-shadow: 0 0 12px rgba(74, 144, 217, 0.8), 0 0 24px rgba(74, 144, 217, 0.4);
    opacity: 1;
  }
}

.arrow-pulse-1,
.arrow-pulse-2,
.arrow-pulse-3 {
  animation: chevronPulseInward 2s ease-in-out infinite;
  will-change: color, text-shadow, opacity;
}

/* Inward cascade: outermost (#1) pulses first, then #2, then innermost (#3) */
.arrow-pulse-1 {
  animation-delay: 0s;
}

.arrow-pulse-2 {
  animation-delay: 0.25s;
}

.arrow-pulse-3 {
  animation-delay: 0.5s;
  opacity: 1;
  text-shadow: none;
  color: #2C5BA5;
}

/* Interactive Tooltip */
#tooltip {
  position: fixed;
  padding: 12px 20px;
  background: rgba(10, 16, 30, 0.85);
  border: 1px solid rgba(74, 144, 217, 0.4);
  border-radius: 8px;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.1s ease;
  z-index: 9999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(74, 144, 217, 0.25);
  max-width: 280px;
}

#tooltip .tip-label {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

#tooltip .tip-sub {
  font-size: 12px;
  font-weight: 500;
  color: #4a90d9;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

#canvas-container canvas {
  pointer-events: inherit;
}

.wave-container.visible {
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   SECTION 3: CASES FLEX GALLERY 
   ═══════════════════════════════════════════════ */
.cases-gallery {
  perspective: 1200px;
}

.case-card {
  flex-basis: 12%;
  /* Compact base size for siblings */
  height: 85%;
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: bottom center;
}

/* Base Fan Rotations (creates the hand-of-cards look) */
.case-card[data-index="1"] {
  transform: rotate(-15deg) translateY(30px);
  z-index: 1;
}

.case-card[data-index="2"] {
  transform: rotate(-10deg) translateY(15px);
  z-index: 2;
}

.case-card[data-index="3"] {
  transform: rotate(-5deg) translateY(5px);
  z-index: 3;
}

.case-card[data-index="4"] {
  transform: rotate(0deg) translateY(0px);
  z-index: 4;
}

.case-card[data-index="5"] {
  transform: rotate(5deg) translateY(5px);
  z-index: 3;
}

.case-card[data-index="6"] {
  transform: rotate(10deg) translateY(15px);
  z-index: 2;
}

.case-card[data-index="7"] {
  transform: rotate(15deg) translateY(30px);
  z-index: 1;
}

@media (min-width: 768px) {
  .case-card[data-index="1"] {
    transform: rotate(-18deg) translateY(45px);
  }

  .case-card[data-index="2"] {
    transform: rotate(-12deg) translateY(20px);
  }

  .case-card[data-index="3"] {
    transform: rotate(-6deg) translateY(5px);
  }

  .case-card[data-index="4"] {
    transform: rotate(0deg) translateY(0px);
  }

  .case-card[data-index="5"] {
    transform: rotate(6deg) translateY(5px);
  }

  .case-card[data-index="6"] {
    transform: rotate(12deg) translateY(20px);
  }

  .case-card[data-index="7"] {
    transform: rotate(18deg) translateY(45px);
  }
}

/* When the gallery container is hovered, ALL cards straighten up but shrink slightly */
.cases-gallery:hover .case-card {
  transform: rotate(0deg) translateY(0px);
  flex-basis: 8%;
  /* Small footprint for non-hovered siblings */
  height: 85%;
  filter: brightness(0.6) saturate(0.8);
}

/* The exactly hovered card expands massively */
.cases-gallery:hover .case-card:hover {
  flex-basis: 50%;
  height: 100%;
  filter: brightness(1) saturate(1);
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1);
  transform: translateZ(20px);
}

/* ═══════════════════════════════════════════════
   SECTIONS 4 & 5: SCROLL ZOOM IPHONE
   ═══════════════════════════════════════════════ */

.phone-scroll-track {
  height: 200vh;
  /* Reverted to 200vh to fix the native sticky math scale bug */
  position: relative;
  z-index: 10;
}

.phone-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  perspective: 1000px;
}

.iphone-frame {
  position: relative;
  width: 320px;
  height: 650px;
  border: 6px solid #1a2436;
  border-radius: 40px;
  background-color: #0d1627;
  box-shadow:
    inset 0 0 16px rgba(0, 0, 0, 0.8),
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 2px #333a4a;
  transform-origin: center center;
  will-change: width, height, border-radius;
  display: flex;
  flex-direction: column;
  /* Impede que o frame capture o scroll inicialmente */
  pointer-events: none;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Quando o portal estiver expandido, liberamos as interações para permitir o clique nos vídeos e links */
.iphone-frame.is-zoomed {
  pointer-events: auto;
}

.iphone-frame::before {
  content: '';
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background-color: #1a2436;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 20;
}

@media (min-width: 768px) {
  .iphone-frame {
    width: 380px;
    height: 780px;
  }
}

.iphone-screen {
  overflow: hidden !important;
  /* Permite rolar todo o conteúdo interno */
  width: 100% !important;
  height: 100% !important;
  border-radius: 34px;
  position: relative;
  background-color: #111111;
  /* Cor de fundo sólida como visto no design (escura, grafite) */
  will-change: opacity;
}

/* Container do Grid - Permite o scroll natural e centraliza as linhas incompletas */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* O Card Individual */
.project-item {
  width: calc(25% - 30px);
  /* 4 colunas */
  min-width: 220px;
  height: 175px;
  /* Altura fixa de 175px */
  position: relative;
  /* Para permitir posicionamento absoluto da tag */
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #1a1a1c;
  /* Fundo escuro do card inteiro */
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  /* Para garantir que a tag não saia do card */
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* A Imagem do Projeto (Que cobre todo o card) */
.project-image {
  width: 100%;
  height: 100%;
  /* Ocupa toda a altura do card (175px) */
  border-radius: 16px;
  /* Arredonda todas as bordas */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* Faz a imagem cobrir toda a área sem deixar espaços vazios */
}

/* Título Divisor */
.projects-divider {
  text-align: center;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  margin: 60px 0 20px 0;
}

/* Tags (Pílulas no canto superior esquerdo) */
.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 20px;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  z-index: 10;
  border: none;
}

.tag-proprio {
  /* Tag próprio mantém o estilo padrão branco com texto preto */
}

.tag-partner {
  /* Tag partner também usa o mesmo estilo branco com texto preto */
}

/* Liberação do Scroll após o Zoom */
.phone-scroll-track.is-zoomed {
  min-height: 200vh;
  height: auto;
}

.phone-sticky.is-zoomed {
  position: relative !important;
  top: 100vh !important;
  height: auto !important;
  overflow: visible !important;
}

.iphone-frame.is-zoomed,
.iphone-screen.is-zoomed {
  height: auto !important;
  overflow: visible !important;
  border: none !important;
  border-radius: 0 !important;
}

/* ═══════════════════════════════════════════════
   SECTION 6: BENTO GRID NÚMEROS
   ═══════════════════════════════════════════════ */

/* Container da Seção 6 */
.section-6-numbers {
  padding: 100px 20px;
  background-color: #040B16;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Textos do Topo */
.video-header {
  text-align: center;
  margin-bottom: 60px;
}

.video-header h2 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.video-header p {
  color: #a0aec0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
}

/* O Grid Bento */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* O Card Base */
.bento-card {
  background: rgba(13, 22, 39, 0.6);
  border: 1px solid rgba(74, 144, 217, 0.15);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 168, 255, 0.15);
  border-color: rgba(74, 144, 217, 0.4);
}

/* Cartões em Destaque (Maiores e mais chamativos) */
.bento-card.bg-highlight {
  background: linear-gradient(135deg, rgba(13, 22, 39, 0.9) 0%, rgba(0, 84, 166, 0.2) 100%);
  border: 1px solid rgba(0, 168, 255, 0.3);
}

.bg-highlight:hover {
  box-shadow: 0 12px 40px rgba(0, 168, 255, 0.25);
  border-color: rgba(0, 168, 255, 0.6);
}

/* Controle de Grid Span para Destacar (Span 2 colunas e 2 linhas) */
.col-span-2 {
  grid-column: span 2;
}

.row-span-2 {
  grid-row: span 2;
}

/* Ícones */
.bento-icon {
  margin-bottom: 16px;
  color: #4a90d9;
}

.bg-highlight .bento-icon {
  color: #00a8ff;
  margin-bottom: 24px;
}

/* Números Gigantes */
.bento-number {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.1;
}

/* Números em Destaque (Gradiente) */
.bento-number.highlight-text {
  font-size: 48px;
  background: linear-gradient(90deg, #ffffff 0%, #7fbfec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Descrição */
.bento-label {
  color: #a0aec0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.bg-highlight .bento-label {
  font-size: 16px;
  color: #c9f4ff;
}

/* Responsividade do Bento */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .col-span-2 {
    grid-column: span 1;
  }

  .row-span-2 {
    grid-row: span 1;
  }
}

/* ═══════════════════════════════════════════════
   SECTION 7: CANAIS (ARTIGOS)
   ═══════════════════════════════════════════════ */

/* Container Principal (Transição para Fundo Branco) */
.section-7-canais {
  background-color: #ffffff;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Cabeçalho Escuro */
.canais-header {
  text-align: center;
  margin-bottom: 60px;
}

.canais-header h2 {
  color: #111827;
  /* Quase preto */
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.canais-header p {
  color: #6b7280;
  /* Cinza médio */
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

/* Novo Wrapper Principal para alinhar Artigos Esquerda + Sidebar Direita */
.canais-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Container Fluido dos Artigos (Esquerda) */
.canais-articles-grid {
  flex: 1;
  /* Ocupa o espaço restante */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ─── ESTILOS DA MEDIA SIDEBAR (Direita) ─── */
.canais-media-sidebar {
  flex: 0 0 350px;
  /* Largura Mínima e Máxima Fixa em 350px */
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Empurra os flex itens para cima e botão p/ baixo alinhando tudo */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.sidebar-header {
  margin-bottom: 24px;
}

.sidebar-header h3 {
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.sidebar-header p {
  color: #64748b;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

/* Estatísticas Rápidas (Media Stats) */
.media-stats {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.media-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
}

.media-stat-item strong {
  color: #0ea5e9;
  font-weight: 700;
}

.media-stat-icon {
  width: 20px;
  height: 20px;
  color: #0ea5e9;
}

/* Cards de Marca (Logos + Redes) */
.brand-mini-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.brand-mini-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.brand-logo-wrapper {
  width: 100%;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  padding: 4px;
}

.brand-logo-wrapper img {
  max-width: 100%;
  max-height: 28px;
  object-fit: contain;
}

/* Redes Sociais da Marca */
.brand-socials {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.brand-socials a {
  color: #334155; /* Much darker gray for better visibility */
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.brand-socials a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.brand-socials a:hover {
  color: #ffffff;
  background: #0ea5e9;
  transform: scale(1.1);
}

/* Botão de Parceria */
.btn-parceria {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #0ea5e9;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-parceria:hover {
  background: #0284c7;
  transform: translateY(-2px);
}

/* Cada Coluna dos Artigos (Para o Masonry Fake continuar funcionando) */
.canais-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* O Card Azul */
.canal-card {
  background-color: #0084d6;
  /* Azul vibrante iMasters */
  border-radius: 20px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 132, 214, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Estado inicial dos cards (Escondidos e um pouco para baixo) */
.apple-reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

/* Estado final dos cards (Visíveis, acionado pelo JS) */
.apple-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Efeito Hover Refinado no Card */
.canal-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  /* Leve flutuação e escala */
  box-shadow: 0 20px 40px rgba(0, 130, 212, 0.3);
}

/* Conteúdo de Texto do Card */
.canal-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.canal-content h3 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

/* Logo menorzinha (O cubo) */
.canal-logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Foto do Colunista */
.canal-author-img {
  width: 150px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  /* Impede a imagem de ser esmagada pelo texto */
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.canal-card:hover .canal-author-img {
  transform: scale(1.08);
  /* A imagem cresce suavemente dentro da própria caixa */
}

/* Responsividade Mobile e Tablet */
@media (max-width: 1024px) {
  .canais-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .canais-media-sidebar {
    flex: auto;
    width: 100%;
    margin-bottom: 40px;
    order: -1;
    /* Joga a sidebar para cima no mobile */
  }
}

@media (max-width: 860px) {
  .canais-articles-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .canal-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .canal-author-img {
    width: 100%;
    height: 200px;
  }
}

/* ═══════════════════════════════════════════════
   SECTION 8: VENTURE CAPITAL
   ═══════════════════════════════════════════════ */
.section-8-venture {
  background-color: #010617;
  /* Fundo base extremamente escuro e tech da imagem */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px;
  background-position: center, center;
  background-repeat: repeat, repeat;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Camada Blur Animada sobre o Background da Secao 8 */
.venture-bg-anim {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
  filter: blur(80px);
  /* O borrão pesado luminoso */
  animation: bgSweep 15s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
  /* Fica atrás do conteúdo devido z-index relative dele */
}

@keyframes bgSweep {
  0% {
    transform: translateX(-20%);
  }

  100% {
    transform: translateX(20%);
  }
}

.venture-container {
  max-width: 900px;
  /* Largura reduzida para o texto ficar em bloco elegante e legível */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  position: relative;
  z-index: 5;
  /* Garante o texto acima do borrão */
}

.venture-header h2 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.venture-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
}

.venture-text {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
}

.venture-text strong {
  color: #ffffff;
  font-weight: 700;
}

.venture-cta-text {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-top: 16px;
}

/* Venture Layout Responsiveness */
@media (max-width: 768px) {
  .section-8-venture .venture-container {
    flex-direction: column !important;
    gap: 30px !important;
    padding: 40px 20px !important;
    text-align: center;
  }

  .venture-logo-col {
    display: flex;
    justify-content: center;
  }

  .venture-content-col {
    text-align: center;
  }
}

.venture-cta-text a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.venture-cta-text a:hover {
  text-decoration: underline;
  color: #38bdf8;
}

/* ═══════════════════════════════════════════════
   SECTION 9: FOOTER
   ═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   SECTION 9: FOOTER
   ═══════════════════════════════════════════════ */

/* Container Principal do Footer */
.site-footer {
  background-color: #ffffff;
  position: relative;
  width: 100%;
  border-top: 1px solid #f3f4f6;
  overflow: hidden;
  /* Impede que os pontilhados vazem */
  padding-top: 80px;
}

/* O Segredo do Efeito Pontilhado Lateral (Apple Detail) */
.site-footer::before,
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  background-image: radial-gradient(#d1d5db 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

.site-footer::before {
  left: 0;
}

.site-footer::after {
  right: 0;
}

/* Grid Superior (3 Colunas) */
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  /* Fica acima dos pontilhados */
}

/* Colunas e Linhas Divisórias */
.footer-col {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Linhas separadoras sutis entre as colunas */
.brand-col,
.newsletter-col {
  border-right: 1px solid #f3f4f6;
}

/* Coluna 1: Brand / Logo */
.footer-logo-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.brand-col p {
  color: #9ca3af;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* Coluna 2: Newsletter */
.newsletter-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.newsletter-wrapper h4 {
  color: #374151;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 320px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.3s ease;
  padding: 4px;
  /* Espacinho interno pro botão flutuar */
}

.newsletter-form:focus-within {
  border-color: #0082d4;
}

.newsletter-form input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #374151;
  background: transparent;
}

.newsletter-form input::placeholder {
  color: #d1d5db;
  /* Cinza clarinho */
  font-weight: 500;
}

.newsletter-form button {
  background-color: #0082d4;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #006bb3;
}

/* Coluna 3: Redes Sociais */
.social-icons {
  display: flex;
  gap: 16px;
  /* Mais espaçado */
}

.custom-social-icon {
  width: 44px;
  /* Usa as imagens diretamente no tamanho de círculo aproximado */
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.custom-social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.85;
  /* Dá um leve fade visual em icones flat que já tem cor própria */
}

/* Base do Footer (Copyright e Links) */
.footer-bottom {
  border-top: 1px solid #f3f4f6;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  justify-content: center;
  /* Apenas copyright, centralizado */
  align-items: center;
  position: relative;
  z-index: 2;
}

.copyright {
  color: #9ca3af;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}

/* Responsividade Mobile */
@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-col {
    border-right: none;
    border-bottom: 1px solid #f3f4f6;
    padding: 40px 20px;
    align-items: center;
    text-align: center;
  }

  .footer-col:last-child {
    border-bottom: none;
  }

  .site-footer::before,
  .site-footer::after {
    display: none;
  }

  /* Tira os pontos no celular */
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}