:root {
  --black: #000000;
  --yellow: #f1c40f;
  --white: #ffffff;
  --gray: #f3f3f3;
  --dark-gray: #0a0a0a;
  --card-bg: #111111;
  --border-color: #222222;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.4;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* HERO - MAIOR E MAIS LARGO */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#myVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20%, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  padding: 0 8%;
  margin-top: -200px; /* Ajuste este valor para subir mais ou menos */
}

.hero h1 {
  font-size: 80px; /* Fonte maior */
  line-height: 1.05;
  margin-bottom: 80px;
  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--yellow);
}

.btn-large {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 24px 56px; /* Botão maior */
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 20px;
}

.btn-large:hover {
  background: var(--white);
  transform: scale(1.04);
  box-shadow: 0 20px 40px rgba(241, 196, 15, 0.4);
}

/* QUEM SOMOS - MAIS PERTO */
.about {
  padding: 120px 0;
  text-align: center;
  background: var(--white);
  color: var(--black);
}

.about h2 {
  font-size: clamp(48px, 8vw, 72px);
  margin-bottom: 40px;
}

.founders {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* Mais perto */
  margin-bottom: 30px;
}

.founder {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.founder img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 24px; /* Bordas mais modernas */
  object-fit: cover;
  margin-bottom: 15px;
}

.founder strong {
  font-size: 32px;
  display: block;
}

.meta {
  font-size: 20px;
  color: #444;
  margin-bottom: 5px;
}

.highlight {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  color: var(--yellow);
  margin-top: 10px;
}
/* SOLUÇÕES - DESIGN PROFISSIONAL E ROBUSTO (3x3) */
.services {
  padding: 50px 8%;
  background: var(--black);
}

.services h2 {
  text-align: center;
  font-size: clamp(40px, 7vw, 64px);
  margin-bottom: 80px;
  color: var(--white);
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Mantemos 6 colunas para flexibilidade */
  gap: 50px;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  grid-column: span 2; /* Cada card ocupa 2 colunas, resultando em 3 por linha */
  min-height: 500px;
  box-shadow: 0 10px 30px rgba(241, 196, 15, 0.05);
}

/* Removemos as regras de centralização anteriores, pois agora a linha de baixo completa 3 cards */

.card:hover {
  transform: translateY(-15px);
  border-color: var(--yellow);
  box-shadow: 0 20px 40px rgba(241, 196, 15, 0.25);
}

.card img {
  width: calc(100% - 30px);
  height: 400px;
  object-fit: cover;
  object-position: center;
  transform: scale(0.95);
  border-radius: 24px;
  margin: 15px auto 0;
  filter: brightness(0.9);
  transition: all 0.5s ease;
}

.card:hover img {
  filter: brightness(1.1);
  transform: scale(1);
}

.card-body {
  padding: 30px 40px 40px;
  flex-grow: 1;
}

.card h3 {
  color: var(--yellow);
  font-size: 32px;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
}

.card p {
  font-size: 17px;
  color: #ccc;
  line-height: 1.6;
}

/* RESPONSIVIDADE PARA SOLUÇÕES */
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(4, 1fr); /* No tablet fica 2 por linha */
  }
  .card {
    grid-column: span 2;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 80px 5%;
  }
  .cards {
    grid-template-columns: 1fr; /* No celular fica 1 por linha */
    gap: 30px;
  }
  .card {
    grid-column: span 1 !important;
  }
  .card img {
    height: 250px;
  }
}

/* RESULTADOS - VÍDEO CENTRALIZADO E MENOR */
.results {
  padding: 40px 0;
  background: var(--white);
  color: var(--black);
}

.results h2 {
  text-align: center;
  font-size: clamp(40px, 7vw, 64px);
  margin-bottom: 40px;
}

.result-box {
  max-width: 900px; /* Tamanho reduzido para o vídeo não ocupar a tela toda */
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  background: #000;
  position: relative; /* Necessário para a barra sobreposta */
}

.result-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Barra de Tempo sobre o vídeo (Topo) */
.video-controls-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 30px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
  animation: progressAnim 63s linear infinite;
}

.time-display {
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes progressAnim {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Responsividade */
@media (max-width: 768px) {
  .result-box {
    max-width: 90%;
  }
}

/* DEPOIMENTOS */
.testimonials {
  padding: 140px 0;
  background: var(--black);
}

.testimonials h2 {
  color: var(--yellow);
  font-size: clamp(40px, 6vw, 52px);
  text-align: center;
  margin-bottom: 80px;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.quote {
  background: #080808;
  padding: 50px;
  border-radius: 40px;
  border: 1px solid #151515;
  transition: all 0.3s ease;
}

.quote p {
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 30px;
  font-weight: 500;
}

.quote strong {
  color: var(--yellow);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA - SEPARADO E IMPACTANTE */
.cta {
  padding: 160px 0;
  background: #050505;
  border-top: 1px solid #111;
}

.cta-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.cta img {
  width: 100%;
  border-radius: 40px;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

.cta h2 {
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1;
  margin-bottom: 30px;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: -3px;
}

.cta p {
  font-size: 28px;
  color: #888;
  margin-bottom: 50px;
}

/* FOOTER */
footer {
  background: var(--black);
  color: #444;
  text-align: center;
  padding: 80px 20px;
  font-size: 14px;
  border-top: 1px solid #111;
  letter-spacing: 4px;
}

/* RESPONSIVIDADE */
@media (max-width: 1100px) {
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .cta img {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 48px; }
  .btn-large { padding: 20px 40px; font-size: 18px; }
  .cards { grid-template-columns: 1fr; }
  .about, .services, .results, .testimonials, .cta { padding: 80px 0; }
}


html {
  scroll-behavior: smooth;
}


/* Indicador de Rolagem */
.scroll-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  animation: float 2s ease-in-out infinite;
}

.scroll-indicator span {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  opacity: 0.8;
}

.scroll-indicator .arrow {
  width: 40px;
  height: 40px;
  background: var(--yellow); /* Usa o amarelo da sua marca */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Desenha a setinha dentro da bolinha */
.scroll-indicator .arrow::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  margin-top: -4px;
}

/* Animação de flutuar */
@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Esconde em telas muito pequenas se necessário */
@media (max-height: 600px) {
  .scroll-indicator {
    display: none;
  }
}


/* Carrossel de Clientes */
.client-carousel {
  width: 100%;
  overflow: hidden;
  background: #111111;
  padding: 60px 0;
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  width: calc(250px * 12); /* Largura baseada no número de itens */
  animation: scrollInfinite 10s linear infinite;
}

/* Pausa ou mantém o movimento ao passar o mouse */
.client-carousel:hover .carousel-track {
  animation-play-state: running; /* Garante que continue rodando */
}

.client-item {
  width: 150px;
  height: 150px;
  margin: 0 40px;
  flex-shrink: 0;
}

.client-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Formato de círculo */
  border: 2px solid var(--yellow);
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

.client-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
  border-color: #fff;
}

/* Animação da Direita para Esquerda */
@keyframes scrollInfinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-150px * 6 - 80px * 6)); /* Ajuste conforme o número de itens originais */
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .client-item {
    width: 100px;
    height: 100px;
    margin: 0 20px;
  }
  @keyframes scrollInfinite {
    100% { transform: translateX(calc(-100px * 6 - 40px * 6)); }
  }
}


/* Faixa Branca com Logo Centralizada */
.logo-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background: transparent; /* Mantém o fundo limpo */
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2); /* Linha sutil lateral */
  max-width: 300px; /* Tamanho das linhas laterais */
}

.logo-container {
  background: #000000;
  padding: 10px 30px; /* Reduzi o espaço interno para a faixa não crescer muito */
  border-radius: 50px ;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0 20px;
  min-width: 200px;
  height: 100px; /* Fixei uma altura para a faixa não mudar */
}

.divider-logo {
  max-height: 300%; /* A logo agora ocupa 90% da altura da faixa */
  width: auto;
  display: block;
  object-fit: contain; /* Garante que a imagem não distorça */
}

/* Responsividade */
@media (max-width: 768px) {
  .divider-line {
    display: none; /* Esconde as linhas laterais no celular para focar na logo */
  }
  .logo-container {
    padding: 10px 30px;
  }
}
