/* Hunawé — la fiche d'un séjour (/aventures/<slug>/), en grand format.
   Chargée après les feuilles du site : elle s'appuie sur leurs variables
   (--nuit, --eau, --feu, --papier, --serif, --main, --r-lg…) et sur leurs
   composants (.shell, .kicker, .bloc, .btn, .lien-texte, .aventure-places,
   .grille-aventures). Tout ce qui est propre à la fiche porte « sejour- ».
   Pour une retouche, le plus simple est d'ajouter une règle dans l'Atelier,
   « Mes ajouts · Toutes les pages Hunawé » : elle se charge après celle-ci.

   La page se lit comme un grand format de magazine : un récit, des photos
   qui le ponctuent, et les renseignements pratiques réunis sur une seule
   feuille, en texte courant plutôt qu'en listes.

   Sommaire : 1. le bandeau · 2. les départs · 3. le fil de la page · 4. petit écran */

/* =====================================================================
   1. LE BANDEAU
   ===================================================================== */

.page-sejour { --sejour-trait: rgba(20, 36, 43, .12); --sejour-doux: rgba(20, 36, 43, .74); }
.page-sejour h2 em,
.page-sejour h1 em { font-style: italic; font-weight: 540; }
.page-sejour h2 em { color: var(--eau-texte, #3E6E8C); }
.page-sejour h1 em { color: var(--eau-2, #8EB8CE); }
.sejour-affiche .kicker, .sejour-entete .kicker, .sejour-captain .kicker, .sejour-ouverture > .kicker, .sejour-ouverture-haut > .kicker { display: flex; }

/* La photo d'ambiance plein cadre, sous deux voiles : un vertical (l'en-tête
   en haut, le texte en bas) et un latéral, sous le titre. */
.sejour-affiche { position: relative; display: grid; min-height: clamp(600px, 86svh, 820px); overflow: hidden; background: var(--nuit); color: var(--papier); }
.sejour-affiche-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 42%; }
.sejour-affiche::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 25, 32, .62) 0%, rgba(10, 25, 32, .12) 28%, rgba(10, 25, 32, .46) 58%, rgba(10, 25, 32, .95) 100%), linear-gradient(90deg, rgba(10, 25, 32, .62) 0%, rgba(10, 25, 32, .3) 42%, rgba(10, 25, 32, 0) 72%);
}
.sejour-affiche-shell { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 clamp(40px, 5vw, 64px); }

.sejour-retour { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; color: rgba(255, 255, 255, .86); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: color .2s ease; }
.sejour-retour:hover { color: #fff; }
.sejour-retour span { transition: transform .25s ease; }
.sejour-retour:hover span { transform: translateX(-3px); }

body:has(#contenu) .sejour-affiche h1 { max-width: 15ch; margin: 0; color: #fff; font-family: var(--serif); font-size: clamp(46px, 6.6vw, 104px); font-weight: 610; line-height: .98; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 30px rgba(6, 18, 24, .35); }
.sejour-accroche { max-width: 46ch; margin: 20px 0 0; color: rgba(255, 255, 255, .9); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.sejour-affiche-bas { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 26px 40px; margin-top: clamp(30px, 4vw, 52px); padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .22); }
.sejour-affiche-actions { display: flex; align-items: flex-end; gap: 26px; }
.sejour-affiche-actions .hw-resa-btn { margin: 0 0 4px; }
.sejour-affiche-legende { position: absolute; top: 132px; right: 0; margin: 0; color: rgba(255, 255, 255, .88); font-family: var(--main); font-size: 25px; line-height: 1.1; transform: rotate(-2deg); text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }

/* Les repères : durée, groupe, niveau, terrain. */
.sejour-reperes { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 0; padding: 0; list-style: none; }
.sejour-reperes li { display: grid; gap: 4px; padding: 0 24px; border-left: 1px solid rgba(255, 255, 255, .2); }
.sejour-reperes li:first-child { padding-left: 0; border-left: 0; }
.sejour-reperes small { color: var(--eau-2, #8EB8CE); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sejour-reperes strong { color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.15; }

/* Le prix. */
.sejour-prix { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 10px; margin: 0; }
.sejour-prix small { grid-column: 1 / -1; color: var(--eau-2, #8EB8CE); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sejour-prix strong { color: #fff; font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.sejour-prix span { color: rgba(255, 255, 255, .72); font-size: 13px; }

/* Sans photo d'ambiance : bandeau sombre, la photo de la carte en polaroïd. */
.sejour-affiche--sobre { min-height: 0; background: radial-gradient(circle at 78% 38%, rgba(93, 146, 179, .23), transparent 34%), linear-gradient(140deg, #0d1f27, var(--nuit) 58%, #183843); }
.sejour-affiche--sobre::after { content: none; }
.sejour-affiche--sobre .mp-contours { position: absolute; inset: 0; opacity: .17; pointer-events: none; background-image: radial-gradient(ellipse at 83% 36%, transparent 0 21%, rgba(142, 184, 206, .55) 21.15% 21.35%, transparent 21.5% 27%, rgba(142, 184, 206, .48) 27.15% 27.35%, transparent 27.5% 34%, rgba(142, 184, 206, .4) 34.15% 34.35%, transparent 34.5%); }
.sejour-affiche--sobre .sejour-affiche-shell { padding-top: 124px; }
.sejour-sobre-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(36px, 4.6vw, 72px); }
body:has(#contenu) .sejour-affiche--sobre h1 { max-width: none; font-size: clamp(38px, 4.4vw, 68px); line-height: 1.02; text-shadow: none; }
.sejour-polaroid { position: relative; justify-self: end; width: min(100%, 540px); margin: 0; padding: 9px 9px 46px; background: var(--papier); box-shadow: 0 22px 54px rgba(0, 0, 0, .3); transform: rotate(.9deg); }
.sejour-polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 3.3; object-fit: cover; filter: saturate(.94) contrast(1.03); }
.sejour-polaroid figcaption { position: absolute; right: 16px; bottom: 9px; left: 16px; overflow: hidden; color: #466c80; font-family: var(--main); font-size: 21px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; transform: rotate(-.6deg); }

/* Le bandeau d'aperçu, pour qui modifie une fiche pas encore en ligne. */
.sejour-apercu { position: fixed; z-index: 95; left: 14px; bottom: 14px; max-width: 420px; margin: 0; padding: 11px 15px; border-radius: var(--r-md, 12px); background: var(--feu, #D18D60); box-shadow: var(--ombre-2); color: var(--nuit); font-size: 13px; font-weight: 600; line-height: 1.45; }
.sejour-apercu a { text-decoration: underline; }

/* =====================================================================
   2. LES DÉPARTS — des billets, juste sous le bandeau
   ===================================================================== */

.sejour-quai { border-bottom: 1px solid var(--sejour-trait); scroll-margin-top: 80px; }
.sejour-quai-shell { display: grid; grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 4vw, 64px); padding: clamp(30px, 3.4vw, 46px) 0; }
.sejour-quai-tete .kicker { margin-bottom: 10px; }
.sejour-quai-tete p { margin: 0; color: var(--sejour-doux); font-size: 14.5px; line-height: 1.65; }
.sejour-quai-tete .main-note { display: block; margin-top: 8px; font-size: 22px; }
.sejour-departs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sejour-billet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 16px;
  padding: 18px 18px 18px 26px;
  border: 1px solid var(--sejour-trait);
  border-radius: var(--r-md, 12px);
  background: #fff;
  box-shadow: var(--ombre-1, 0 1px 2px rgba(10, 25, 32, .05), 0 6px 16px rgba(10, 25, 32, .06));
}
/* Le talon du billet : un trait pointillé, comme une souche à détacher. */
.sejour-billet::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 12px; border-left: 2px dotted rgba(209, 141, 96, .75); }
.sejour-depart-date { display: grid; gap: 2px; min-width: 0; }
.sejour-depart-date strong { color: var(--encre); font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.sejour-depart-date small { color: rgba(20, 36, 43, .62); font-size: 12px; line-height: 1.4; }
.sejour-billet .aventure-places { grid-column: 1; justify-self: start; white-space: nowrap; }
.sejour-billet .hw-resa-btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.sejour-billet.est-complet { background: rgba(243, 241, 234, .7); }
/* Qui porte le séjour : l'opérateur immatriculé, en petit sous les billets. */
.sejour-porteur { grid-column: 1 / -1; margin: -6px 0 0; padding-top: 16px; border-top: 1px dotted rgba(20, 36, 43, .2); color: rgba(20, 36, 43, .68); font-size: 13px; line-height: 1.6; }
.sejour-porteur span { display: inline-grid; width: 20px; height: 20px; margin-right: 6px; place-items: center; border: 1px solid rgba(93, 146, 179, .45); border-radius: 50%; color: var(--eau-texte, #3E6E8C); font-size: 11px; font-weight: 800; vertical-align: -2px; }
/* Dans la reprise des départs, en fin de page, cette ligne n'apparaît que sur téléphone (où les premiers départs sont masqués). */
.sejour-quai--reprise .sejour-porteur { display: none; }
.sejour-sans-date { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 16px 20px; border: 1px dashed rgba(93, 146, 179, .5); border-radius: var(--r-md, 12px); }
.sejour-sans-date p { flex: 1 1 320px; margin: 0; color: var(--sejour-doux); font-size: 14.5px; line-height: 1.6; }
.sejour-sans-date .hw-resa-btn { margin: 0; }

/* =====================================================================
   3. LE FIL DE LA PAGE
   ===================================================================== */

.sejour-bloc { padding: clamp(56px, 6.4vw, 104px) 0; }
.sejour-entete { max-width: 760px; margin: 0 0 clamp(26px, 3vw, 44px); }
.sejour-entete h2 { font-size: clamp(29px, 2.7vw, 42px); line-height: 1.08; text-wrap: balance; }
.page-sejour .sejour-recit strong, .sejour-jour-corps strong, .sejour-note strong, .sejour-question strong { color: var(--encre); font-weight: 700; }

/* ---- L'ouverture : le récit d'un côté, les photos de l'autre ---------------
   Sur grand écran, deux colonnes qui se répondent : le récit à gauche, le petit
   carrousel à droite (il reste en vue pendant la lecture), « On retient » en
   bande dessous. Sans photos, « On retient » prend la colonne de droite ; sans
   rien d'autre, le récit se tient seul au milieu de la page. */
.sejour-ouverture { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.sejour-ouverture > .kicker, .sejour-ouverture-haut > .kicker { justify-self: start; margin: 0; }
.sejour-ouverture-haut { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; min-width: 0; }   /* 1.54.2 */
.sejour-recit { min-width: 0; max-width: 66ch; }
.sejour-recit p { margin: 0 0 1.15em; color: rgba(20, 36, 43, .82); font-size: 17.5px; line-height: 1.8; }
.sejour-recit > :last-child { margin-bottom: 0; }
/* Le premier paragraphe en chapô, avec sa lettrine. */
.sejour-recit p:first-child { margin-bottom: 1.1em; color: var(--encre); font-family: var(--serif); font-size: clamp(22px, 1.9vw, 27px); font-weight: 460; line-height: 1.45; letter-spacing: -.01em; }
/* 1.46.0 : plus de lettrine (la grande initiale se lisait mal, détachée du mot) ; le chapô en grand suffit. */
/* Fiche courte : le renvoi vers le programme détaillé. */
.sejour-recit p.sejour-renvoi { margin-top: 1.8em; padding-top: 1.3em; border-top: 1px dotted rgba(20, 36, 43, .24); color: rgba(20, 36, 43, .7); font-size: 15.5px; line-height: 1.7; }
.sejour-renvoi .lien-texte { white-space: nowrap; }

/* « On retient » : une note posée sur la page. */
.sejour-points { position: relative; padding: 26px 22px 22px; border: 1px solid var(--sejour-trait); border-radius: var(--r-papier, 4px); background: var(--papier); box-shadow: var(--ombre-1); transform: rotate(-.8deg); }
.sejour-points::before { content: ""; position: absolute; top: -10px; left: 26px; width: 74px; height: 21px; border-radius: 2px; background: rgba(233, 179, 132, .78); transform: rotate(-3deg); }
.sejour-points-titre { margin: 0 0 12px; color: var(--eau-texte, #3E6E8C); font-family: var(--main); font-size: 27px; font-weight: 600; line-height: 1; }
.sejour-points-liste { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.sejour-points-liste li { position: relative; padding-left: 20px; color: var(--encre); font-size: 14.5px; line-height: 1.5; }
.sejour-points-liste li::before { content: ""; position: absolute; top: .55em; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--feu, #D18D60); }

/* Le carrousel : les photos se suivent sur une piste qui s'arrête à chacune.
   Elle défile au doigt, à la molette ou aux flèches ; un clic ouvre la photo en grand. */
.sejour-vues { min-width: 0; margin: 0; }
.sejour-vues-cadre { position: relative; overflow: hidden; border-radius: var(--r-lg, 20px); background: var(--glace, #DCEAF0); box-shadow: var(--ombre-2, 0 2px 4px rgba(10, 25, 32, .07), 0 16px 40px rgba(10, 25, 32, .1)); }
.page-sejour ul.sejour-vues-piste { display: flex; margin: 0; padding: 0; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sejour-vues-piste::-webkit-scrollbar { display: none; }
.page-sejour .sejour-vues-piste li { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0; list-style: none; scroll-snap-align: start; scroll-snap-stop: always; }
.sejour-agrandir { display: block; cursor: zoom-in; }
.sejour-agrandir:focus-visible { outline: 3px solid var(--feu, #D18D60); outline-offset: -3px; }
.sejour-vues-piste img { display: block; width: 100%; height: auto; max-width: none; aspect-ratio: 4 / 3; object-fit: cover; }
.page-sejour button.sejour-vues-fleche { position: absolute; top: 50%; z-index: 2; display: grid; width: 42px; height: 42px; margin: 0; padding: 0; place-items: center; border: 0; border-radius: 50%; background: rgba(251, 250, 246, .94); box-shadow: 0 2px 10px rgba(10, 25, 32, .2); color: var(--encre); font-family: var(--sans); font-size: 17px; line-height: 1; cursor: pointer; transform: translateY(-50%); transition: background .2s ease, transform .2s ease; }
.page-sejour button.sejour-vues-fleche[hidden] { display: none; }
.sejour-vues-fleche--avant { left: 12px; }
.sejour-vues-fleche--apres { right: 12px; }
.page-sejour button.sejour-vues-fleche:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.page-sejour button.sejour-vues-fleche:focus-visible { outline: 3px solid var(--feu, #D18D60); outline-offset: 2px; }
.sejour-vues-compte, .sejour-vues-loupe { position: absolute; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; height: 28px; border-radius: 999px; background: rgba(16, 35, 44, .62); color: #fff; pointer-events: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sejour-vues-compte { left: 12px; padding: 0 11px; font-size: 12px; font-weight: 600; letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.sejour-vues-compte b { margin-right: .3em; font-weight: 700; }
.sejour-vues-loupe { right: 12px; justify-content: center; width: 28px; }
/* La phrase en exergue : la légende des photos — ou, sans photos, une phrase détachée au bas du récit. */
.sejour-vues figcaption { margin: 20px 0 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--feu-clair, #E9B384); }
.page-sejour blockquote.sejour-exergue { margin: 0; padding: 0; border: 0; background: none; color: var(--encre); font-family: var(--serif); font-size: clamp(19px, 1.55vw, 23px); font-style: italic; font-weight: 460; line-height: 1.35; letter-spacing: -.005em; text-wrap: balance; }
.page-sejour blockquote.sejour-exergue::before { content: "«\00a0"; color: var(--feu-texte, #A2603A); }
.page-sejour blockquote.sejour-exergue::after { content: "\00a0»"; color: var(--feu-texte, #A2603A); }
.page-sejour blockquote.sejour-exergue--seul { margin: 1.6em 0 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--feu-clair, #E9B384); }

@media (min-width: 1081px) {
  .sejour-ouverture.a-points:not(.a-vues), .sejour-ouverture-haut { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: start; gap: 0 clamp(52px, 6.4vw, 104px); }
  .sejour-ouverture-haut > .kicker, .sejour-ouverture.a-points > .kicker { grid-column: 1; grid-row: 1; margin-bottom: 30px; }
  .sejour-ouverture-haut .sejour-recit, .sejour-ouverture.a-points .sejour-recit { grid-column: 1; grid-row: 2; }
  .sejour-ouverture.a-vues { gap: 0; }
  .sejour-ouverture-haut .sejour-vues { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 104px; }   /* collée dans son bloc seulement (1.54.2) */
  /* Avec les photos : « On retient » en bande, sous les deux colonnes. */
  .sejour-ouverture.a-vues .sejour-points { display: grid; grid-template-columns: minmax(130px, 170px) minmax(0, 1fr); align-items: start; gap: 6px 34px; margin-top: clamp(46px, 5vw, 76px); padding: 30px 36px 24px; transform: none; }
  .sejour-ouverture.a-vues .sejour-points-titre { margin: 2px 0 0; }
  .sejour-ouverture.a-vues .sejour-points-liste { display: block; columns: 3 210px; column-gap: 36px; }
  .sejour-ouverture.a-vues .sejour-points-liste li { margin: 0 0 10px; break-inside: avoid; }
  /* Sans photos : « On retient » tient la colonne de droite. */
  .sejour-ouverture:not(.a-vues) .sejour-points { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 112px; justify-self: end; width: min(430px, 100%); margin-top: 8px; }
  /* Le récit seul : au milieu de la page, à la largeur d'une colonne de livre. */
  .sejour-ouverture:not(.a-vues):not(.a-points) { max-width: 740px; margin-inline: auto; }
  .sejour-ouverture:not(.a-vues):not(.a-points) > .kicker { margin-bottom: 0; }
}

/* ---- Le programme : chaque journée, sa photo d'un côté puis de l'autre ---- */
.sejour-jours { display: grid; gap: clamp(44px, 6vw, 96px); margin: 0; padding: 0; list-style: none; }
.sejour-jour { display: grid; grid-template-columns: minmax(120px, 220px) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); }
.sejour-jour.a-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 5vw, 88px); }
.sejour-jour.a-photo:nth-child(even) .sejour-jour-photo { order: 2; }
/* Un tirage posé sur la page : marge blanche, légère inclinaison, un sens puis l'autre. */
.sejour-jour-photo { margin: 0; padding: 9px; background: #fff; box-shadow: var(--ombre-2, 0 2px 4px rgba(10, 25, 32, .07), 0 16px 40px rgba(10, 25, 32, .1)); transform: rotate(-1deg); }
.sejour-jour:nth-child(even) .sejour-jour-photo { transform: rotate(.9deg); }
.sejour-jour-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.sejour-jour-photo .sejour-agrandir:focus-visible { outline-offset: 4px; }
.sejour-jour-corps { min-width: 0; max-width: 68ch; }
.sejour-jour:not(.a-photo) { row-gap: 0; }   /* sans photo, chaque paragraphe est une ligne de la grille : pas d'écart entre elles */
.sejour-jour:not(.a-photo) .sejour-jour-corps { display: contents; }
.sejour-jour:not(.a-photo) .sejour-jour-num { grid-column: 1; grid-row: 1 / span 20; }
.sejour-jour:not(.a-photo) .sejour-jour-corps > :not(.sejour-jour-num) { grid-column: 2; max-width: 68ch; }
.sejour-jour-num { display: block; align-self: start; margin-bottom: 10px; color: var(--feu-texte, #A2603A); font-family: var(--main); font-size: clamp(32px, 2.8vw, 42px); font-weight: 600; line-height: 1; transform: rotate(-2deg); transform-origin: left center; }
.sejour-jour-corps h3 { margin: 0 0 14px; font-size: clamp(25px, 2.3vw, 34px); line-height: 1.12; text-wrap: balance; }
.sejour-jour-corps p { margin: 0 0 .9em; color: var(--sejour-doux); font-size: 16px; line-height: 1.75; }
.sejour-suite summary { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 14px; padding-bottom: 2px; border-bottom: 1px solid rgba(93, 146, 179, .4); color: var(--eau-texte, #3E6E8C); font-size: 13px; font-weight: 700; letter-spacing: .02em; list-style: none; cursor: pointer; }
.sejour-suite summary::-webkit-details-marker { display: none; }
.sejour-suite summary::after { content: "↓"; }
.sejour-suite summary:hover { color: var(--encre); border-color: var(--encre); }
.sejour-suite[open] summary { display: none; }
/* Les repères de la journée (distance, dénivelé, nuit, repas) : une ligne en italique, à la suite, comme une note au bas d'un carnet. */
.sejour-jour-corps p.sejour-jour-bref { max-width: 52ch; margin: 22px 0 0; padding-top: 14px; border-top: 1px dotted rgba(20, 36, 43, .24); color: rgba(20, 36, 43, .66); font-family: var(--serif); font-size: 15.5px; font-style: italic; line-height: 1.6; }
.sejour-jour-bref span { margin: 0 .14em 0 .26em; color: var(--feu-texte, #A2603A); font-family: var(--sans); font-style: normal; }
.sejour-programme-note { max-width: 62ch; margin: clamp(36px, 4vw, 60px) 0 0; padding-top: 22px; border-top: 1px solid var(--sejour-trait); color: rgba(20, 36, 43, .6); font-size: 13px; line-height: 1.7; }

/* ---- Votre Captain, sur fond nuit ----------------------------------------- */
.sejour-captain { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); max-width: 1100px; margin: 0 auto; }
.sejour-captain.sans-photo { grid-template-columns: 1fr; }
.sejour-captain-photo { position: relative; margin: 0; padding: 9px 9px 60px; background: var(--papier); box-shadow: 0 24px 60px rgba(0, 0, 0, .34); transform: rotate(-1.8deg); }
.sejour-captain-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.sejour-captain-photo figcaption { position: absolute; right: 12px; bottom: 0; left: 12px; display: grid; height: 60px; place-items: center; color: #466c80; font-family: var(--main); font-size: 18px; line-height: 1.08; text-align: center; text-wrap: balance; }
body:has(#contenu) .sejour-captain-texte h2 { color: #fff; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; }
.sejour-captain-texte > p { max-width: 58ch; margin: 18px 0 0; color: rgba(255, 255, 255, .82); font-size: 17px; line-height: 1.75; }
.sejour-captain-texte > p.sejour-captain-signature { margin-top: 12px; color: var(--eau-2, #8EB8CE); font-family: var(--serif); font-size: clamp(20px, 1.8vw, 25px); font-style: italic; }
.sejour-captain-texte > p.sejour-captain-discipline { color: var(--feu-clair, #E9B384); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sejour-captain-texte .lien-texte { margin-top: 22px; }

/* ---- Avant de partir : le titre d'un côté, les textes qui se déplient de l'autre */
.sejour-avant { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); align-items: start; gap: clamp(30px, 6vw, 100px); }
.sejour-avant .sejour-entete { position: sticky; top: 104px; margin: 0; }
.sejour-faq { border-top: 1px solid var(--sejour-trait); }
.sejour-question { border-bottom: 1px solid var(--sejour-trait); }
.sejour-question summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; color: var(--encre); font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.3; list-style: none; cursor: pointer; }
.sejour-question summary::-webkit-details-marker { display: none; }
/* 1.53.0 — Une flèche vers le bas, qui se retourne à l'ouverture (à la place du « + » qui tournait en « × »). */
.sejour-question summary::after { content: ""; flex: none; width: 32px; height: 32px; border: 1px solid rgba(93, 146, 179, .4); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E6E8C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 18px 18px no-repeat; transition: transform .25s ease, background-color .2s ease; }
.sejour-question[open] summary::after { transform: rotate(180deg); background-color: var(--glace, #DCEAF0); }
.sejour-question summary:hover::after { background-color: var(--glace, #DCEAF0); }
.sejour-question > div { max-width: 66ch; padding: 0 20px 24px 2px; }
.sejour-question > div p { margin: 0 0 .85em; color: var(--sejour-doux); font-size: 16px; line-height: 1.75; }

/* ---- Le carnet pratique : une seule feuille, en texte courant -------------- */
.sejour-carnet { position: relative; padding: clamp(30px, 4.6vw, 68px); border: 1px solid var(--sejour-trait); border-radius: var(--r-papier, 4px); background: radial-gradient(circle at 96% 3%, rgba(93, 146, 179, .1), transparent 34%), var(--papier); box-shadow: var(--ombre-2, 0 2px 4px rgba(10, 25, 32, .07), 0 16px 40px rgba(10, 25, 32, .1)); }
.sejour-carnet::before { content: ""; position: absolute; top: -12px; left: 50%; width: 118px; height: 25px; border-radius: 2px; background: rgba(142, 184, 206, .78); transform: translateX(-50%) rotate(-1.4deg); }
.sejour-carnet-colonnes { columns: 3 260px; column-gap: clamp(28px, 4vw, 60px); column-rule: 1px dotted rgba(20, 36, 43, .2); }
.sejour-note { margin: 0 0 30px; break-inside: avoid; }
.sejour-note:last-child { margin-bottom: 0; }
/* Des intertitres de carnet : en italique, sans capitales ni pastille. */
body:has(#contenu) .sejour-note h3 { margin: 0 0 7px; color: var(--eau-texte, #3E6E8C); font-family: var(--serif); font-size: 19px; font-style: italic; font-weight: 520; letter-spacing: 0; line-height: 1.3; text-transform: none; }
.sejour-note p, .sejour-note ul { margin: 0 0 .6em; padding: 0; color: rgba(20, 36, 43, .8); font-size: 15px; line-height: 1.7; list-style: none; }
.sejour-note > :last-child { margin-bottom: 0; }
/* Ce qui se saisit une ligne par élément se lit ici à la suite, d'un point médian à l'autre. */
.sejour-enchaine li { display: inline; }
.sejour-enchaine li + li::before { content: "\00a0· "; color: var(--feu-texte, #A2603A); font-weight: 800; }
.sejour-enchaine li:last-child::after { content: "."; }
.sejour-lignes li + li { margin-top: .55em; }

/* ---- La reprise des départs, et les séjours voisins ------------------------ */
.sejour-quai + .sejour-bloc--voisins, .sejour-bloc + .sejour-quai { border-top: 1px solid var(--sejour-trait); }
.sejour-bloc--voisins .carte-aventure.reveal { opacity: 1; transform: none; }

/* ---- La visionneuse : une photo en grand, sur fond nuit -------------------- */
dialog.sejour-visionneuse { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #0A171D; color: #fff; }
dialog.sejour-visionneuse:not([open]) { display: none; }
dialog.sejour-visionneuse[open] { display: grid; place-items: center; }
dialog.sejour-visionneuse::backdrop { background: rgba(9, 21, 27, .7); }
.sejour-visionneuse figure { display: grid; justify-items: center; gap: 14px; box-sizing: border-box; max-width: 100vw; max-height: 100vh; max-height: 100dvh; margin: 0; padding: 62px clamp(14px, 7vw, 108px) 22px; }
.sejour-visionneuse img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 154px); max-height: calc(100dvh - 154px); border-radius: 6px; box-shadow: 0 20px 70px rgba(0, 0, 0, .45); object-fit: contain; opacity: 0; transition: opacity .28s ease; }
.sejour-visionneuse img.est-la { opacity: 1; }
.sejour-visionneuse figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 18px; min-height: 26px; color: rgba(255, 255, 255, .8); font-family: var(--sans); font-size: 14px; line-height: 1.5; text-align: center; }
.sejour-vis-compte { color: var(--feu-clair, #E9B384); font-family: var(--main); font-size: 22px; line-height: 1; white-space: nowrap; }
dialog.sejour-visionneuse button { position: absolute; z-index: 2; display: grid; width: 48px; height: 48px; margin: 0; padding: 0; place-items: center; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; font-family: var(--sans); font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s ease; }
dialog.sejour-visionneuse button:hover { background: rgba(255, 255, 255, .18); }
dialog.sejour-visionneuse button:focus-visible { outline: 3px solid var(--feu, #D18D60); outline-offset: 2px; }
dialog.sejour-visionneuse button[hidden] { display: none; }
dialog.sejour-visionneuse .sejour-vis-fermer { top: 14px; right: 14px; font-size: 26px; }
dialog.sejour-visionneuse .sejour-vis-fleche { top: 50%; margin-top: -24px; }
dialog.sejour-visionneuse .sejour-vis-fleche--avant { left: 14px; }
dialog.sejour-visionneuse .sejour-vis-fleche--apres { right: 14px; }
@media (max-width: 720px) {
  .sejour-visionneuse figure { padding: 62px 10px 84px; }
  .sejour-visionneuse img { max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px); }
  dialog.sejour-visionneuse .sejour-vis-fleche { top: auto; bottom: 18px; margin-top: 0; }
  dialog.sejour-visionneuse .sejour-vis-fleche--avant { left: calc(50% - 60px); }
  dialog.sejour-visionneuse .sejour-vis-fleche--apres { right: calc(50% - 60px); }
}

/* =====================================================================
   4. PETIT ÉCRAN
   ===================================================================== */

@media (max-width: 1080px) {
  /* Une seule colonne : les photos d'abord, puis le récit et la note « On retient ». */
  .sejour-ouverture > .kicker, .sejour-ouverture-haut > .kicker { order: -2; }
  .sejour-vues { order: -1; width: min(640px, 100%); }
  .sejour-points { order: 1; max-width: 460px; }
  .sejour-avant { grid-template-columns: 1fr; }
  .sejour-avant .sejour-entete { position: static; }
}

@media (max-width: 900px) {
  .sejour-quai-shell { grid-template-columns: 1fr; }
  .sejour-affiche-legende { display: none; }
  .sejour-sobre-grille { grid-template-columns: 1fr; gap: 30px; }
  .sejour-polaroid { justify-self: center; width: min(520px, 94%); }
  .sejour-jour, .sejour-jour.a-photo { grid-template-columns: 1fr; gap: 22px; }
  .sejour-jour.a-photo:nth-child(even) .sejour-jour-photo { order: 0; }
  .sejour-jour-photo { width: min(560px, 100%); }
  .sejour-jour:not(.a-photo) .sejour-jour-corps { display: block; }
  .sejour-captain { grid-template-columns: 1fr; }
  .sejour-captain-photo { width: min(260px, 72%); }
}

/* Sur téléphone, les départs s'affichent en haut, en une liste compacte (1.63.4 : « Dates », dans la barre, y mène),
   puis en détail en fin de lecture ; les mentions de l'opérateur suivent la reprise. */
@media (max-width: 760px) {
  .page-sejour--reprise .sejour-quai--reprise .sejour-porteur { display: block; }
}

@media (max-width: 620px) {
  .sejour-affiche { min-height: 88svh; }
  .sejour-affiche--sobre { min-height: 0; }
  .sejour-affiche-photo { object-position: 58% 40%; }
  .sejour-affiche-shell { padding: 118px 0 30px; }
  .sejour-affiche--sobre .sejour-affiche-shell { padding-top: 108px; }
  body:has(#contenu) .sejour-affiche h1 { font-size: clamp(40px, 12.5vw, 60px); }
  body:has(#contenu) .sejour-affiche--sobre h1 { font-size: clamp(34px, 10vw, 48px); }
  .sejour-affiche-bas { margin-top: 26px; padding-top: 20px; gap: 22px; }
  .sejour-reperes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; width: 100%; }
  .sejour-reperes li, .sejour-reperes li:first-child { padding: 0 0 0 16px; border-left: 1px solid rgba(255, 255, 255, .2); }
  .sejour-reperes strong { font-size: 17px; }
  .sejour-affiche-actions { width: 100%; justify-content: space-between; gap: 14px; }
  .sejour-affiche-actions .sejour-prix { grid-template-columns: 1fr; }
  .sejour-affiche-actions .sejour-prix strong { font-size: 36px; }
  .sejour-affiche-actions .hw-resa-btn { padding: 15px 20px; white-space: nowrap; }
  .sejour-departs { grid-template-columns: 1fr; }
  .sejour-billet { padding: 16px 14px 16px 24px; }
  .sejour-depart-date strong { font-size: 18px; }
  .sejour-recit p { font-size: 16.5px; }
  .sejour-jour-photo { padding: 6px; }
  .sejour-vues-cadre { border-radius: var(--r-md, 12px); }
  .page-sejour button.sejour-vues-fleche { width: 38px; height: 38px; }
  .sejour-jour-corps p.sejour-jour-bref { font-size: 15px; }
  .sejour-carnet { padding: 34px 20px 26px; }
  .sejour-question > div { padding-right: 4px; }
  .sejour-apercu { right: 14px; bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .sejour-retour span, .sejour-question summary::after, .page-sejour button.sejour-vues-fleche, .sejour-visionneuse img { transition: none; }
}

/* 1.45.2 : sur téléphone, l'affiche en vignette reste discrète, pour garder prix et réservation près du titre. */
@media (max-width: 600px) {
  .sejour-sobre-grille { gap: 20px; }
  .sejour-polaroid { justify-self: end; width: 58%; padding: 6px 6px 24px; transform: rotate(1.6deg); }
  .sejour-polaroid figcaption { font-size: 16px; bottom: 4px; }
}

/* 1.45.3 : la photo porte déjà le titre. Le bandeau garde l'accroche, mise en avant, et les repères. */
.sejour-affiche--titree .sejour-accroche { max-width: 30ch; margin-top: 18px; color: #fff; font-family: var(--serif); font-size: clamp(24px, 2.5vw, 36px); font-weight: 560; line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 2px 22px rgba(6, 18, 24, .45); }
/* Moins de voile : la photo reste claire, l'ombre ne se pose qu'en haut (le menu) et en bas (l'accroche et les repères). */
.sejour-affiche--titree::after { background: linear-gradient(180deg, rgba(10, 25, 32, .42) 0%, rgba(10, 25, 32, 0) 16%, rgba(10, 25, 32, 0) 50%, rgba(10, 25, 32, .55) 70%, rgba(10, 25, 32, .88) 100%); }
.sejour-affiche--titree .sejour-affiche-photo { filter: none; }
.sejour-affiche--titree .sejour-retour, .sejour-affiche--titree .sejour-reperes, .sejour-affiche--titree .sejour-prix { text-shadow: 0 1px 12px rgba(6, 18, 24, .55); }
@media (max-width: 600px) {
  /* Sur téléphone, l'affiche entière en haut (son titre lisible), puis l'accroche et les repères dessous. */
  .sejour-affiche--titree { display: block; min-height: 0; }
  .sejour-affiche--titree .sejour-affiche-photo { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; margin-top: calc(74px + var(--bandeau-h, 0px)); object-position: center; }
  body.admin-bar .sejour-affiche--titree .sejour-affiche-photo { margin-top: calc(120px + var(--bandeau-h, 0px)); }
  .sejour-affiche--titree::after { background: linear-gradient(180deg, rgba(10, 25, 32, .9) 0, rgba(10, 25, 32, 0) 90px, rgba(10, 25, 32, 0) 52%, rgba(10, 25, 32, .96) 72%); }
  .sejour-affiche--titree .sejour-affiche-shell { margin-top: -54px; padding-top: 0; }
  .sejour-affiche--titree .sejour-accroche { font-size: 22px; }
}
.page-sejour .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }


/* 1.60.4 : la visionneuse sur un téléphone tenu à l'horizontale. La photo prend toute la hauteur de l'écran ;
   les flèches reviennent sur les côtés, la légende tient en une ligne sous la photo. */
@media (orientation: landscape) and (max-height: 600px) {
  .sejour-visionneuse figure { gap: 6px; padding: 8px 74px; }
  .sejour-visionneuse img { max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border-radius: 4px; }
  .sejour-visionneuse figcaption { min-height: 0; font-size: 13px; line-height: 1.35; }
  dialog.sejour-visionneuse .sejour-vis-fermer { top: 10px; right: 12px; width: 44px; height: 44px; }
  dialog.sejour-visionneuse .sejour-vis-fleche { top: 50%; bottom: auto; margin-top: -22px; width: 44px; height: 44px; }
  dialog.sejour-visionneuse .sejour-vis-fleche--avant { left: 12px; right: auto; }
  dialog.sejour-visionneuse .sejour-vis-fleche--apres { right: 12px; left: auto; }
}
