/* ==========================================================================
   Rayon Vert : design system
   Vert forêt + orange. Inter Tight (titres) / Inter (texte).
   ========================================================================== */

:root {
  --bg: #062219;
  --bg-2: #0a2c20;
  --bg-3: #0f3a2a;
  --bg-4: #185a42;
  --ink: #f2f7f3;
  --ink-2: #b7ccc0;
  --muted: #7d9a8b;
  --line: rgba(242, 247, 243, 0.14);
  --line-2: rgba(242, 247, 243, 0.28);
  --orange: #ff6a1f;
  --orange-2: #ff8a3d;
  --mint: #5be3a1;

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1360px;
  --header-h: 72px;
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--orange); color: var(--bg); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 700; margin: 0;
  letter-spacing: -0.04em; line-height: 0.95;
}
h1 { font-size: clamp(3rem, 8.4vw, 8.6rem); letter-spacing: -0.05em; line-height: 0.9; }
h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
p { margin: 0; }
.accent { color: var(--orange); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--bg); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-family: var(--body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-2);
}
.label b { color: var(--orange); font-weight: 600; margin-right: 10px; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 34em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 54px; padding: 0 22px;
  background: var(--orange); color: var(--bg); border: 1px solid var(--orange); border-radius: 4px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em; cursor: pointer; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:hover svg { transform: translateX(4px); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--dark { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--dark:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 0.88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; justify-self: start;
  border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: color 0.2s, border-color 0.2s;
}
.arrow-link:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s;
}
.site-header.is-solid { background: var(--bg); border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand svg { width: 46px; height: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-size: 0.92rem; font-weight: 500; color: var(--ink-2); transition: color 0.2s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--ink); }
.nav ul a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); padding-bottom: 4px; }
.header-cta { flex: none; }
.cta-short { display: none; }
.lp-cta { position: fixed; top: 16px; right: var(--gutter); z-index: 40; }
.nav-toggle {
  display: none; height: 42px; padding: 0 14px; background: transparent; border: 1px solid var(--line-2);
  border-radius: 4px; font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; justify-content: space-between;
    gap: 0; padding: 24px var(--gutter) 32px; background: var(--bg); border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transition: opacity 0.25s, visibility 0.25s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; }
  .nav-open .site-header { background: var(--bg); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 2rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); }
  .site-header .container { gap: 8px; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .header-cta { padding: 0 12px; }
  .header-cta svg { display: none; }
}

/* ==========================================================================
   Landing : panneaux plein écran, un geste de scroll = un panneau
   ========================================================================== */
:root { --ui-h: 0px; } /* plus de barre de navigation en bas de la landing */
.panel { position: relative; }
.scene { min-height: 100vh; min-height: 100svh; overflow: hidden; }
.scene__art { position: absolute; inset: 0; }
.art-layer { position: absolute; inset: 0; will-change: transform; }
.art-layer svg { width: 100%; height: 100%; display: block; }
.scene__content {
  position: relative; z-index: 2; height: 100%; min-height: inherit;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--header-h); padding-bottom: calc(var(--ui-h) + 40px);
}
.scene__text { max-width: 640px; display: grid; gap: 22px; }
.scene__text .lead { color: var(--ink); opacity: 0.86; }
.scene--right .scene__text { margin-left: auto; }
.scene__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 22, 15, 0.82) 0%, rgba(4, 22, 15, 0.5) 34%, rgba(4, 22, 15, 0) 58%);
}
.scene--right .scene__shade { background: linear-gradient(270deg, rgba(4, 22, 15, 0.82) 0%, rgba(4, 22, 15, 0.5) 34%, rgba(4, 22, 15, 0) 58%); }
.scene__text > p:not(.lead):not(.label) { color: var(--ink-2); max-width: 36em; }
.scene--hero .scene__content { justify-content: flex-start; padding-top: calc(var(--header-h) + clamp(28px, 7vh, 80px)); }
.scene.scene--hero .scene__shade { background: none; }
.hero-title { font-size: clamp(2.6rem, 5.4vw, 5.2rem); max-width: 13ch; }
.postcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 600px; margin: 4px 0; }
.postcards--duo { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
.postcards figure { margin: 0; display: grid; gap: 8px; }
.postcards img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; border: 1px solid var(--line-2); }
.postcards figcaption { font-family: var(--display); font-weight: 600; font-size: 0.92rem; letter-spacing: -0.015em; line-height: 1.2; }
.postcards--duo figcaption { font-family: inherit; font-weight: 500; font-size: 0.8rem; color: var(--ink-2); }
@media (max-width: 760px) { .postcards { gap: 6px; } .postcards figcaption { font-size: 0.78rem; } .postcards--duo { max-width: 300px; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.duo article { background: var(--bg-2); padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.duo figure { margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) 8px; aspect-ratio: 2 / 1; overflow: hidden; }
.duo figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.duo h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; }
.duo p:not(.label) { color: var(--ink-2); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }
.meta { display: flex; flex-wrap: wrap; list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.meta li { padding: 12px 22px 0 0; margin-right: 22px; font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.meta li + li { padding-left: 22px; border-left: 1px solid var(--line-2); }

.panel--content { background: var(--bg); }
.panel--alt { background: var(--bg-2); }
.panel--orange { background: var(--orange); color: var(--bg); }
.panel--orange .label, .panel--orange .lead { color: var(--bg); }
.panel__scroll { padding: calc(var(--header-h) + 36px) 0 calc(var(--ui-h) + 36px); }
.panel__body { display: grid; gap: 32px; }
.panel__body .sh { margin-bottom: 0; }
.panel .rows > li { padding: 18px 0; }
.panel .stats li { padding-top: 20px; }
.panel .sh__body { gap: 16px; }
.panel .tile { min-height: min(44vh, 420px); }
.mega { font-size: clamp(3rem, 8vw, 8rem); letter-spacing: -0.055em; line-height: 0.9; max-width: 13ch; }

/* Mode JS : la page ne défile plus, les panneaux se succèdent */
html.js-story, .js-story body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.js-story .deck { position: fixed; inset: 0; overflow: hidden; }
.js-story .panel { position: absolute; inset: 0; visibility: hidden; }
.js-story .panel.is-active, .js-story .panel.is-entering, .js-story .panel.is-leaving { visibility: visible; }
.js-story .panel.is-entering { z-index: 3; }
.js-story .panel.is-leaving, .js-story .panel.is-active { z-index: 2; }
.js-story .scene { touch-action: none; }
.panel__veil { display: none; }
.js-story .panel__veil { display: block; position: absolute; inset: 0; z-index: 4; background: #020d09; opacity: 0; pointer-events: none; }
.js-story .panel.is-entering, .js-story .panel.is-leaving { will-change: transform; }
.js-story .panel__scroll {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  display: flex; flex-direction: column; scrollbar-width: none;
}
.js-story .panel__scroll::-webkit-scrollbar { display: none; }
.js-story .panel__body { margin: auto 0; flex: none; }
.js-story .panel__scroll .site-footer { margin-top: 72px; padding-bottom: 0; }

@media (max-width: 760px) {
  .scene__content { justify-content: flex-end; padding-bottom: calc(var(--ui-h) + 32px); }
  .scene--top .scene__content { justify-content: flex-start; padding-top: calc(var(--header-h) + 28px); }
  .scene__shade, .scene--right .scene__shade { background: linear-gradient(0deg, rgba(4, 22, 15, 0.92) 0%, rgba(4, 22, 15, 0.6) 44%, rgba(4, 22, 15, 0) 68%); }
  .scene--top .scene__shade { background: linear-gradient(180deg, rgba(4, 22, 15, 0.9) 0%, rgba(4, 22, 15, 0.5) 46%, rgba(4, 22, 15, 0) 66%); }
  .scene__text { gap: 16px; }
  .meta { display: none; }
  .panel__scroll { padding-top: calc(var(--header-h) + 32px); padding-bottom: calc(var(--ui-h) + 32px); }
  .panel__body { gap: 28px; }
}

/* ---------- Animations des illustrations ---------- */
.art-layer * { transform-box: fill-box; }
.js-story .panel:not(.is-active):not(.is-entering):not(.is-leaving) .art-layer * { animation-play-state: paused !important; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(-0.35); } }
@keyframes fly { from { transform: translateX(-400px); } to { transform: translateX(2000px); } }
@keyframes fly-rev { from { transform: translateX(400px); } to { transform: translateX(-2000px); } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(var(--dx, 24px)); } }
@keyframes shimmer { 0%, 100% { opacity: var(--o, 0.8); } 50% { opacity: calc(var(--o, 0.8) * 0.3); } }
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(var(--dy, 8px)); } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(3); opacity: 0; } }
@keyframes fall { from { transform: translate(0, -160px) rotate(0deg); } to { transform: translate(var(--dx, 80px), 1200px) rotate(var(--r, 540deg)); } }
@keyframes swim { from { transform: translateX(-300px); } to { transform: translateX(2000px); } }
@keyframes wiggle { 0%, 100% { transform: skewY(-7deg); } 50% { transform: skewY(7deg); } }
@keyframes meteor { 0%, 70% { transform: translate(0, 0); opacity: 0; } 72% { opacity: 1; } 84% { transform: translate(-520px, 260px); opacity: 0; } 100% { opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: translateY(330px); } to { transform: translateY(0); } }
@keyframes dip { from { transform: translateY(-210px); } to { transform: translateY(70px); } }
@keyframes fadeout { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes flash { 0%, 45% { opacity: 0; transform: scale(0.3, 0.6); } 62% { opacity: 1; transform: scale(1.08, 1); } 100% { opacity: 1; transform: scale(1); } }
@keyframes rays { 0%, 100% { opacity: 0.55; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes glide { 0% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(-140px, 36px) rotate(3deg); } 100% { transform: translate(0, 0) rotate(-3deg); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

.a-bird { transform-origin: 50% 100%; animation: flap var(--f, 0.42s) ease-in-out infinite alternate; }
.a-fly { animation: fly var(--t, 48s) linear var(--d, 0s) infinite; }
.a-fly-rev { animation: fly-rev var(--t, 48s) linear var(--d, 0s) infinite; }
.a-drift { animation: drift var(--t, 7s) ease-in-out infinite; }
.a-shimmer { animation: shimmer var(--t, 2.6s) ease-in-out var(--d, 0s) infinite; }
.a-twinkle { animation: twinkle var(--t, 3s) ease-in-out var(--d, 0s) infinite; }
.a-sway { transform-origin: var(--ox, 0%) var(--oy, 100%); animation: sway var(--t, 6s) ease-in-out var(--d, 0s) infinite; }
.a-bob { animation: bob var(--t, 5s) ease-in-out var(--d, 0s) infinite; }
.a-pulse { transform-origin: center; animation: pulse 2.2s ease-out var(--d, 0s) infinite; }
.a-fall { animation: fall var(--t, 9s) linear var(--d, 0s) infinite; }
.a-swim { animation: swim var(--t, 30s) linear var(--d, 0s) infinite; }
.a-wiggle { transform-origin: 100% 50%; animation: wiggle 0.9s ease-in-out infinite; }
.a-meteor { animation: meteor var(--t, 7s) ease-out var(--d, 0s) infinite; }
.a-glide { animation: glide var(--t, 14s) ease-in-out infinite; }
.a-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-active .a-draw, .is-entering .a-draw, .art-static .a-draw { animation: draw var(--t, 1.6s) var(--ease-out) var(--d, 0.4s) forwards; }
.is-active .a-rise, .is-entering .a-rise, .art-static .a-rise { animation: rise 3.4s var(--ease-out) 0.2s both; }
.a-dip { transform: translateY(-210px); }
.is-active .a-dip, .is-entering .a-dip { animation: dip 3.2s cubic-bezier(0.45, 0, 0.55, 1) 0.2s both; }
.is-active .a-fadeout, .is-entering .a-fadeout { animation: fadeout 3.4s ease-in forwards; }
.a-flash { opacity: 0; transform-origin: 50% 100%; }
.is-active .a-flash, .is-entering .a-flash { animation: flash 1.5s ease-out 2.2s forwards; }
.a-rays { transform-origin: 50% 100%; animation: rays 3.2s ease-in-out 3.8s infinite; }
.a-show { opacity: 0; }
.is-active .a-show, .is-entering .a-show, .art-static .a-show { animation: appear 0.6s ease-out var(--d, 1.6s) forwards; }

@media (prefers-reduced-motion: reduce) {
  .art-layer * { animation: none !important; }
  .a-draw { stroke-dashoffset: 0; }
  .a-show, .a-flash { opacity: 1; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: clamp(80px, 11vw, 150px) 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-2); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.sh { display: grid; grid-template-columns: 3fr 9fr; gap: 24px var(--gutter); margin-bottom: clamp(48px, 6vw, 80px); }
.sh .label { padding-top: 0.6em; }
.sh__body { display: grid; gap: 22px; }
.sh__body h2 { max-width: 15ch; }
@media (max-width: 860px) { .sh { grid-template-columns: 1fr; } }

/* Lignes numérotées */
.rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); counter-reset: row; }
.rows > li {
  display: grid; grid-template-columns: 3fr 4fr 5fr; gap: 12px var(--gutter); align-items: baseline;
  padding: 32px 0; border-top: 1px solid var(--line); counter-increment: row;
}
.rows > li::before { content: counter(row, decimal-leading-zero); font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--orange); }
.rows p { color: var(--ink-2); max-width: 46ch; }
@media (max-width: 860px) { .rows > li { grid-template-columns: 1fr; padding: 26px 0; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.stats li { padding: 28px 24px 0 0; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--display); font-size: clamp(2.4rem, 4.4vw, 4rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; }
.stats span { color: var(--ink-2); font-size: 0.92rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats li:nth-child(3) { padding-left: 0; border-left: 0; } .stats li { padding-bottom: 24px; } }

/* Destinations */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 460px; background: var(--bg); overflow: hidden; isolation: isolate; }
.tile__art { position: absolute; inset: 0 0 86px 0; z-index: -1; transition: transform 0.8s var(--ease-out); }
.tile:hover .tile__art { transform: scale(1.04); }
.tile__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__top, .tile__bottom { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tile__bottom { min-height: 86px; background: var(--bg); border-top: 1px solid var(--line); transition: background 0.25s, color 0.25s; }
.tile:hover .tile__bottom { background: var(--orange); color: var(--bg); }
.tile h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 700; letter-spacing: -0.04em; }
.tile__bottom svg { width: 22px; height: 22px; flex: none; }
.tile .label { background: var(--bg); padding: 6px 10px; color: var(--ink); }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 340px; } }

.index { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 5fr 6fr auto; gap: 20px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); transition: color 0.2s, padding 0.3s var(--ease-out); }
.index li:first-child a { border-top: 0; }
.index a:hover { color: var(--orange); padding-left: 12px; }
.index h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.04em; }
.index p { color: var(--ink-2); font-size: 0.95rem; }
.index svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .index a { grid-template-columns: 1fr auto; } .index p { grid-column: 1 / -1; grid-row: 2; } }

/* Grille photo des destinations (landing) */
.dest-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dest-grid a { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 3; padding: 14px 16px; overflow: hidden; isolation: isolate; background: var(--bg); }
.dest-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease-out); }
.dest-grid a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 22, 15, 0.85) 0%, rgba(4, 22, 15, 0) 55%); transition: background 0.3s; }
.dest-grid a:hover img { transform: scale(1.06); }
.dest-grid a:hover::after { background: linear-gradient(0deg, rgba(255, 106, 31, 0.92) 0%, rgba(255, 106, 31, 0) 60%); }
.dest-grid .label { align-self: flex-start; background: var(--bg); color: var(--ink); padding: 5px 8px; font-size: 0.68rem; }
.dest-grid strong { font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
@media (max-width: 860px) { .dest-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .dest-grid a { aspect-ratio: 1; padding: 10px 12px; } }

.quiz-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(22px, 3vw, 36px); background: var(--orange); color: var(--bg); }
.quiz-band .label, .quiz-band p { color: var(--bg); }
.quiz-band div { display: grid; gap: 8px; }
.quiz-band h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }

/* Bandeau d'appel */
.cta { background: var(--orange); color: var(--bg); }
.cta .container { display: grid; grid-template-columns: 1fr auto; gap: 32px var(--gutter); align-items: end; padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.cta h2 { max-width: 16ch; }
.cta p { margin-top: 18px; max-width: 46ch; font-weight: 500; }
@media (max-width: 760px) { .cta .container { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  padding: 26px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -0.025em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--orange); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; color: var(--ink-2); max-width: 70ch; }

/* Formulaires */
.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); }
.field input:not([type="range"]), .field textarea {
  width: 100%; padding: 10px 0 14px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  font-size: 1.15rem; color: var(--ink); transition: border-color 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--orange); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.range output { font-family: var(--display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.03em; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line-2); margin: 12px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--orange); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 0; border: 0; background: var(--orange); cursor: pointer; }
.form__note { font-size: 0.82rem; color: var(--muted); }
.form__note a { text-decoration: underline; }
.form__status { font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status:empty { display: none; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.9rem; color: var(--ink-2); list-style: none; margin: 0; padding: 0; }
.checks li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 2px; background: var(--orange); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px var(--gutter); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.contact-list li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.contact-list strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.025em; }
.contact-list a:hover { color: var(--orange); }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-top p { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3.2rem); letter-spacing: -0.045em; line-height: 1; max-width: 18ch; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px var(--gutter); padding: 48px 0; }
.footer-grid h2 { font-family: var(--body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; line-height: 1.4; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--ink-2); transition: color 0.2s; }
.footer-grid a:hover { color: var(--orange); }
.footer-grid .brand { margin-bottom: 18px; }
.footer-grid p { color: var(--ink-2); font-size: 0.92rem; max-width: 30ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.footer-bottom p { max-width: 80ch; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.page-head { padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(40px, 5vw, 64px); }
.page-head .container { display: grid; gap: 28px; }
.page-head h1 { max-width: 13ch; }
.page-head .lead { max-width: 40em; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: 0.85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a:hover { color: var(--ink); }
.banner { position: relative; height: clamp(300px, 54vh, 640px); border-top: 1px solid var(--line); overflow: hidden; }

/* En-tête photo des fiches destinations */
.photo-head { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.photo-head__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 22, 15, 0.94) 0%, rgba(4, 22, 15, 0.62) 38%, rgba(4, 22, 15, 0.08) 72%), linear-gradient(180deg, rgba(4, 22, 15, 0.55) 0%, rgba(4, 22, 15, 0) 22%); }
.photo-head .container { display: grid; gap: 24px; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.photo-head h1 { max-width: 13ch; }
.photo-head .lead { max-width: 40em; color: var(--ink); opacity: 0.9; }
.photo-head .crumbs ol { color: var(--ink-2); }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: clamp(56px, 8vw, 110px); }
.gallery figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

.photo-band { height: clamp(300px, 62vh, 720px); border-top: 1px solid var(--line); overflow: hidden; }
.photo-band--short { height: clamp(240px, 40vh, 460px); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.facts div { padding: 24px 24px 0 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.45rem); letter-spacing: -0.025em; line-height: 1.2; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { padding-left: 0; border-left: 0; } .facts div { padding-bottom: 22px; } }

/* Itinéraires en diaporama */
.trip { display: grid; gap: 22px; }
.trip__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.trip__tabs button { display: grid; gap: 4px; text-align: left; padding: 18px 22px; background: none; border: 0; color: var(--ink-2); cursor: pointer; font: inherit; border-bottom: 3px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.trip__tabs button + button { border-left: 1px solid var(--line); }
.trip__tabs strong { font-family: var(--display); font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.03em; color: var(--ink); }
.trip__tabs span { font-size: 0.85rem; }
.trip__tabs [aria-selected="true"] { background: var(--bg-2); border-bottom-color: var(--orange); }
.trip__tabs button:hover { background: var(--bg-2); }
.trip__deck { display: grid; gap: 16px; }
.trip__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.trip__route { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.trip__route::-webkit-scrollbar { display: none; }
.trip__route li { display: flex; align-items: center; gap: 6px; flex: none; }
.trip__route li + li::before { content: "→"; color: var(--muted); }
.trip__route button { background: none; border: 1px solid var(--line); color: var(--ink-2); font: inherit; font-size: 0.85rem; font-weight: 500; padding: 7px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.trip__route .is-done button { color: var(--ink); border-color: var(--line-2); }
.trip__route .is-current button { background: var(--orange); border-color: var(--orange); color: var(--bg); }
.trip__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.trip__viewport::-webkit-scrollbar { display: none; }
.trip__slides { list-style: none; margin: 0; padding: 0; display: flex; }
.trip__slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.4fr 1fr; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; }
.trip__slide figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.trip__slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease-out); transform: scale(1.06); }
.trip__slide.is-current img { transform: none; }
.trip__body { padding: clamp(24px, 3.4vw, 48px); display: grid; gap: 14px; align-content: center; }
.trip__days { font-family: var(--display); font-weight: 600; color: var(--orange); letter-spacing: -0.01em; }
.trip__body h4 { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.trip__body > p:not(.trip__days):not(.trip__count) { color: var(--ink-2); font-size: 1.05rem; }
.trip__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.trip__tags li { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--line-2); color: var(--ink-2); }
.trip__count { font-size: 0.8rem; color: var(--muted); }
.trip__nav { display: flex; align-items: center; gap: 14px; }
.trip__nav button { width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s; }
.trip__nav button:hover:not(:disabled) { background: var(--orange); border-color: var(--orange); color: var(--bg); }
.trip__nav button:disabled { opacity: 0.3; cursor: default; }
.trip__nav svg { width: 18px; height: 18px; }
.trip__bar { flex: 1; height: 2px; background: var(--line-2); position: relative; }
.trip__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--orange); transition: width 0.5s var(--ease-out); }
.trip__deck[hidden] { display: none; }
.no-js .trip__deck[hidden] { display: grid; }
@media (max-width: 860px) {
  .trip__slide { grid-template-columns: 1fr; }
  .trip__tabs button { padding: 12px 12px; }
  .trip__tabs span { display: none; }
}

.plan { width: 100%; border-collapse: collapse; }
.plan th, .plan td { text-align: left; vertical-align: top; padding: 22px 24px 22px 0; border-top: 1px solid var(--line); }
.plan tr:last-child th, .plan tr:last-child td { border-bottom: 1px solid var(--line); }
.plan th { width: 22%; font-family: var(--display); font-weight: 600; color: var(--orange); white-space: nowrap; letter-spacing: -0.01em; }
.plan td { color: var(--ink-2); }
.plan td strong { display: block; font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 4px; color: var(--ink); }
@media (max-width: 640px) { .plan th { display: block; width: auto; padding-bottom: 4px; } .plan td { display: block; border-top: 0; padding-top: 0; } }

.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; margin: 2.2em 0 0.7em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose ul { padding-left: 1.1em; }
.prose li { margin: 0.35em 0; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.note { border-left: 2px solid var(--orange); padding: 4px 0 4px 20px; color: var(--ink-2); font-size: 0.95rem; max-width: 80ch; }
.note a { color: var(--ink); text-decoration: underline; }

.region { display: grid; grid-template-columns: 4fr 8fr; gap: 20px var(--gutter); padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.region h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.region > div > p { color: var(--ink-2); margin-bottom: 20px; max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-block; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 0.9rem; color: var(--ink-2); transition: all 0.2s; }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips .is-feature { background: var(--orange); border-color: var(--orange); color: var(--bg); font-weight: 600; }
.chips .is-feature:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.region details { margin-top: 16px; }
.region summary { cursor: pointer; font-size: 0.9rem; color: var(--muted); }
.region details .chips { margin-top: 14px; }
@media (max-width: 860px) { .region { grid-template-columns: 1fr; } }

/* Quiz */
.quiz { max-width: 920px; }
.quiz__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.quiz__bar { height: 2px; background: var(--line-2); margin-bottom: 48px; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.5s var(--ease-out); }
.quiz fieldset { border: 0; margin: 0; padding: 0; display: none; min-width: 0; }
.quiz fieldset.is-active { display: block; }
.quiz legend { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -0.045em; line-height: 1; margin-bottom: 36px; padding: 0; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 640px) { .options { grid-template-columns: 1fr; } }
.options label {
  position: relative; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 14px; padding: 16px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 4px; font-weight: 500; transition: border-color 0.2s, background 0.2s;
}
.options label:hover { border-color: var(--ink); }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options .key { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 4px; font-size: 0.82rem; font-weight: 600; }
.options label:has(input:checked) { border-color: var(--orange); }
.options label:has(input:checked) .key { background: var(--orange); border-color: var(--orange); color: var(--bg); }
.options label:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
.quiz [hidden] { display: none; }
.quiz__gate { display: none; }
.quiz__gate.is-active { display: grid; gap: 18px; max-width: 620px; }
.quiz__gate h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.05em; }
.quiz__result { display: none; }
.quiz__result.is-active { display: block; }
.quiz__result h2 { font-size: clamp(3rem, 8vw, 7rem); letter-spacing: -0.05em; margin: 16px 0 24px; }
.quiz__result .lead { margin-bottom: 32px; }
.quiz__alt { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 28px 0 36px; padding-top: 24px; border-top: 1px solid var(--line); }

/* Apparitions */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Landing pages publicitaires
   ========================================================================== */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.lp-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 22, 15, 0.62) 0%, rgba(4, 22, 15, 0.42) 42%, rgba(4, 22, 15, 0.94) 100%); }
.lp-hero .container { display: grid; gap: 18px; justify-items: center; padding-top: 28px; padding-bottom: clamp(36px, 6vw, 72px); }
.lp-hero .brand { margin-bottom: clamp(40px, 9vw, 110px); }
.lp-hero h1 { font-size: clamp(2.6rem, 7vw, 6rem); }
.lp-hero .lead { color: var(--ink); }
.lp-badges { list-style: none; margin: clamp(28px, 5vw, 60px) 0 0; padding: 28px 0 0; width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line-2); }
.lp-badges li { display: grid; gap: 8px; justify-items: center; }
.lp-badges svg, .lp-points svg { width: 34px; height: 34px; color: var(--orange); }
.lp-badges h2 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.lp-badges p { font-size: 0.9rem; color: var(--ink-2); max-width: 26ch; }
.lp-center { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: center; text-align: center; }
.lp-center .btn { max-width: 100%; height: auto; min-height: 52px; padding-block: 12px; white-space: normal; text-align: left; }
.lp-center > h2 { max-width: 22ch; }
.lp-center .lead { max-width: 44em; }
.lp-cards { list-style: none; margin: 18px 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: left; }
.lp-cards li { display: grid; gap: 10px; align-content: start; }
.lp-cards img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.lp-cards h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }
.lp-cards p { font-size: 0.92rem; color: var(--ink-2); }
.lp-founder { display: grid; grid-template-columns: 220px 1fr; gap: 28px 48px; align-items: center; max-width: 900px; }
.lp-founder h2 { grid-column: 1 / -1; }
.lp-founder img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.lp-sign { font-size: 0.85rem; color: var(--muted); }
.lp-points { list-style: none; margin: 18px 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.lp-points li { background: var(--bg); padding: 24px 18px; display: grid; gap: 10px; justify-items: center; align-content: start; }
.lp-points h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.lp-points p { font-size: 0.88rem; color: var(--ink-2); }
.lp-center .faq { width: 100%; max-width: 820px; text-align: left; }
.lp-footer { border-top: 1px solid var(--line); padding: 22px 0; font-size: 0.85rem; color: var(--muted); }
.lp-footer .container { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; }
.lp-footer a:hover { color: var(--ink); }
.lp-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: clamp(20px, 4vw, 36px); background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); }
.lp-dialog::backdrop { background: rgba(2, 13, 9, 0.8); }
.lp-dialog__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lp-dialog fieldset { border: 0; margin: 0; padding: 0; display: none; min-width: 0; }
.lp-dialog fieldset.is-active { display: grid; gap: 14px; }
.lp-dialog legend, .lp-legend2 { font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; padding: 0; float: left; width: 100%; }
.lp-legend2 { margin-top: 8px; }
.lp-opts { display: grid; gap: 6px; clear: both; }
.lp-opts label { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border: 1px solid var(--line-2); cursor: pointer; font-size: 0.95rem; }
.lp-opts label:hover, .lp-opts label:has(:checked) { border-color: var(--orange); }
.lp-opts input { accent-color: var(--orange); }
.lp-dialog__nav { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-dialog__nav [hidden] { display: none; }
@media (max-width: 900px) {
  .lp-cards { grid-template-columns: 1fr 1fr; }
  .lp-points { grid-template-columns: 1fr 1fr; }
  .lp-badges { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-cards, .lp-points { grid-template-columns: 1fr; }
  .lp-founder { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .lp-founder img { max-width: 180px; }
}

/* ==========================================================================
   Bandeau cookies
   ========================================================================== */
.cookie-banner { position: fixed; left: var(--gutter); bottom: 20px; z-index: 80; width: min(460px, calc(100vw - 2 * var(--gutter))); max-height: calc(100dvh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 14px; padding: 22px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.cookie-banner[hidden] { display: none; }
.js-story .cookie-banner { bottom: calc(var(--ui-h) + 14px); max-height: calc(100dvh - var(--header-h) - var(--ui-h) - 34px); }
.cookie-banner h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }
.cookie-banner p { font-size: 0.88rem; color: var(--ink-2); }
.cookie-banner p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cookie-cat { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cookie-cat div { display: grid; gap: 3px; }
.cookie-cat strong { font-size: 0.92rem; }
.cookie-cat span { font-size: 0.8rem; color: var(--ink-2); }
.cookie-cat .cookie-cat__none { color: var(--muted); font-style: italic; }
.cookie-always { flex: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint); }
.cookie-switch { position: relative; flex: none; width: 44px; height: 24px; cursor: pointer; }
.cookie-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cookie-switch::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--line-2); transition: background 0.2s; }
.cookie-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: transform 0.2s; }
.cookie-switch:has(:checked)::before { background: var(--orange); }
.cookie-switch:has(:checked)::after { transform: translateX(20px); }
.cookie-switch:has(:focus-visible) { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 999px; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cookie-actions [hidden] { display: none; }
.cookie-btn { flex: 1 1 140px; justify-content: center; }
.cookie-link { background: none; border: 0; padding: 8px 4px; color: var(--ink); font: inherit; font-size: 0.88rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 560px) { .cookie-banner { left: 12px; width: calc(100vw - 24px); bottom: 12px; padding: 18px; } .js-story .cookie-banner { bottom: calc(var(--ui-h) + 8px); } }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: 0.9rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.prose th { color: var(--ink); font-weight: 600; }
.prose .table-wrap { overflow-x: auto; }

