
.custom-title-section {
    padding: 140px 20px 0px;
    background-color: #000;
    position: relative;
    overflow: hidden;
  }
  

  
  .title-container {
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .custom-title-section h2 {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.5px;
    padding-left: 20px;

  }
  
  .custom-section {
    padding: 80px 20px;
    background-color: #000;
    position: relative;
  }
  
  .custom-section.alt {
    background-color: #0a0a0a;
  }
  
  .custom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
    gap: 40px;
  }
  
  .custom-image, 
  .custom-text {
    flex: 1 1 45%;
    min-width: 300px;
  }
  
  .custom-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
  }
  
  .custom-image:hover {
    transform: translateY(-5px);
  }
  
  .custom-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }
  
  .custom-image:hover img {
    transform: scale(1.03);
  }
  
  .custom-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
    color: #CF3A2D;
    line-height: 1.3;
    font-weight: 700;
  }
  
  .custom-text p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
  }
  
  /* Efeitos de hover para texto */
  .custom-text h3 {
    position: relative;
    display: inline-block;
  }
  
  .custom-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #CF3A2D, #C75D00);
    transition: width 0.3s ease;
  }
  
  .custom-text:hover h3::after {
    width: 100px;
  }
  
  /* Responsividade melhorada */
  @media (max-width: 992px) {
    
    .custom-section {
      padding: 60px 20px;
    }
    
    .custom-row {
      gap: 30px;
    }
  }
  
  @media (max-width: 768px) {
    .custom-section:last-of-type .custom-row {
        flex-direction: column-reverse;
      }
    .custom-title-section {
      padding: 110px 20px 40px;
    }
    
    .custom-section {
      padding: 50px 20px;
    }
    
    .custom-image, 
    .custom-text {
      flex: 1 1 100%;
      min-width: auto;
    }
    
    .custom-image {
      margin-bottom: 30px;
    }
    
    .custom-text h3 {
      margin-bottom: 15px;
    font-size: 1.8rem;
    }
  }
  
  @media (max-width: 480px) {
    .custom-title-section {
      padding: 100px 15px 30px;
    text-align: center;
    }
    
    .custom-title-section h2 {
      padding-left: 0;
      border-left: none;
      border-bottom: 3px solid #CF3A2D;
      padding-bottom: 10px;
      display: inline-block;
    }
    
    .custom-section {
      padding: 40px 15px;
    }
    
    .custom-text h3 {
      font-size: 1.5rem;
    }
    
    .custom-text p {
      font-size: 1rem;
    }
  }