/* Gorges de l'Ardèche - Pont d'Arc : démo de consultation AVANGARDISM
   Palette dérivée de la charte existante (ocre, bleu canard, noir olive), typographie Krona One (marque) + Newsreader (lecture). */

@font-face { font-family: "Krona One"; src: url("fonts/krona-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --paper: #f7f6f1;
  --paper-2: #efece3;
  --ink: #141300;
  --ink-2: #4f5046;
  --river: #319199;
  --river-deep: #1d5e64;
  --river-tint: #e2eeec;
  --ochre: #c67446;
  --ochre-deep: #9a4d25;
  --ochre-tint: #f1e3d7;
  --night: #0d1618;
  --night-2: #152327;
  --white: #ffffff;
  --display: "Krona One", "Arial Black", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Titres */
.h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.h2-light { color: var(--white); }
.h2-small { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.fil-mark {
  display: block; width: 72px; height: 16px; margin-bottom: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 16'%3E%3Cpath d='M2 10c6-7 11-7 15-2s9 6 14 0 10-7 15-1 9 6 14 1 7-5 10-3' fill='none' stroke='%23319199' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / contain;
}
.kicker { font-family: var(--display); font-size: .78rem; letter-spacing: .01em; color: var(--ochre-deep); margin-bottom: 14px; }
.kicker-light { color: #f0c3a4; }
.lede { font-size: 1.3rem; line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.source { font-size: .8rem; color: var(--ink-2); margin: 0; }
.example-tag { font-size: .8rem; color: var(--ink-2); font-style: italic; margin: 12px 0 0; }
.credit { position: absolute; right: var(--gutter); bottom: 14px; margin: 0; font-size: .75rem; color: rgba(255,255,255,.78); }
.credit-line { font-size: .8rem; color: var(--ink-2); margin-top: 14px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--display); font-size: .8rem; letter-spacing: .01em; line-height: 1;
  padding: 16px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-river { background: var(--river-deep); color: var(--white); }
.btn-river:hover { background: #164a4f; }
.btn-ghost { background: transparent; border-color: rgba(20,19,0,.25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-bivouac { background: #a65a2f; color: var(--white); padding: 12px 18px; }
.btn-bivouac:hover { background: var(--ochre-deep); }
.text-link { font-family: var(--display); font-size: .8rem; color: var(--river-deep); text-underline-offset: 5px; }

/* Barre de démo */
.demo-bar {
  background: var(--night); color: #cfe0dd;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px var(--gutter); font-size: .85rem; line-height: 1.35;
}
.demo-bar p { margin: 0; }
.demo-toggle {
  flex: none; background: transparent; border: 1px solid #5f7f7c; color: #e8f2f0;
  border-radius: 999px; padding: 6px 14px; font-size: .8rem; cursor: pointer;
}
.demo-toggle[aria-pressed="true"] { background: var(--river); border-color: var(--river); color: var(--white); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); color: var(--white); transition: background-color .25s, color .25s, box-shadow .25s; }
.site-header.is-solid { background: rgba(247,246,241,.96); color: var(--ink); box-shadow: 0 1px 0 rgba(20,19,0,.08); backdrop-filter: blur(8px); }
.header-inner { max-width: 1400px; margin: 0 auto; height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: block; width: 122px; flex: none; }
.logo { width: 122px; height: auto; }
.logo-dark { display: none; }
.is-solid .logo-light { display: none; }
.is-solid .logo-dark { display: block; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font-family: var(--display); font-size: .78rem; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: currentColor; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.tool-link { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; }
.tool-link svg, .menu-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.langs { display: flex; gap: 10px; font-family: var(--display); font-size: .7rem; }
.langs a { text-decoration: none; opacity: .7; }
.langs a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.menu-btn { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }

/* Ouverture */
.hero { position: relative; margin-top: calc(-1 * var(--header-h)); min-height: 560px; height: min(100svh, 940px); color: var(--white); overflow: hidden; background: var(--night); }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 50% 45%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,22,24,.55) 0%, rgba(13,22,24,0) 26%, rgba(13,22,24,0) 42%, rgba(13,22,24,.82) 100%); }
.hero-text { position: absolute; left: 0; right: 0; bottom: clamp(48px, 9vh, 96px); max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.hero h1 {
  font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 72;
  font-size: clamp(2.05rem, 4.5vw, 4.3rem); line-height: 1.06; letter-spacing: -0.015em;
  max-width: 21ch; margin-bottom: 22px; text-wrap: balance;
}
.hero-sub { font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.35rem); max-width: 40ch; margin-bottom: 28px; color: rgba(255,255,255,.92); }

/* Fil (signature) */
.fil-line { position: absolute; top: 0; width: 64px; pointer-events: none; z-index: 1; }
.fil-line path { fill: none; stroke: var(--river); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
main { position: relative; }

/* Aujourd'hui */
.today { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); position: relative; z-index: 2; }
.today-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.today-date { margin: 0; font-style: italic; color: var(--ink-2); font-size: 1.15rem; }
.today-grid { display: grid; grid-template-columns: 1.05fr 1.75fr .9fr 1.1fr; gap: 18px; align-items: stretch; }
.tile { border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; min-width: 0; }
.tile-title { font-family: var(--display); font-size: .82rem; line-height: 1.35; margin-bottom: 14px; }
.tile-text { font-size: 1rem; line-height: 1.45; margin: 0 0 12px; }
.big-figure { font-family: var(--display); font-size: clamp(2.2rem, 3.4vw, 3.1rem); line-height: 1; margin: 6px 0 14px; letter-spacing: -0.03em; }
.big-figure .unit { font-size: .38em; margin-left: .35em; letter-spacing: 0; }
.tile-water { background: var(--river-deep); color: var(--white); }
.tile-water .source { color: #cfe3e1; margin-top: auto; }
.spark { width: 100%; height: 48px; margin: 4px 0 14px; }
.spark polyline { fill: none; stroke: #9ed2cc; stroke-width: 2; vector-effect: non-scaling-stroke; }
.tile-crowd { background: var(--white); box-shadow: inset 0 0 0 1px rgba(20,19,0,.08); }
.crowd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--paper-2); border-radius: 999px; padding: 3px; }
.seg-btn { border: 0; background: transparent; border-radius: 999px; padding: 6px 12px; font-size: .82rem; cursor: pointer; color: var(--ink-2); }
.seg-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.zones { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 16px; }
.zone-btn { border: 1px solid rgba(20,19,0,.18); background: transparent; border-radius: 999px; padding: 6px 12px; font-size: .85rem; cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone-btn small { color: var(--ink-2); margin-left: 2px; }
.zone-btn[aria-pressed="true"] { border-color: var(--river-deep); background: var(--river-tint); color: var(--river-deep); }
.hours { display: grid; grid-template-columns: repeat(11, 1fr); gap: 5px; align-items: end; height: 118px; margin-bottom: 12px; }
.hour { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.hour .bar { width: 100%; border-radius: 6px 6px 2px 2px; transition: height .35s ease, background-color .35s; }
.hour .h { font-size: .7rem; color: var(--ink-2); }
.lvl-1 { background: #a9d3ce; } .lvl-2 { background: var(--river); } .lvl-3 { background: var(--ochre); } .lvl-4 { background: var(--ochre-deep); }
.tile-crowd .source { margin-top: auto; }
.tile-weather { box-shadow: inset 0 0 0 1px rgba(20,19,0,.14); }
.tile-weather .source { margin-top: auto; }
.tile-cam { padding: 0; background: var(--ink); color: var(--paper); overflow: hidden; }
.tile-cam .tile-title { padding: 22px 22px 0; }
.tile-cam .tile-text { padding: 0 22px; color: #d7d6cc; font-size: .92rem; }
.tile-cam .source { padding: 0 22px 20px; margin-top: auto; color: #a7a69c; }
.cam { position: relative; display: block; width: 100%; border: 0; padding: 0; margin: 0 0 14px; cursor: pointer; background: none; aspect-ratio: 3 / 2; overflow: hidden; }
.cam img { width: 100%; height: 100%; object-fit: cover; }
.cam-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(247,246,241,.92); display: grid; place-items: center; }
.cam-play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.cam.is-live::after { content: "Simulation : le flux de la webcam se chargerait ici"; position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; background: rgba(13,22,24,.78); color: var(--paper); font-size: .9rem; }

/* Univers */
.univers { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); position: relative; z-index: 2; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(220px, 300px)); gap: 14px; margin-top: 34px; }
.u { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; background: var(--night); }
.u picture, .u img { width: 100%; height: 100%; }
.u img { object-fit: cover; transition: transform .6s ease; }
.u:hover img, .u:focus-visible img { transform: scale(1.035); }
.u::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,22,24,0) 30%, rgba(13,22,24,.55) 62%, rgba(13,22,24,.9) 100%); }
.u-text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.u-title { font-family: var(--display); font-size: clamp(.95rem, 1.4vw, 1.2rem); line-height: 1.25; }
.u-line { font-size: 1rem; line-height: 1.35; color: rgba(255,255,255,.88); }
.u-1 { grid-row: 1 / span 2; }
.u-1 .u-title { font-size: clamp(1.2rem, 2.2vw, 1.9rem); }
.u-4 { grid-column: 2; grid-row: 2; }
.u-5 { grid-column: 3; grid-row: 2; }

/* Séjour */
.sejour { background: var(--paper-2); padding: clamp(64px, 9vw, 120px) 0; position: relative; z-index: 2; }
.sejour-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.sejour-fig { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.sejour-fig img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.sejour-fig figcaption { font-size: .78rem; color: var(--ink-2); margin-top: 8px; }
.sejour-text .h2 { margin-bottom: 22px; }
.days { list-style: none; margin: 36px 0; padding: 0 0 0 28px; position: relative; }
.days::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 2px; background: var(--river); border-radius: 2px; }
.days li { position: relative; margin-bottom: 26px; }
.days li::before { content: ""; position: absolute; left: -28px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper-2); border: 3px solid var(--river); }
.days h3 { font-family: var(--display); font-size: .9rem; margin-bottom: 6px; }
.days p { margin: 0; max-width: 52ch; }
.stay { background: var(--white); border-radius: var(--radius); padding: 26px; }
.stay-title { font-family: var(--display); font-size: .85rem; margin-bottom: 14px; }
.stay-list { list-style: none; margin: 0 0 20px; padding: 0; }
.stay-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(20,19,0,.1); flex-wrap: wrap; }
.stay-name { font-weight: 560; }
.stay-meta { color: var(--ink-2); font-size: .95rem; }
.resa-slot { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: var(--river-tint); color: var(--river-deep); font-size: .98rem; }
.resa-slot p { margin: 0; }

/* Figures */
.figures { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; background: var(--paper); position: relative; z-index: 2; }
.figures-media { min-height: 520px; }
.figures-media picture, .figures-media img { width: 100%; height: 100%; }
.figures-media img { object-fit: cover; object-position: 40% 50%; }
.figures-text { padding: clamp(48px, 7vw, 104px) clamp(24px, 6vw, 88px); align-self: center; max-width: 640px; }
.figures-text .h2 { margin-bottom: 26px; }
.figures-text p { max-width: 54ch; }
.figures-text .source { margin: 22px 0 18px; }

/* Bivouac */
.bivouac { background: var(--night); color: var(--paper); padding-bottom: clamp(56px, 8vw, 104px); position: relative; z-index: 2; }
.bivouac-hero { position: relative; min-height: 640px; height: 88svh; max-height: 860px; overflow: hidden; display: flex; align-items: flex-end; }
.bivouac-hero > picture, .bivouac-hero > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bivouac-hero > picture img { object-fit: cover; object-position: 50% 60%; }
.bivouac-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,22,24,.2) 0%, rgba(13,22,24,.15) 40%, var(--night) 100%); }
.bivouac-intro { position: relative; z-index: 1; padding-bottom: 56px; }
.bivouac-intro p { max-width: 50ch; font-size: 1.2rem; color: #e6e9e4; margin: 18px 0 28px; }
.credit-light { z-index: 1; }
.aires { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }
.aire { background: var(--night-2); border-radius: var(--radius); padding: 24px 26px; }
.aire h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 8px; }
.aire p { margin: 0 0 8px; color: #d9ddd7; }
.aire-open { color: #f0c3a4 !important; font-size: .95rem; margin: 0 !important; }

.module { margin-top: 28px; }
.module-shell { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(20px, 3vw, 36px); }
.steps { list-style: none; margin: 0 0 28px; padding: 0 0 20px; display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid rgba(20,19,0,.1); }
.steps li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-2); padding: 6px 12px 6px 6px; border-radius: 999px; }
.steps li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: .72rem; background: var(--paper-2); color: var(--ink-2); }
.steps li[aria-current="step"] { color: var(--ink); background: var(--river-tint); }
.steps li[aria-current="step"] span, .steps li.done span { background: var(--river-deep); color: var(--white); }
.module-body { display: grid; grid-template-columns: 1fr 320px; gap: clamp(20px, 4vw, 48px); align-items: start; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend { font-family: var(--display); font-size: clamp(1.05rem, 1.6vw, 1.35rem); margin-bottom: 20px; padding: 0; }
.field { margin-bottom: 20px; }
.field label, .label { display: block; font-size: .9rem; color: var(--ink-2); margin-bottom: 8px; }
.field input[type="date"], .ages select {
  border: 1px solid rgba(20,19,0,.25); border-radius: 12px; padding: 12px 14px; background: var(--white); min-height: 48px; font-size: 1rem;
}
.hint { font-size: .85rem; color: var(--ink-2); margin: 8px 0 0; font-style: italic; }
.field-row { display: flex; gap: 32px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--white); border: 1px solid rgba(20,19,0,.18); border-radius: 999px; padding: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper-2); font-size: 1.2rem; cursor: pointer; }
.stepper button:hover { background: var(--river-tint); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 34px; text-align: center; font-family: var(--display); font-size: .95rem; }
.ages { display: flex; flex-wrap: wrap; gap: 12px; }
.ages label { font-size: .85rem; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; }
.aire-status { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.aire-status li { font-size: .9rem; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); }
.aire-status li.open { background: var(--river-tint); color: var(--river-deep); }
.aire-status li.closed { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(20,19,0,.35); }
.choices { display: grid; gap: 10px; margin-bottom: 20px; }
.choices-inline { display: flex; flex-wrap: wrap; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice > span { display: flex; flex-direction: column; gap: 2px; border: 1.5px solid rgba(20,19,0,.18); border-radius: 16px; padding: 14px 18px; background: var(--white); transition: border-color .2s, background-color .2s; }
.choice small { color: var(--ink-2); font-size: .9rem; }
.choice input:checked + span { border-color: var(--river-deep); background: var(--river-tint); }
.choice input:focus-visible + span { outline: 3px solid var(--ochre); outline-offset: 2px; }
.choice input:disabled + span { opacity: .45; cursor: not-allowed; }
.choice-small > span { padding: 10px 16px; border-radius: 999px; }
.gear { list-style: none; margin: 0 0 14px; padding: 0; }
.gear li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(20,19,0,.1); }
.gear .g-name { font-weight: 560; }
.gear .g-meta { font-size: .9rem; color: var(--ink-2); grid-column: 1; }
.gear .g-stock { color: var(--ochre-deep); }
.gear .stepper { grid-row: 1 / span 2; grid-column: 2; }
.check { padding: 12px 16px; border-radius: 14px; font-size: .98rem; margin: 6px 0 12px; }
.check.ok { background: var(--river-tint); color: var(--river-deep); }
.check.warn { background: var(--ochre-tint); color: var(--ochre-deep); }
.own { font-size: .95rem; display: inline-flex; gap: 10px; align-items: center; cursor: pointer; }
.own input { width: 18px; height: 18px; accent-color: var(--river-deep); }
.recap { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 20px; }
.recap dt { color: var(--ink-2); font-size: .95rem; }
.recap dd { margin: 0; font-weight: 520; }
.handoff { background: var(--river-tint); color: var(--river-deep); border-radius: 16px; padding: 16px 18px; font-size: .98rem; }
.handoff p { margin: 0; }
.module-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(20,19,0,.1); }
.module-nav .btn[hidden], .steps[hidden], .summary[hidden] { display: none; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border-radius: 20px; padding: 22px; box-shadow: inset 0 0 0 1px rgba(20,19,0,.08); }
.summary h3 { font-family: var(--display); font-size: .9rem; margin-bottom: 14px; }
.summary-lines { list-style: none; margin: 0 0 14px; padding: 0; font-size: .95rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.summary-lines li span:first-child { color: var(--ink-2); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid rgba(20,19,0,.12); padding-top: 14px; margin: 0; }
.summary-total span { font-size: .9rem; white-space: nowrap; }
.summary-total output { font-family: var(--display); font-size: 1.5rem; white-space: nowrap; }

/* Agenda */
.agenda { padding: clamp(64px, 9vw, 120px) 0; position: relative; z-index: 2; }
.agenda-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.agenda-list li { border-top: 3px solid var(--ink); padding-top: 18px; }
.when { font-family: var(--display); font-size: .78rem; color: var(--ochre-deep); margin-bottom: 12px; }
.agenda-list h3 { font-family: var(--serif); font-weight: 560; font-size: 1.5rem; line-height: 1.2; margin-bottom: 10px; font-variation-settings: "opsz" 36; }
.agenda-list p:last-child { color: var(--ink-2); margin: 0; }

/* Toute l'offre */
.offre { background: var(--river-tint); padding: clamp(64px, 9vw, 112px) 0; position: relative; z-index: 2; }
.offre-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px clamp(32px, 6vw, 80px); align-items: start; }
.offre-intro .lede { margin-top: 18px; }
.search { grid-column: 2; }
.search input {
  width: 100%; min-height: 60px; border-radius: 999px; border: 1.5px solid rgba(20,19,0,.2); background: var(--white);
  padding: 0 24px 0 54px; font-size: 1.15rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d5e64' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 20px center; background-size: 22px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { border: 1.5px solid rgba(29,94,100,.35); background: transparent; color: var(--river-deep); border-radius: 999px; padding: 8px 14px; font-size: .92rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--river-deep); border-color: var(--river-deep); color: var(--white); }
.chip-alt[aria-pressed="true"] { background: var(--ochre-deep); border-color: var(--ochre-deep); }
.results { grid-column: 2; list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--radius); }
.results li { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-bottom: 1px solid rgba(20,19,0,.08); }
.results li:last-child { border-bottom: 0; }
.r-name { font-weight: 560; }
.r-meta { font-size: .95rem; color: var(--ink-2); }
.offre-foot { grid-column: 2; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.near { margin: 0; font-size: .98rem; color: var(--river-deep); max-width: 40ch; }
.offre .example-tag { grid-column: 2; margin-top: -10px; }

/* Lettre */
.letter { background: var(--ochre-tint); padding: clamp(48px, 7vw, 88px) 0; position: relative; z-index: 2; }
.letter-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px clamp(32px, 6vw, 80px); align-items: start; }
.letter-grid p { margin-top: 14px; max-width: 44ch; color: var(--ink-2); }
.letter-form label { font-size: .92rem; }
.letter-row { display: flex; gap: 10px; margin: 8px 0 14px; }
.letter-row input { flex: 1; min-width: 0; min-height: 54px; border-radius: 999px; border: 1.5px solid rgba(20,19,0,.2); padding: 0 20px; background: var(--white); font-size: 1.05rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; color: var(--ink-2); }
.consent input { margin-top: 5px; accent-color: var(--river-deep); }
.ok { color: var(--river-deep); font-weight: 560; }

/* Pied de page */
.site-footer { background: var(--ink); color: #d8d7cc; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 140px; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-demo { margin-top: 40px; font-size: .8rem; color: #9b9a8f; }

/* Annotations de démo */
.note {
  position: relative; z-index: 30; margin: 0 auto 28px;
  width: min(calc(var(--wrap) - 2 * var(--gutter)), calc(100vw - 2 * var(--gutter)));
  background: #fffbe6; color: var(--ink); border-radius: 16px; padding: 16px 18px 16px 18px;
  box-shadow: 0 12px 32px rgba(13,22,24,.22); font-size: .92rem; line-height: 1.45;
  border-left: 5px solid var(--ochre);
}
.note strong { display: block; font-family: var(--display); font-size: .72rem; color: var(--ochre-deep); margin-bottom: 6px; }
.hero > .note, .bivouac > .note, .figures > .note { position: absolute; width: min(380px, calc(100vw - 2 * var(--gutter))); margin: 0; }
.hero > .note { top: calc(var(--header-h) + 20px); right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.bivouac > .note { top: 24px; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.figures > .note { top: 24px; left: var(--gutter); }
[data-note] { position: relative; }

/* Responsive */
@media (max-width: 1180px) {
  .main-nav ul { gap: 18px; }
  .today-grid { grid-template-columns: 1fr 1.6fr; }
  .langs { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-flex; }
  .main-nav ul { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 24px rgba(13,22,24,.12); }
  .main-nav ul.is-open { display: flex; }
  .main-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(20,19,0,.08); }
  .tool-link { display: none; }
  .sejour-grid, .offre-grid, .letter-grid, .figures { grid-template-columns: 1fr; }
  .sejour-fig { position: static; }
  .sejour-fig img { aspect-ratio: 16 / 10; }
  .search, .results, .offre-foot, .offre .example-tag { grid-column: 1; }
  .figures-media { min-height: 340px; }
  .module-body { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .u-1 { grid-column: 1 / -1; grid-row: auto; }
  .u-4, .u-5 { grid-column: auto; grid-row: auto; }
  .agenda-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1.06rem; }
  .demo-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .steps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -4px; margin-right: -4px; }
  .steps li { flex: none; }
  .steps li:not([aria-current="step"]) { font-size: 0; gap: 0; padding: 6px; }
  .btn-bivouac { padding: 10px 14px; }
  .brand, .logo { width: 104px; }
  .today-grid { grid-template-columns: 1fr; }
  .hours { height: 96px; gap: 3px; }
  .zone-btn { white-space: normal; overflow: visible; }
  .aires { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .stay-list li { flex-direction: column; gap: 2px; }
  .letter-row { flex-direction: column; }
  .module-nav { flex-direction: column-reverse; }
  .module-nav .btn { width: 100%; }
  .recap { grid-template-columns: 1fr; gap: 2px; }
  .recap dd { margin-bottom: 10px; }
  .note { margin: 16px var(--gutter) 24px; width: auto; }
  .hero > .note, .bivouac > .note, .figures > .note { top: calc(var(--header-h) + 8px); left: var(--gutter); right: var(--gutter); width: auto; }
}
/* Module bivouac : accueil, aides, offre, remerciement */
.module-body.is-wide { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.intro-lede { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; margin: 0 0 22px; }
.gorges-map { margin: 0 0 24px; background: var(--white); border-radius: 20px; padding: 14px 16px 10px; box-shadow: inset 0 0 0 1px rgba(20,19,0,.08); }
.gorges-map svg, .map-btn svg { width: 100%; height: auto; display: block; }
.map-relief { fill: #ebe6d6; }
.map-river { fill: none; stroke: var(--river); stroke-width: 7; stroke-linecap: round; }
.gorges-map text { font-family: var(--serif); font-size: 19px; fill: var(--ink); }
.map-town circle { fill: var(--ink); }
.map-site circle { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.map-aire path { fill: var(--ochre-deep); }
.map-aire text { font-family: var(--display); font-size: 16px; fill: var(--ochre-deep); }
.gorges-map figcaption { font-size: .82rem; color: var(--ink-2); font-style: italic; margin-top: 4px; }
.intro-steps { counter-reset: s; list-style: none; padding: 22px 24px; margin: 0 0 18px; background: var(--ink); color: var(--paper); border-radius: 20px; display: grid; gap: 12px; }
.intro-steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; }
.intro-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-size: .72rem; }
.help { background: var(--paper-2); border-radius: 16px; padding: 14px 18px; margin: 4px 0 18px; font-size: .96rem; }
.help p { margin: 0; }
.help a { color: var(--river-deep); }
.help-details summary { cursor: pointer; font-weight: 560; }
.help-details ul { margin: 12px 0; padding-left: 20px; }
.help-details li { margin-bottom: 6px; }
.q { font-size: .95rem; color: var(--ink-2); margin: 0 0 10px; }
.related { display: grid; gap: 8px; margin-top: 8px; }
.related-title { font-family: var(--display); font-size: .85rem; margin: 6px 0 4px; }
.related a { display: block; background: var(--white); border-radius: 14px; padding: 14px 18px; box-shadow: inset 0 0 0 1px rgba(20,19,0,.1); text-decoration: none; }
.related a:hover { box-shadow: inset 0 0 0 1.5px var(--river-deep); }
.criteria { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px dashed rgba(20,19,0,.2); }
.criteria-title { width: 100%; font-family: var(--display); font-size: .85rem; margin: 0 0 4px; }
.crit { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(20,19,0,.22); background: var(--white); border-radius: 10px; padding: 7px 12px; font-size: .9rem; cursor: pointer; }
.crit svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.crit:hover { border-color: var(--river-deep); color: var(--river-deep); }
.offer-card { border: 1.5px solid var(--river-deep); background: var(--river-tint); border-radius: 18px; padding: 18px 20px; margin-bottom: 24px; }
.offer-card h3 { font-family: var(--display); font-size: 1rem; margin-bottom: 6px; }
.offer-card > p { margin: 0 0 10px; color: var(--ink-2); font-size: .95rem; }
.offer-card ul { list-style: none; margin: 0; padding: 0; }
.offer-card li { display: flex; justify-content: space-between; padding: 4px 0; border-top: 1px solid rgba(29,94,100,.18); }
.offer-card .offer-note { margin: 10px 0 0; font-size: .85rem; font-style: italic; color: var(--river-deep); }
.sub { font-family: var(--display); font-size: .95rem; margin: 0 0 4px; }
.gear li.is-off { opacity: .45; }
.widget-slot { border: 1.5px dashed var(--river); border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; background: var(--white); font-size: .95rem; }
.widget-title { font-family: var(--display); font-size: .85rem; margin: 0 0 6px; }
.widget-slot p:last-child { margin: 0; color: var(--ink-2); }
.done-steps { list-style: none; padding: 22px 24px; margin: 0 0 18px; background: var(--ink); color: var(--paper); border-radius: 20px; display: grid; gap: 10px; }
.done-steps li { display: flex; gap: 12px; align-items: center; }
.done-steps li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--paper); display: grid; place-items: center; font-size: .8rem; flex: none; }
.sticky-total { display: none; }
@media (max-width: 980px) {
  .sticky-total:not([hidden]) { display: flex; justify-content: space-between; align-items: center; position: sticky; bottom: 0; z-index: 5; margin: 16px calc(-1 * clamp(20px, 3vw, 36px)) calc(-1 * clamp(20px, 3vw, 36px)); padding: 14px clamp(20px, 3vw, 36px); background: var(--ink); color: var(--paper); border-radius: 0 0 28px 28px; }
  .sticky-total output { font-family: var(--display); font-size: 1.2rem; }
}

/* Séjour, agenda, offre : compléments */
.quote { font-family: var(--serif); font-style: italic; font-size: 1.25rem; border-left: 3px solid var(--river); margin: 0 0 22px; padding: 4px 0 4px 18px; color: var(--ink); }
.rubric { font-size: .85rem; font-style: italic; color: var(--ink-2); margin: -6px 0 8px; }
.agenda-list .text-link { display: inline-block; margin-top: 12px; }
.agenda-list p:last-of-type { color: var(--ink-2); }
.map-teaser { grid-column: 2; }
.map-btn { position: relative; display: block; width: 100%; border: 0; padding: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.map-btn .pin { fill: var(--ochre-deep); stroke: var(--white); stroke-width: 2; }
.map-btn > span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--river-deep); color: var(--white); font-family: var(--display); font-size: .78rem; padding: 12px 18px; border-radius: 999px; }
.map-btn.is-live > span { display: none; }
.hub { grid-column: 2; margin: 0; font-size: .98rem; color: var(--ink-2); }
.hub a { color: var(--river-deep); }
.privacy { font-size: .85rem; color: var(--ink-2); margin: 8px 0 0 !important; }
button.text-link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.is-inactive { text-decoration-style: dotted !important; }

/* Guide de lecture de la démo */
.guide { position: fixed; z-index: 60; right: 20px; bottom: 20px; width: min(380px, calc(100vw - 40px)); background: var(--paper); color: var(--ink); border-radius: 20px; padding: 20px 22px; box-shadow: 0 18px 48px rgba(13,22,24,.28); border-top: 5px solid var(--river); }
.guide[hidden] { display: none; }
.guide-title { font-family: var(--display); font-size: .95rem; margin: 0 0 8px; }
.guide p { margin: 0 0 10px; font-size: .95rem; color: var(--ink-2); }
.guide ol { margin: 0 0 14px; padding-left: 20px; font-size: .95rem; display: grid; gap: 6px; }
.guide a { color: var(--river-deep); }
.guide-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.guide-actions .btn { padding: 10px 16px; font-size: .72rem; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; font-size: .92rem; box-shadow: 0 10px 30px rgba(13,22,24,.3); }
.toast[hidden] { display: none; }
@media (max-width: 980px) {
  .map-teaser, .hub { grid-column: 1; }
}
@media (max-width: 640px) {
  .guide { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
