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

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f5f5f5;
}

header {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 1.8em;
    font-weight: 600;
}

main {
    flex: 1;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background-color: white;
}
#titre {
    font-size: 2.5em;
    color: #e1e5ec;
    margin-bottom: 10px;
    font-weight: 700;
}

h1 {
    font-size: 2.2em;
    color: #0066cc;
    margin-bottom: 20px;
    margin-top: 20px;
    font-weight: 700;
}

h2 {
    font-size: 1.8em;
    color: #004499;
    margin-bottom: 25px;
    margin-top: 30px;
    border-bottom: 3px solid #0066cc;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5em;
    color: #0066cc;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1em;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
    text-decoration: underline;
}

ol {
    margin-left: 30px;
    margin-bottom: 30px;
    background-color: #f0f7ff;
    padding: 20px 30px;
    border-left: 4px solid #0066cc;
    border-radius: 5px;
}

ol li {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.1em;
}

ol a {
    font-weight: 500;
}

.img-tuto {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.img-tuto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

.ligne {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap; /* évite les débordements */
}

.ligne img {
    max-width: 100%;
    height: auto;
    flex-shrink: 1; /* empêche l’image de casser la mise en page */
}

