@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular.ttf"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url("fonts/InstrumentSerif-Italic.ttf"); font-display: swap; }
@font-face { font-family: Inter; font-weight: 400; src: url("fonts/Inter-Regular.ttf"); font-display: swap; }
@font-face { font-family: Inter; font-weight: 600; src: url("fonts/Inter-SemiBold.ttf"); font-display: swap; }
:root { --or: #a8843f; --or-clair: #d9c08a; --texte: #1d1c1a; --gris: #5c5a55; --fond: #ffffff; --creme: #faf7f0; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--fond); color: var(--texte); font-family: Inter, sans-serif; font-size: 18px; line-height: 1.55; }
main { max-width: 680px; margin: 0 auto; padding: 0 20px 40px; }
a { color: var(--or); }
.nw { white-space: nowrap; }
i.t { font-family: "Instrument Serif", serif; font-size: 1.12em; }

.bandeau { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 14px; border-bottom: 1px solid var(--or-clair); text-decoration: none; color: inherit; }
.bandeau .nom { font-family: "Instrument Serif", serif; font-size: 25px; letter-spacing: .14em; line-height: 1.1; }
.bandeau .par { font-family: "Instrument Serif", serif; font-style: italic; font-size: 18px; color: var(--gris); }
.bandeau img { width: 58px; height: 58px; }

section { margin-top: 38px; }
h1, h2 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 30px; line-height: 1.15; margin-bottom: 10px; }
h3 { font-size: 14px; font-weight: 600; color: var(--or); letter-spacing: .06em; text-transform: uppercase; margin: 22px 0 6px; }
.filet { width: 46px; height: 1.5px; background: var(--or); margin: 0 0 16px; }
p + p { margin-top: .7em; }

.credit { margin-top: 8px; font-size: 13.5px; color: var(--gris); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.credit a { color: var(--or); text-decoration: none; font-weight: 600; }

.top { margin-top: 10px; border: 1.5px solid var(--or); padding: 4px; }
.top .in { border: .75px solid var(--or-clair); padding: 16px 16px 6px; }
.top .q { font-size: 15px; color: var(--gris); margin-bottom: 12px; }
.cr { margin-bottom: 16px; }
.cr .nom { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 16.5px; }
.cr .nom > span:last-child { color: var(--or); }
.cr .barre { height: 10px; background: #f1ead9; margin: 5px 0 6px; }
.cr .barre div { height: 100%; background: var(--or); }
.cr p { font-size: 15.5px; line-height: 1.45; }
.cr .badge { display: inline-block; font-size: 12px; font-weight: 600; color: #fff; background: var(--or); border-radius: 99px; padding: 1px 9px; margin-left: 6px; vertical-align: 2px; }
.pourquoi { margin-top: 6px; padding: 14px 16px; border-left: 2px solid var(--or); background: var(--creme); font-size: 16.5px; }

.dore img { width: 100%; display: block; }
figcaption { font-size: 14px; color: var(--gris); margin-top: 6px; line-height: 1.4; }
.duo { display: flex; gap: 10px; align-items: flex-start; }
.duo img { width: 100%; display: block; }
.protege { border: 1px solid var(--or-clair); background: var(--creme); color: var(--gris); font-size: 14px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; }

.situ figure { margin-bottom: 18px; position: relative; }
.situ img { width: 100%; display: block; }
.situ .coin { position: absolute; right: 8px; top: 8px; width: 30%; border: 2px solid #fff; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grille figure { margin-bottom: 4px; }

.partage { display: block; text-align: center; border: 1.5px solid var(--or); color: var(--or); font-weight: 600; text-decoration: none; padding: 14px; font-size: 17px; }
.partage small { display: block; font-weight: 400; color: var(--gris); font-size: 14px; margin-top: 2px; }

.analyse { position: relative; }
.analyse img { width: 100%; display: block; }
.pt { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 0; cursor: pointer;
      background: rgba(255,255,255,.9); color: var(--or); font: 600 14px/28px Inter, sans-serif; text-align: center;
      box-shadow: 0 0 0 1.5px var(--or), 0 1px 4px rgba(0,0,0,.25); }
.pt.actif { background: var(--or); color: #fff; }
.aide { font-size: 15px; color: var(--gris); margin-bottom: 10px; }
.fenetre { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(640px, calc(100% - 24px));
           background: #fff; border: 1.5px solid var(--or); padding: 4px; box-shadow: 0 6px 24px rgba(0,0,0,.25); display: none; z-index: 10; }
.fenetre.ouverte { display: block; }
.fenetre .in { border: .75px solid var(--or-clair); padding: 14px 16px 16px; position: relative; }
.fenetre .num { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--or); color: #fff; font: 600 14px/26px Inter, sans-serif; text-align: center; margin-right: 8px; }
.fenetre .titre { font-weight: 600; color: var(--or); font-size: 17px; }
.fenetre p { margin-top: 8px; font-size: 16.5px; line-height: 1.5; }
.fenetre .x { position: absolute; right: 8px; top: 6px; border: 0; background: none; font-size: 26px; color: var(--gris); cursor: pointer; line-height: 1; }

.chiffres { font-size: 15px; color: var(--or); font-weight: 600; margin-bottom: 10px; }

footer { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--or-clair); text-align: center; }
footer .sig { width: 190px; }
footer .qui { font-family: "Instrument Serif", serif; font-style: italic; font-size: 19px; color: var(--gris); margin-top: 2px; }
footer .liens { margin-top: 14px; font-size: 15px; }
footer .liens a { color: var(--or); text-decoration: none; font-weight: 600; }
footer .montier { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; color: var(--gris); }
footer .montier img { width: 52px; }
.sansret { margin-top: 22px; color: var(--or); font-weight: 600; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.sansret::before { content: ""; display: block; width: 46px; height: 1.5px; background: var(--or); margin: 0 auto 10px; }

/* accueil */
.liste { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 8px; }
.liste a { text-decoration: none; color: var(--texte); }
.liste .vig { aspect-ratio: 1; background: var(--creme); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.liste .vig img { max-width: 100%; max-height: 100%; display: block; }
.liste .t { font-family: "Instrument Serif", serif; font-size: 19px; line-height: 1.15; margin-top: 6px; }
.chap { grid-column: 1 / -1; margin-top: 18px; }
.chap .a { font-weight: 600; color: var(--or); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.chap .b { font-family: "Instrument Serif", serif; font-style: italic; color: var(--gris); font-size: 18px; }
.detail { list-style: none; padding: 0; margin: 0; }
.detail li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; }
.detail .num { flex: 0 0 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--or); color: var(--or);
               font: 600 14px/28px Inter, sans-serif; text-align: center; }
.detail strong { display: block; font-weight: 600; margin: 3px 0 2px; }
.detail p { margin: 0; }
