/* Présentation des retraites uniquement : ne change pas les tableaux de l'agenda. */
body.retreat-page {
    display: block;
    height: auto;
    min-height: 100vh;
    background: #faf8f3;
    color: #303b36;
    text-shadow: none;
    font-family: "Open Sans", system-ui, sans-serif;
    line-height: 1.7;
}
.retreat-page main { text-align: left; width: 100%; min-width: 0; }
.retreat-page .masthead { margin-bottom: 1.25rem !important; }
.stage-retreat { --stage-green: #314d41; --stage-copper: #864b2d; }
.stage-retreat a { color: var(--stage-copper); text-underline-offset: .2em; }
.stage-retreat a:focus-visible { outline: 3px solid #864b2d; outline-offset: 5px; }
.stage-hero { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid #e8e3d8; border-radius: 1.25rem; overflow: hidden; }
.stage-hero-copy { padding: clamp(1.5rem, 4vw, 3rem); align-self: center; }
.stage-eyebrow { color: #6b705c; text-transform: uppercase; letter-spacing: .14em; font-size: .73rem; font-weight: 700; margin: 0 0 1rem; }
.stage-hero h1 { font-family: Georgia, serif; font-weight: 400; color: var(--stage-green); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin: 0 0 1.2rem; overflow-wrap: anywhere; }
.stage-hero-subtitle { font-size: 1.05rem; color: var(--stage-copper); }
.stage-hero-image { width: 100%; height: 100%; object-fit: cover; min-height: 330px; }
.stage-shortcuts { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; align-items: center; margin-top: 1.8rem; font-size: .875rem; }
.stage-retreat .stage-button { display: inline-flex; align-items: center; gap: 1rem; color: #fff; background: var(--stage-green); padding: .8rem 1.1rem; text-decoration: none; border-radius: .4rem; font-weight: 600; }
.stage-button:hover { background: #203a2e; }
.stage-facts { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.5rem; padding: 1.7rem 1rem; margin: 0 0 2rem; border-bottom: 1px solid #dddace; }
.stage-facts dt { color: #6b705c; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .5rem; }
.stage-facts dd { font-size: .9rem; font-weight: 600; margin: 0; }
.stage-facts small { display: block; color: #646a60; font-weight: 400; margin-top: .35rem; font-size: .82rem; }
.stage-planning { margin: 2.5rem 0 3.5rem; scroll-margin-top: calc(var(--header-h, 72px) + 1rem); }
.stage-section-heading { margin-bottom: 1.5rem; }
.stage-section-heading .stage-eyebrow { margin-bottom: .5rem; }
.stage-section-heading h2 { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.2 Georgia, serif; color: #314d41; margin-bottom: .7rem; }
.stage-section-heading > p:last-child { color: #646a60; font-size: .92rem; }
.stage-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.stage-day { background: #fff; border: 1px solid #e0e3d9; border-radius: .7rem; overflow: hidden; min-width: 0; }
.stage-day h3 { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin: 0; padding: 1rem 1.15rem; background: #edf1e9; color: #314d41; font-size: 1rem; font-weight: 600; }
.stage-day h3 > span { text-transform: capitalize; }
.stage-day h3 > time { font-size: .86rem; font-weight: 400; white-space: nowrap; }
.stage-sessions { list-style: none; padding: .25rem 1.1rem; margin: 0; }
.stage-sessions li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .45rem; padding: .9rem 0; border-bottom: 1px solid #eeeee7; font-size: .88rem; line-height: 1.5; }
.stage-sessions li:last-child { border-bottom: 0; }
.stage-sessions li > time { color: #864b2d; font-weight: 700; font-variant-numeric: tabular-nums; }
.stage-session-title { display: block; color: #303b36; overflow-wrap: anywhere; }
.stage-session-duration { display: block; font-size: .75rem; color: #6c7167; margin-top: .15rem; }
.stage-day-empty { color: #6c7167; font-size: .85rem; padding: 1.1rem; margin: 0; }
/* Les textes historiques sont conservés, avec une mise en page claire et fluide. */
.stage-details { background: #fff; border: 1px solid #e8e3d8; border-radius: 1rem; padding: clamp(.75rem, 3vw, 2rem); }
.stage-details table { width: 100% !important; max-width: 100%; border: 0 !important; background: transparent !important; table-layout: fixed; }
.stage-details col { width: auto !important; }
.stage-details td, .stage-details th { background: transparent !important; color: #303b36 !important; border: 0 !important; padding: 1rem; height: auto !important; vertical-align: top; overflow-wrap: anywhere; }
.stage-details font, .stage-details small { color: inherit !important; font: inherit !important; }
.stage-details p { font-size: .95rem; line-height: 1.8; margin: 0 0 1rem !important; text-align: left !important; background: transparent !important; }
.stage-details td[bgcolor="#ffd320"], .stage-details td[bgcolor="#c0c0c0"] { background: #edf1e9 !important; border-radius: .4rem; color: #314d41 !important; font-size: 1.35rem; font-family: Georgia, serif; }
.stage-details td[bgcolor="#ffd320"] p, .stage-details td[bgcolor="#c0c0c0"] p { font-size: inherit; margin: 0 !important; }
.stage-details td[bgcolor="#ffff99"], .stage-details td[bgcolor="#ffcc99"], .stage-details td[bgcolor="#e6e6ff"] { background: #faf7ef !important; border-radius: .5rem; }
.stage-details img { border-radius: .5rem; max-width: 100%; height: auto; margin: .6rem auto; }
.stage-details img[src="../img/"] { display: none; }
.stage-details b, .stage-details strong { font-weight: 600; }
.stage-details u { text-decoration: none; color: #314d41; font-weight: 700; }
.stage-details a[name] { scroll-margin-top: calc(var(--header-h, 72px) + 1rem); }
.stage-details input[type="submit"] { background: #314d41; color: #fff; border: 0; padding: .7rem 1.2rem; border-radius: .4rem; }
.retreat-page footer, .retreat-page footer * { text-shadow: none !important; filter: none !important; }
@media (max-width: 900px) {
    .stage-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stage-facts { grid-template-columns: 1fr 1fr; }
    .stage-hero-copy { padding: 1.5rem; }
}
@media (max-width: 640px) {
    .retreat-page > div { padding: .75rem !important; }
    .stage-hero { grid-template-columns: 1fr; }
    .stage-hero-image { min-height: 0; height: 210px; object-position: center 48%; }
    .stage-facts { grid-template-columns: 1fr; gap: 1.1rem; padding: 1.5rem .5rem; }
    .stage-days { grid-template-columns: 1fr; }
    .stage-details table, .stage-details tbody, .stage-details tr, .stage-details td { display: block; width: 100% !important; }
    .stage-details col, .stage-details colgroup { display: none; }
    .stage-details td { padding: .75rem .25rem; }
    .stage-details td[bgcolor] { padding: .9rem; }
    .stage-details img { float: none !important; display: block; }
    .stage-details dd { margin-left: 0; }
}
@media print {
    body.retreat-page { padding: 0; background: white; }
    .stage-shortcuts { display: none; }
    .stage-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stage-day { break-inside: avoid; }
}
