/* Pages thématiques (météo, cartes, activités) */
.prose { max-width: 900px; }
.prose > p { color: var(--ink-2); max-width: 70ch; }

h3.sub {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  font-size: clamp(28px, 3.4vw, 40px); margin: clamp(48px, 6vw, 80px) 0 20px;
  padding-top: 18px; border-top: 2px solid var(--ink);
}
h3.sub:first-child { margin-top: 0; }
h3.sub span { font: 500 14px var(--f-mono); color: var(--flag-ink); letter-spacing: .1em; }
h3.sub em { font: normal 11px var(--f-mono); letter-spacing: .12em; color: #fff; background: var(--flag); padding: 3px 7px; align-self: center; }

.res.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 0; }
.res.cols li:nth-child(-n+2) { border-top: 1px solid var(--line); }
@media (max-width: 700px) { .res.cols { grid-template-columns: 1fr; } .res.cols li:nth-child(2) { border-top: 0; } }
.res-item { display: grid; gap: 4px; padding: 16px 0; }
.res-item b { font: 600 19px/1.2 var(--f-title); text-transform: uppercase; }
.res-item span { color: var(--ink-2); font-size: 15px; }

.note { margin: 24px 0; }
.note.danger { border-left-color: var(--ink); background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(224,83,31,.06) 10px 20px); padding: 12px 18px; }

.steps-list { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: s; }
.steps-list > li { position: relative; padding: 0 0 30px 34px; border-left: 2px solid var(--ink); margin-left: 6px; }
.steps-list > li:last-child { border-left-color: transparent; }
.steps-list > li::before { content: ""; position: absolute; left: -8px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2.5px solid var(--ink); }
.steps-list h4 { font-size: 24px; margin: 6px 0 8px; }
.steps-list p { margin: 0 0 8px; color: var(--ink-2); max-width: 68ch; }
.steps-list .mono { color: var(--flag-ink); }

.inline-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.inline-links a { font: 500 12px var(--f-mono); letter-spacing: .04em; text-decoration: none; border: 1px solid var(--ink); padding: 5px 9px; }
.inline-links a:hover { background: var(--ink); color: var(--paper); }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.fact { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.fact b { font: 600 20px var(--f-title); text-transform: uppercase; }
.fact p { margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }

/* checklists */
.checklist { margin: 48px 0 0; border: 2px solid var(--ink); background: #f6f4ee; }
.checklist summary { cursor: pointer; padding: 16px 20px; font: 700 24px var(--f-title); text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.checklist summary::-webkit-details-marker { display: none; }
.checklist summary::after { content: "+"; font: 400 26px var(--f-mono); }
.checklist[open] summary::after { content: "–"; }
.checklist summary .mono { margin-left: auto; }
.ck-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; padding: 0 20px 20px; }
.checklist h4 { font-size: 17px; margin: 16px 0 6px; color: var(--flag-ink); }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.ck-one { padding: 0 20px 16px !important; }
.checklist li { display: flex; gap: 10px; justify-content: space-between; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.checklist label { display: flex; gap: 10px; align-items: baseline; cursor: pointer; }
.checklist input { accent-color: var(--flag); width: 16px; height: 16px; flex: none; transform: translateY(2px); }
.checklist input:checked + * , .checklist label:has(input:checked) { color: var(--mute); text-decoration: line-through; }
.lvl { font: normal 10px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.lvl.crit { color: var(--flag-ink); }
.ck-reset { margin: 0 20px 18px; background: none; border: 0; font: 12px var(--f-mono); color: var(--mute); cursor: pointer; text-decoration: underline; }

/* --- blocs repris de l'ancien site --- */
.ref-book { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin: 32px 0; }
.ref-book .book { margin: 0; }
.ref-book h3 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 10px; }
@media (max-width: 640px) { .ref-book { grid-template-columns: 1fr; } }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 32px; margin: 12px 0; }
.tcard { border-top: 2px solid var(--ink); padding: 14px 0 22px; min-width: 0; }
.tcard:first-child { grid-column: 1 / -1; }
.tcard h4 { font-size: 24px; margin: 0 0 4px; }
.tcard > .mono, .tcard h4 + .mono { display: block; color: var(--flag-ink); margin-bottom: 10px; }
.tcard p { font-size: 15px; color: var(--ink-2); margin: 8px 0; }
.tcard h4:not(:first-child) { font-size: 19px; margin-top: 14px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 10px 0 4px; }
.chips li { font: 500 12px var(--f-mono); padding: 5px 9px; border: 1.5px solid var(--ok); color: var(--ok); }
.chips li.mid { border-color: #b98612; color: #8a630c; }
.chips li.bad { border-color: var(--flag); color: var(--flag-ink); background: rgba(224,83,31,.07); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; margin: 14px 0; }
.video { text-decoration: none; display: grid; gap: 6px; }
.video .thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--night); }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video:hover img { transform: scale(1.04); }
.video i { position: absolute; left: 12px; bottom: 10px; font: normal 700 14px var(--f-mono); color: #fff; background: var(--flag); padding: 4px 9px; }
.video b { font: 600 18px/1.15 var(--f-title); text-transform: uppercase; }
.video span:last-child { font-size: 14px; color: var(--ink-2); }
.facts.urg .fact b { font-size: 46px; line-height: 1; color: var(--flag-ink); }
.accident { margin: 34px 0; padding: 26px 28px; background: var(--slate); color: #e7e4dd; }
.accident h3 { font-size: 30px; margin-bottom: 12px; color: #fff; }
.accident p { color: #d3d6d8; }
.accident strong { color: #fff; }
.accident .btn { color: #fff; }
.old-photo img { width: 100%; max-width: 760px; }
.prose h4 { font-size: 21px; margin: 18px 0 6px; }
.featured { display: grid; gap: 8px; margin: 18px 0 8px; padding: 24px 26px; text-decoration: none; color: #eae7e0; position: relative; isolation: isolate; background: var(--slate) url("../img/photos/fond-montagne-900.webp") center/cover; }
.featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,19,24,.92) 40%, rgba(14,19,24,.6)); }
.featured .mono { color: #ffb08a; }
.featured b { font: 700 clamp(28px, 3.4vw, 40px)/1 var(--f-title); text-transform: uppercase; color: #fff; }
.featured em { font-style: normal; color: #cfd6da; font-size: 17px; }
.featured p { margin: 0; color: #d7dadc; font-size: 15.5px; max-width: 70ch; }
.featured strong { color: #fff; }
.featured .chips li { border-color: rgba(255,255,255,.4); color: #fff; }
.featured i { font: normal 600 15px var(--f-title); text-transform: uppercase; letter-spacing: .08em; color: #fff; background: var(--flag); padding: 8px 14px; justify-self: start; margin-top: 6px; }
.featured:hover i { background: var(--flag-ink); }
.featured:hover { color: #eae7e0; }
h3.sub.phase span { display: block; width: 100%; }
/* photos À propos : taille maîtrisée */
.old-photo { margin: 28px 0; }
.old-photo img { width: 100%; max-width: 420px; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 8px 8px 0 var(--ink); }
.story figure img { width: 100%; max-width: 520px; aspect-ratio: 4 / 5; object-fit: cover; margin: 0 auto; }
.story figcaption { text-align: center; }
.old-photo img, .story figure img { height: auto; }
.portraits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.portraits img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .portraits { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .portraits { grid-template-columns: repeat(2, 1fr); } }

/* Lexique */
.lex-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.lex-nav a { font: 500 12px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 7px 11px; border: 1px solid var(--line); }
.lex-nav a:hover { border-color: var(--ink); }
.lex { margin: 0 0 12px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(150px, 230px) 1fr; }
.lex dt, .lex dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.lex dt { font: 600 19px/1.2 var(--f-title); text-transform: uppercase; letter-spacing: .02em; padding-right: 20px; }
.lex dd { color: var(--ink-2); font-size: 16px; }
@media (max-width: 640px) { .lex { grid-template-columns: 1fr; } .lex dt { border-bottom: 0; padding-bottom: 2px; } .lex dd { padding-top: 0; } }
/* Outil Décision : champ à renseigner */
.dc-miss { outline: 2px solid var(--flag); outline-offset: 2px; }

/* page matériel : liens boutiques */
.res-item .shop{display:flex;gap:14px;margin-top:10px;font-family:var(--f-mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.res-item .shop a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--flag)}
.res-item .shop a:hover{color:var(--flag)}

