/* 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:40px;
    width: 100%;
    height: 45vh;
    background: url('../imag/quem-somos.webp') center 20% / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .banner-quemsomos .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(71, 3, 3, 0.2); /* Escurecimento */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .banner-quemsomos h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    z-index: 1;
  }
  
  /* Responsividade do Banner */
  @media (max-width: 768px) {
    .banner-quemsomos {
      height: 40vh;
      margin-bottom: -50px;
    }
  
    .banner-quemsomos h1 {
      font-size: 2rem;
    }
    .valores-section {
        padding-top: -10px; /* reduz espaço superior */
      }
      .valores-container {
        margin-top: 40px; /* faz os cards subirem um pouco */
      }
  }
  
  @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: #8B0000;
    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);
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .sobre-content {
        flex-direction: column; /* IMAGEM ANTES DO TEXTO */
      padding: 20px;
      margin-bottom: -140px;
    }  
    .imagem-sobre {
      max-width: 100%;
      
    }
  }
  
  /* 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: #8B0000;
    margin-bottom: 60px;
    margin-top: 100px;
  }
  
  /* Cards container */
  .valores-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  /* Individual card */
  .valor-card {
    background-color: #111;
    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: #f7f3f3;
    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);
  }