html, body {
    height: 100%; 
    margin: 0; 
    padding: 0;
    transition: opacity 0.5s ease-in-out;
}

main {
    font-family: "Arial", sans-serif;
    text-align: center;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 26em 5px 5em 5px;  
    background-color: #F7F4EF !important;
}

/* 0) Allège le main : tes paddings géants cassent le responsive */
main{
  padding: 26em 5px 5em 5px;

}
.container-legal {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background-color: #f7deaa;
  height: auto;
  width: 80%;
  border: 2px solid #264143;
  border-radius: 20px;
  box-shadow: 3px 4px 0px 1px #4184c9;
}

.container-legal>h1 {
  text-decoration: underline;
  font-weight: 900;
  font-size: 4.5em;
  margin-top: 20px;
}

.container-legal>h2 {
  font-weight: 900;
  font-size: 2.5em;
  margin-top: 20px;
}

.container-legal>p {
  font-size: 1.5em;
  margin: 20px;
}

.container-legal>ul {
  font-size: 1.5em;
  margin: 20px;
  list-style-type: none;
}

.btn {
  padding: 15px;
  margin: 25px 0px;
  width: 290px;
  font-size: 23px !important;
  background: #24bbf7 !important;
  font-weight: 800;
  border: 3px solid #3F51B5 !important;
  box-shadow: 3px 3px 0px 0px #3F51B5;
}

.btn:hover {
  opacity: .9;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    text-align: left;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #ccc;
    padding: 0.6rem 0.9rem;
}

.cookie-table th {
    background: #1a1a2e;
    color: #FFE893;
    font-weight: bold;
}

.cookie-table tr:nth-child(even) td {
    background: #f7f7f7;
}

.cookie-table code {
    background: #eee;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.85rem;
}