/* ===== GOOGLE FONTS ===== */
/* Elms Sans     : h1, footer, li */
/* Cabin Sketch  : h2 (bold 700) */
/* VT323         : .price (numérique rétro) */

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== VARIABLES ===== */
:root {
    --bg: #1a1f1e;
    --text: #f0ece0;
    --text-dim: #b8b09a;
    --separator: rgba(240, 236, 224, 0.18);
    --price-text: #111111;
}

/* ===== BODY — mobile first, flex, une colonne, centrée ===== */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Elms Sans', sans-serif;
    padding: 2rem 1.2rem;
}

/* ===== H1 ===== */
h1 {
    font-family: 'Elms Sans', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.08em;
    text-align: center;
    color: var(--text-dim);
    padding-bottom: 0.6rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 480px;
}

/* ===== H2 ===== */
h2 {
    font-family: 'Cabin Sketch', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* ===== PRIX — étiquette PNG supermarché ===== */
/*
  tag.png : 250 × 156 px (RGBA fond transparent)
  Affiché à 125 × 78 px (2x retina)
  Le texte est centré par-dessus via text-align + line-height
*/
.price {
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--price-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 72px;
    height: 45px;
    background-image: url('img/tag.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    line-height: 1;
    padding: 0 0.5rem;
    text-align: center;
    margin-left: auto;
}

/* ===== LISTES ===== */
ul {
    list-style: none;
    width: 100%;
    max-width: 480px;
    margin-bottom: 1rem;
}

ul li {
    font-family: 'Elms Sans', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--text);
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--separator);
}

ul li:last-child {
    border-bottom: none;
}

/* ===== FOOTER ===== */
footer {
    margin-top: 3rem;
    font-family: 'Elms Sans', sans-serif;
    font-size: 1rem;
    color: var(--text-dim);
    text-align: center;
}