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

:root {
  --primary: #4a6bff;
  --primary-dark: #3a56cc;
  --secondary: #2ecc71;
  --secondary-dark: #27ae60;
  --accent: #ff6b6b;
  --dark: #2c3e50;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --radius: 10px;
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

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

/* Tipografia */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--gray);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
}

/* Botões */
.btn-primary,
.btn-secondary,
.btn-nav,
.btn-form {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(74, 107, 255, 0.3);
}

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

.btn-secondary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}

.btn-nav {
  padding: 10px 25px;
  background: var(--primary);
  color: white;
}

.btn-form {
  width: 100%;
  padding: 18px;
  font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.btn-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 107, 255, 0.4);
}

/* Header */
.header {
  background-color: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
  color: var(--primary);
}

.logo span {
  font-size: 0.9rem;
  color: var(--gray);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

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

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: var(--primary);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
}

/* Placeholder para imagens */
.image-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: var(--shadow);
}

.image-placeholder i {
  font-size: 5rem;
  margin-bottom: 20px;
}

.image-placeholder p {
  color: white;
  font-weight: 500;
  font-size: 1.2rem;
}

.image-placeholder.small {
  height: 200px;
}

.image-placeholder.small i {
  font-size: 3rem;
}

/* Seções */
.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background-color: var(--light-gray);
}

/* Sobre */
.sobre-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.sobre-text {
  flex: 1;
}

.sobre-text ul {
  list-style: none;
  margin-top: 20px;
}

.sobre-text li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.sobre-text li i {
  color: var(--secondary);
  margin-right: 10px;
  font-size: 1.2rem;
}

.sobre-image {
  flex: 1;
}

/* Funcionalidades IA */
.ia-module {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.ia-image {
  flex: 1;
}

.ia-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-card {
  background-color: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
}

/* Grupos de Discussão */
.grupos-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.grupos-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.grupo-feature {
  background-color: white;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.grupo-feature h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.grupo-feature h3 i {
  font-size: 1.5rem;
}

.grupos-image {
  flex: 1;
}

/* Galeria */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-10px);
}

/* Benefícios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 2rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--dark), #1a2530);
  color: white;
  text-align: center;
}

.cta h2,
.cta-subtitle {
  color: white;
}

.cta-subtitle {
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

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

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.cta-image {
  flex: 1;
}

/* Formulário */
.demo-form {
  background-color: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
}

.form-info {
  margin-top: 30px;
  padding: 20px;
  background-color: var(--light-gray);
  border-radius: var(--radius);
  text-align: center;
}

.form-info h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--primary);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 5px;
}

.footer-logo p {
  color: var(--light-gray);
}

.footer-info h3 {
  color: white;
}

.slogan {
  color: var(--light-gray);
  font-style: italic;
}

.footer-contact h3 {
  color: white;
  margin-bottom: 15px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--light-gray);
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--light-gray);
}

/* Responsividade */
@media (max-width: 992px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero .container,
  .sobre-content,
  .ia-module,
  .grupos-content,
  .cta-content {
    flex-direction: column;
  }

  .hero-image,
  .sobre-image,
  .ia-image,
  .grupos-image,
  .cta-image {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 20px 0;
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .section {
    padding: 60px 0;
  }

  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .demo-form {
    padding: 25px;
  }
}

/* Estilos para a seção de vídeo */
.video-container {
  margin: 30px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: var(--dark);
  position: relative;
}

video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.video-controls {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.video-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.video-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 107, 255, 0.4);
}

.video-duration {
  color: white;
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.cta-features {
  flex: 1;
  padding-left: 30px;
}

.feature-highlight {
  background-color: white;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-highlight h4 {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.feature-highlight ul {
  list-style: none;
}

.feature-highlight li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.feature-highlight li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* Atualizar layout da seção CTA */
.cta-content {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-top: 40px;
}

.cta-text {
  flex: 1.5;
}

.cta-features {
  flex: 1;
}

/* Modal para vídeo em tela cheia */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.video-modal.active {
  display: flex;
}

.video-modal-content {
  width: 50%;
  max-width: 400px;
  position: relative;
}

.video-modal video {
  width: 50%;
  height: auto;
  max-height: 80vh;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 5px;
}

/* Responsividade para vídeo */
@media (max-width: 992px) {
  .cta-content {
    flex-direction: column;
  }

  .cta-features {
    padding-left: 0;
    width: 100%;
  }

  .video-controls {
    flex-direction: column;
    text-align: center;
  }
}
