/* Système de design du squelette — produit par Skwik.
   Couple typographique : artisan (polices embarquées).
   Le centre d'art graphique met en avant la transmission des savoir-faire artisanaux de la gravure et de l'estampe. Une palette chaude et terreuse évoque les encres et les papiers, tandis qu'une typographie artisanale, lisible et chaleureuse, reflète le caractère convivial et pédagogique du lieu. */

@font-face {
    font-family: 'Bitter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/bitter-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Bitter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/bitter-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Bitter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/bitter-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Bitter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/bitter-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/karla-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/karla-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/karla-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/karla-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --fond: #f5f0e8;
    --surface: #ffffff;
    --texte: #3a2e2a;
    --texte-faible: #6b5d55;
    --primaire: #8b4513;
    --accent: #d2691e;
    --bordure: #d9cbb8;
    --police-titres: 'Bitter', Georgia, 'Times New Roman', Times, serif;
    --police-corps: 'Karla', Georgia, 'Times New Roman', Times, serif;
    --corps: 18px;
    --h1: 46.8px;
    --h2: 31.5px;
    --h3: 22.5px;
    --petit: 14.8px;
    --espace: 8px;
    --rayon: 4px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--fond);
    color: var(--texte);
    font: var(--corps)/1.65 var(--police-corps);
}
h1, h2, h3 { font-family: var(--police-titres); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
a { color: var(--primaire); }

.banniere {
    margin: 0;
    padding: calc(var(--espace) / 2) var(--espace);
    background: var(--accent);
    color: var(--fond);
    font-size: var(--petit);
    text-align: center;
}
nav[aria-label="Navigation principale"] {
    display: flex; flex-wrap: wrap; gap: var(--espace);
    padding: var(--espace);
    border-bottom: 1px solid var(--bordure);
}
nav a { text-decoration: none; font-weight: 600; }
nav a[aria-current="page"] { color: var(--texte); text-decoration: underline; }

main { max-width: 72rem; margin: 0 auto; padding: calc(var(--espace) * 2) var(--espace); }
section { margin-bottom: calc(var(--espace) * 3); }
.fil { font-size: var(--petit); color: var(--texte-faible); }
.chapeau { font-size: calc(var(--corps) * 1.15); color: var(--texte-faible); max-width: 46rem; }
p { max-width: 46rem; }

.hero { padding: calc(var(--espace) * 2) 0; border-bottom: 1px solid var(--bordure); }
.bouton {
    display: inline-block; margin-top: var(--espace);
    padding: .7em 1.4em; border-radius: var(--rayon);
    background: var(--primaire); color: var(--fond);
    text-decoration: none; font-weight: 600; border: 0; cursor: pointer;
}
.grille { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--espace);
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.carte { padding: var(--espace); border: 1px solid var(--bordure);
    border-radius: var(--rayon); background: var(--surface); }
.galerie { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--espace);
    grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.cadre { aspect-ratio: 4 / 3; border: 1px dashed var(--bordure);
    border-radius: var(--rayon); background: var(--surface); }
.appel { padding: calc(var(--espace) * 2); border-radius: var(--rayon); background: var(--surface); }

.formulaire { display: grid; gap: var(--espace); max-width: 34rem; }
.formulaire label { display: grid; gap: .35em; font-size: var(--petit); font-weight: 600; }
.formulaire input, .formulaire textarea {
    padding: .6em; border: 1px solid var(--bordure); border-radius: var(--rayon);
    background: var(--fond); color: var(--texte); font: inherit;
}
details { border-bottom: 1px solid var(--bordure); padding: var(--espace) 0; }
summary { cursor: pointer; font-weight: 600; }

.suite ul { padding-left: 1.2em; }
footer { border-top: 1px solid var(--bordure); padding: calc(var(--espace) * 2) var(--espace); }
footer nav { display: flex; flex-wrap: wrap; gap: var(--espace); margin-bottom: var(--espace); }
.mention { color: var(--texte-faible); font-size: var(--petit); }

/* Le remplissage se voit : un squelette qui passerait pour du contenu
   définitif serait un mensonge. */
[data-remplissage] { opacity: .82; }

@media (max-width: 40rem) {
    main { padding: var(--espace); }
    h1 { font-size: calc(var(--h1) * .7); }
}
