:root {
  --bg-dark: #060e08;
  --bg-light: #ffffff;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;
  --primary-green: #00d26a;
  --gradient-green: linear-gradient(90deg, #00d26a, #00ff80);
  --card-green: #eefbf3;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.btn:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--bg-dark);
}

.btn-solid {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-solid:hover {
  background-color: var(--primary-green);
  color: var(--bg-dark);
}

/* Navbar & Menu Desktop */
header {
  padding: 24px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(6, 14, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ESTILOS DO LOGO */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 75px; /* Tamanho padrão para o header desktop */
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-green);
}

/* Menu Hambúrguer Mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #0a140d;
  display: flex;
  flex-direction: column;
  padding: 100px 24px 24px;
  gap: 24px;
  transition: 0.4s ease-in-out;
  z-index: 999;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
  right: 0;
}
.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
}
.mobile-nav .btn {
  text-align: center;
  margin-top: 20px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  padding: 200px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  max-width: 1100px;
  margin: 0 auto 60px;
  font-weight: 400;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  font-weight: 700;
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-mockup-wrapper {
  position: relative;
  width: 95%;
  max-width: 1100px;
  aspect-ratio: 16/9;
  margin: 0 auto -200px auto;
  z-index: 10;
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 80%;
  height: 100%;
  background: url('/images/site/img01.png') center/contain no-repeat;
  filter: drop-shadow(0 30px 60px rgba(0, 210, 106, 0.2));
  z-index: 5;
}

.floating-element {
  position: absolute;
  z-index: 15;
  transform-style: preserve-3d;
}
.coin {
  width: 18%;
  aspect-ratio: 1/1;
  background: url('/images/site/coin.png') center/contain no-repeat;
  border-radius: 50%;
  filter: drop-shadow(0 15px 25px rgba(0, 210, 106, 0.3));
}
.coin-left {
  bottom: 20%;
  left: 5%;
  animation: floatAndSpinLeft 7s infinite linear;
}
.coin-right {
  top: 5%;
  right: 10%;
  animation: floatAndSpinRight 9s infinite linear reverse;
}

.tooltip-box {
  background: rgba(10, 15, 12, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--primary-green);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.tooltip-icon {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
}
.tooltip-left {
  top: 35%;
  left: -5%;
  animation: floatVertical 5s infinite ease-in-out;
}
.tooltip-right {
  bottom: 30%;
  right: -2%;
  animation: floatVertical 6s infinite ease-in-out reverse;
}

@keyframes floatAndSpinLeft {
  0% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(-30px) rotateY(180deg);
  }
  100% {
    transform: translateY(0) rotateY(360deg);
  }
}
@keyframes floatAndSpinRight {
  0% {
    transform: translateY(0) rotateY(0deg);
  }
  50% {
    transform: translateY(35px) rotateY(180deg);
  }
  100% {
    transform: translateY(0) rotateY(360deg);
  }
}
@keyframes floatVertical {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Features Section */
.features {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 280px 0 120px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  position: relative;
  z-index: 5;
}

.features-header {
  text-align: center;
  margin-bottom: 80px;
}
.features-header h2 {
  font-size: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.2;
}

.features-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}
.features-content-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.features-cards {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  border: 1px solid #eaeaea;
  padding: 32px 24px;
  border-radius: 16px;
  transition: var(--transition);
  background: #fff;
}
.feature-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-green);
  transform: translateY(-5px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--card-green);
  color: var(--primary-green);
  border-radius: 12px;
}
.card-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h4 {
  font-size: 1.3rem;
  margin: 0;
}
.feature-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

.features-image {
  flex: 1;
  height: 600px;
  background: url('/images/site/fotoatendente.jpeg') center/cover;
  border-radius: 20px;
}

.features-cta {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}
.features-cta .btn-solid {
  font-size: 1.1rem;
  padding: 18px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gaveta Parallax Principal */
.stacked-section {
  background-color: var(--bg-dark);
  padding: 120px 0 80px 0;
  text-align: center;
}
.stacked-section h2 {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 80px;
}

.cards-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.stacked-card {
  background-color: var(--card-green);
  color: var(--text-dark);
  border-radius: 24px;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 120px;
  min-height: 500px;
}

.stacked-card:nth-child(1) {
  top: 120px;
  z-index: 1;
}
.stacked-card:nth-child(2) {
  top: 140px;
  z-index: 2;
}
.stacked-card:nth-child(3) {
  top: 160px;
  z-index: 3;
}

.card-content {
  flex: 1;
  text-align: left;
}
.card-content h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.card-content p {
  color: #555;
  margin-bottom: 32px;
  line-height: 1.6;
  font-size: 1.1rem;
}
.card-image {
  flex: 1;
  min-height: 350px;
  background-color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  overflow: hidden;
}

/* Quem Somos */
.about {
  padding: 100px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}
.about-hero-img {
  width: 100%;
  height: 450px;
  background: url('/images/site/quemsomos.png') center/cover;
  border-radius: 24px;
  margin-bottom: 80px;
}
.about-header {
  text-align: center;
  margin-bottom: 80px;
}
.about-header h4 {
  color: var(--primary-green);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.about-header h2 {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.2;
  max-width: 900px;
  margin: 0 auto;
}
.about-header h2 span {
  color: var(--primary-green);
  font-weight: 600;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text-block h3 {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 400;
}
.about-text-block p {
  color: #cccccc;
  line-height: 1.8;
  font-size: 1.1rem;
}
.about-divider {
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  margin: 40px 0;
}

/* ESTILO PARA O VÍDEO NEON */
.about-video-wrapper {
  width: 100%;
  height: 800px;
  border-radius: 24px;
  overflow: hidden;
  background-color: #000; /* Fundo escuro enquanto carrega */
}

.about-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que o vídeo preencha o espaço sem distorcer */
}

/* --- Seção Parceria (Arbi + Celeti) --- */
.partnership {
  padding: 40px 0 120px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.partnership-image {
  display: flex;
  justify-content: center;
}

.partnership-image img {
  max-width: 100%;
  width: 380px;
  height: auto;
}

.partnership-content h2 {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  max-width: 600px;
}

.partnership-content h2 span {
  color: var(--primary-green);
  font-weight: 600;
}

.partnership-content p {
  color: #cccccc;
  line-height: 1.8;
  font-size: 1.1rem;
  max-width: 600px;
}

/* FAQ Section */
.faq {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 120px 0 160px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}
.faq h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}
.faq-item {
  max-width: 1000px;
  margin: 0 auto 16px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 24px 32px;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}
.faq-question:hover {
  background-color: #f9f9f9;
}
.faq-answer {
  padding: 0 32px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  background: #fff;
  color: #666;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  padding: 0 32px 32px;
  max-height: 250px;
}
.arrow {
  transition: transform 0.3s ease;
}
.faq-item.active .arrow {
  transform: rotate(180deg);
}

/* Footer Section */
.footer {
  background-color: var(--bg-dark);
  color: #ccc;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-col .logo {
  margin-bottom: 24px;
}
.footer-col .logo img {
  width: 90px; /* Logo um pouco maior no footer, ajuste se desejar */
}
.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 24px;
  font-weight: 600;
}
.footer-col p {
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.95rem;
  max-width: 400px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 16px;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--primary-green);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #888;
}

/* Responsividade Intermediária (Tablets) */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
    max-width: 90vw;
  }
  .features-content-wrapper,
  .about-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .stacked-card {
    flex-direction: column;
    padding: 60px 40px;
    text-align: center;
    min-height: auto;
  }
  .card-content {
    text-align: center;
  }
  .card-image {
    width: 100%;
    min-height: 350px;
    flex: none;
  }

  .nav-links,
  .nav-container .btn {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .partnership-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .partnership-content h2,
  .partnership-content p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Responsividade Mobile Focada (Celulares) */
@media (max-width: 768px) {
  /* Diminuir logo em telas pequenas */
  .logo img {
    width: 80px;
  }
  .footer-col .logo img {
    width: 140px;
  }

  .hero {
    padding: 160px 0 0;
  }
  .hero h1,
  .features-header h2,
  .stacked-section h2,
  .about-header h2,
  .partnership-content h2,
  .faq h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 40px;
  }

  .hero-mockup-wrapper {
    width: 100%;
    height: 380px;
    aspect-ratio: auto;
    margin-bottom: -100px;
  }
  .hero-mockup {
    width: 100%;
  }

  .coin-left {
    left: 4%;
    bottom: 10%;
    width: 25%;
  }
  .coin-right {
    right: 2%;
    top: -5%;
    width: 21%;
  }

  .tooltip-box {
    display: none;
  }
  .features {
    padding: 140px 0 80px;
  }

  .features-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .feature-card {
    position: relative;
    top: auto;
    margin-bottom: 0;
  }

  .stacked-card {
    padding: 40px 24px;
    gap: 32px;
    margin-bottom: 24px;
  }
  .stacked-card:nth-child(1) {
    top: 100px;
  }
  .stacked-card:nth-child(2) {
    top: 120px;
  }
  .stacked-card:nth-child(3) {
    top: 140px;
  }
  .card-content h3 {
    font-size: 1.8rem;
  }
  .card-image {
    min-height: 250px;
  }

  .about-hero-img {
    height: 250px;
  }
  .about-video-wrapper {
    height: 350px;
  } /* Ajuste da altura do vídeo no mobile */

  .partnership {
    padding: 40px 0 80px;
  }
  .partnership-content h2 {
    margin-bottom: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .features-cta .btn-solid {
    padding: 16px 20px;
    font-size: 1rem;
    width: 100%;
  }
}

/* --- Ajuste de posicionamento de imagem (Apenas Desktop) --- */
@media (min-width: 1025px) {
  .about-hero-img {
    /* Move a âncora do fundo para a parte superior, revelando os rostos cortados */
    background-position: center 15% !important;
  }

  /* Caso a imagem da equipe também seja usada em algum card lateral */
  .stacked-card .card-image {
    background-position: center 15% !important;
  }
}
