* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: hsla(210, 4%, 9%, 1);
  --text: #ffffff;
  --accent: #369455;
  --accent-2: #369455;
  --accent-light: #eff3ff;
}

a {
  text-decoration: none;
  color: currentColor;
}

li {
  list-style: none;
  line-height: 2;
}

.personne {
  font-size: 16px;
  text-align: center;
}

p {
  font-weight: 500;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
}

.pricing__section {
  margin-block: 3rem;
}

.wrapper {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.title {
  text-align: center;
  display: grid;
  gap: 1rem;
  place-items: center;
}

.title h2 {
  font-size: 40px;
}

.toggle__section {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.toggle__section input {
  display: none;
}

.toggle__section .toggle__btn {
  display: flex;
  padding: 4px;
  background: var(--accent);
  border-radius: 2rem;
  width: 2.35rem;
}

.toggle__section .toggle__btn span {
  display: block;
  width: 1rem;
  height: 1rem;
  background: var(--primary);
  border-radius: 50%;
}

input:checked ~ .toggle__btn {
  justify-content: end;
}

.price__cards {
  margin-block: 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.price__card {
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  display: inline-flex;
  gap: 1rem;
  flex-direction: column;
}

.price__details {
  flex: 1 1 auto;
}

.price__details h3 {
  font-size: 4rem;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  color: var(--accent);
}

.price__details ul {
  margin-block: 1rem;
}

.price{
  margin-top: 10px;
  margin-bottom: -5px;
}
.price__details ul li::before {
  content: ">";
  margin-right: 8px;
  font-weight: bold;
}

hr {
  border: none;
  height: 0;
  border-bottom: 1px solid #ddd;
}

.price__card .price {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
  color: var(--accent-2);
}

.bg__accent-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 1rem;
  transition: 0.3s ease-in-out;
  background: var(--accent-2);
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 600;
}

.bg__accent-2:hover {
  transform: scale(0.96);
  background-color: var(--accent-light);
  color: var(--primary);
  font-weight: 400;
}
