/*
 * FFOBPAI
 * Fédération Française de l'Observation de Barres de Progression
 * et de l'Attente Informatique
 */

:root {
    --text: #111;
    --muted: #555;
    --link: #0645ad;
    --background: #fff;
    --border: #ddd;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;

    background: var(--background);
    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.55;
}

.container {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 45px 0 60px;
}


/* =========================
   HEADER
   ========================= */

.site-header {
    display: flex;
    align-items: flex-start;
    gap: 25px;

    margin-bottom: 35px;
}

.logo-placeholder {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px dashed #aaa;

    color: #888;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.logo {
    flex: 0 0 250px;
    width: 250px;
    height: 250px;
    overflow: hidden; /* Optionnel, mais utile si l'image dépasse */
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Garde les proportions, pas de rognage */
    display: block;
}

.brand {
    flex: 1;
}

h1 {
    margin: 0;

    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.12;
    font-weight: 700;
}

.acronym {
    margin: 8px 0 0;

    color: var(--muted);

    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
}


/* =========================
   INTRODUCTION
   ========================= */

.intro {
    margin-bottom: 35px;
}

.intro p {
    margin: 0 0 15px;
}

.english {
    color: var(--muted);
    font-size: 0.95rem;
}


/* =========================
   SECTIONS
   ========================= */

section {
    margin: 0 0 32px;
}

h2 {
    margin: 0 0 10px;

    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
}

ul {
    margin: 0;
    padding-left: 25px;
}

li {
    margin: 5px 0;
}

a {
    color: var(--link);
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}


/* =========================
   FOOTER
   ========================= */

footer {
    margin-top: 50px;
    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: var(--muted);
    font-size: 0.85rem;
}

footer p {
    margin: 5px 0;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 900px);
        padding-top: 25px;
    }

    .site-header {
        gap: 15px;
    }

    .logo-placeholder {
        flex-basis: 75px;
        width: 75px;
        height: 75px;

        font-size: 0.65rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.15rem;
    }

    ul {
        padding-left: 20px;
    }
}