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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    padding: 20px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.banniere-header {
    background-color: #e3f2fd;
    padding: 40px 20px;
    margin: -20px -20px 10px -20px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.conteneur {
    max-width: 900px;
    min-width: 60%;
    margin: 0 auto;
    padding: 20px 10px;
    flex: 1;
}

.deco {
    justify-self: center;
    width: 9vw;
    height: auto;
}

.deco-left {
    grid-column: 1;
    transform: rotate(-10deg);
}

.deco-right {
    grid-column: 3;
    transform: rotate(10deg);
}

h1 {
    grid-column: 2;
    color: #0C1F3F;
    text-align: center;
    margin: 0;
    font-size: 3.2vw;
    padding: 0;
    border: none;
}

.section {
    background-color: #f8f9fa;
    margin-bottom: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #3498db;
}

.avertissement {
    background-color: rgb(235, 235, 235);
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    border: darkred;
    border-width: 3px;
    border-style: solid;

}

h2 {
    font-size: 1.5em;
    margin-bottom: 0.3em;
}

.section h2 {
    color: #2980b9;
    margin-bottom: 0.12em;
    margin-top: -0.4em
}

ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

li {
    margin-bottom: 0;
    line-height: 120%;
}

.conteneur a {
    color: #3498db;
    text-decoration: none;
    padding: 8px 15px;
    display: inline-block;
    background-color: #ecf0f1;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.conteneur a:hover {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
    transform: translateX(2px) translateY(1px);
}

.num-sem {
    font-size: 0.85em;
    font-weight: normal;
    padding: 2px 4px;
    border-radius: 5px;
    border: 1px solid #3498db;
    margin-left: 5px;
}

a:hover .num-sem {
    border: 1px solid white;
}

footer {
    background-color: #e3f2fd;
    color: white;
    text-align: center;
    padding: 10px 10px 6px;
    margin: -20px -20px -20px -20px;
}

.logo-tim {
    width: 150px;
    height: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    filter: brightness(0) saturate(100%) invert(8%) sepia(17%) saturate(7498%) hue-rotate(204deg) brightness(98%) contrast(95%);
    transition: filter 0.3s ease;
}

a .logo-tim:hover {
    filter: brightness(0) saturate(100%) invert(40%) sepia(68%) saturate(630%) hue-rotate(167deg) brightness(86%) contrast(93%);
}

footer p {
    font-size: 0.8em;
    margin: 0;
    color: #2c3e50;
    font-weight: 500;
}

footer p a {
    color: #2c3e50;
}

footer p a:hover {
    color: #2980b9;
    transition: filter 0.3s ease;
}

@media (max-width: 768px) {

    .deco {
        display: none;
    }

    h1 {
        font-size: 1.8em;
    }

    .section {
        padding: 15px;
    }

    h2 {
        font-size: 1.2em;
    }

    .logo-tim {
        width: 120px;
    }
}