body {
margin: 0;
box-sizing: border-box;
background-color: white;
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

nav {
display: flex;
background-color: rgb(250 250 252);
justify-content: center;
align-items: center;
height: 50px;
}

nav img {
   height: 20px;
} 

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    font-weight: 100;
    font-size: small ;
    margin: 0;
}

a {
    text-decoration: none;
    color: black;
}

h1{
    font-size: 80px;
    font-weight: 550;
    color: rgb(29 29 31);
    padding-left: 80px;
}

.factSheets img {
	
	margin-left: auto;
	margin-right: auto;
	max-width: 200px;
    border-radius: 25px;
}

 .factSheets{ 
    display: grid;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
}

.tabs {
  display: flex;
  justify-content: center;
  padding: 20px;
  gap: 50px;
}

.tabs__track {
  position: relative;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}

.tabs__btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-sort {
  appearance: none;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

/* Hover */
.btn-sort:hover {
  background: #e8e8ed;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Click */
.btn-sort:active {
  transform: scale(0.97);
}

/* Focus clavier (important) */
.btn-sort:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 3px;
}

.tabs__btn.is-active {
  color: black;
}

.tabs__pill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 0;
  border-radius: 999px;
  background: white;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, width 0.3s ease;
}