/* Palette inspirée du papier : blanc, beige, gris clair, bleu pastel */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f2f2f2;
    color: #333;
    padding: 2rem;
    background-image: linear-gradient(145deg, #fefefe 0%, #e9e9e9 100%);
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

h1::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #3498db;
    display: block;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

p {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

ul {
    max-width: 500px;
    margin: auto;
    padding: 0;
    list-style: none;
}

li {
    background: #fff;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 1rem;
}

li:hover {
    transform: translateY(-5px);
    background: #f9f9f9;
}

input[type="checkbox"] {
    transform: scale(1.3);
    accent-color: #3498db;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
    transition: color 0.2s ease;
}

a:hover {
    color: #21618c;
    text-decoration: underline;
}

footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

/* Effet "papier plié" sur les blocs */
li::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #ccc, transparent);
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    border-top-left-radius: 12px;
}
li::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, #ccc, transparent);
    bottom: 0;
    right: 0;
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
    border-bottom-right-radius: 12px;
}
