/* Pages de contenu (compteur de points, système de tournoi, guide) */
:root {
    --encre: #1e1812;
    --brun: #593c29;
    --or: #a97c2f;
    --sable: #f6f0e4;
    --papier: #fffdf8;
    --trait: #e3d8c4;
    --gris: #5f5346;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--sable);
    color: var(--encre);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brun); }

.page-haut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background: var(--encre);
}
.page-haut a { color: var(--sable); text-decoration: none; }
.page-haut__marque { display: flex; align-items: center; gap: 12px; font-family: 'Playfair Display', Georgia, serif; font-size: 19px; }
.page-haut__marque img { width: 40px; height: 40px; }
.page-haut__lien { font-size: 15px; white-space: nowrap; }

.intro { padding: 64px 24px 56px; background: var(--encre); color: var(--sable); text-align: center; }
.intro h1 { max-width: 820px; margin: 0 auto 18px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(34px, 6vw, 54px); font-weight: 600; line-height: 1.15; }
.intro p { max-width: 680px; margin: 0 auto; font-size: 19px; color: #e4d9c6; }

.colonne { max-width: 860px; margin: 0 auto; padding: 48px 24px; }
.colonne h2 { margin: 44px 0 14px; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 4vw, 34px); font-weight: 600; line-height: 1.2; }
.colonne h2:first-child { margin-top: 0; }
.colonne h3 { margin: 26px 0 6px; font-size: 19px; }

.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.carte { overflow: hidden; background: var(--papier); border: 1px solid var(--trait); border-radius: 10px; }
.carte img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.carte div { padding: 16px 18px 18px; }
.carte h3 { margin: 0 0 6px; }
.carte p { margin: 0; font-size: 16px; color: var(--gris); }

.etapes { margin: 20px 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { position: relative; margin-bottom: 16px; padding: 16px 18px 16px 66px; background: var(--papier); border: 1px solid var(--trait); border-radius: 10px; counter-increment: etape; }
.etapes li::before { content: counter(etape); position: absolute; top: 16px; left: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--brun); color: var(--sable); font-weight: 700; line-height: 34px; text-align: center; }

.bandeau { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }

.capture { margin: 24px auto; border: 1px solid var(--trait); border-radius: 10px; }

table { width: 100%; margin: 20px 0; border-collapse: collapse; background: var(--papier); }
th, td { padding: 10px 14px; border: 1px solid var(--trait); text-align: left; }
th { background: #efe6d5; }

details { margin-bottom: 10px; padding: 14px 18px; background: var(--papier); border: 1px solid var(--trait); border-radius: 10px; }
summary { min-height: 28px; font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; }

.appel { margin: 44px 0 0; padding: 32px 24px; background: var(--brun); border-radius: 12px; color: var(--sable); text-align: center; }
.appel h2 { margin: 0 0 10px; color: var(--sable); }
.appel p { margin: 0 0 20px; }
.bouton { display: inline-block; min-height: 44px; margin: 4px; padding: 10px 22px; background: var(--sable); border-radius: 6px; color: var(--encre); font-weight: 700; text-decoration: none; }
.bouton--creux { background: transparent; border: 1px solid var(--sable); color: var(--sable); }

.voir-aussi { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }

.page-bas { padding: 32px 24px; background: var(--encre); color: #cfc3af; font-size: 15px; text-align: center; }
.page-bas a { display: inline-block; padding: 6px 8px; color: var(--sable); }

@media (max-width: 640px) {
    .grille { grid-template-columns: 1fr; }
    .intro { padding: 44px 16px 40px; }
    .colonne { padding: 36px 16px; }
    .page-haut { padding: 12px 16px; }
    .page-haut__marque { font-size: 16px; }
}
