/* Feuille de style unique du site. Fichier séparé (et non bloc <style>) pour que la politique
   de sécurité du contenu (Content-Security-Policy, nginx.conf) puisse interdire tout style en ligne. */

html { overflow-y: scroll; }

body {
    font-family: monospace;
    background: #0A0A0B;
    color: #ddd;
    margin: 0;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

main {
    width: 100%;
    max-width: 40rem;
    text-align: center;
}

h1 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.logo {
    max-width: 100%;
    height: auto;
    width: 800px;
    display: inline-block;
}

h2 {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 2rem;
}

.description {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.content {
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 35rem;
    margin: 0 auto;
}

ul {
    list-style-type: "- ";
    padding-left: 1rem;
    margin: 0;
}

li {
    margin: 0.8rem 0;
    line-height: 1.4;
}

p {
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

a {
    color: #fff;
    text-decoration: underline;
}

a:hover {
    color: #888;
    text-decoration: none;
}

/* Lien discret de retour à l'accueil, en bas des pages secondaires. */
a.retour {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-link {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    color: #555;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Logo et titre de page côte à côte (pages secondaires), passage à la ligne sur petit écran. */
.title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.title-wrapper .logo {
    margin-bottom: 0;
    width: 400px;
}

.title-wrapper h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #fff;
    /* Ajustement optique pour aligner le texte sur le logo (positif : descend). */
    transform: translateY(12px);
}
