/* PURPLE HIKE : feuille de style (charte graphique PURPLE HIKE) */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Caveat Brush"; src: url("/assets/fonts/caveat-brush-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --tint: #F5F2FA;
  --ink: #1E1530;
  --ink-2: #5A5168;
  --line: #E6E0EF;
  --purple: #6A2FC2;
  --purple-bright: #7B2FE0;
  --purple-soft: #EFE8FB;
  --signal: #F2B705;
  --night: #2A1F45;
  --night-2: #352858;
  --night-text: #D3CBE3;
  --head: "Archivo", "Arial Black", sans-serif;
  --script: "Caveat Brush", "Segoe Script", cursive;
  --body: "Instrument Sans", system-ui, sans-serif;
  --r-card: 16px;
  --r-big: 48px;
  --wrap: 76rem;
  --gutter: max(1.25rem, calc((100vw - var(--wrap)) / 2));
  --shadow: 0 24px 48px -28px rgba(30, 21, 48, 0.45);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--purple); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.02; }
h2 { font: 800 clamp(2.1rem, 4.6vw, 3.6rem)/1 var(--head); text-transform: uppercase; letter-spacing: -0.01em; }
h3 { font: 700 1.35rem/1.2 var(--head); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--signal); color: var(--ink); padding: 0.5rem 1rem; z-index: 2000; font-weight: 600; border-radius: 99px; }
.skip:focus { top: 1rem; }
.small { font-size: 0.875rem; color: var(--ink-2); }
.note { font-size: 0.85rem; color: var(--ink-2); margin-top: 1.5rem; }
.script { font-family: var(--script); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; color: var(--purple); margin: 0 0 0.2rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.lead { font-size: 1.25rem; line-height: 1.6; max-width: 62ch; }
.lead.center { margin-inline: auto; margin-bottom: 3rem; }

/* Boutons en pastille */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.7rem 1.4rem; border-radius: 99px; background: var(--purple); color: #fff; font: 600 0.98rem/1.2 var(--body); text-decoration: none; border: 2px solid var(--purple); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.pill:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-lg { padding: 0.95rem 1.8rem; font-size: 1.05rem; }
.pill-ghost { background: transparent; color: var(--purple); }
.pill-ghost:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.pill-light { background: transparent; border-color: #fff; color: #fff; }
.pill-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.pill-block { display: flex; width: 100%; }

/* En-tête */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 1000; color: #fff; transition: background 0.25s, box-shadow 0.25s; }
.site-header.is-solid, .site-header.is-scrolled { position: fixed; background: var(--ink); box-shadow: 0 6px 24px rgba(30, 21, 48, 0.25); }
.has-solid-header { padding-top: 76px; }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 76px; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; font: 800 1.35rem/1 var(--head); letter-spacing: 0.02em; white-space: nowrap; }
.brand:hover { color: var(--signal); }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: var(--signal); stroke-width: 2.6; stroke-linecap: round; }
.brand-mark circle:first-child { fill: var(--signal); }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: clamp(1.1rem, 1.8vw, 2rem); margin: 0; padding: 0; }
.nav a { color: inherit; text-decoration: none; font: 700 0.95rem/1 var(--head); text-transform: uppercase; letter-spacing: 0.04em; padding: 0.5rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--signal); color: #fff; }
.pill-header { padding: 0.6rem 1.15rem; font-size: 0.92rem; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 10px; }
.burger span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 6px 0; border-radius: 2px; }
@media (max-width: 60rem) {
  .burger { display: block; }
  .pill-header { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: var(--ink); padding: 1rem var(--gutter) 2rem; display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0.25rem; }
  .nav a { display: block; padding: 0.9rem 0; font-size: 1.1rem; }
}

/* Héros */
.hero { position: relative; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-full { min-height: max(640px, 92vh); }
.hero-mid { min-height: max(460px, 62vh); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 21, 48, 0.55) 0%, rgba(30, 21, 48, 0.25) 35%, rgba(30, 21, 48, 0.7) 100%); }
.hero-content { position: relative; z-index: 1; width: min(100% - 2.5rem, 60rem); padding: 7rem 0 4rem; }
.hero h1 { margin: 0; }
.hero .script { color: var(--signal); font-size: clamp(1.8rem, 3.4vw, 2.8rem); display: block; margin-bottom: 0.4rem; }
.hero-title { display: block; font: 800 clamp(2.6rem, 7.2vw, 6.2rem)/0.95 var(--head); text-transform: uppercase; letter-spacing: -0.015em; text-wrap: balance; }
.hero-mid .hero-title { font-size: clamp(2.4rem, 6vw, 5rem); }
.hero-sub { font-size: 1.2rem; max-width: 40ch; margin: 1.2rem auto 0; color: #F1EDF8; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin: 2rem 0 0; }

/* Sections */
.sec { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.sec-tint { background: var(--tint); }
.sec-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.sec-title h2 { margin: 0; }
.sec-text { margin: 0; max-width: 46ch; color: var(--ink-2); justify-self: end; }
.arrows { display: flex; gap: 0.6rem; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--purple); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { background: var(--ink); transform: scale(1.06); }
@media (max-width: 52rem) { .sec-head { grid-template-columns: 1fr; } .sec-text { justify-self: start; } .arrows { display: none; } }

/* Strates sombres aux coins arrondis */
.strate { background: var(--night); color: #fff; border-radius: var(--r-big) var(--r-big) 0 0; overflow: hidden; }
.strate + .strate, .sec + .strate { margin-top: 0; }
.strate .script { color: var(--signal); }
.strate h2 { color: #fff; }
.strate .sec-text { color: var(--night-text); }
.strate .sec-text a { color: #fff; }
.strate .arrow { background: var(--signal); color: var(--ink); }
.strate .arrow:hover { background: #fff; }
.strate-light { background: var(--tint); color: var(--ink); }
.strate-light .script { color: var(--purple); }
.strate-light h2 { color: var(--ink); }
.strate-light .sec-text { color: var(--ink-2); }
.strate-light .arrow { background: var(--purple); color: #fff; }
.strate-light .arrow:hover { background: var(--ink); }
.lineart { position: absolute; top: 2rem; right: -2rem; width: min(42vw, 520px); height: auto; fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }

/* Carrousels */
.carousel { position: relative; }
.track { list-style: none; margin: 0; padding: 0.5rem var(--gutter) 1.5rem; display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track > li { scroll-snap-align: start; flex: none; }
.sec > .wrap.center { margin-top: 2rem; }

/* Cartes photo (titre posé sur l'image) */
.pcard a { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; color: #fff; text-decoration: none; background: var(--night-2); box-shadow: var(--shadow); isolation: isolate; }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pcard-portrait { width: min(78vw, 300px); }
.pcard-portrait a { aspect-ratio: 3 / 4; }
.pcard-landscape { width: min(84vw, 400px); }
.pcard-landscape a { aspect-ratio: 4 / 3; }
.pcard-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 21, 48, 0) 40%, rgba(30, 21, 48, 0.85) 100%); }
.pcard-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.3rem; }
.pcard-kicker { font-size: 0.88rem; font-weight: 500; color: #EDE7F7; }
.pcard-title { font: 800 1.45rem/1.1 var(--head); }
.pcard-landscape .pcard-title { font-size: 1.9rem; text-transform: uppercase; }
.pcard a:hover img { transform: scale(1.06); }
.cgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.5rem; }
.cgrid .pcard { width: auto; }

/* Bientôt */
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; }
.soon-label { font-family: var(--script); font-size: 1.8rem; color: var(--purple); margin: 0; }
.strate .soon-label { color: var(--signal); }
.soon-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.soon-list a { display: inline-block; padding: 0.4rem 0.95rem; border-radius: 99px; border: 1.5px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: 0.92rem; font-weight: 500; }
.soon-list a:hover { border-color: var(--purple); color: var(--purple); }
.strate .soon-list a { border-color: rgba(255, 255, 255, 0.25); color: var(--night-text); }
.strate .soon-list a:hover { border-color: #fff; color: #fff; }
.soon-box { max-width: 44rem; margin: 3rem auto 0; text-align: center; padding: 2.5rem; background: var(--tint); border-radius: 24px; }
.soon-box h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

/* Bloc éditorial photo + texte */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.split-text p { color: var(--ink-2); max-width: 52ch; }
.split-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 1.5rem 0 2rem; padding: 0; }
.split-links a { font: 700 0.95rem var(--head); text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--signal); padding-bottom: 0.2rem; }
.split-links a:hover { color: var(--purple); }
@media (max-width: 56rem) { .split { grid-template-columns: 1fr; } }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-bottom: 2rem; }
.chips { border: 0; padding: 0; margin: 0; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 0.55rem 1.15rem; border: 1.5px solid var(--line); background: var(--paper); border-radius: 99px; font-weight: 600; font-size: 0.95rem; }
.chips input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.select select { font: inherit; font-size: 0.95rem; font-weight: 500; padding: 0.6rem 2.4rem 0.6rem 1.1rem; border: 1.5px solid var(--line); border-radius: 99px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E1530' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 1rem center; appearance: none; color: var(--ink); }
.count { margin: 0 0 0 auto; color: var(--ink-2); font-size: 0.95rem; }
.empty { padding: 2rem; text-align: center; background: var(--tint); border-radius: var(--r-card); }

/* Grille de parcours */
.rgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(18.5rem, 1fr)); gap: 2rem 1.5rem; }
.rtile a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--r-card); overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line), var(--shadow); transition: transform 0.25s ease; }
.rtile a:hover { transform: translateY(-4px); }
.rtile-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.rtile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.rtile a:hover .rtile-media img { transform: scale(1.06); }
.rtile-tags { position: absolute; top: 0.9rem; left: 0.9rem; display: flex; gap: 0.35rem; }
.tag { background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 99px; }
.rtile-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.2rem 1.3rem 1.4rem; flex: 1; }
.rtile-kicker { font-size: 0.85rem; font-weight: 600; color: var(--purple); }
.rtile-title { font: 800 1.3rem/1.15 var(--head); }
.rtile a:hover .rtile-title { color: var(--purple); }
.rtile-stats { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: auto; padding-top: 0.8rem; color: var(--ink-2); font-size: 0.9rem; }
.rtile-stats b { font: 800 1.1rem var(--head); color: var(--ink); }

/* Page parcours */
.statbar { position: relative; z-index: 2; margin: -4.5rem 0 0; display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); background: var(--paper); border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(30, 21, 48, 0.45); padding: 1.6rem 0.6rem; }
.statbar div { padding: 0 1.2rem; text-align: center; }
.statbar div + div { border-left: 1px solid var(--line); }
.statbar dt { font-size: 0.85rem; color: var(--ink-2); }
.statbar dd { margin: 0.25rem 0 0; font: 800 2.1rem/1 var(--head); }
.statbar small { font-size: 1rem; font-weight: 700; }
.statbar .dd-text { font-size: 1.35rem; padding-top: 0.4rem; color: var(--purple); }
@media (max-width: 56rem) { .statbar { grid-template-columns: repeat(3, 1fr); row-gap: 1.2rem; } .statbar div:nth-child(4) { border-left: 0; } }
@media (max-width: 34rem) { .statbar { grid-template-columns: repeat(2, 1fr); } .statbar div:nth-child(odd) { border-left: 0; } .statbar div:nth-child(4) { border-left: 1px solid var(--line); } }
.route-cols { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); padding: 3.5rem 0 5rem; }
.route-main h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.5rem; }
.route-main > p { max-width: 66ch; }
.steps { list-style: none; margin: 0; padding: 0; max-width: 66ch; }
.steps li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.route-side { position: relative; }
.side-card { position: sticky; top: 100px; background: var(--paper); border-radius: 24px; box-shadow: 0 1px 0 var(--line), var(--shadow); padding: 1.8rem; }
.side-card h3 { margin-top: 1.8rem; }
@media (max-width: 56rem) { .route-cols { grid-template-columns: 1fr; } .route-side { order: -1; } .side-card { position: static; } }

/* Carte et profil */
.map { height: clamp(340px, 56vh, 560px); background: var(--tint); }
.map-rounded { margin-top: 3rem; border-radius: 24px; overflow: hidden; }
.route-map-block { margin-top: 2rem; border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 var(--line), var(--shadow); }
.profile-wrap { position: relative; padding: 0.5rem 0.75rem 0.3rem; background: var(--paper); }
.profile-box { position: relative; }
.profile { width: 100%; height: 170px; cursor: crosshair; touch-action: pan-y; }
.profile .area { fill: rgba(123, 47, 224, 0.14); }
.profile .line { fill: none; stroke: var(--purple-bright); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.profile .grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.profile .cursor { stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.prof-y span, .prof-x span { position: absolute; font-size: 0.72rem; color: var(--ink-2); line-height: 1; pointer-events: none; }
.prof-y span { left: 4.6%; transform: translate(0.15rem, -115%); }
.prof-x span { bottom: 0; transform: translateX(-50%); }
.prof-x span { white-space: nowrap; }
.prof-x span:first-child { transform: none; }
.prof-x span:last-child { transform: translateX(-100%); }
.profile-read { position: absolute; top: 0.5rem; right: 1rem; margin: 0; font-size: 0.9rem; font-weight: 600; background: var(--paper); padding: 0 0.3rem; }
.map-page { position: relative; }
.map-full { height: calc(100vh - 76px); min-height: 480px; }
.map-panel { position: absolute; z-index: 500; top: 1.25rem; left: 1.25rem; max-width: 21rem; background: var(--paper); border-radius: 24px; padding: 1.4rem 1.6rem 0.6rem; box-shadow: var(--shadow); }
.map-panel h1 { font: 800 2.4rem/1 var(--head); text-transform: uppercase; }
@media (max-width: 40rem) { .map-panel { left: 0.75rem; right: 0.75rem; top: auto; bottom: 1.5rem; max-width: none; } }
.page-map .site-footer { display: none; }
.station-pin { width: 22px; height: 22px; border-radius: 50%; background: var(--signal); border: 4px solid var(--ink); box-shadow: 0 0 0 2px #fff; }
.leaflet-container { font-family: var(--body); }
.leaflet-popup-content a { font-weight: 600; }

/* Pages de texte */
.prose { padding: 4rem 0 6rem; max-width: 46rem; }
.prose h1 { font: 800 clamp(2.4rem, 5.5vw, 3.8rem)/1 var(--head); text-transform: uppercase; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.credits { list-style: none; padding: 0 !important; }
.credits li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }

/* Avis (masqués tant que non configurés) */
.social { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.social-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.social-head h2 { margin: 0; }
.like { display: inline-flex; align-items: center; gap: 0.5rem; font: 600 1rem var(--body); padding: 0.6rem 1.1rem; border: 1.5px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--ink); cursor: pointer; }
.like svg { width: 20px; height: 20px; fill: none; stroke: var(--purple-bright); stroke-width: 2; }
.like.is-on { background: var(--purple-bright); border-color: var(--purple-bright); color: #fff; }
.like.is-on svg { fill: #fff; stroke: #fff; }
.like-count { font: 800 1.1rem var(--head); }
.comments { list-style: none; padding: 0; margin: 1.5rem 0; }
.comment { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment p { margin: 0.2rem 0; }
.comment-meta { font-size: 0.9rem; color: var(--ink-2); }
.comment-form { background: var(--tint); border-radius: 24px; padding: 1.6rem; display: grid; gap: 0.9rem; }
.comment-form h3 { margin: 0; }
.comment-form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.95rem; }
.comment-form input, .comment-form textarea { font: inherit; font-weight: 400; padding: 0.7rem 0.9rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 40rem) { .form-row { grid-template-columns: 1fr; } }
.comment-form .pill { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 600; color: var(--purple); }

/* Bandeau cookies */
.consent { position: fixed; z-index: 3000; left: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); display: flex; align-items: center; gap: 0.9rem; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 0.45rem 0.45rem 0.45rem 1.2rem; box-shadow: 0 10px 30px rgba(30, 21, 48, 0.25); font-size: 0.9rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; }
.consent a { color: var(--purple); }
.consent-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }
.consent-actions .pill { padding: 0.5rem 1rem; font-size: 0.85rem; }
@media (max-width: 40rem) { .consent { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; border-radius: 20px; padding: 0.6rem 0.6rem 0.6rem 1rem; justify-content: space-between; flex-wrap: wrap; } }

/* Pied de page */
.site-footer { position: relative; margin-top: calc(var(--r-big) * -1); border-radius: var(--r-big) var(--r-big) 0 0; background: var(--ink); color: var(--night-text); font-size: 0.95rem; }
main > :last-child { padding-bottom: calc(clamp(4rem, 8vw, 7rem) + var(--r-big)); }
main > .prose:last-child, main > .wrap:last-child { padding-bottom: calc(6rem + var(--r-big)); }
.footer-top { padding: 4.5rem 0 3rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-about .brand { color: #fff; font-size: 1.5rem; }
.footer-about .script { color: var(--signal); margin: 1rem 0 0.6rem; font-size: 1.7rem; }
.footer-about .pill { margin-top: 0.6rem; color: #fff; }
.footer-title { font: 700 0.95rem var(--head); text-transform: uppercase; letter-spacing: 0.04em; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.5rem 0 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: 0.82rem; }
.footer-bottom p { margin: 0; max-width: 70ch; }
.footer-bottom a { text-decoration: underline; }
.legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; padding: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 34rem) { .footer-grid { grid-template-columns: 1fr; } }
/* Règle : on ne coupe jamais un mot pour aller à la ligne. */
body, h1, h2, h3, h4, p, a, li, .pcard-title, .hero-title, .rtile-title { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; }
.cgrid .pcard-landscape .pcard-title { font-size: clamp(1.3rem, 2vw, 1.7rem); }
/* Photos « En chemin » dans le texte des pages parcours : coins arrondis, légende en pastille, pas de voile sombre. */
.route-photos { display: grid; gap: 1rem; margin: 2rem 0 2.5rem; }
.route-photos-2 { grid-template-columns: 1fr 1fr; }
.rphoto { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--tint, #F5F2FA); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.route-photos-1 .rphoto { aspect-ratio: 16 / 9; }
.rphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rphoto-label { position: absolute; left: 0.6rem; bottom: 0.6rem; max-width: calc(100% - 1.2rem); background: #fff; color: var(--ink, #1E1530); font: 600 0.75rem/1.2 var(--body); padding: 0.3rem 0.65rem; border-radius: 999px; box-shadow: 0 2px 10px rgba(30, 21, 48, 0.18); }
@media (max-width: 700px) { .route-photos-2 { grid-template-columns: 1fr; } }
