:root {
  --font-proxima-nova: "proxima-nova", sans-serif;
  --color-white: #fff;
  --color-off-white: #e0e0e0;
  --color-black: #050505;
  --color-dark-surface: rgba(
    20,
    20,
    20,
    0.6
  ); /* Transparente para Glassmorphism */
  --color-primary: #ff004f;
  --color-primary-glow: #ff005080;
  --color-secondary: #7000ff; /* Cor secundária para gradiente */
  --color-gray: #a7a7a7;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-proxima-nova);
  background-color: var(--color-black);
  color: var(--color-white);
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  cursor: default;
}

/* --- BACKGROUND FX --- */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow-blob {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(
    circle,
    var(--color-primary-glow) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  opacity: 0.4;
  filter: blur(80px);
  animation: floatBlob 10s infinite alternate ease-in-out;
}

.glow-blob.two {
  top: auto;
  bottom: -10%;
  left: auto;
  right: -10%;
  background: radial-gradient(
    circle,
    rgba(112, 0, 255, 0.3) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  animation: floatBlob 15s infinite alternate-reverse ease-in-out;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* --- CURSOR PC --- */
@media (min-width: 992px) {
  body {
    cursor: none;
  }
  a,
  button {
    cursor: none !important;
  }
}

/* --- UTIL --- */
a {
  text-decoration: none;
}
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
.text-gradient {
  background: linear-gradient(90deg, #fff, var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- HEADER --- */
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 5%;
  position: fixed;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scroll {
  padding: 1em 5%;
  background-color: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header--logo {
  height: 40px;
}

.header--buttons {
  display: flex;
  gap: 3em;
  align-items: center;
}

.header--buttons li a {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition-smooth);
}

.header--buttons li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

.header--buttons li a:hover::after {
  width: 100%;
}

.btn-contact {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8em 1.5em;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.btn-contact:hover {
  background: var(--color-white) !important;
  color: var(--color-black) !important;
  border-color: var(--color-white);
}

/* --- HERO SECTION --- */
.landing-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
}

.pill-badge {
  display: inline-block;
  padding: 0.5em 1.2em;
  border-radius: 50px;
  background: rgba(255, 0, 79, 0.1);
  border: 1px solid rgba(255, 0, 79, 0.3);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

@media (min-width: 1400px) {
  .hero-title {
    font-size: 7.5rem;
  }
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--color-gray);
  font-weight: 300;
  margin-bottom: 3rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.cta-button {
  padding: 1.2em 2.8em;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-button.primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.cta-button.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--color-primary-glow);
}

.cta-button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

/* --- MARQUEE --- */
.marquee-container {
  background: var(--color-primary);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
  transform: rotate(-2deg) scale(1.05);
  margin: 2rem 0;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-black); /* Contraste preto no rosa */
  gap: 3rem;
}

.marquee-content .dot {
  opacity: 0.5;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- SERVICES (GLASSMORPHISM) --- */
.services-section {
  padding: 8rem 10%;
}

.section-header h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--color-dark-surface);
  backdrop-filter: blur(10px);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(30, 30, 30, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .icon-box {
  background: var(--color-primary);
  color: var(--color-white);
  transform: rotate(5deg);
}

/* --- STATS SECTION --- */
.stats-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 4rem 10%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.01);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--color-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Adicione no final do seu CSS */
.stat-number {
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Quando ocorre um salto raro de views */
.stat-number.highlight-jump {
  color: var(--color-primary); /* Usa sua cor rosa/vermelha */
  text-shadow: 0 0 15px var(--color-primary-glow);
}

/* --- PROJECT (CINEMATIC) --- */
.second-page {
  padding: 4rem 10% 8rem 10%;
}

.project-header {
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.section-label {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.project-header h2 {
  font-size: 2.5rem;
  margin: 0;
}

.furnies-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  max-height: 70vh;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.overlay-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
}

.overlay-hover span {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 1em 2em;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  font-weight: 600;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.furnies-container:hover .overlay-hover {
  opacity: 1;
}
.furnies-container:hover .overlay-hover span {
  transform: translateY(0);
}

.second-page--furnies {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.furnies-container:hover .second-page--furnies {
  transform: scale(1.1);
}

.project-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 2rem;
  gap: 2rem;
  padding: 2rem;
  background: var(--color-dark-surface);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tags {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
}
.tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.circle-link {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.circle-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: rotate(-45deg);
}

/* --- ANIMATION REVEAL (JS Trigger) --- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- FOOTER --- */
.footer {
  padding: 5rem 10% 3rem 10%;
  background-color: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10; /* Garante que fique acima dos efeitos de fundo */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-column {
  flex: 1;
  min-width: 280px;
}

.footer-column h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-column p {
  color: var(--color-gray);
  font-size: 1.1rem;
  line-height: 1.6;
}

.email-link {
  font-size: clamp(1.8rem, 4vw, 3.5rem); /* Texto grande e responsivo */
  font-weight: 800;
  color: var(--color-white);
  display: block;
  margin-bottom: 1rem;
  word-break: break-all;
  letter-spacing: -1px;
  line-height: 1;
  transition: var(--transition-smooth);
}

.email-link:hover {
  color: var(--color-primary);
  transform: translateX(10px);
}

.directors-list {
  font-weight: 600;
  color: var(--color-white) !important;
  margin-top: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--color-gray);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  gap: 1.5rem;
}

.footer-left a {
  font-size: 1.5rem;
  color: var(--color-gray);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.footer-left a:hover {
  color: var(--color-white);
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer-right p {
  margin: 0;
  opacity: 0.6;
}
/* ... resto do footer igual, só ajuste o tamanho das fontes para ficar grande ... */
.footer-column h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.email-link {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}
.footer-left a {
  font-size: 1.5rem;
  margin-right: 1.5rem;
  color: var(--color-gray);
  transition: 0.3s;
}
.footer-left a:hover {
  color: var(--color-primary);
}

.clients-section {
  padding: 6rem 10%;
  background-color: transparent; /* Deixa o BG effect aparecer */
}

.clients-grid {
  display: grid;
  /* Cards automáticos: mínimo 200px, máximo fração */
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.client-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

/* Efeito Hover no Card */
.client-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(255, 0, 79, 0.15);
}

.client-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.client-card:hover .client-avatar {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-white);
}

/* Tags de serviços dentro do card */
.client-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.client-tags span {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  color: var(--color-gray);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.client-card:hover .client-tags span {
  background: var(--color-primary);
  color: var(--color-white);
}

.furnies-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.furnies-container {
  overflow: hidden;
  background: #000;
}

.project-link .fa-youtube {
  color: #FF0000;
  font-size: 1.2rem;
}

/* --- CAROUSEL STYLES --- */
.carousel-container {
  width: 100%;
  overflow: hidden; /* Esconde os slides que estão fora da tela */
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1); /* Animação suave estilo Apple */
  width: 100%;
}

.carousel-slide {
  min-width: 100%; /* Cada slide ocupa 100% da largura do container */
  padding: 0 5px; /* Pequeno respiro lateral se necessário */
  box-sizing: border-box;
}

/* Ajustes no Header para os botões */
.project-header {
  align-items: center; /* Alinha botões com o título */
}

.carousel-nav {
  display: flex;
  gap: 15px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer; /* Garante cursor pointer mesmo com seu CSS global */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  z-index: 10;
}

.nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--color-primary-glow);
}

/* Responsivo para garantir que a imagem do vídeo fique proporcional */
.carousel-slide .furnies-container {
  height: auto;
  aspect-ratio: 16 / 9; /* Força proporção de vídeo */
}

/* --- RESPONSIVO --- */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  .marquee-container {
    transform: rotate(0);
  }
  .stats-section {
    flex-direction: column;
    gap: 2rem;
  }
  .project-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  header {
    padding: 1em;
  }
  .header--buttons li {
    display: none;
  }
  .header--buttons li:last-child {
    display: block;
  }
  .footer {
    padding: 4rem 5% 2rem 5%;
  }

  .footer-container {
    flex-direction: column;
    gap: 3rem;
  }

  .email-link {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-left {
    justify-content: center;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 por linha no mobile */
    gap: 1rem;
  }

  .client-card {
    padding: 1.5rem 1rem;
  }
  .client-avatar {
    width: 70px;
    height: 70px;
  }
  .client-tags span {
    display: none;
  }

  .project-header {
    flex-direction: row;
    align-items: center;
  }
  .carousel-nav {
    margin-left: auto; /* Empurra botões para a direita */
  }
  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Se quiser manter tags no mobile, remova a linha .client-tags span { display: none; } */
@media screen and (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr; /* 1 por linha em telas muito pequenas */
  }
}
