@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fef9f5;
}
.box-profil{
  margin-top: 130px;
}
.profile-container {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  padding: 30px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}

.profile-header .info {
  flex: 1;
}

.profile-header .info h2 {
  font-size: 26px;
  color: #2c522b;
  margin-bottom: 5px;
}

.profile-header .info p {
  font-size: 14px;
  color: #777;
}

.profile-body {
  display: flex;
  gap: 30px;
  flex-wrap: wrap; /* permet de passer en colonne sur petits écrans */
}

.profile-section,
.profil-section {
  flex: 1 1 45%; /* deux colonnes sur grand écran */
  min-width: 300px;
}

.profile-section h3 {
  font-size: 18px;
  color: #2c522b;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 14px;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

input:focus {
  border-color: #5d8c4a !important;
}

.btn {
  padding: 10px 20px;
  background-color: #2c522b;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 20px;
}

.btn:hover {
  background-color: #3f7440;
}

/* Responsive : une seule colonne sur tablette et mobile */
@media(max-width: 1024px) {
  .profile-section,
  .profil-section {
    flex: 1 1 100%;
  }
}
