body {
  margin: 0;
  font-family: sans-serif;
  background: #f9fafb;
  color: #333;
  overflow-x: hidden; /* Impede cortes horizontais */
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box; /* Garante que o padding não some à largura */
}

.corretor-box {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(16, 74, 16, 0.1);
  box-sizing: border-box; /* Garante que o padding não some à largura */
}

.corretor-foto {
  width: 180px;
  height: 180px;
  min-width: 180px; /* Evita que a imagem diminua demais */
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #16a34a;
}

.corretor-info {
  flex: 1;
  min-width: 0; /* Permite que o texto quebre corretamente */
}

.corretor-box h1 {
  color: #166534;
  font-size: 1.5rem;
  margin-bottom: 5px;
  word-wrap: break-word; /* Quebra palavras longas */
}

.corretor-box h2 {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 10px;
  word-wrap: break-word;
}

.corretor-box p {
  font-size: 0.95rem;
  margin-bottom: 8px;
  word-wrap: break-word;
}

.contato {
  font-weight: bold;
  margin-top: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
  .corretor-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .corretor-foto {
    margin-bottom: 15px;
  }
  
  .corretor-info {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }
  
  .corretor-box {
    padding: 15px;
  }
  
  .corretor-foto {
    width: 150px;
    height: 150px;
    min-width: 150px;
  }
  
  .corretor-box h1 {
    font-size: 1.3rem;
  }
  
  .corretor-box h2 {
    font-size: 1rem;
  }
  
  .corretor-box p {
    font-size: 0.9rem;
    text-align: justify;
  }
}