@font-face {
  font-family: Manrope;
  src: url("/assets/sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/assets/serif.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #21352e;
  --text: #3e4b43;
  --muted: #546358;
  --accent: #9e3e2b;
  --paper: #faf8f1;
  --white: #fffdf8;
  --line: #d4d8cc;
  --tinted: #ecefe5;
  --surface: #e0e9db;
  --action: #233d34;
  --sans: Manrope, system-ui, sans-serif;
  --display: Fraunces, Georgia, serif;
  --ease: cubic-bezier(.22, .75, .15, 1);
  --gutter: clamp(20px, 5vw, 80px);
}
* { box-sizing: border-box; }
body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  font: 500 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body[data-page="programme"] {
  --ink: #2c2e41;
  --text: #424352;
  --muted: #59596b;
  --accent: #8b493d;
  --paper: #f6f2ed;
  --white: #fffbf5;
  --line: #d8cfc8;
  --tinted: #eee6dd;
  --surface: #e9dfd3;
  --action: #332d47;
}
body[data-page="proposer-une-sortie"] {
  --paper: #f5f1e5;
  --white: #fffcf3;
  --line: #d5cebd;
  --tinted: #ebe7d9;
  --surface: #e7e9d6;
}
[hidden] { display: none !important; }
html { scroll-padding-top: 25px; }
section[id] { scroll-margin-top: 1.5rem; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 530; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3.35rem, 6.7vw, 6.55rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.9rem); }
p { color: var(--text); }
::selection { color: var(--white); background: var(--action); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.skip { position: fixed; top: 0; left: 1rem; transform: translateY(-150%); background: var(--white); padding: .65rem 1rem; z-index: 10; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .77rem; font-weight: 800; line-height: 1.14; text-decoration: none; flex: 0 0 auto;
}
.wordmark small { font-size: .7rem; line-height: 1.2; font-weight: 650; display: block; }
.brand-mark {
  width: 35px; height: 35px; color: var(--paper); background: var(--ink);
  border-radius: 50% 50% 2px 50%; display: grid; place-items: center;
  font: 550 1.03rem/.8 var(--display); letter-spacing: -.1em;
}
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 3rem); align-items: center; font-weight: 725; font-size: .86rem; }
.site-header nav a { text-decoration: none; white-space: nowrap; }
.site-header nav a[aria-current="page"], .site-header nav a:hover { text-decoration: underline; text-underline-offset: .35em; }
.header-link {
  border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: .72rem;
  min-height: 44px; padding: .55rem .9rem; font-size: .8rem; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.header-link:hover { background: var(--tinted); }
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); padding-block: 16px; font-size: .8rem; }
.footer-inner p { font-size: .8rem; color: var(--muted); }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem 1rem; min-height: 74px; font-size: .8rem; font-weight: 800;
}
.crumbs > a { text-decoration: none; }
.crumbs > a:hover { text-decoration: underline; }
.demo-label { color: var(--muted); font-weight: 700; }
.eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: .68rem; color: var(--accent);
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em;
}
.spacing-dot { display: inline-block; width: .3rem; height: .3rem; background: currentColor; border-radius: 50%; }
.lede { font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.65; }
.text-link { font-size: .84rem; font-weight: 800; text-underline-offset: .27em; }
.text-link span { margin-left: .25rem; }
.text-link:hover { color: var(--accent); }
.button {
  min-height: 44px; padding: .72rem 1rem; border: 1px solid transparent;
  display: inline-flex; gap: .75rem; align-items: center; justify-content: center;
  font: 800 .85rem/1.35 var(--sans); text-decoration: none; text-align: center;
  transition: background-color 150ms var(--ease), transform 145ms var(--ease);
}
.button:active { transform: scale(.98); }
.button.primary { background: var(--action); color: #fffdf6; }
.button.primary:hover { background: #445b46; }
body[data-page="programme"] .button.primary:hover { background: #594965; }
.button.secondary { border-color: var(--line); background: var(--white); color: var(--ink); }
.button.secondary:hover { background: var(--tinted); }
.button.light { background: #f7e2c4; color: #3e3047; }
.button.light:hover { background: #fff2de; }
.button.full { width: 100%; }
.noted, .note { font-size: .84rem; line-height: 1.45; color: var(--muted); }
.status {
  border-left: 3px solid var(--action); background: var(--surface);
  padding: .65rem .8rem; color: var(--ink); font-size: .85rem; overflow-wrap: anywhere;
}
.status[data-error="true"] { border-color: var(--accent); background: #f4e4de; }
label { font-weight: 800; font-size: .82rem; display: block; }
label span:not([aria-hidden]) { color: var(--muted); font-size: .77rem; font-weight: 650; }
input:not([type="file"]), select, textarea {
  width: 100%; min-width: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: 0; color: var(--ink); min-height: 44px; padding: .58rem .7rem;
  font-weight: 600;
}
input::placeholder, textarea::placeholder { color: #626960; opacity: 1; }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
dialog {
  width: min(580px, calc(100% - 2rem)); margin: auto; padding: clamp(1.15rem, 4vw, 2rem);
  max-height: calc(100dvh - 2rem); border: 1px solid var(--line); color: var(--ink);
  background: var(--paper); overscroll-behavior: contain;
}
dialog::backdrop { background: #14221dda; }
.dialog-head { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: .85rem; margin-bottom: 1.1rem; }
.dialog-head h2 { font-size: clamp(1.62rem, 4vw, 2.4rem); }
.close-dialog { background: var(--white); border: 1px solid var(--line); color: var(--ink); line-height: 1; min-width: 44px; min-height: 44px; font-size: 1.45rem; }
dialog form { display: grid; gap: .65rem; }
dialog form .button.full { margin-top: .35rem; }
.blank { border: 1px solid var(--line); padding: 1.3rem; color: var(--muted); }
.blank a { font-weight: 800; }

.trip-lead {
  min-height: 400px; display: grid; grid-template-columns: .98fr 1.02fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trip-copy { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; padding: clamp(22px, 4.3vw, 64px) clamp(18px, 3vw, 56px) clamp(22px, 3.5vw, 46px) 0; }
.trip-copy h1 { font-size: clamp(3.1rem, 6.25vw, 6.15rem); margin: .22em 0 .26em; overflow-wrap: anywhere; }
.trip-copy .lede { max-width: 44ch; }
.trip-meta { margin-top: clamp(1.45rem, 3vw, 2.35rem); padding-top: 1rem; border-top: 1px solid var(--line); width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.trip-meta div { display: grid; align-content: start; gap: .16rem; }
.trip-meta span { font-size: .71rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .085em; }
.trip-meta strong, .trip-meta time { color: var(--ink); font-size: .9rem; font-weight: 800; line-height: 1.45; }
.trip-cover { position: relative; background: var(--surface); min-height: 310px; }
.trip-cover img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 50%; }
.trip-cover figcaption { position: absolute; bottom: .8rem; right: .8rem; font-size: .75rem; background: #fffdf3; color: var(--ink); font-weight: 800; padding: .32rem .58rem; }
.outing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .39fr); align-items: start; gap: 0 clamp(1.4rem, 5vw, 5.75rem); }
.anchor-nav { grid-column: 1; grid-row: 1; display: flex; flex-wrap: wrap; gap: .25rem 1.2rem; padding: 1.07rem 0; border-bottom: 1px solid var(--line); }
.anchor-nav a { color: var(--ink); font-size: .8rem; font-weight: 800; text-underline-offset: .28em; }
.anchor-nav a:hover, .anchor-nav .anchor-action { color: var(--accent); }
.registration {
  grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 24px; margin-top: 2.1rem; background: var(--tinted);
  border-top: 3px solid var(--action); padding: clamp(1rem, 2.25vw, 1.8rem); display: grid; gap: .9rem;
}
.registration h2 { font-size: clamp(1.85rem, 3.3vw, 2.62rem); }
.signup-data { display: grid; margin: .2rem 0; }
.signup-data > div { display: flex; justify-content: space-between; gap: 1rem; padding: .56rem 0; border-top: 1px solid var(--line); }
.signup-data strong { font-size: .85rem; text-align: right; line-height: 1.4; }
.registration .text-link { justify-self: start; }
.outing-body { grid-column: 1; grid-row: 2; min-width: 0; }
.outing-section { margin-top: clamp(2.4rem, 5vw, 4rem); }
.outing-section > p { margin-top: .9rem; max-width: 66ch; }
.ruled-heading { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; justify-content: space-between; padding-bottom: .72rem; }
.route-preview { display: block; position: relative; margin-top: 1.2rem; background: var(--tinted); color: var(--ink); text-decoration: none; min-height: 172px; overflow: hidden; }
.route-preview canvas { display: block; width: 100%; height: clamp(176px, 19vw, 242px); }
.route-caption { position: absolute; inset: auto auto .7rem .7rem; display: grid; gap: .08rem; background: var(--white); padding: .35rem .62rem; font-weight: 800; font-size: .79rem; }
.route-caption small { color: var(--muted); font-size: .69rem; }
.route-arrow { position: absolute; inset: 0 0 auto auto; padding: .5rem .8rem; color: var(--white); background: var(--action); }
.ride-list { padding-left: 0; list-style: none; margin: .9rem 0 0; }
.ride-list li { border-top: 1px solid var(--line); padding: .72rem .15rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .85rem; align-items: center; }
.ride-list li:first-child { border-top: none; }
.ride-list strong { line-height: 1.3; display: block; overflow-wrap: anywhere; }
.ride-list .ride-note { color: var(--muted); font-size: .78rem; }
.ride-list .seat { color: var(--accent); font-size: .8rem; font-weight: 800; white-space: nowrap; }
.thread-switch { display: flex; align-items: stretch; gap: .35rem; margin-top: 1.2rem; border-bottom: 1px solid var(--line); }
.thread-switch button {
  border: 1px solid transparent; border-bottom-color: transparent; min-height: 46px;
  color: var(--muted); background: none; padding: .5rem .78rem; font-size: .82rem; font-weight: 800; text-align: left;
}
.thread-switch button[aria-selected="true"] { border-bottom: 2px solid var(--accent); color: var(--ink); }
.forum { margin: .48rem 0 1rem; }
.forum-entry { display: grid; grid-template-columns: 37px minmax(0,1fr); gap: .85rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.forum-entry h3 { font: 800 .93rem/1.35 var(--sans); letter-spacing: 0; overflow-wrap: anywhere; }
.forum-entry time { font-size: .75rem; color: var(--muted); display: block; }
.forum-entry p { margin: .32rem 0 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.forum-entry img { max-height: 270px; width: auto; margin-top: .7rem; object-fit: contain; }
.forum-entry .initial { border-radius: 50%; width: 37px; height: 37px; display: grid; place-items: center; background: var(--surface); font-size: .76rem; font-weight: 800; }
.forum-empty { color: var(--muted); font-size: .9rem; padding: .75rem 0; }
.inset { background: var(--tinted); padding: clamp(.85rem, 2.75vw, 1.55rem); }
.comment-form { display: grid; gap: .55rem; }
.comment-form h3 { margin-bottom: .3rem; }
.comment-submit { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.upload { position: relative; text-decoration: underline; text-underline-offset: .26em; display: inline-flex; gap: .3rem; min-height: 44px; align-items: center; cursor: pointer; }
.upload:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.upload input { position: absolute; width: 100%; height: 100%; inset: 0; padding: 0; opacity: 0; cursor: pointer; }
.related { border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: clamp(2.4rem, 5vw, 4rem); display: flex; flex-wrap: wrap; gap: .65rem 1.75rem; }

.program-mast {
  color: #fff6e9; background: #302740; padding: 1.4rem 0 clamp(1.8rem, 4vw, 3.9rem);
}
.program-mast .text-link, .program-mast p { color: #fff6e9; }
.program-mast .text-link:hover { color: #f7d7a9; }
.program-mast-top {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  color: #f2d7bf; font-size: .8rem; font-weight: 800; padding-bottom: 1.1rem;
  border-bottom: 1px solid #87778e;
}
.program-mast-main {
  display: grid; grid-template-columns: .95fr 1.05fr; align-items: end; gap: 1.5rem;
  padding: clamp(20px, 4vw, 44px) 0;
}
.program-mast h1 { font-size: clamp(3rem, 7.5vw, 7.9rem); line-height: .86; }
.program-year-display {
  text-align: right; color: #e9ad88; font-family: var(--display); font-weight: 460;
  font-size: clamp(5rem, 15.5vw, 15.2rem); line-height: .68; letter-spacing: -.083em;
}
.program-mast-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: clamp(1rem, 2.5vw, 1.7rem); border-top: 1px solid #87778e; }
.program-mast-foot p { max-width: 36ch; }
.planner-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, .4fr); gap: clamp(1.5rem, 5vw, 5.35rem); align-items: start; margin-top: clamp(2rem, 5.5vw, 4.9rem); }
.program-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 1.3rem; }
.program-tools h2 { font-size: clamp(1.95rem, 3.45vw, 3.15rem); }
.filter-tools { display: flex; gap: .58rem; }
.filter-tools label { color: var(--muted); }
.filter-tools select { min-width: max-content; padding-right: 1.1rem; font-size: .82rem; }
.count-line { font-size: .83rem; color: var(--muted); margin: .65rem 0 .98rem; }
.program-events { border-top: 1px solid var(--line); }
.event-row {
  display: grid; grid-template-columns: 3.25rem minmax(0,1fr) auto; align-items: center;
  gap: .63rem clamp(.7rem, 2vw, 1.35rem); text-decoration: none; border-bottom: 1px solid var(--line);
  min-height: 98px; padding: .8rem .24rem;
}
.event-row:hover { background: var(--white); }
.event-date { display: grid; align-content: center; justify-items: start; }
.event-date strong { font: 540 2.25rem/.9 var(--display); }
.event-date small { color: var(--muted); font-weight: 800; }
.event-content { min-width: 0; }
.event-content span { display: block; font-size: .77rem; color: var(--accent); font-weight: 800; }
.event-content strong { display: block; font: 560 clamp(1.16rem, 2vw, 1.65rem)/1.13 var(--display); letter-spacing: -.022em; overflow-wrap: anywhere; margin: .15rem 0; }
.event-content small { display: block; color: var(--muted); overflow-wrap: anywhere; line-height: 1.35; }
.event-link { border: 1px solid var(--line); width: 39px; height: 39px; display: grid; place-items: center; font-weight: 800; }
.program-admin { background: var(--tinted); padding: clamp(1rem, 2.2vw, 1.8rem); border-top: 3px solid var(--action); display: grid; gap: .88rem; }
.program-admin h2 { font-size: clamp(1.8rem, 3.25vw, 2.7rem); }
.program-admin p:not(.eyebrow) { font-size: .9rem; }
.program-admin .text-link { justify-self: start; }
.draft-box h3, .submitted-box h2 { margin-bottom: .6rem; }
.plan-rows { display: grid; gap: .45rem; margin-top: .45rem; }
.plan-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.draft-row { display: grid; gap: .27rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.draft-row .text-link { align-self: start; justify-self: start; border: none; padding: .1rem 0; color: var(--ink); background: transparent; text-decoration: underline; }
.draft-row strong { font-size: .86rem; }
.proposal-layout { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(260px, .74fr); gap: clamp(1.9rem, 8vw, 8.6rem); align-items: start; }
.proposal-main { padding-top: clamp(.65rem, 1.3vw, 1.1rem); }
.proposal-main h1 { font-size: clamp(3.6rem, 7.4vw, 7.6rem); line-height: .89; }
.proposal-main .lede { max-width: 52ch; margin-top: 1.4rem; }
.proposal-form { margin-top: 2rem; display: grid; gap: 1.4rem; }
.proposal-form fieldset {
  padding: 0; border: 0; border-top: 1px solid var(--line); margin: 0;
  display: grid; gap: .55rem; min-width: 0;
}
.proposal-form legend { color: var(--ink); font: 545 clamp(1.7rem, 2.8vw, 2.52rem)/1.12 var(--display); letter-spacing: -.032em; padding: 0 .7rem 0 0; margin-bottom: .7rem; }
.proposal-form label { margin-top: .25rem; }
.proposal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
.proposal-actions .note { max-width: 23ch; }
.proposal-aside { display: grid; gap: 1.1rem; }
.proposal-image { aspect-ratio: 1 / 1.04; background: var(--surface); }
.proposal-image img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; }
.proposal-review { background: var(--tinted); border-top: 3px solid var(--action); padding: clamp(1.15rem, 2.75vw, 2rem); display: grid; gap: .8rem; }
.proposal-review h2, .submitted-box h2 { font-size: clamp(1.5rem, 3vw, 2.35rem); }
.proposal-review p:not(.eyebrow) { font-size: .9rem; }
.submitted-box { border-top: 1px solid var(--line); padding-top: .8rem; }
.submitted-box .noted { display: block; }
.submitted-box strong { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .header-inner { column-gap: 12px; }
  .site-header nav { gap: .85rem; }
  .trip-meta { grid-template-columns: 1fr; }
  .planner-layout { gap: 2rem; }
}
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; row-gap: .45rem; padding-block: .75rem .5rem; }
  .site-header nav { flex-basis: 100%; order: 3; min-height: 41px; justify-content: space-between; gap: .45rem; font-size: .78rem; }
  .header-link { font-size: .72rem; gap: .3rem; min-height: 36px; padding: .3rem .44rem; }
  .crumbs { min-height: 64px; }
  .trip-lead { grid-template-columns: minmax(0, 1fr); }
  .trip-copy { padding: 1.35rem 0 1.15rem; }
  .trip-copy h1 { max-width: 13ch; font-size: clamp(3rem, 11vw, 5.35rem); }
  .trip-meta { grid-template-columns: 1fr 1fr; }
  .trip-cover { min-height: clamp(185px, 58vw, 300px); }
  .outing-grid { grid-template-columns: minmax(0, 1fr); }
  .anchor-nav, .registration, .outing-body { grid-column: auto; grid-row: auto; }
  .registration { position: static; margin-top: 1.4rem; }
  .related { margin-top: 2.6rem; }
  .program-mast-main { display: flex; justify-content: space-between; align-items: end; gap: .58rem; }
  .program-mast h1 { font-size: clamp(2.4rem, 9vw, 4.8rem); }
  .program-year-display { font-size: clamp(3.7rem, 15.8vw, 8rem); }
  .planner-layout, .proposal-layout { grid-template-columns: minmax(0, 1fr); }
  .proposal-main h1 { font-size: clamp(3.6rem, 12vw, 5.25rem); }
  .proposal-image { aspect-ratio: 1.6; }
  .site-footer { margin-top: 48px; }
  .footer-inner { min-height: 0; flex-wrap: wrap; justify-content: flex-start; gap: .75rem 1.55rem; }
  .footer-inner p { flex: 1 1 60%; }
}
@media (max-width: 360px) {
  .form-grid { grid-template-columns: 1fr; }
  .anchor-nav { gap: .25rem .65rem; }
  .plan-row { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
