/* Reset e Configurações Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff1493;
  --secondary-color: #ff69b4;
  --accent-color: #ffb6c1;
  --dark-color: #2d1b4e;
  --light-color: #fff5f7;
  --text-color: #4a4a4a;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
  --gradient-secondary: linear-gradient(135deg, #9b59b6 0%, #e91e63 100%);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.4);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
}

.btn-large {
  padding: 20px 50px;
  font-size: 18px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* Hero Section */
.main-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.main-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Adicionando layout flexível para hero com logo à direita */
.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-image {
  flex: 0 0 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: 100%;
  height: auto;
  max-width: 450px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.logo {
  margin-bottom: 32px;
}

.logo-text {
  font-size: 48px;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
}

.label {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.description {
  font-size: 28px;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.description--active {
  font-size: 42px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 900;
  color: var(--dark-color);
  line-height: 1.3;
}

.section-subtitle {
  font-size: 22px;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-color);
  font-weight: 500;
}

.section-subtitle.highlight {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
}

/* Values Section */
.values-section {
  background: var(--gradient-primary);
  color: white;
}

.values-section .section-title,
.values-section .section-subtitle {
  color: white;
}

/* Who Can Section */
.who-can-section {
  background-color: var(--light-color);
}

.requirements-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 20px;
}

.requirements-list li {
  padding: 20px 30px;
  margin-bottom: 16px;
  background: white;
  border-left: 5px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 600;
  transition: all 0.3s ease;
}

.requirements-list li:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

/* Testimonials Section */
.testimonials-section {
  background: white;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Reviews Section */
.reviews-section {
  background: var(--gradient-secondary);
  color: white;
}

.reviews-section .section-title {
  color: white;
}

/* How Works Section */
.how-works-section {
  background-color: var(--light-color);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.step-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--dark-color);
}

.step-card p {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.6;
}

/* About Section */
.about-section {
  background: white;
}

.about-text {
  font-size: 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
  line-height: 1.8;
  font-weight: 500;
}

/* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 60px auto 0;
}

.faq-item {
  background: white;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 2px solid var(--light-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0;
}

.faq-icon {
  font-size: 28px;
  font-weight: 300;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
}

/* Company Section */
.company-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.company-section .section-title,
.company-text {
  color: white;
}

.company-text {
  font-size: 20px;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 48px;
  line-height: 1.8;
  font-weight: 500;
}

/* Why Choose Section */
.why-choose-section {
  background-color: var(--light-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.stat-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: 56px;
}

.stat-info h3 {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-info p {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-color);
  line-height: 1.4;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 48px 0;
  text-align: center;
}

.footer p {
  margin: 8px 0;
  font-size: 16px;
}

/* Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.chatbot-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 8px 20px rgba(255, 20, 147, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
}

.chatbot-avatar:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 28px rgba(255, 20, 147, 0.5);
}

.chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatbot-label {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow);
  border: 2px solid var(--primary-color);
}

/* Chatbot Modal */
.chatbot-modal {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 420px;
  height: 650px;
  z-index: 1001;
  animation: slideUp 0.3s ease;
}

.chatbot-modal.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chatbot-header {
  background: var(--gradient-primary);
  color: white;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-header-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.chatbot-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.status-online {
  font-size: 13px;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-online::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.chatbot-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
}

.message {
  margin-bottom: 20px;
  display: flex;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.bot {
  justify-content: flex-start;
}

.message.user {
  justify-content: flex-end;
}

.message-content {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  word-wrap: break-word;
}

.message.bot .message-content {
  background: white;
  color: var(--text-color);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #f3f4f6;
}

.message.user .message-content {
  background: var(--gradient-primary);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(255, 20, 147, 0.3);
}

.message-image {
  max-width: 100%;
  border-radius: 12px;
  margin-top: 8px;
}

.message-audio {
  width: 100%;
  margin-top: 8px;
}

.chatbot-input-area {
  border-top: 1px solid #e5e7eb;
  background: white;
}

.chatbot-typing {
  padding: 16px 24px;
  display: flex;
  gap: 6px;
}

.chatbot-typing span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: typing 1.4s infinite;
}

.chatbot-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chatbot-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-12px);
    opacity: 1;
  }
}

.chatbot-input-container {
  display: flex;
  padding: 20px;
  gap: 12px;
}

.chatbot-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 25px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.chatbot-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.1);
}

.chatbot-input:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.chatbot-send {
  padding: 14px 28px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px;
}

.chatbot-send:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 20, 147, 0.3);
}

.chatbot-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 968px) {
  /* Ajustando hero layout para mobile */
  .hero-layout {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-image {
    flex: 0 0 auto;
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 32px;
  }

  .label {
    font-size: 24px;
  }

  .description {
    font-size: 20px;
  }

  .description--active {
    font-size: 28px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-subtitle {
    font-size: 18px;
  }

  .chatbot-modal {
    width: calc(100% - 32px);
    height: calc(100% - 100px);
    right: 16px;
    bottom: 16px;
  }

  .stats-grid,
  .steps-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 14px 32px;
    font-size: 14px;
  }

  .btn-large {
    padding: 16px 36px;
    font-size: 16px;
  }

  .hero-image {
    max-width: 280px;
  }
}
