/* Fonte padrão */
body {
  font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Banner Quem Somos */
  .banner-quemsomos {
    position: relative;
    margin-top:90px;
    width: 100%;
    height: 45vh;
    background: url('../imag/business-colleagues-studying-reports.webp') center 20% / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate; /* garante que o ::before fique abaixo do conteúdo */
  }
  
  .banner-quemsomos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.20); /* <-- ajuste aqui (0.45 = nível de escuridão) */
    z-index: 0; /* fica atrás do texto */
  }
  
  .banner-quemsomos .overlay {
    position: relative;
    z-index: 2; /* acima da camada escura */
    text-align: center;
  }
  
  .banner-quemsomos h1 {
    color: #fff;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  margin: 0;
  position: relative;
  z-index: 3; /* garante que o texto fique acima de tudo */
  }
  /* Responsividade do Banner */
  @media (max-width: 768px) {
    .banner-quemsomos {
      height: 40vh;
      margin-bottom: -50px;
      margin-top:50px;
    }
  
    .banner-quemsomos h1 {
      font-size: 2rem;
    }
    
    .sobre-image {
      display: none;
    }

    .valores-section {
      padding-top: -10px; /* reduz espaço superior */
      }
      .valores-container {
        margin-top: 40px; /* faz os cards subirem um pouco */
      }
      .section-title {
        font-size: 1.5rem!important;
      }
  }
  
  @media (max-width: 480px) {
    .banner-quemsomos {
      height: 30vh;
    }
  
    .banner-quemsomos h1 {
      font-size: 1.5rem;
    }
    
  }
  
  /* Seção Sobre */
  .sobre-container {
    background-color: #ffffff;
    padding: 60px 20px;
  }
  
  .sobre-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;

  }
  
  /* Texto */
  .sobre-texto {
    flex: 1 1 500px;
    min-width: 300px;
    animation: fadeInRight 1s ease forwards;
  }
  
  .sobre-box {
    background-color: #ffffff;
    padding: 30px;
   
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  
  .sobre-box h2 {
    color: #0599DB;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .sobre-box p {
    text-align: justify;
    line-height: 1.8;
    color: #333;
    font-weight: 300;
    margin-bottom: 1rem;
  }
  
  /* Imagem */
  .sobre-imagem {
    flex: 1 1 500px;
    min-width: 300px;
    text-align: center;
    animation: fadeInLeft 1s ease forwards;
  }
  
  .imagem-sobre {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 1.5s ease;
  }
  
  .imagem-sobre:hover {
    transform: scale(1.03);
  }

  @media (max-width: 400px) {
    .sobre-content {
      flex-direction: column;
    }
  
    .sobre-texto {
      order: 1;
    }
  
    .sobre-imagem {
      order: 2;
    }
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .sobre-content {
        flex-direction: column; /* IMAGEM ANTES DO TEXTO */
      padding: 20px;
      margin-bottom: -140px;
    }  
    .imagem-sobre {
      max-width: 100%;   
    }
    .section-title {
      font-size: 1rem;
    }
  }
  
  /* Animações */
  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .valores-section {
    background-color: #fff;
    padding: 20px 20px;
    text-align: center;
    overflow: hidden;
  
  }
  
  .section-title {
    font-size: 2.2rem;
    color: #0599DB;
    margin-bottom: 60px;
    margin-top: 100px;
    font-weight: 700;
  }
  
  /* Cards container */
  .valores-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  /* Individual card */
  .valor-card {
    background-color: #0599DB;
    color: #fff;
    width: 300px;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(50px);
  }
  
  /* Icon styling */
  .valor-card .icon {
    font-size: 60px;
    color: #fff;
    margin-bottom: 15px;
  }
  
  /* Title */
  .valor-card h3 {
    font-size: 1.5rem;
    color: #f7f3f3;
    margin-bottom: 15px;
  }
  
  /* Description */
  .valor-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align:center;
  }
  
  /* Reveal active state */
  .valor-card.active {
    opacity: 1;
    transform: translateY(0);
  }