html {
  overflow-x: hidden;
}
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease-out;
}
.intro.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.intro-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.intro-content.visible {
  opacity: 1;
  transform: translateY(0);
}
.intro-content.fade-out {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.intro-content img {
  border-radius: 50%;
  object-fit: cover;
}
.chatbot-whatsapp-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  overflow: hidden;
}
.chatbot-icon,
.whatsapp-icon {
  position: relative;
  width: 56px;
  height: 56px;
}
.whatsapp-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.whatsapp-icon a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.whatsapp-icon .tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 70px;
  right: 0;
  background-color: #111827;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1002;
}
.whatsapp-icon:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
.chatbot-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}
.chatbot-modal {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 320px;
  height: 400px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  overflow: hidden;
}
.chatbot-modal.active {
  display: block;
}
.chatbot-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  color: white;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-header h3 {
  font-size: 16px;
  font-weight: 600;
}
.chatbot-close {
  cursor: pointer;
  font-size: 20px;
}
.chatbot-body {
  padding: 16px;
  height: calc(100% - 50px);
  overflow-y: auto;
  color: #1e3a8a;
}
.chatbot-messages {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
}
.chatbot-message {
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.bot-message {
  background: #eff6ff;
  color: #1e3a8a;
}
.user-message {
  background: #e5e7eb;
  color: #1f2937;
}
.category-list, .question-list {
  margin-top: 8px;
}
.category-btn, .question-btn {
  transition: background-color 0.2s ease;
}
.hidden {
  display: none;
}
.team-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 2px solid transparent;
  max-width: 450px;
  margin: 0 auto;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #3b82f6, #1e3a8a);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.team-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
  border-color: #3b82f6;
}
.team-card:hover::before {
  opacity: 0.05;
}
.team-card .image-container {
  position: relative;
  overflow: hidden;
  height: 320px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.team-card:hover img {
  transform: scale(1.08);
}
.team-card .content {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.team-card .name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}
.team-card .role {
  font-size: 1.125rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.team-card .specialty {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 20px;
  font-style: italic;
}
.team-card .bio {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease 0.1s;
  background: rgba(255, 255, 255, 0.8);
  padding: 16px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}
.team-card:hover .bio {
  opacity: 1;
  transform: translateY(0);
}
.team-card .highlight {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
.team-card:hover .highlight {
  opacity: 1;
  transform: scale(1);
}
.team-card .highlight i {
  color: white;
  font-size: 1.5rem;
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.plan-card {
  background: white;
  border: 2px solid #6b7280;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 16px;
  min-height: 480px;
  max-width: 360px;
  margin: 0 auto;
  position: relative;
  overflow: visible; /* permite que o selo ultrapasse o card */
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.plan-card.premium {
  border: 2px solid #f59e0b;
  background: #fffbeb;
}
.plan-card.premium::before {
  content: 'Mais Popular';
  position: absolute;
  top: 0; /* encosta no topo */
  left: 50%;
  transform: translate(-50%, -50%); /* metade para fora */
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  
}


.carousel-container {
  position: relative;
  overflow: hidden;
}
.carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  padding: 20px 0;
}
.carousel-item {
  flex: 0 0 100%;
  min-height: 200px;
  scroll-snap-align: start;
}
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1e3a8a;
  color: white;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.carousel-button:hover {
  background-color: #fbbf24;
}
.carousel-button.prev {
  left: 20px;
}
.carousel-button.next {
  right: 20px;
}
.video-container video {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}
.plan-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-card-content > * {
  flex: 0 0 auto;
}
.plan-card-content .button-container {
  margin-top: auto;
  text-align: center;
}
@media (min-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(33.333% - 16px);
  }
  .plan-card {
    min-height: 480px;
  }
  .team-card .image-container {
    height: 380px;
  }
  .team-card .name {
    font-size: 2rem;
  }
  .team-card .role {
    font-size: 1.25rem;
  }
  .team-card .specialty {
    font-size: 1.125rem;
  }
  .team-card .bio {
    font-size: 1.125rem;
  }
  .video-container video {
    height: 350px;
  }
}
@media (max-width: 640px) {
  .team-card {
    max-width: 100%;
    margin: 0 16px;
  }
  .team-card .image-container {
    height: 280px;
  }
  .team-card .content {
    padding: 24px 20px;
  }
  .team-card .name {
    font-size: 1.5rem;
  }
  .team-card .role {
    font-size: 1rem;
  }
  .team-card .specialty {
    font-size: 0.9rem;
  }
  .team-card .bio {
    font-size: 0.9rem;
    padding: 12px;
  }
  #mainTitle {
    font-size: 2.75rem;
  }
  .intro-content img {
    width: 140px;
  }
  .chatbot-whatsapp-container {
    gap: 12px;
  }
  .whatsapp-icon a,
  .chatbot-icon img {
    width: 48px;
    height: 48px;
  }
  .whatsapp-icon .tooltip {
    font-size: 12px;
    padding: 6px 10px;
  }
  .carousel-button {
    padding: 12px;
    font-size: 18px;
  }
  .plan-card {
    min-height: 400px;
  }
  .video-container video {
    height: 250px;
  }
  .chatbot-messages {
    max-height: 260px;
  }
  .chatbot-modal {
    width: 280px;
    height: 360px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {
  .container {
    max-width: 1440px;
  }
  #mainTitle {
    font-size: 5rem;
  }
  .intro-content img {
    width: 220px;
  }
  .video-container video {
    height: 400px;
  }
}
.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  padding: 0 60px; /* Space for buttons */
}

.carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease-in-out;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.carousel-item {
  flex: 0 0 90%; /* Slightly less than full width for spacing */
  min-height: 250px;
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e7eb;
}

.carousel-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1e3a8a;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-button:hover {
  background-color: #fbbf24;
  transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background-color: #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #1e3a8a;
}

@media (min-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(33.333% - 16px); /* Show 3 items on larger screens */
    margin: 0 8px;
  }
}

@media (max-width: 640px) {
  .carousel-container {
    padding: 0 40px;
  }

  .carousel-item {
    flex: 0 0 85%;
  }

  .carousel-button {
    width: 40px;
    height: 40px;
  }

  .carousel-button.prev {
    left: 5px;
  }

  .carousel-button.next {
    right: 5px;
  }
}
