:root {
  --bg-color: #0f172a;
  /* slate-900 */
  --card-bg: #1e293b;
  /* slate-800 */
  --border-color: #334155;
  /* slate-700 */
  --text-primary: #f1f5f9;
  /* slate-100 */
  --text-secondary: #94a3b8;
  /* slate-400 */
  --accent-color: #22d3ee;
  /* cyan-400 */
  --accent-hover: #06b6d4;
  /* cyan-500 */
  --green-color: #22c55e;
  /* green-500 */
  --green-hover: #16a34a;
  /* green-600 */
  --error-color: #ef4444;
  /* red-500 */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.text-center {
  text-align: center;
}

/* Header */
.header {
  padding-top: 6rem;
  /* Espaço para o conteúdo não ficar atrás da nav transparente */
  padding-bottom: 3rem;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 0%,
    var(--bg-color) 100%
  );
}

.profile-image {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 4px solid var(--accent-color);
  box-shadow: 0 0 20px var(--accent-color);
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  display: block;
}

.header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-color);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* Navigation Bar */
#main-nav {
  background-color: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(11, 11, 11, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.btn-secondary {
  width: 30%;
  border-radius: 8px;
  background-color: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

.btn-whatsapp {
  background-color: var(--green-color);
  color: var(--bg-color);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-whatsapp:hover {
  background-color: var(--green-hover);
  transform: translateY(-2px);
}

/* Mobile Menu Button (Hamburguer) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  background-color: transparent;
  border: none;
  z-index: 1001;
  /* Garante que o botão fique acima dos links */
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 4px 0;
  transition: 0.4s;
}

.grid-section {
  display: grid;
  gap: 1.5rem;
  padding: 2.5rem 0;
}

@media (min-width: 768px) {
  .grid-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

.card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-icon {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-secondary);
}

/* Testimonials */
.testimonial-card {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-card .profile-image {
  width: 120px;
  height: 120px;
  border: 0px solid var(--accent-color);
  flex-shrink: 0;
  /* Reseta a sombra herdada da classe .profile-image genérica */
  box-shadow: none;
}

.testimonial-card p:first-of-type {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.testimonial-card p:last-of-type {
  /* O seletor :last-child não funcionaria com a imagem, usamos :last-of-type */
  margin-top: 0;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background-color: black;
  text-align: center;
  padding: 2.5rem 0;
  margin-top: 2.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.social-icons a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
}

/* About Me Section */
.about-section {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 0;
}

.about-image {
  flex-shrink: 0;
}

.profile-image-large {
  width: 250px;
  height: 250px;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 600px;
}

/* Video responsivo */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-bottom: 2rem;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .header {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
  }

  .header h1 {
    font-size: 2.2rem;
  }

  .header p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-brand {
    font-size: 1.2rem;
    /* Reduz o tamanho da fonte para mobile */
  }

  .nav-links {
    display: none;
    /* Oculta os links por padrão em mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    /* Abaixo da nav principal */
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
    /* Mostra os links quando ativo */
  }

  .nav-links li {
    text-align: center;
    margin: 0.5rem 0;
  }

  .nav-links a {
    padding: 0.5rem 1rem;
    display: block;
  }

  .menu-toggle {
    display: flex;
    /* Mostra o botão do menu hamburguer */
  }

  .nav-container {
    justify-content: space-between;
    /* Garante espaço entre a marca e o botão */
  }

  .section-title {
    font-size: 1.8rem;
  }

  .grid-section {
    grid-template-columns: 1fr;
  }

  .about-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .about-text h2 {
    text-align: center;
  }

  .profile-image-large {
    width: 200px;
    height: 200px;
  }

  .card {
    padding: 1.5rem;
  }

  .chart-container {
    width: 90% !important; /* Adjust chart width for smaller screens */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
  }
}
.carousel {
  overflow: hidden;
  position: relative;
  margin-bottom: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.carousel:hover .carousel-track {
  animation-play-state: paused;
}
.carousel-track {
  display: flex;
  animation: scroll-carousel 30s linear infinite;
  width: calc(300px * 12);
}

.carousel-img {
  width: 400px;
  flex-shrink: 0;
  height: 200px;
  object-fit: cover;
  border-right: 4px solid var(--bg-color);
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

#faq {
  padding: 2.5rem 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.faq-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}
.carousel-track {
  display: flex;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-image: linear-gradient(
    45deg,
    var(--green-start, #28a745),
    var(--green-end, #218838)
  );
  background-color: #25d366; /* Fallback e cor oficial do WhatsApp */
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-decoration: none; /* Remove underline from link */
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
