/* Header Section - Profissão Inteligente */

.header-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  /* Removido o background linear gradient padrão */
  /* Adicione a URL da sua imagem de fundo aqui: */
  /* background-image: url('URL_DA_SUA_IMAGEM_AQUI'); */
  background-color: var(--primary-bg); /* Cor de fallback caso a imagem não carregue */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 0 5%;
}

/* Adiciona uma sobreposição escura para melhor legibilidade do texto sobre a imagem */
.header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent !important; /* Ajuste a opacidade conforme necessário */
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2; /* Garante que o conteúdo fique acima da sobreposição */
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.header-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding-right: 30px;
}

.header-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff; /* Cor do texto ajustada para fundo escuro/imagem */
  line-height: 1.2;
}

.header-text h1 span {
  color: var(--primary-accent);
  text-shadow: 0 0 15px rgba(0, 255, 242, 0.5);
}

.header-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #eee; /* Cor do texto ajustada para fundo escuro/imagem */
}

.header-images {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.problem-section .section-title h2 span {
  color: var(--alert-color);
  text-shadow: 0 0 15px rgba(255, 78, 78, 0.5); /* brilho vermelho */
}


/* Resolver efeito do botão na intro-section */
.intro-section div[style*="display: flex"],
.intro-section .button-wrapper {
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

.intro-section .universal-button {
    position: relative !important;
    z-index: 20 !important;
    overflow: visible !important;
}

.journey-section,
.journey-section .container,
.journey-section .journey-content,
.journey-section .button-wrapper {
  position: relative;
  overflow: visible;
  z-index: 1;
}

.journey-section .universal-button {
  position: relative;
  z-index: 9999;
}

div[style*="font-family: 'Inter', sans-serif"] {
    font-family: 'Poppins', sans-serif !important;
}

.problem-list li {
  padding: 10px 0;
}

.problem-list .icon-text {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.problem-list .icon-text i {
  color: #ff4e4e !important;
  margin-right: 10px;
  flex-shrink: 0;
}

.problem-list .icon-text span {
  flex: 1 1 0;
  min-width: 0;
}

.highlight-red {
  color: #ff4e4e;
}

.future-work-section,
.future-work-section .container,
.future-work-section .future-content,
.future-work-section .card,
.future-work-section .card-content {
  position: relative;
  overflow: visible;
  z-index: 1;
}

.future-work-section .universal-button {
  position: relative;
  z-index: 9999;
}


/* CORREÇÃO FINAL: Liberar tamanho original das imagens e manter estilo */
.image-grid.four-columns .image-placeholder {
  all: unset; /* Remove todos os estilos herdados */
  display: inline-block;
  border: 1px solid rgba(0, 255, 242, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 255, 242, 0.1);
  margin: 0;
  padding: 0;
}

.image-grid.four-columns .image-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 255, 242, 0.2);
}

.image-grid.four-columns .content-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: initial;
}

.image-placeholder.full-width {
  aspect-ratio: 16 / 9;
  height: auto !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 242, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 255, 242, 0.1);
}

.image-placeholder.full-width img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.image-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 242, 0.3);
  border-radius: 10px;
  height: 180px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 255, 242, 0.1);
  transition: all 0.3s ease;
}

.image-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0, 255, 242, 0.2);
}

.image-placeholder::after {
  content: "Imagem";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-accent);
  font-size: 0.9rem;
  opacity: 0.7;
}

.guarantee-badge {
  display: flex;
  align-items: center;
  margin-top: 20px;
  padding: 10px 15px;
  background: rgba(0, 255, 242, 0.08);
  border-radius: 8px;
  border-left: 3px solid var(--primary-accent);
  max-width: 300px;
}

.guarantee-badge i {
  font-size: 2rem;
  color: var(--primary-accent);
  margin-right: 15px;
}

.guarantee-badge p {
  font-size: 0.9rem;
  margin: 0;
  color: #eee; /* Cor do texto ajustada */
}

.guarantee-badge strong {
  color: var(--primary-accent);
}

/* Problem Section */
.problem-section {
  background: linear-gradient(145deg, var(--primary-bg), var(--secondary-bg));
  position: relative;
}

.problem-content {
  position: relative;
  z-index: 2;
}

.problem-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.problem-list li {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
}

.problem-list li i {
  color: var(--primary-accent);
  margin-right: 15px;
  font-size: 1.2rem;
  margin-top: 3px;
}

.feeling-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feeling-list li {
  padding: 8px 0;
}

/* Solution Section */
.solution-section {
  background: linear-gradient(145deg, var(--secondary-bg), var(--primary-bg));
  position: relative;
}

.solution-content {
  position: relative;
  z-index: 2;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.benefits-list li {
  padding: 8px 0;
}

/* IA Section */
.ia-section {
  background: linear-gradient(145deg, var(--primary-bg), var(--secondary-bg));
  position: relative;
}

.ia-content {
  position: relative;
  z-index: 2;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(145deg, var(--secondary-bg), var(--primary-bg));
  position: relative;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.benefit-item {
  background: rgba(13, 13, 13, 0.7);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 242, 0.1);
}

.benefit-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.benefit-item i {
  font-size: 2.5rem;
  color: var(--primary-accent);
  margin-bottom: 20px;
}

.benefit-item p {
  color: var(--text-color);
  font-size: 1rem;
  margin: 0;
}

/* Method Section */
.method-section {
  background: linear-gradient(145deg, var(--primary-bg), var(--secondary-bg));
  position: relative;
}

.method-content {
  position: relative;
  z-index: 2;
}

.subtitle {
  font-size: 1.8rem;
  color: var(--text-color);
  margin: 40px 0 20px;
  text-align: center;
}

.bonus-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.bonus-list li {
  padding: 10px 0;
  font-size: 1.1rem;
}

.total-value {
  font-size: 1.3rem;
  text-align: center;
  margin: 30px 0;
}

.special-price {
  font-size: 1.5rem;
  color: var(--secondary-accent);
  text-align: center;
  margin: 20px 0;
}

.special-price span {
  font-size: 2rem;
  font-weight: 700;
}

.alert-title {
  color: var(--alert-color);
  text-align: center;
  margin-bottom: 20px;
}

.cta-large {
  text-align: center;
  margin: 40px 0;
  font-size: 1.3rem;
}

.final-quote {
  font-style: italic;
  text-align: center;
  margin: 30px 0;
}

.final-message {
  text-align: center;
  font-size: 1.2rem;
  margin: 20px 0;
}

.final-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-accent);
  margin: 20px 0;
}

/* Modules Grid */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.module-card {
  background: rgba(13, 13, 13, 0.7);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 255, 242, 0.1);
  position: relative;
}

.module-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 255, 242, 0.3);
}

.module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
}

.module-image {
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.module-image::after {
  content: "Imagem do Módulo";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-accent);
  font-size: 0.9rem;
  opacity: 0.7;
}

.module-content {
  padding: 25px;
}

.module-number {
  font-size: 0.9rem;
  color: var(--primary-accent);
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
}

.module-title {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.module-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.module-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 242, 0.2);
  border: none;
  cursor: pointer;
  width: 100%;
}

.module-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 255, 242, 0.4);
}

/* Responsividade */
@media (max-width: 992px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .header-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .header-text h1 {
    font-size: 2.8rem;
  }
  
  .guarantee-badge {
    margin: 20px auto;
  }
  
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-text h1 {
    font-size: 2.2rem;
  }
  
  .header-images {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .image-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-text h1 {
    font-size: 1.8rem;
  }
  
  .header-images {
    grid-template-columns: 1fr;
  }
  
  .image-placeholder {
    height: 150px;
  }
}




/* Adjustments for Desktop Headline Layout */
@media (min-width: 992px) {
  .header-section {
    /* Ensure header takes full height */
    min-height: 100vh;
    display: flex; /* Use flex directly on the section */
    align-items: center; /* Vertically center the content container */
    padding: 0 5%; /* Keep padding */
  }

  .header-content {
    display: flex;
    width: 100%; /* Ensure content takes full width */
    align-items: center; /* Vertically align items within the content area */
    justify-content: flex-start; /* Align items to the start (left) */
    max-width: 1200px; /* Keep max-width */
    margin: 0 auto; /* Center the content block */
  }

  .header-text {
    flex: 0 0 50%; /* Don't grow, don't shrink, base width 50% */
    max-width: 50%; /* Explicitly set max-width to 50% */
    padding-right: 30px; /* Keep some padding */
    /* Add flex properties to center content vertically */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh; /* Give it height to allow vertical centering */
    text-align: left; /* Ensure text is left-aligned */
  }

  .header-text h1 {
    font-size: 2.8rem; /* Reduce font size for the narrower space */
    /* Keep other h1 styles */
  }

  .header-text p {
     font-size: 1.1rem; /* Slightly adjust paragraph size if needed */
     /* Keep other p styles */
  }

  .header-images {
    display: none; /* Hide the 3-image grid on desktop */
  }

  /* Adjust guarantee badge position if needed */
  .guarantee-badge {
     margin-top: 30px; /* Add more margin if needed */
     margin-left: 0; /* Ensure it's aligned left */
     max-width: 100%; /* Allow it to take necessary width within the 50% column */
  }

  /* Adjust button position if needed */
   .header-text .btn {
       margin-left: 0; /* Ensure button aligns left */
       /* Potentially adjust width or alignment */
   }

}

