/* Application clients African Beach : accueil, carte fidélité, compte. */
body.capp { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.chero { position: relative; color: #fff; padding: calc(18px + env(safe-area-inset-top)) 20px 70px; overflow: hidden;
  background: radial-gradient(circle at 78% 46%, #ffe1ad 0 6%, rgba(255, 196, 130, .45) 6.5% 13%, transparent 26%),
    linear-gradient(180deg, #0a3550 0%, #14627d 30%, #e9a979 52%, #0f5c70 52.4%, #0a4a5e 70%, #06344a 100%);
  border-radius: 0 0 50% 50% / 0 0 36px 36px; }
.chero::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: 22px; height: 26px; opacity: .35;
  background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, .55) 18px 40px); border-radius: 50%; filter: blur(1px); animation: swell 6s ease-in-out infinite alternate; }
.chero h1 { font-size: clamp(34px, 9.5vw, 52px); line-height: .98; letter-spacing: -.03em; margin: 40px 0 8px; font-weight: 800; max-width: 12ch; animation: up .6s var(--ease) both; }
.chero p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 30em; animation: up .6s .08s var(--ease) both; }
.chero.small { padding-bottom: 58px; } .chero.small h1 { font-size: clamp(28px, 7.5vw, 38px); margin-top: 26px; }
.cmain { max-width: 640px; margin: -40px auto 0; padding: 0 16px 24px; position: relative; z-index: 2; }

/* Raccourcis de l'accueil */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qa { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; border: 0; text-align: left; cursor: pointer;
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px rgba(6, 42, 59, .35); animation: up .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); transition: transform .2s var(--ease); font: inherit; }
.qa:active { transform: scale(.97); }
.qa i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--c, var(--lagoon)); color: #fff; font-style: normal; }
.qa i svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qa b { font-size: 17px; line-height: 1.2; } .qa small { color: var(--ink-2); font-size: 14px; margin-top: -6px; }
.qa.wide { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; }
.qa.wide small { margin-top: 0; }

/* Carte fidélité */
.loycard { position: relative; overflow: hidden; border-radius: 24px; padding: 22px 20px; color: #fff; background: linear-gradient(140deg, #0b4a63 0%, #0a6e7a 55%, #10a594 100%);
  box-shadow: 0 22px 40px -22px rgba(6, 42, 59, .75); animation: up .5s var(--ease) both; }
.loycard::before { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 140, .55), transparent 70%); }
.loycard.resto { background: linear-gradient(140deg, #5a2a17 0%, #a1452a 55%, #e8603c 100%); }
.loycard h2 { margin: 0; font-size: 21px; position: relative; } .loycard .sub { margin: 4px 0 16px; opacity: .85; font-size: 15px; position: relative; }
.stampgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; position: relative; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .45); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: rgba(255, 255, 255, .55); }
.stamp.on { border: 0; background: #fff; color: var(--sea); animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * 45ms); }
.stamp.on svg { width: 60%; height: 60%; fill: var(--sun); }
.stamp.gift { border-style: solid; border-color: var(--sun); color: var(--sun); }
.loycard .count { margin: 16px 0 0; font-size: 15px; position: relative; } .loycard .count b { font-size: 22px; }
.reward { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: #fff4dc; border: 2px solid var(--sun); margin-top: 14px; animation: pop .6s var(--ease) both; }
.reward .big { font-size: 34px; line-height: 1; } .reward b { display: block; font-size: 18px; } .reward span { color: var(--ink-2); font-size: 15px; }
.showqr { display: grid; justify-items: center; gap: 8px; text-align: center; }
.showqr .num { font-size: 26px; font-weight: 800; letter-spacing: .06em; color: var(--sea); }
.showqr svg { border-radius: 16px; border: 1px solid var(--line); }

/* Formulaires du compte */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 999px; background: #efe8dc; margin-bottom: 16px; }
.seg button { border: 0; background: none; border-radius: 999px; min-height: 44px; font-weight: 800; cursor: pointer; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--sea); box-shadow: 0 2px 6px rgba(6, 42, 59, .12); }
.pin { font-size: 26px !important; letter-spacing: .5em; text-align: center; font-weight: 800; }
.linkrow { display: grid; gap: 2px; }
.linkrow a, .linkrow button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.linkrow > :last-child { border-bottom: 0; } .linkrow .danger { color: var(--bad); }
.linkrow span.chev::after { content: '›'; font-size: 24px; color: var(--ink-2); line-height: 1; }
.btn.danger { background: var(--bad); }
.note { font-size: 14px; color: var(--ink-2); margin: 10px 4px 0; line-height: 1.5; }

/* Barre d'onglets */
.ctabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 246, 238, .86); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-top: 1px solid rgba(6, 42, 59, .08); }
.ctabs button { display: grid; justify-items: center; gap: 2px; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 800; padding: 6px 0; border-radius: 14px; cursor: pointer; }
.ctabs svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.ctabs button[aria-current="page"] { color: var(--lagoon-d); } .ctabs button[aria-current="page"] svg { transform: translateY(-2px) scale(1.06); }

/* Retour à l'application depuis les pages Réserver et Carte */
.back-app { position: fixed; left: 12px; top: calc(10px + env(safe-area-inset-top)); z-index: 30; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px 9px 10px; border-radius: 999px;
  background: rgba(6, 42, 59, .72); color: #fff; font: 800 15px/1 var(--font); text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.back-app + .hero .brand, .back-app ~ header .brand { padding-left: 96px; }

@keyframes swell { from { transform: translateX(-12px); } to { transform: translateX(12px); } }

/* Accueil avec la photo de l'établissement */
.chero.photo { display: flex; align-items: flex-end; }
.chero.photo .hero-in { width: 100%; position: static; } .chero.photo::after { }
.chero.photo .brand { position: absolute; top: calc(18px + env(safe-area-inset-top)); left: 20px; right: 20px; }

/* ===== Accueil « donne envie » ===== */
.capp { --ocean: #0f3d4c; --pool: #22a6a1; --bouga: #c8336e; --sand: #f3e6d3; --gold: #f2a63b; --disp: 'Young Serif', Georgia, serif; background: #fff; }
.chero.photo { min-height: min(78vh, 640px); padding-bottom: 64px; border-radius: 0 0 28px 28px; }
.chero.photo h1 { font-family: var(--disp); font-weight: 400; font-size: clamp(46px, 13vw, 84px); line-height: .92; letter-spacing: -.01em; max-width: 9ch; margin: 0 0 12px; text-shadow: 0 2px 24px rgba(6, 30, 40, .35); }
.chero.photo p { font-size: 19px; max-width: 24ch; text-shadow: 0 1px 12px rgba(6, 30, 40, .4); }
.c-cta { margin-top: 22px; display: flex; gap: 10px; } .c-cta[hidden] { display: none; }
.btn.big { min-height: 58px; font-size: 18px; border-radius: 999px; padding: 0 28px; background: var(--bouga); box-shadow: 0 14px 28px -14px rgba(200, 51, 110, .8); }
.btn.big:hover { background: #ad2a5d; }
.chero.photo .btn.big { width: auto; }
.cmain { margin-top: -30px; }
.capp h2.disp { font-family: var(--disp); font-weight: 400; line-height: 1.02; letter-spacing: -.005em; color: var(--ocean); margin: 0 0 14px 2px; }
.capp .lead { margin: -4px 2px 16px; color: var(--ink-2); max-width: 36em; }

/* Raccourcis : une rangée de pastilles, pas des cartes */
.acts { display: flex; gap: 8px; justify-content: space-between; background: #fff; border-radius: 22px; padding: 14px 10px; box-shadow: 0 18px 40px -26px rgba(15, 61, 76, .55); }
.acts a { flex: 1; display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--ocean); font-size: 13px; font-weight: 800; text-align: center; line-height: 1.15; }
.acts i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #e7f5f4; color: var(--pool); }
.acts i svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Le premier geste n'est plus « Réserver » (passé dans la barre du bas) : plus de rond rose ici. */

/* Note Booking */
.score { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin: 18px 2px 0; text-decoration: none; color: var(--ink); }
.score b { font-family: var(--disp); font-weight: 400; font-size: 46px; line-height: 1; color: var(--ocean); background: var(--sand); border-radius: 16px 16px 16px 4px; padding: 10px 12px 6px; }
.score span { font-size: 15px; color: var(--ink-2); line-height: 1.4; }

/* La vie ici : grandes photos qu'on fait défiler */
.story .strip { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 6px; }
.story .strip::-webkit-scrollbar { display: none; }
.story figure { margin: 0; scroll-snap-align: start; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ocean); }
.story img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story figcaption { position: absolute; color: #fff; display: grid; gap: 6px; }
.story figcaption b { font-family: var(--disp); font-weight: 400; font-size: 26px; line-height: 1.05; }
.story figcaption span { font-size: 15px; opacity: .92; line-height: 1.4; }

/* Le moment fort : le coucher de soleil du jour */
.sunset { position: relative; margin: 30px -16px 0 !important; min-height: 340px; display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 61, 76, .1) 0%, rgba(15, 30, 40, .78) 100%), var(--sun) center / cover no-repeat, #e9a979; }
.sunset > div { padding: 28px 22px 30px; max-width: 30em; }
.sunset .k { margin: 0 0 6px; font-weight: 800; color: var(--gold); font-size: 15px; }
.sunset .t { margin: 0; font-family: var(--disp); font-size: clamp(30px, 8.5vw, 44px); line-height: 1.04; }
.sunset .t b { font-weight: 400; color: #ffd38a; white-space: nowrap; }
.sunset .l { margin: 10px 0 0; opacity: .92; }

/* Chambres */
.rlist { display: grid; border-top: 1px solid #e6ece9; margin-bottom: 16px; }
.rlist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid #e6ece9; text-decoration: none; color: var(--ink); }
.rlist b { display: block; font-size: 18px; } .rlist small { color: var(--ink-2); font-size: 14px; display: block; }
.rlist .p { text-align: right; font-weight: 800; color: var(--ocean); font-size: 19px; }
.rooms2 .btn.big { width: 100%; }

/* Carte fidélité : rappel */
.loyteaser { display: grid; gap: 4px; margin-top: 30px; padding: 20px; border-radius: 22px; text-decoration: none; color: #fff; background: var(--ocean); }
.loyteaser b { font-family: var(--disp); font-weight: 400; font-size: 26px; } .loyteaser > span:last-child { opacity: .85; font-size: 15px; }
.cups { display: flex; gap: 5px; margin-bottom: 10px; } .cups i { width: 22px; height: 22px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .45); }
.cups i:nth-child(-n+3) { background: var(--gold); border: 0; } .cups i.g { border: 0; font-style: normal; font-size: 16px; line-height: 22px; text-align: center; }

/* Bon à savoir */
.practical dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 0; }
.practical dt { font-weight: 800; color: var(--ocean); } .practical dd { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }

.findus p { margin: 0 2px 14px; } .findus .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (min-width: 760px) {
  .cmain { max-width: 760px; }
  .story .strip { grid-auto-columns: 46%; margin: 0; padding: 0 0 6px; }
  .sunset { margin: 30px 0 0 !important; border-radius: 28px; }
  .chero.photo .hero-in { max-width: 760px; margin: 0 auto; }
}

/* Prix en euros pour les voyageurs */
.rlist .p small { font-weight: 400; }

/* Bouton « Réserver » flottant, au-dessus de la barre d'onglets */
.cfab { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 19; display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bouga); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(200, 51, 110, .75);
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .25s; }
.cfab.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .cfab { transition: opacity .2s; } }

/* Sur ordinateur : barre d'onglets en pastille, photos en mosaïque, infos sur trois colonnes */
@media (min-width: 1000px) {
  body.capp { padding-bottom: 110px; }
  .ctabs { left: 50%; right: auto; bottom: 18px; width: 420px; transform: translateX(-50%); border: 1px solid rgba(6, 42, 59, .08); border-radius: 999px; padding: 6px 10px; box-shadow: 0 18px 40px -22px rgba(6, 42, 59, .5); }
  .cfab { bottom: 96px; }
  .cmain { max-width: 960px; }
  .chero.photo .hero-in { max-width: 960px; }
  .story .strip { grid-auto-columns: 31%; }
  .capp .gallery.scroller { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 12px; }
  .capp .gallery.scroller img { width: 100%; height: 220px; object-fit: cover; border-radius: 18px; }
  .practical dl { grid-template-columns: repeat(3, 1fr); }
  .acts { max-width: 640px; margin-left: auto; margin-right: auto; }
}

/* Offre réservation directe */
.offer { margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: #fdeef4; color: #7d1d45; font-weight: 800; border-left: 4px solid var(--bouga); }

/* Fiches des chambres */
.rcards { display: grid; gap: 16px; margin-bottom: 16px; }
.rcard { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 #e6ece9, 0 18px 36px -26px rgba(15, 61, 76, .55); }
.rph { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 2; background: var(--sand); }
.rph::-webkit-scrollbar { display: none; }
.rph img { width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; display: block; }
.rbody { padding: 16px 18px 18px; display: grid; gap: 8px; }
.rhead { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.rhead h3 { margin: 0; font-family: var(--disp); font-weight: 400; font-size: 26px; color: var(--ocean); line-height: 1.05; }
.rhead .p { text-align: right; font-weight: 800; color: var(--ocean); font-size: 19px; white-space: nowrap; } .rhead .p small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.rmeta { margin: -4px 0 0; color: var(--ink-2); font-size: 14px; } .rtxt { margin: 0; line-height: 1.5; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 4px; padding: 0; }
.chips li { padding: 5px 11px; border-radius: 999px; background: #e7f5f4; color: var(--ocean); font-size: 14px; font-weight: 700; }

/* Avis */
.creviews .strip { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 6px; }
.creviews .strip::-webkit-scrollbar { display: none; }
.creviews figure { margin: 0; scroll-snap-align: start; padding: 20px; border-radius: 22px; background: var(--sand); display: grid; gap: 10px; align-content: start; }
.creviews .st { color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.creviews blockquote { margin: 0; font-family: var(--disp); font-size: 20px; line-height: 1.3; color: var(--ocean); }
.creviews figcaption { font-weight: 800; color: var(--ink-2); }

/* Vidéo YouTube */
.vwrap { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; }
.vwrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Restaurant-bar */
.hours { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 2px 14px; } .hours dt { font-weight: 800; color: var(--ocean); } .hours dd { margin: 2px 0 0; color: var(--ink-2); }
.dishes { list-style: none; padding: 0; margin: 14px 0; border-top: 1px solid #e6ece9; }
.dishes li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid #e6ece9; } .dishes b { color: var(--ocean); white-space: nowrap; }
.resto .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; } .resto .two:empty { display: none; }

/* Autour de Saly */
.alist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.alist li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid #e6ece9; }
.alist li > div { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; } .alist b { font-size: 17px; color: var(--ocean); } .alist small { color: var(--ink-2); font-size: 14px; }
.alist p { grid-column: 1; margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.alist a { grid-column: 2; grid-row: 1 / span 2; padding: 10px 14px; border-radius: 999px; background: #e7f5f4; color: var(--ocean); font-weight: 800; text-decoration: none; font-size: 14px; }

@media (min-width: 1000px) {
  .rcards { grid-template-columns: 1fr 1fr; }
  .creviews .strip { grid-auto-columns: 32%; margin: 0; padding: 0 0 6px; }
  .alist { grid-template-columns: 1fr 1fr; }
}

/* ===== Haut de page : la photo (ou la vidéo), puis la lumière de Saly par-dessus ===== */
.chero.photo { background: #0b4a63; isolation: isolate; }
.chero.photo::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; transform-origin: 60% 40%; animation: kb 2.6s cubic-bezier(.16, .84, .3, 1) both; }
.chero .hvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.chero.photo::after { display: block; content: ''; position: absolute; inset: 0; left: 0; right: 0; bottom: 0; height: auto; z-index: -1; opacity: 1; filter: none; border-radius: 0; animation: none;
  background: linear-gradient(180deg, var(--sk1) 0%, var(--sk2) 40%, var(--sk3) 100%); transition: background 1.2s; }
.chero[data-sky="day"] { --sk1: rgba(6, 42, 59, .5); --sk2: rgba(6, 42, 59, .06); --sk3: rgba(6, 42, 59, .8); }
.chero[data-sky="dawn"] { --sk1: rgba(122, 74, 120, .55); --sk2: rgba(255, 170, 150, .12); --sk3: rgba(20, 40, 70, .82); }
.chero[data-sky="golden"] { --sk1: rgba(120, 40, 60, .5); --sk2: rgba(255, 150, 60, .2); --sk3: rgba(40, 20, 40, .85); }
.chero[data-sky="night"] { --sk1: rgba(4, 10, 30, .82); --sk2: rgba(8, 22, 48, .55); --sk3: rgba(3, 10, 24, .92); }
.chero[data-sky="night"].photo::after { background:
  radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 9%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 47% 22%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 78% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 8%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 36% 31%, rgba(255,255,255,.8) 50%, transparent 51%), radial-gradient(1.2px 1.2px at 85% 38%, rgba(255,255,255,.7) 50%, transparent 51%),
  linear-gradient(180deg, var(--sk1) 0%, var(--sk2) 40%, var(--sk3) 100%); }
.chero.small.photo { min-height: 0; padding-top: calc(78px + env(safe-area-inset-top)); padding-bottom: 58px; }
.chero.small.photo h1 { font-size: clamp(34px, 9vw, 46px); margin: 0; animation: none; }
.chero.small.photo::before { animation: none; }
.chero.photo .brand { z-index: 2; }
.chero.photo .saly-time { margin: 0 0 14px !important; }

/* Heure de Saly */
.saly-time { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0 !important; width: fit-content; padding: 6px 12px 6px 10px; border-radius: 999px; font-size: 14px !important; font-weight: 700;
  background: rgba(255, 255, 255, .14); color: #fff !important; text-shadow: none !important; max-width: none !important; animation: up .6s .1s var(--ease) both; }
.saly-time[hidden] { display: none; }
.saly-time .dot { width: 9px; height: 9px; border-radius: 50%; background: #ffd38a; box-shadow: 0 0 0 4px rgba(255, 211, 138, .25); }
.saly-time .dot.night { background: #cfe0ff; box-shadow: 0 0 0 4px rgba(207, 224, 255, .2); } .saly-time .dot.dawn { background: #ffb4a0; } .saly-time .dot.golden { background: #ff9d3c; box-shadow: 0 0 0 4px rgba(255, 157, 60, .3); }

/* Entrée de la page : la photo se pose, puis le titre, la phrase et le bouton arrivent l'un après l'autre (une seule fois) */
.chero.photo h1 { animation: rise .9s .25s cubic-bezier(.16, .84, .3, 1) both; }
.chero.photo #c-sub { animation: rise .9s .4s cubic-bezier(.16, .84, .3, 1) both; }
.chero.photo .c-cta { animation: rise .9s .55s cubic-bezier(.16, .84, .3, 1) both; }
.cmain > .acts { animation: rise .8s .7s cubic-bezier(.16, .84, .3, 1) both; }
@keyframes kb { from { transform: scale(1.14); filter: saturate(.7) brightness(.8); } to { transform: scale(1); filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* Gestes : chaque bouton répond au toucher */
.btn, .acts a, .rlist a, .alist a, .loyteaser, .score { transition: transform .18s var(--ease), box-shadow .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.btn:active, .acts a:active, .rlist a:active, .alist a:active, .loyteaser:active, .score:active { transform: scale(.97); }
.acts a:hover i { transform: translateY(-2px); } .acts i { transition: transform .2s var(--ease); }
.story img, .gallery img, .rph img, .resto img { cursor: zoom-in; }
 .story figure:hover img { }

/* Chargement */
.skel { display: grid; gap: 14px; } .skel i { display: block; height: 96px; border-radius: 22px; background: linear-gradient(90deg, #f1ede6 0%, #faf7f2 40%, #f1ede6 80%) 0 0 / 300% 100%; animation: shimmer 1.3s linear infinite; }
.skel i:first-child { height: 78px; } .skel i:nth-child(2) { height: 220px; }
@keyframes shimmer { to { background-position: -300% 0; } }

/* Visionneuse de photos */
dialog.viewer { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #04101a; color: #fff; opacity: 0; transition: opacity .22s; }
dialog.viewer.in { opacity: 1; } dialog.viewer::backdrop { background: transparent; }
.vtrack { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.vtrack::-webkit-scrollbar { display: none; }
.vtrack figure { margin: 0; display: grid; place-items: center; scroll-snap-align: center; padding: 56px 10px; }
.vtrack img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; transform: scale(.96); transition: transform .3s var(--ease); }
dialog.viewer.in .vtrack img { transform: none; }
.vclose { position: absolute; top: calc(10px + env(safe-area-inset-top)); right: 12px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.vcount { position: absolute; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); margin: 0; text-align: center; font-weight: 700; opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  .chero.photo::before, .chero.photo h1, .chero.photo #c-sub, .chero.photo .c-cta, .cmain > .acts, .saly-time, .skel i { animation: none !important; }
  .story figure:hover img { transform: none; }
}
@media (min-width: 1000px) { .chero.photo .brand { left: max(20px, calc((100% - 960px) / 2)); right: max(20px, calc((100% - 960px) / 2)); } }

/* Cartes cadeaux */
.gift { padding: 22px 20px; border-radius: 24px; background: linear-gradient(140deg, #fdeef4, #fff4dc); }
.gift .lead { margin-bottom: 14px; }
.gamts { display: grid; gap: 10px; }
.gamts a { display: grid; gap: 2px; justify-items: center; padding: 16px 8px; border-radius: 18px; background: #fff; text-decoration: none; color: var(--ocean); box-shadow: 0 10px 24px -18px rgba(200, 51, 110, .7); transition: transform .18s var(--ease); }
.gamts a:active { transform: scale(.96); } .gamts b { } .gamts small { color: var(--ink-2); font-size: 13px; }

/* Plat du jour et code de l'appli */
.dish { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; margin-top: 18px; padding: 16px 18px; border-radius: 20px; background: var(--ocean); color: #fff; text-decoration: none; }
.dish small { grid-column: 1 / -1; color: var(--gold); font-weight: 800; font-size: 14px; } .dish b { font-family: var(--disp); font-weight: 400; font-size: 24px; line-height: 1.1; } .dish span { font-weight: 800; white-space: nowrap; }
.appcode { display: grid; gap: 4px; margin-top: 14px; padding: 16px 18px; border-radius: 20px; background: #fdeef4; color: #7d1d45; text-decoration: none; border: 1.5px dashed var(--bouga); }
.appcode code { font: 800 16px/1 ui-monospace, monospace; letter-spacing: .08em; background: #fff; padding: 4px 8px; border-radius: 8px; }

/* Nuits libres */
.cal .days { display: grid; grid-auto-flow: column; grid-auto-columns: 58px; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x proximity; }
.cal .days::-webkit-scrollbar { display: none; }
.day { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; border-radius: 16px; text-decoration: none; color: var(--ocean); background: #e7f5f4; scroll-snap-align: start; transition: transform .18s var(--ease); }
.day:active { transform: scale(.94); }
.day small { font-size: 12px; text-transform: capitalize; color: var(--ink-2); } .day b { font-size: 20px; line-height: 1.1; } .day i { font-style: normal; font-size: 12px; font-weight: 800; }
.day.all { background: #dff3ef; } .day.all i { color: var(--pool); }
.day.some { background: #fff4dc; } .day.some i { color: #b86f00; }
.day.last { background: #fdeef4; } .day.last i { color: var(--bouga); }
.day.full { background: #f1efeb; color: #9aa4a6; } .day.full b { text-decoration: line-through; } .day.full i { font-weight: 400; }
.day.sun { box-shadow: inset 0 0 0 1px rgba(15, 61, 76, .08); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 8px 2px 0; font-size: 13px; color: var(--ink-2); }
.legend > span { white-space: nowrap; } .legend .k { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 4px; vertical-align: -1px; }
.legend .k.all { background: #bfe6df; } .legend .k.some { background: #ffe1a3; } .legend .k.last { background: #f7b8cf; }
.scarce { margin: -6px 2px 14px; font-weight: 800; color: var(--bouga); } .scarce::before { content: '● '; } .scarce.full { color: var(--ink-2); }

/* Événements */
.evts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.evts li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; border: 1px solid #e6ece9; }
.evts .when { display: grid; justify-items: center; width: 52px; padding: 6px 0; border-radius: 14px; background: var(--ocean); color: #fff; } .evts .when b { font-size: 22px; line-height: 1; } .evts .when small { font-size: 12px; text-transform: uppercase; opacity: .85; }
.evts li > span:nth-child(2) { display: grid; gap: 2px; } .evts li b { color: var(--ocean); } .evts li small { color: var(--ink-2); text-transform: none; }
.evts li > a { padding: 9px 14px; border-radius: 999px; background: #e7f5f4; color: var(--ocean); font-weight: 800; text-decoration: none; font-size: 14px; }

/* Groupes */
.groups .chk { display: flex; gap: 10px; align-items: center; font-weight: 700; } .groups .chk input { width: 22px; height: 22px; accent-color: var(--bouga); }

/* Mon séjour */
.mystay h2 { margin: 4px 0 2px; font-family: var(--disp); font-weight: 400; font-size: 28px; color: var(--ocean); }
.mystay .st { margin: 0 0 14px; font-weight: 800; color: var(--pool); } .mystay .st.a_confirmer { color: #b86f00; } .mystay .st.annule { color: var(--bad); }
.mystay dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; } .mystay dt { font-size: 13px; color: var(--ink-2); } .mystay dd { margin: 2px 0 0; font-weight: 800; color: var(--ocean); }
.mopts { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid #e6ece9; } .mopts li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e6ece9; }
.wifi { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: #e7f5f4; }

/* Parrainage */
.refer h2 { margin: 0 0 6px; font-family: var(--disp); font-weight: 400; font-size: 26px; color: var(--ocean); } .refer p { margin: 0 0 12px; }
.refer .code { font: 800 28px/1 ui-monospace, monospace; letter-spacing: .14em; color: var(--bouga); text-align: center; padding: 12px; border-radius: 14px; background: #fdeef4; }

@media (min-width: 1000px) { .cal .days { overflow: visible; margin: 0; } }

/* Bandeau d'annonce, FAQ, réseaux, hors ligne */
.banner { margin: 0 0 12px; padding: 12px 16px; border-radius: 16px; background: var(--gold); color: #3d2600; font-weight: 800; text-align: center; box-shadow: 0 12px 26px -18px rgba(150, 90, 0, .8); }
.faq details { border-bottom: 1px solid #e6ece9; } .faq details:first-of-type { border-top: 1px solid #e6ece9; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 2px; font-weight: 800; color: var(--ocean); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--pool); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 2px 16px; color: var(--ink-2); line-height: 1.55; }
.social { display: flex; gap: 16px; justify-content: center; margin: 18px 0 0; } .social a { color: var(--ocean); font-weight: 800; }
.offline { position: fixed; left: 12px; right: 12px; top: calc(10px + env(safe-area-inset-top)); z-index: 40; margin: 0; padding: 10px 14px; border-radius: 14px; background: #3b2a00; color: #ffe6b0; font-weight: 700; text-align: center; font-size: 14px; }
.offline[hidden] { display: none; }

/* Bon à savoir avec icônes */
.practical dt { display: flex; align-items: center; gap: 8px; }
.practical dt svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--pool); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.practical dd { padding-left: 30px; }

/* Happy hour, long séjour */
.happy { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; margin: 0 0 12px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(120deg, #ff8a3d, #c8336e); color: #fff; text-decoration: none; }
.happy b { font-family: var(--disp); font-weight: 400; font-size: 24px; } .happy small { opacity: .9; font-weight: 700; white-space: nowrap; }
.happy::before { content: ''; grid-column: 1; grid-row: 1; width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: blink 1.6s ease-in-out infinite; }
.happy b { grid-column: 2; grid-row: 1; } .happy span { grid-column: 2 / -1; grid-row: 2; font-weight: 700; } .happy small { grid-column: 3; grid-row: 1; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .happy::before { animation: none; } }
.longstay { margin: -6px 2px 14px; font-weight: 800; color: var(--pool); }

/* Séjours tout prêts */
.plist { display: grid; gap: 12px; }
.plist article { padding: 20px; border-radius: 22px; background: var(--sand); display: grid; gap: 8px; }
.plist h3 { margin: 0; font-family: var(--disp); font-weight: 400; font-size: 24px; color: var(--ocean); } .plist p { margin: 0; color: var(--ink-2); line-height: 1.5; }
.pfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; } .pfoot b { font-size: 20px; color: var(--ocean); } .pfoot b small { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.pfoot .btn { width: auto; padding: 0 20px; min-height: 48px; background: var(--bouga); }
@media (min-width: 1000px) { .plist { grid-template-columns: repeat(3, 1fr); } }

/* Comment venir */
.dirs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.dirs li { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #f6f3ee; } .dirs b { color: var(--ocean); } .dirs span { color: var(--ink-2); font-size: 15px; line-height: 1.45; }

/* Historique de la carte, numéros utiles */
.hist { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin: 0 2px 14px; color: var(--ocean); }
.hist b { font-size: 20px; margin-right: 4px; }
.hist .badge { padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #3d2600; font-weight: 800; font-size: 14px; }
.useful { margin: 0 0 14px; border-radius: 14px; background: #f6f3ee; padding: 0 14px; }
.useful summary { cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--ocean); }
.useful ul { list-style: none; margin: 0; padding: 0 0 10px; } .useful li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #e6e0d6; }
.useful a { font-weight: 800; color: var(--pool); text-decoration: none; white-space: nowrap; }

/* Rendez-vous de la semaine, menus de groupe */
.wlist { display: grid; gap: 12px; }
.wlist article { padding: 20px; border-radius: 22px; background: linear-gradient(140deg, #e7f5f4, #fff); border: 1px solid #dcefeb; display: grid; gap: 6px; }
.wlist .wd { margin: 0; font-weight: 800; color: var(--pool); text-transform: capitalize; } .wlist h3 { margin: 0; font-family: var(--disp); font-weight: 400; font-size: 24px; color: var(--ocean); } .wlist p { margin: 0; color: var(--ink-2); }
.gmenus { display: grid; gap: 10px; margin-bottom: 14px; } .gmenus article { padding: 16px 18px; border-radius: 18px; background: var(--sand); } .gmenus h3 { margin: 0 0 4px; color: var(--ocean); font-size: 18px; } .gmenus p { margin: 0 0 6px; color: var(--ink-2); } .gmenus b { color: var(--ocean); }
.rentals .dishes small { color: var(--ink-2); font-size: 14px; }
@media (min-width: 1000px) { .wlist, .gmenus { grid-template-columns: repeat(2, 1fr); } }

/* Niveaux de fidélité, coups de cœur */
.hist .badge.t-argent { background: #dfe6ea; color: #2e4652; } .hist .badge.t-or { background: linear-gradient(135deg, #f6d36b, #e6a823); color: #3d2600; } .hist .badge.t-bronze { background: #e9c8a6; color: #4d2c10; }
.tierbox { display: grid; gap: 2px; margin: -4px 2px 14px; padding: 12px 14px; border-radius: 14px; background: #f6f3ee; }
.tierbox b { color: var(--ocean); } .tierbox span { color: var(--ink-2); } .tierbox small { color: var(--ink-2); font-size: 13px; }
.favs .dishes small { color: var(--ink-2); font-size: 13px; }
.creviews .reply { margin: 4px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .65); font-size: 14px; line-height: 1.45; color: var(--ink-2); } .creviews .reply b { display: block; color: var(--ocean); font-size: 13px; }
.sunset .wxl { margin: 8px 0 0; font-size: 15px; opacity: .9; }
.mystay .hello { margin: 4px 0 8px; padding: 12px 14px; border-radius: 14px; background: #fff4dc; color: #6b4200; font-weight: 800; }
.banner.off { background: var(--ocean); color: #fff; }
.locev ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.locev li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; background: #f6f3ee; }
.locev .when { display: grid; justify-items: center; width: 52px; padding: 6px 0; border-radius: 14px; background: var(--gold); color: #3d2600; } .locev .when b { font-size: 22px; line-height: 1; } .locev .when small { font-size: 12px; text-transform: uppercase; }
.locev li > span:last-child { display: grid; gap: 2px; } .locev li b { color: var(--ocean); } .locev li small { color: var(--ink-2); }
#ms-offers { margin-top: 14px; display: grid; gap: 14px; }

/* ===== Chapitres de l'accueil : fonds alternés en pleine largeur ===== */
body.capp { overflow-x: clip; }
.chap { position: relative; margin-top: 40px; padding: 26px 0 36px; --chbg: #fff; }
.chap::before { content: ''; position: absolute; top: -22px; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--chbg); z-index: -1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 23'%3E%3Cpath d='M0 12C40 1 80 1 120 12s80 11 120 0V23H0z'/%3E%3C/svg%3E") 0 0 / 240px 23px repeat-x, linear-gradient(#000, #000) 0 22px / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 23'%3E%3Cpath d='M0 12C40 1 80 1 120 12s80 11 120 0V23H0z'/%3E%3C/svg%3E") 0 0 / 240px 23px repeat-x, linear-gradient(#000, #000) 0 22px / 100% 100% no-repeat; }
.chap#ch-resto { --chbg: #f7efe2; } .chap#ch-decouvrir { --chbg: #eaf5f3; } .chap#ch-infos { --chbg: #fff; }
.chap > section:first-of-type, .chap > .chap-k + * { margin-top: 10px; }
.chap-k { display: inline-flex; align-items: center; gap: 8px; margin: 0 2px 4px; border-radius: 999px; font-weight: 800; font-size: 15px; color: var(--ocean); background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px rgba(15, 61, 76, .1); }
.chap-k svg { width: 22px; height: 22px; fill: none; stroke: var(--pool); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chap#ch-resto .chap-k svg { stroke: var(--bouga); } .chap#ch-decouvrir .chap-k svg { stroke: #c27a12; } .chap#ch-infos .chap-k svg { stroke: #6c8f3d; }
.chap .sunset { margin-left: -16px !important; margin-right: -16px !important; }
.chap#ch-resto .card, .chap#ch-resto .rcard { background: #fff; }
.chap#ch-decouvrir .alist li { background: #fff; border-color: transparent; }
.chap#ch-decouvrir .locev li { background: #fff; }

/* Barre des chapitres (apparaît une fois le haut de page dépassé) */
.chapnav { position: fixed; left: 0; right: 0; top: 0; z-index: 25; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(15, 61, 76, .08);
  transform: translateY(-110%); transition: transform .3s var(--ease); }
.chapnav::-webkit-scrollbar { display: none; }
.chapnav.on { transform: none; }
.chapnav:empty { display: none; }
.chapnav a { flex: none; padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; color: var(--ocean); text-decoration: none; background: #f1f4f3; transition: background .2s, color .2s; }
.chapnav a.cur { background: var(--ocean); color: #fff; }
@media (min-width: 1000px) { .chapnav { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .chapnav { transition: none; } }

/* Haut de l'accueil : les raccourcis d'abord, puis les annonces */
.cmain > .acts + .banner, .cmain > .acts + .happy, .cmain > .banner + .happy { margin-top: 14px; }

/* Correctifs : jour de l'événement lisible, montants des cartes cadeaux sur une ligne */
.evts li .when b, .evts li .when small { color: #fff; }
.gamts { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); } .gamts b { font-size: 16px; white-space: nowrap; }

/* Pied de page */
.cfoot { display: grid; justify-items: center; gap: 6px; margin: 34px 0 0; padding: 26px 0 8px; text-align: center; color: var(--ink-2); border-top: 1px solid #e6ece9; }
.cfoot img { width: 44px; height: 44px; } .cfoot b { font-family: var(--disp); font-weight: 400; font-size: 22px; color: var(--ocean); }
.cfoot a { color: var(--ocean); font-weight: 700; } .cfoot .flinks { display: flex; gap: 18px; margin-top: 6px; } .cfoot small { margin-top: 8px; font-size: 13px; }

/* Rythme : un peu plus d'air entre les sections, titres un cran plus nets */
.cmain section { margin-top: 30px; }
.chap-k { padding: 6px 14px 6px 8px; }
.capp h2.disp { font-size: clamp(30px, 8.4vw, 42px); margin-bottom: 12px; }
.rlist a { padding: 16px 4px; } .rlist a:hover b { color: var(--pool); }

/* Motif inspiré des tissus wax, très discret, derrière « Manger et boire » */
.chap#ch-resto::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke-width='2'%3E%3Cg stroke='%23c8336e' stroke-opacity='.09'%3E%3Ccircle cx='18' cy='18' r='10'/%3E%3Ccircle cx='18' cy='18' r='4.5'/%3E%3Ccircle cx='54' cy='54' r='10'/%3E%3Ccircle cx='54' cy='54' r='4.5'/%3E%3C/g%3E%3Cpath stroke='%23f2a63b' stroke-opacity='.18' d='M54 7l11 11-11 11-11-11zM18 43l11 11-11 11L7 54z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 72px 72px, var(--chbg); }

/* Galerie en mosaïque : une grande photo, les autres autour */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 118px; gap: 8px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; }
.mosaic img, .mosaic img:first-child { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; animation: none; display: block; transition: transform .5s var(--ease); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figure:nth-child(n+6) { display: none; }
.mosaic figure:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic.m2 figure { grid-column: auto; grid-row: span 2; }
.mosaic.m4 figure:nth-child(4) { grid-column: span 2; }
.mosaic figure[data-more]::after { content: attr(data-more); position: absolute; display: grid; place-items: center; background: rgba(8, 30, 40, .55); color: #fff; font-weight: 800; font-size: 24px; pointer-events: none; }
@media (min-width: 720px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .mosaic.m1 figure:first-child { grid-column: span 4; }
  .mosaic.m2 figure { grid-column: span 2; }
  .mosaic.m3 figure:nth-child(n+2) { grid-column: span 2; }
}

/* Le jour, la nuit : glisser pour comparer */
.dn { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--ocean); touch-action: pan-y; }
.dn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dn img.night { clip-path: inset(0 0 0 var(--p)); }
.dn input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.dnh { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.dnh::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ocean); font-weight: 800; letter-spacing: 2px; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.dnl { position: absolute; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; background: rgba(255, 255, 255, .88); color: var(--ocean); pointer-events: none; }
.dnl.d { left: 12px; } .dnl.n { right: 12px; background: rgba(8, 22, 40, .75); color: #fff; }
.dn:has(input:focus-visible) .dnh::after { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (min-width: 1000px) { .dn { aspect-ratio: 16 / 8; } }

/* Visionneuse : la photo touchée s'agrandit */
.vghost { position: fixed; z-index: 5; margin: 0; object-fit: cover; pointer-events: none; }

/* Coucher de soleil : le soleil descend pendant le défilement */
.sunset { --sp: .3; }
.sunset .orb { position: absolute; z-index: 0; right: 14%; top: calc(8% + var(--sp) * 52%); width: 74px; height: 74px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fff3cf 0%, #ffd27c 50%, #f5a04a 100%); box-shadow: 0 0 70px 26px rgba(255, 176, 92, calc(.55 - var(--sp) * .25)); opacity: calc(.95 - var(--sp) * .35); mix-blend-mode: screen; }
.sunset::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 140, 70, calc(var(--sp) * .28)), rgba(70, 20, 60, calc(var(--sp) * .3))); }
.sunset > div { position: relative; z-index: 1; }

/* Vague sous le doigt sur les grands boutons */
.capp .btn.big, .capp .btn.wa { position: relative; overflow: hidden; isolation: isolate; } .cfab { overflow: hidden; }
.rip { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .38); transform: scale(0); animation: rip .62s ease-out forwards; pointer-events: none; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }

/* Avis : initiale et drapeau */
.creviews figcaption { display: flex; align-items: center; gap: 10px; }
.creviews .av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--av); color: #fff; font-style: normal; font-weight: 800; font-size: 17px; }
.creviews .flag { font-size: 18px; }

/* Nuits libres : une ligne qui défile, partout */
@media (min-width: 1000px) { .cal .days { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 13 * 6px) / 14); overflow-x: auto; padding: 2px 0 8px; } }
.day.more { background: #fff; box-shadow: inset 0 0 0 1.5px #cfe3df; color: var(--pool); align-content: center; } .day.more b { font-size: 24px; } .day.more small { font-size: 11px; text-align: center; line-height: 1.15; color: var(--pool); text-transform: none; }

/* Chargement : le logo et une vague */
.cload { display: grid; justify-items: center; gap: 14px; padding: 90px 0 120px; }
.cload img { width: 64px; height: 64px; animation: bob 1.6s ease-in-out infinite; }
.cload .wv { width: 120px; height: 12px; fill: none; stroke: var(--pool, #22a6a1); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60 140; animation: wv 1.4s linear infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } } @keyframes wv { to { stroke-dashoffset: -200; } }

/* Vidéo du haut de page : apparaît en fondu une fois lancée */
.chero .hvid { opacity: 0; transition: opacity .9s; } .chero .hvid.on { opacity: 1; }

@media (prefers-reduced-motion: reduce) { .cload img, .cload .wv, .rip { animation: none; } .mosaic figure:hover img { transform: none; } }

/* ===== Thème du soir : une fois la nuit tombée sur Saly ===== */
html:has(body.dusk) { background: #0b1820; color-scheme: dark; }
body.capp.dusk { --ocean: #d8ecee; --ink: #e8eef0; --ink-2: #a3b4ba; --line: #22363f; --card: #13242d; --sand: #172730; --sea: #7fd3cf; --surf: #13242d; background: #0b1820; color: var(--ink); }
.capp.dusk h2.disp, .capp.dusk .sunset .t, .capp.dusk .cfoot b { color: #f4e4c8; }
.capp.dusk :is(.story figure, .loyteaser, .dish, .evts .when, .banner.off) { background: #0f3d4c; }
.capp.dusk :is(.qa, .acts, .rcard, .creviews figure, .alist li, .alist a, .gamts a, .appcode, .evts li > a, .wifi, .refer .code, .plist article, .dirs li, .useful, .wlist article, .tierbox, .mystay .hello, .locev li, .chap-k, .card, .offer, .chips li, .seg, .reward, .weekly li, .weekly article, .faq details, .rlist a, .day.more) { background: var(--surf); color: var(--ink); box-shadow: inset 0 0 0 1px #20343d; border-color: #20343d; }
.capp.dusk .acts a, .capp.dusk .acts i { background: transparent; }
.capp.dusk .acts i { background: #183540; }
.capp.dusk .chap { --chbg: #0b1820; } .capp.dusk .chap#ch-resto { --chbg: #18140f; } .capp.dusk .chap#ch-decouvrir { --chbg: #0b2225; } .capp.dusk .chap#ch-infos { --chbg: #0b1820; }
.capp.dusk .chap#ch-resto .card, .capp.dusk .chap#ch-resto .rcard, .capp.dusk .chap#ch-decouvrir .alist li, .capp.dusk .chap#ch-decouvrir .locev li { background: var(--surf); }
.capp.dusk .day.all { background: #11302f; } .capp.dusk .day.some { background: #33290f; } .capp.dusk .day.last { background: #3a1a28; } .capp.dusk .day.full { background: #17232a; color: #6d7f86; }
.capp.dusk .gift { background: linear-gradient(160deg, #2a1a26, #2b2414); }
.capp.dusk .score b { background: #f3e6d3; color: #0f3d4c; }
.capp.dusk .btn.ghost { color: var(--ocean); border-color: #2b434d; }
.capp.dusk :is(input, select, textarea) { background: #0f1f27; color: var(--ink); border-color: #2b414b; }
.capp.dusk .ctabs { background: rgba(14, 28, 36, .92); border-color: #20343d; }
.capp.dusk .chapnav { background: rgba(11, 24, 32, .88); border-color: #20343d; } .capp.dusk .chapnav a { background: #16303a; } .capp.dusk .chapnav a.cur { background: #f4e4c8; color: #0b1820; }
.capp.dusk .cfoot, .capp.dusk .rlist a { border-color: #20343d; }
.capp.dusk .creviews .reply { background: rgba(255, 255, 255, .06); }
.capp.dusk .dnl.d { color: #0f3d4c; }
.capp.dusk .chap#ch-resto::before { background: var(--chbg); }

/* ===== Ciel animé du haut de page ===== */
.chero.photo :is(h1, #c-sub, .c-cta, .saly-time) { position: relative; z-index: 1; }
.hfx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.hwaves { position: absolute; left: 0; bottom: 0; width: 200%; height: 46px; animation: hwave 16s linear infinite; }
.hwaves .w1 { fill: rgba(255, 255, 255, .10); } .hwaves .w2 { fill: rgba(255, 255, 255, .14); animation: hwave2 9s ease-in-out infinite alternate; }
@keyframes hwave { to { transform: translateX(-50%); } } @keyframes hwave2 { to { transform: translateX(-140px); } }
.hstars { position: absolute; inset: 0; display: none; }
.chero[data-sky="night"] .hstars { display: block; }
.hstars i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: .2; animation: twinkle var(--t) var(--d) ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .95; transform: scale(1.3); } }
.hstars .shoot { position: absolute; top: 12%; left: 70%; width: 110px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .95), transparent); opacity: 0; transform: rotate(-24deg); animation: shoot 11s 3s ease-in infinite; }
@keyframes shoot { 0%, 92% { opacity: 0; transform: rotate(-24deg) translateX(0); } 94% { opacity: 1; } 100% { opacity: 0; transform: rotate(-24deg) translateX(-260px); } }
.hgulls { position: absolute; inset: 0; }
.chero[data-sky="night"] .hgulls { display: none; }
.hgulls span { position: absolute; top: 20%; left: -40px; width: 26px; animation: gull 24s linear infinite; }
.hgulls .g2 { top: 27%; width: 18px; animation-duration: 30s; animation-delay: 9s; opacity: .8; }
.hgulls svg { display: block; fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.8; stroke-linecap: round; animation: flap .55s ease-in-out infinite alternate; transform-origin: center; }
@keyframes gull { 0% { transform: translate(0, 0); } 50% { transform: translate(55vw, -18px); } 100% { transform: translate(calc(100vw + 80px), 10px); } }
@keyframes flap { to { transform: scaleY(.45); } }
.hclouds, .hrain { position: absolute; inset: 0; display: none; }
.hfx.cloudy .hclouds, .hfx.rainy .hclouds, .hfx.rainy .hrain { display: block; }
.hclouds span { position: absolute; width: 220px; height: 60px; border-radius: 60px; background: rgba(255, 255, 255, .16); filter: blur(14px); animation: cloud 70s linear infinite; }
.hclouds .c1 { top: 10%; left: -30%; } .hclouds .c2 { top: 26%; left: -60%; width: 300px; animation-duration: 95s; } .hclouds .c3 { top: 4%; left: -90%; width: 160px; animation-duration: 60s; animation-delay: -30s; }
@keyframes cloud { to { transform: translateX(170vw); } }
.hrain { background: repeating-linear-gradient(105deg, transparent 0 14px, rgba(255, 255, 255, .22) 14px 15px); background-size: 100% 60px; animation: rain .5s linear infinite; opacity: .55; }
@keyframes rain { to { background-position: -16px 60px; } }
.hfx.still *, .hfx.still { animation: none !important; }
.hfx.still .hgulls, .hfx.still .shoot { display: none; }

/* Boutons du haut : thème et son des vagues */
.thm { display: grid; place-items: center; width: 38px; height: 38px; margin-left: 6px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; flex: none; }
.thm svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hsound { position: absolute; z-index: 2; right: 16px; bottom: 74px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px 8px 10px; border-radius: 999px; border: 0; background: rgba(8, 24, 36, .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.hsound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hsound[aria-pressed="true"] { background: rgba(34, 166, 161, .8); }
@media (min-width: 1000px) { .hsound { right: max(20px, calc((100% - 960px) / 2)); } }

/* Titre lettre par lettre */
#c-title.intro { animation: none; } .tw { display: inline-block; white-space: nowrap; }
.tl { display: inline-block; opacity: 0; transform: translateY(.35em) rotate(4deg); animation: tl .55s calc(.25s + var(--k) * 45ms) cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes tl { to { opacity: 1; transform: none; } }

/* Verre dépoli sur les photos */
.story figcaption { inset: auto 10px 10px 10px; padding: 14px 16px; border-radius: 16px; background: rgba(10, 35, 45, .34); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.saly-time { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cmain > .acts { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.capp.dusk .cmain > .acts { background: rgba(19, 36, 45, .86); }

/* Inclinaison des photos */
.story figure img { transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.08); transition: transform .4s ease-out; }
.story figure:hover img { transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.12); }
.dn img { transform: translate(var(--tx, 0), var(--ty, 0)) scale(1.06); transition: transform .4s ease-out; }

/* Reflets de piscine derrière « Séjourner » */
.chap#ch-sejour::after { content: ''; position: absolute; z-index: -1; top: 0; height: 420px; left: calc(50% - 50vw); right: calc(50% - 50vw); pointer-events: none; opacity: .5;
  background: radial-gradient(ellipse 60px 18px at 20% 30%, rgba(34, 166, 161, .16), transparent 70%), radial-gradient(ellipse 90px 22px at 70% 20%, rgba(34, 166, 161, .14), transparent 70%), radial-gradient(ellipse 70px 16px at 45% 60%, rgba(34, 166, 161, .12), transparent 70%), radial-gradient(ellipse 50px 14px at 85% 70%, rgba(34, 166, 161, .14), transparent 70%);
  background-size: 260px 160px; animation: caustic 14s ease-in-out infinite alternate; -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent); }
@keyframes caustic { to { background-position: 40px 22px, -30px 14px, 24px -18px, -20px 10px; } }

/* Lumière qui suit la souris */
@media (hover: hover) {
  .rcard, .plist article, .gamts a { position: relative; isolation: isolate; }
  .rcard::after, .plist article::after, .gamts a::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s; pointer-events: none; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(242, 166, 59, .22), transparent 65%); }
  .rcard:hover::after, .plist article:hover::after, .gamts a:hover::after { opacity: 1; }
}

/* Cartes de chambre retournables */
.rbtns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; } .rbtns .btn { }
.rcard:not(.back) .rback { display: none; } .rcard.back > .rph, .rcard.back > .rbody { display: none; }
.rback { padding: 20px; display: grid; gap: 10px; min-height: 260px; align-content: start; background: linear-gradient(160deg, #e9f6f4, #fff 60%); }
.rback h3 { margin: 0; font-family: var(--disp); font-weight: 400; font-size: 24px; color: var(--ocean); }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feat li { display: flex; gap: 10px; align-items: center; font-weight: 700; } .feat li::before { content: '✓'; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pool); color: #fff; font-size: 13px; flex: none; }
.capp.dusk .rback { background: linear-gradient(160deg, #123236, #13242d 60%); }

/* Galerie façon polaroïd */
.mosaic figure { background: #fff; padding: 6px 6px 18px; border-radius: 6px; box-shadow: 0 10px 24px -14px rgba(6, 42, 59, .5); transform: rotate(var(--rot, 0deg)); transition: transform .35s var(--ease), box-shadow .35s; }
.mosaic figure:nth-child(2) { --rot: 2deg; } .mosaic figure:nth-child(3) { --rot: -2.2deg; } .mosaic figure:nth-child(4) { --rot: 1.6deg; } .mosaic figure:nth-child(5) { --rot: -1.4deg; } .mosaic figure:first-child { --rot: -.8deg; }
.mosaic figure:hover, .mosaic figure:active { --rot: 0deg; z-index: 1; box-shadow: 0 18px 34px -16px rgba(6, 42, 59, .6); }
.mosaic img, .mosaic img:first-child { border-radius: 2px; }
.mosaic figure[data-more]::after { inset: 6px 6px 18px; border-radius: 2px; }
.capp.dusk .mosaic figure { background: #e9e3d8; }

/* Carte illustrée de Saly */
.smap svg { width: 100%; height: auto; display: block; border-radius: 22px; background: #bfe3e8; }
.smap .land { fill: #f3e3c3; } .smap .coast { fill: none; stroke: #e0c48d; stroke-width: 6; stroke-linecap: round; }
.smap .sea path { fill: none; stroke: rgba(15, 61, 76, .3); stroke-width: 1.6; stroke-linecap: round; }
.smap .ocean { font: italic 400 13px var(--disp); fill: rgba(15, 61, 76, .55); letter-spacing: .5px; }
.smap .road { fill: none; stroke: #c9a66b; stroke-width: 2; stroke-dasharray: 6 5; } .smap .rd { font-size: 10px; font-weight: 800; fill: #a07b3c; }
.smap .lagoon { fill: #9fd6d2; stroke: #6fbcb6; }
.smap .boat path { fill: #c8336e; } .smap .boat path + path { fill: #fff; stroke: #0f3d4c; stroke-width: .8; }
/*m*/.smap .mpin path { fill: #0f3d4c; } /*m*/.smap .mpin circle { fill: #fff; }
/*m*/.smap .mpin text { font-size: 12px; font-weight: 800; fill: #0f3d4c; paint-order: stroke; stroke: #f3e3c3; stroke-width: 3px; } /*m*/.smap .mpin text.s { font-size: 10px; font-weight: 600; fill: #4d636c; }
/*m*/.smap .mpin.main path { fill: #c8336e; } /*m*/.smap .mpin.main text { font: 400 15px var(--disp); fill: #c8336e; }
.smap .rose path { fill: #0f3d4c; } .smap .rose text { font-size: 11px; font-weight: 800; fill: #0f3d4c; }
.capp.dusk .smap svg { filter: brightness(.82) saturate(.9); }

/* Petit jeu */
dialog.game { width: min(440px, 100vw); height: min(680px, 100dvh); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 24px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: #0f3d4c; color: #fff; }
dialog.game::backdrop { background: rgba(4, 16, 26, .7); }
.gtop { display: flex; align-items: center; gap: 12px; padding: 12px 14px; } .gtop b { flex: 1; } .gs { font-weight: 800; font-size: 22px; color: var(--gold); }
.gx { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; cursor: pointer; }
dialog.game canvas { width: 100%; height: 100%; touch-action: none; display: block; }
.gmsg { position: absolute; left: 20px; right: 20px; top: 34%; margin: 0; padding: 22px; border-radius: 20px; text-align: center; background: rgba(255, 255, 255, .94); color: #0f3d4c; line-height: 1.5; }
.gmsg .btn { margin-top: 12px; }
.glink { margin-top: 10px; border: 0; background: none; color: var(--pool); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.offline button { margin-left: 6px; border: 0; background: #fff; color: #0f3d4c; border-radius: 999px; padding: 4px 10px; font: inherit; font-weight: 800; cursor: pointer; }

/* Carte postale depuis la visionneuse */
.vcard { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(46px + env(safe-area-inset-bottom)); border: 0; border-radius: 999px; padding: 11px 18px; background: #fff; color: #0f3d4c; font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }

/* Compte à rebours avant le séjour */
.countdown { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(120deg, #e4f5f3, #fff4dc); }
.countdown b { font-family: var(--disp); font-weight: 400; font-size: 44px; line-height: 1; color: var(--bouga); } .countdown span { font-weight: 800; color: #0f3d4c; }
.capp.dusk .countdown { background: linear-gradient(120deg, #123236, #2b2414); } .capp.dusk .countdown span { color: var(--ink); }

/* Tampon qui s'imprime */
.stamp.on.new { animation: clac .6s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes clac { 0% { transform: scale(2.2) rotate(-18deg); opacity: 0; } 55% { transform: scale(.88) rotate(4deg); opacity: 1; } 75% { transform: scale(1.06) rotate(-2deg); } 100% { transform: none; } }

/* Passage d'un onglet à l'autre */
#app { view-transition-name: cmain; }
::view-transition-old(cmain) { animation: .2s ease-in both vtout; } ::view-transition-new(cmain) { animation: .28s ease-out both vtin; }
[data-vt="back"]::view-transition-old(cmain) { animation-name: vtoutb; } [data-vt="back"]::view-transition-new(cmain) { animation-name: vtinb; }
@keyframes vtout { to { opacity: 0; transform: translateX(-36px); } } @keyframes vtin { from { opacity: 0; transform: translateX(36px); } }
@keyframes vtoutb { to { opacity: 0; transform: translateX(36px); } } @keyframes vtinb { from { opacity: 0; transform: translateX(-36px); } }

/* ===== Saisons, fêtes, heure dorée, Teranga ===== */
.se-hivernage .chap#ch-decouvrir { --chbg: #e6f3e1; } .se-hivernage .chap#ch-sejour { --chbg: #f6fbf4; }
.se-fetes .chap-k, .fe-noel .chap-k, .fe-an .chap-k { box-shadow: inset 0 0 0 1px rgba(242, 166, 59, .5); }
.fete { margin: 14px 0 0; padding: 12px 16px; border-radius: 16px; font-weight: 800; text-align: center; color: #0f3d4c; background: linear-gradient(120deg, #fff4dc, #fde8f0); box-shadow: inset 0 0 0 1px rgba(242, 166, 59, .35); }
.fete.fe-noel, .fete.fe-an { background: linear-gradient(120deg, #0f3d4c, #1d5a4a); color: #ffe7b0; }
.fete.fe-valentin { background: linear-gradient(120deg, #fde8f0, #ffd9e4); color: #8f1f4c; }
.fete.fe-korite, .fete.fe-tabaski { background: linear-gradient(120deg, #e4f3e8, #fff4dc); color: #1d5a2e; }
/* Guirlande lumineuse sur le haut de page (fêtes de fin d'année) */
.fe-noel .hfx::after, .fe-an .hfx::after { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: calc(62px + env(safe-area-inset-top)); height: 14px; pointer-events: none;
  background: radial-gradient(circle, #ffd38a 0 2.5px, transparent 3.5px) 0 0 / 34px 14px repeat-x, radial-gradient(circle, #ff8fb3 0 2.5px, transparent 3.5px) 17px 6px / 34px 14px repeat-x; animation: garland 1.8s steps(2) infinite; }
@keyframes garland { 50% { filter: brightness(.55); } }
.fe-valentin .cfab, .fe-valentin .btn.big { background: linear-gradient(120deg, #c8336e, #e0567f); }
.golden .chap#ch-sejour { --chbg: #fff6ec; } .golden h2.disp { color: #7a3a1e; } .golden .chapnav a.cur { background: #b8561f; }
.teranga .chap#ch-resto { --chbg: #fde6d6; } .teranga .chap#ch-decouvrir { --chbg: #dcf2ec; }
.teranga .chap#ch-decouvrir::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke-width='2'%3E%3Cg stroke='%2322a6a1' stroke-opacity='.16'%3E%3Ccircle cx='18' cy='18' r='10'/%3E%3Ccircle cx='54' cy='54' r='10'/%3E%3C/g%3E%3Cpath stroke='%23f2a63b' stroke-opacity='.25' d='M54 7l11 11-11 11-11-11zM18 43l11 11-11 11L7 54z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 72px 72px, var(--chbg); }
.teranga .chap-k { background: #fff; box-shadow: 0 6px 16px -10px rgba(200, 51, 110, .6); }
.teranga .btn.big, .teranga .cfab { background: linear-gradient(120deg, #c8336e, #f2a63b); }

@media (prefers-reduced-motion: reduce) {
  .tl { animation: none; opacity: 1; transform: none; } .chap#ch-sejour::after, .fe-noel .hfx::after, .fe-an .hfx::after, .stamp.on.new { animation: none; }
  .story figure img, .dn img { transform: scale(1.04); } ::view-transition-old(cmain), ::view-transition-new(cmain) { animation: none; }
}

/* Thème et son : petite rangée sous les langues */
.hctl { position: absolute; z-index: 2; top: calc(66px + env(safe-area-inset-top)); right: 16px; display: flex; gap: 8px; }
.hctl .thm { margin: 0; width: 36px; height: 36px; background: rgba(8, 24, 36, .38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hctl .hsound { position: static; padding: 7px 12px 7px 10px; }
.chero.small .hctl .hsound { display: none; }
.fe-noel .hctl, .fe-an .hctl { top: calc(84px + env(safe-area-inset-top)); }
@media (min-width: 1000px) { .hctl { right: max(20px, calc((100% - 960px) / 2)); } }
.rbtns .btn { flex: 1 1 auto; white-space: nowrap; }

/* ===== Animations allégées (téléphone lent, réglage « légères ») ou coupées (« aucune ») ===== */
.motion-lite .hfx *, .motion-lite .chero.photo::before, .motion-lite .tl, .motion-lite .chap#ch-sejour::after { animation: none !important; }
.motion-lite .tl { opacity: 1; transform: none; }
.motion-lite .hgulls, .motion-lite .shoot, .motion-lite .hclouds, .motion-lite .hrain, .motion-lite .chap#ch-sejour::after, .motion-lite .sunset .orb, .motion-lite .sunset::after { display: none; }
.motion-lite :is(.story figcaption, .cmain > .acts, .chapnav, .saly-time, .hsound, .hctl .thm) { -webkit-backdrop-filter: none; backdrop-filter: none; }
.motion-lite .story figcaption { background: rgba(10, 35, 45, .62); }
.motion-lite .story figure img, .motion-lite .dn img { transform: none; transition: none; }
.motion-lite .mosaic figure { transition: none; }
.motion-none *, .motion-none *::before, .motion-none *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
.motion-none .hgulls, .motion-none .shoot, .motion-none .hclouds, .motion-none .hrain, .motion-none .sunset .orb { display: none; }
.motion-none .tl { opacity: 1; transform: none; }

/* ===== Favoris ===== */
.fav { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); cursor: pointer; flex: none; box-shadow: 0 4px 12px -6px rgba(6, 42, 59, .4); }
.fav svg { width: 22px; height: 22px; fill: none; stroke: var(--bouga); stroke-width: 1.9; stroke-linejoin: round; }
.fav[aria-pressed="true"] svg { fill: var(--bouga); }
.fav.pop svg { animation: favpop .45s cubic-bezier(.2, .9, .3, 1.4); } @keyframes favpop { 40% { transform: scale(1.4); } }
.rcard { position: relative; } .rcard > .fav { position: absolute; top: 10px; right: 10px; z-index: 2; }
.favs .dishes li { grid-template-columns: auto 1fr auto; align-items: center; } .favs .dishes .fav { width: 34px; height: 34px; box-shadow: none; background: transparent; }
.favbox ul { list-style: none; margin: 0; padding: 0; } .favbox li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.favbox li a { font-weight: 700; color: var(--ink); } .favbox .fav { box-shadow: none; background: transparent; }

/* ===== Stories ===== */
.stories { margin-top: 18px; } .strow { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; } .strow::-webkit-scrollbar { display: none; }
.sto { flex: none; display: grid; justify-items: center; gap: 6px; width: 74px; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--ink); }
.sto .ring { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--bouga), var(--gold), var(--pool), var(--bouga)); }
.sto.seen .ring { background: #cfd8d6; }
.sto .ring img, .sto .ring .stbg { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; display: grid; place-items: center; }
.capp.dusk .sto .ring img, .capp.dusk .sto .ring .stbg { border-color: #0b1820; }
.sto small { font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stbg { background: linear-gradient(150deg, #0f3d4c, #22a6a1); } .stbg.dish { background: linear-gradient(150deg, #c8336e, #f2a63b); } .stbg.sun { background: linear-gradient(180deg, #2b3d78, #e27a5a 70%, #f6b35e); } .stbg.ev { background: linear-gradient(150deg, #1d1b3a, #c8336e); }
.stbg svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
dialog.storyv { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; }
.storyv .sbody { position: absolute; inset: 0; display: grid; place-items: center; } .storyv .sbody img { width: 100%; height: 100%; object-fit: cover; }
.storyv .sic { width: 34%; max-width: 160px; fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.storyv .stx { position: absolute; left: 18px; right: 18px; bottom: calc(40px + env(safe-area-inset-bottom)); margin: 0; font: 400 clamp(26px, 7vw, 38px)/1.15 var(--disp); text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.storyv .stx small { display: block; margin-bottom: 8px; font: 800 14px var(--body, system-ui); color: var(--gold); text-shadow: none; }
.storyv .sbars { position: absolute; z-index: 3; left: 10px; right: 10px; top: calc(10px + env(safe-area-inset-top)); display: flex; gap: 4px; }
.storyv .sbars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; } .storyv .sbars b { display: block; height: 100%; background: #fff; }
.storyv .sx { position: absolute; z-index: 4; top: calc(22px + env(safe-area-inset-top)); right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; font-size: 30px; cursor: pointer; }
.storyv .sprev, .storyv .snext { position: absolute; z-index: 2; top: 70px; bottom: 0; width: 35%; border: 0; background: none; cursor: pointer; } .storyv .sprev { left: 0; } .storyv .snext { right: 0; width: 65%; }

/* ===== La plage ce matin, panorama, mur, mot du jour ===== */
.daily figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; } .daily img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.daily figcaption { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(8, 24, 36, .55); color: #fff; font-size: 13px; font-weight: 700; }
.daily .live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 1.8s infinite; } @keyframes live { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }
.ptabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; } .ptabs button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 800; font-size: 14px; color: var(--ocean); cursor: pointer; } .ptabs button[aria-pressed="true"] { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.capp.dusk .ptabs button { background: var(--surf); } .capp.dusk .ptabs button[aria-pressed="true"] { background: #f4e4c8; color: #0b1820; }
.pview { position: relative; height: min(56vh, 360px); border-radius: 22px; background: var(--img) 0 50% / auto 100% repeat-x, var(--ocean); cursor: grab; touch-action: pan-y; user-select: none; }
.pview:active { cursor: grabbing; } .pview:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.phint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; background: rgba(8, 24, 36, .55); color: #fff; font-weight: 800; transition: opacity .4s; } .pview.touched .phint { opacity: 0; }
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.wgrid figure { margin: 0; background: #fff; padding: 5px 5px 0; border-radius: 4px; box-shadow: 0 8px 18px -12px rgba(6, 42, 59, .5); transform: rotate(var(--r, -1.5deg)); }
.wgrid figure:nth-child(3n+2) { --r: 1.8deg; } .wgrid figure:nth-child(3n) { --r: -.6deg; }
.wgrid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; animation: none; display: block; }
.wgrid figcaption { font: 400 13px/1.8 var(--disp); text-align: center; color: #4d636c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wgrid figure:not(:has(figcaption)) { padding-bottom: 14px; }
.wword { margin-top: 24px; padding: 18px 20px; border-radius: 20px; background: linear-gradient(130deg, #fff4dc, #e4f5f3); }
.wword .k { margin: 0; font-size: 13px; font-weight: 800; color: #b86f00; } .wword .w { margin: 4px 0 0; font: 400 30px/1.1 var(--disp); color: var(--ocean); } .wword .m { margin: 4px 0 0; color: var(--ink-2); }
.capp.dusk .wword { background: linear-gradient(130deg, #2b2414, #123236); } .capp.dusk .wword .w { color: #f4e4c8; }

/* ===== Palmiers, feu de camp, playlist ===== */
.cfoot { position: relative; overflow: hidden; }
.palm { position: absolute; bottom: 0; width: 54px; height: 108px; opacity: .55; transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite alternate; }
.palm.l { left: -4px; } .palm.r { right: -4px; transform: scaleX(-1); animation-name: swayr; animation-duration: 6s; }
.palm .tr { fill: none; stroke: #8a6a3c; stroke-width: 4; stroke-linecap: round; } .palm .fr path { fill: #3f8f4e; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } } @keyframes swayr { from { transform: scaleX(-1) rotate(-2deg); } to { transform: scaleX(-1) rotate(2.5deg); } }
.fire { position: relative; display: inline-block; width: 16px; height: 18px; margin-left: 6px; vertical-align: -2px; }
.fire i { position: absolute; bottom: 0; left: 50%; width: 10px; height: 14px; margin-left: -5px; border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 80%, #ffd27c, #f5793a 60%, #c8336e); animation: flame .7s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.fire i:nth-child(2) { width: 7px; height: 10px; margin-left: -8px; animation-delay: .2s; opacity: .8; } .fire i:nth-child(3) { width: 7px; height: 11px; margin-left: 1px; animation-delay: .35s; opacity: .8; }
@keyframes flame { to { transform: scaleY(1.2) scaleX(.85) rotate(4deg); } }
.playlist { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 800; color: var(--ocean); }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; } .eq i { width: 3px; background: var(--bouga); border-radius: 2px; animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(1) { height: 40%; } .eq i:nth-child(2) { height: 90%; animation-delay: .2s; } .eq i:nth-child(3) { height: 60%; animation-delay: .4s; } .eq i:nth-child(4) { height: 75%; animation-delay: .1s; }
@keyframes eq { to { height: 20%; } }

/* ===== Bulle d'aide, traces de pas, vague de langue, bouton qui respire, théière ===== */
.cal { position: relative; }
.tip { position: absolute; z-index: 5; margin: 0; padding: 9px 13px; border-radius: 12px; background: var(--ocean); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; animation: tipin .35s ease-out both; box-shadow: 0 10px 24px -12px rgba(6, 42, 59, .7); }
.tip::after { content: ''; position: absolute; left: 22px; bottom: -6px; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); }
.capp.dusk .tip { background: #f4e4c8; color: #0b1820; }
@keyframes tipin { from { opacity: 0; transform: translateY(6px); } }
.trail { position: fixed; z-index: 15; right: 3px; top: 22vh; height: 56vh; width: 14px; display: grid; grid-template-rows: repeat(14, 1fr); pointer-events: none; }
.trail i { width: 6px; height: 9px; border-radius: 50% 50% 45% 45%; background: rgba(184, 140, 80, .55); opacity: 0; transition: opacity .3s; align-self: center; }
.trail i.r { justify-self: end; } .trail i.on { opacity: 1; }
.capp.dusk .trail i { background: rgba(244, 228, 200, .45); }
@media (min-width: 1000px) { .trail { right: 14px; width: 18px; } .trail i { width: 8px; height: 12px; } }
.sweep { position: fixed; z-index: 60; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(34, 166, 161, .28) 40%, rgba(255, 255, 255, .45) 50%, rgba(34, 166, 161, .28) 60%, transparent); animation: sweep .85s ease-in-out forwards; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.breathe { animation: breathe 2.2s ease-in-out infinite; } @keyframes breathe { 50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(200, 51, 110, .14), 0 14px 28px -14px rgba(200, 51, 110, .8); } }
.cfab.on.breathe { animation-name: breathefab; } @keyframes breathefab { 50% { transform: translate(-50%, 0) scale(1.05); box-shadow: 0 0 0 10px rgba(200, 51, 110, .14); } }
#ch-resto .chap-k { cursor: pointer; } .chap-k .td { opacity: 0; fill: var(--bouga); stroke: none; }
.chap-k.pour svg { animation: pour 1.6s ease-in-out; transform-origin: 40% 70%; } .chap-k.pour .td circle { animation: drop 1.6s ease-in infinite; } .chap-k.pour .td { opacity: 1; }
.chap-k.pour .td circle:nth-child(2) { animation-delay: .15s; } .chap-k.pour .td circle:nth-child(3) { animation-delay: .3s; }
@keyframes pour { 20%, 70% { transform: rotate(18deg); } } @keyframes drop { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(4px); } }

/* ===== Tirer pour rafraîchir ===== */
.pullr { position: fixed; z-index: 40; left: 50%; top: calc(10px + env(safe-area-inset-top)); width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 18px -8px rgba(6, 42, 59, .5); transform: translateY(calc(var(--d, 0px) - 60px)); opacity: 0; transition: opacity .2s; pointer-events: none; }
.pullr.on { opacity: 1; } .pullr svg { width: 22px; height: 22px; fill: none; stroke: var(--pool); stroke-width: 2; stroke-linecap: round; transform: rotate(calc(var(--d, 0px) * 3)); }
.pullr.ready svg { stroke: var(--bouga); } .pullr.spin svg { animation: spinr .7s linear infinite; } @keyframes spinr { to { transform: rotate(360deg); } }

/* ===== Chambres : on glisse de l'une à l'autre (téléphone) ===== */
@media (max-width: 719px) {
  .rcards:has(.rcard + .rcard) { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 10px; }
  .rcards:has(.rcard + .rcard)::-webkit-scrollbar { display: none; } .rcards .rcard { scroll-snap-align: start; }
}
.motion-lite .palm, .motion-lite .fire i, .motion-lite .eq i, .motion-lite .daily .live, .motion-lite .breathe { animation: none; }
@media (prefers-reduced-motion: reduce) { .palm, .fire i, .eq i, .daily .live, .breathe, .sweep, .chap-k.pour svg, .chap-k.pour .td circle { animation: none; } .sweep { display: none; } }
@media (max-width: 999px) { .trail { display: none; } }
.storyv .sbody::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); pointer-events: none; }
.storyv .stx { z-index: 1; }

/* ===== Badges de prestige ===== */
.prestige { --l1: #f2d7a6; --l2: #c98f4a; --ink-l: #5a3a12; display: flex; gap: 16px; align-items: center; margin: 0 0 16px; padding: 18px; border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, #fff8ec, var(--l1)); color: var(--ink-l); box-shadow: 0 14px 30px -20px rgba(90, 58, 18, .6), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.lv-coquillage { --l1: #f6e3d3; --l2: #d99a7a; --ink-l: #6a3a26; }
.lv-pirogue { --l1: #cfeeea; --l2: #22a6a1; --ink-l: #0f3d4c; }
.lv-baobab { --l1: #e3ecd2; --l2: #6c8f3d; --ink-l: #31471a; }
.lv-lion { --l1: #f6dc9c; --l2: #c8902a; --ink-l: #4a3008; }
.prestige.lv-lion { background: radial-gradient(120% 140% at 0% 0%, #fff6dc, #f1c970 70%, #e0a943); }
.medal { flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--l2) 70%, #fff), var(--l2) 60%, color-mix(in srgb, var(--l2) 70%, #000)); box-shadow: 0 8px 18px -8px var(--l2), inset 0 0 0 3px rgba(255, 255, 255, .45); }
.medal svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.prestige .pz { display: grid; gap: 3px; min-width: 0; }
.prestige b { font: 400 26px/1.1 var(--disp); }
.prestige .perk { font-weight: 700; font-size: 14px; }
.prestige small { font-size: 12.5px; opacity: .85; }
.lvbar { display: block; height: 7px; margin: 6px 0 2px; border-radius: 9px; background: rgba(255, 255, 255, .55); overflow: hidden; }
.lvbar i { display: block; height: 100%; border-radius: inherit; background: var(--l2); }
.lv-lion .medal { animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 50% { box-shadow: 0 8px 26px -4px #f1c970, inset 0 0 0 3px rgba(255, 255, 255, .7); } }
.capp.dusk .prestige { filter: brightness(.92) saturate(.95); }

/* Nouveau niveau */
dialog.lvup { border: 0; padding: 0; background: transparent; max-width: 360px; width: calc(100% - 40px); }
dialog.lvup::backdrop { background: rgba(6, 20, 30, .66); }
.lvin { display: grid; justify-items: center; gap: 6px; padding: 30px 24px 24px; border-radius: 28px; text-align: center; background: radial-gradient(120% 120% at 50% 0%, #fff8ec, var(--l1, #f2d7a6)); color: var(--ink-l, #5a3a12); }
.lvin .medal.big { width: 120px; height: 120px; animation: medalin .8s cubic-bezier(.2, .9, .3, 1.3) both; }
.lvin .medal.big svg { width: 66px; height: 66px; }
.lvin b { font: 400 32px/1.1 var(--disp); } .lvin p { margin: 4px 0 10px; font-weight: 700; } .lvin small { font-weight: 800; letter-spacing: .02em; }
@keyframes medalin { 0% { transform: scale(.2) rotate(-40deg); opacity: 0; } 70% { transform: scale(1.08) rotate(6deg); opacity: 1; } 100% { transform: none; } }

/* Carte des nuits */
.loycard.nights { background: linear-gradient(150deg, #123a5a, #22667a 60%, #2b8a8a); }

/* Points */
.ptsbox { padding: 18px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px #e3ece9; display: grid; gap: 12px; }
.pts-top { display: flex; align-items: baseline; gap: 8px; } .pts-n { font: 400 46px/1 var(--disp); color: var(--bouga); } .pts-top span { font-weight: 800; color: var(--ocean); }
.prew { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prew li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 12px; border-radius: 14px; background: #f6f8f7; }
.prew li.ok { background: #e9f7f3; box-shadow: inset 0 0 0 1.5px #9fd8cc; }
.prew .rn { font-weight: 800; } .prew .cost { font-weight: 800; color: var(--pool); }
.prew .pbar { grid-column: 1 / -1; height: 6px; border-radius: 9px; background: #e2e9e7; overflow: hidden; } .prew .pbar i { display: block; height: 100%; background: var(--pool); border-radius: inherit; }
.prew small { grid-column: 1 / -1; color: var(--ink-2); font-weight: 600; } .prew li.ok small { color: #137a5c; }
.phist summary { cursor: pointer; font-weight: 800; color: var(--ocean); padding: 4px 0; }
.phist ul { list-style: none; margin: 8px 0 0; padding: 0; }
.phist li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f1; }
.phist li span { display: grid; } .phist small { color: var(--ink-2); font-size: 12px; } .phist .pos { color: #137a5c; } .phist .neg { color: var(--bouga); }
.capp.dusk .ptsbox { background: var(--surf); box-shadow: inset 0 0 0 1px #20343d; } .capp.dusk .prew li { background: #0f1f27; } .capp.dusk .prew li.ok { background: #10302c; } .capp.dusk .phist li { border-color: #20343d; }

/* Mes factures */
.invl ul { list-style: none; margin: 8px 0 0; padding: 0; }
.invl li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef2f1; }
.invl li span { display: grid; } .invl small { font-size: 12.5px; color: var(--ink-2); } .invl .amt { text-align: right; font-weight: 800; }
.invl .ok { color: #137a5c; } .invl .due { color: var(--bouga); }
.capp.dusk .invl li { border-color: #20343d; }

/* Cadeau dessiné */
.gift-ic { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.3em; }
.reward .big .gift-ic { width: 34px; height: 34px; color: var(--bouga); }
@media (prefers-reduced-motion: reduce) { .lv-lion .medal, .lvin .medal.big { animation: none; } }

/* ===== Barre du bas : Accueil, La carte, Réserver (au centre), Ma carte, Compte ===== */
.ctabs { display: flex; justify-content: space-around; align-items: end; }
.ctabs > * { flex: 1 1 0; min-width: 0; }
.ctabs > [hidden] { display: none; }
.ctabs a { display: grid; justify-items: center; gap: 2px; color: var(--ink-2); font-size: 12px; font-weight: 700; text-decoration: none; padding: 4px 0; }
.ctabs a svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ctabs .tb-book { color: var(--bouga); }
.ctabs .tb-book .bk { display: grid; place-items: center; width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; color: #fff;
  background: linear-gradient(150deg, #e0567f, var(--bouga)); box-shadow: 0 10px 22px -10px rgba(200, 51, 110, .9), 0 0 0 4px var(--tabs-ring, #fff); }
.ctabs .tb-book .bk svg { width: 27px; height: 27px; stroke: #fff; }
.ctabs .tb-book:active .bk { transform: scale(.94); }
.capp.dusk .ctabs a { color: var(--ink-2); } .capp.dusk { --tabs-ring: #0e1c24; }
@media (min-width: 1000px) { .ctabs { width: 560px; } }
.cfab { display: none !important; }
.seemore { width: 100%; margin-top: 10px; }
.practical dl > [hidden], .alist > [hidden], .locev ul > [hidden], .weekly ul > [hidden] { display: none; }

/* Code bon / code faux (carte fidélité) */
#f-auth, #f-del { position: relative; }
.codeok { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 12px; border-radius: inherit; background: rgba(255, 255, 255, .94); animation: okin .2s ease-out; }
.capp.dusk .codeok { background: rgba(14, 28, 36, .94); }
.codeok svg { width: 78px; height: 78px; }
.codeok circle { fill: #1f9a8a; transform-origin: center; animation: okpop .5s cubic-bezier(.2, 1.5, .4, 1); }
.codeok path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; animation: okdraw .35s .25s ease-out forwards; }
.codeok b { font-size: 18px; color: var(--ink); }
@keyframes okin { from { opacity: 0; } }
@keyframes okpop { from { transform: scale(.3); } }
@keyframes okdraw { to { stroke-dashoffset: 0; } }
.pin.bad { border-color: #c8336e !important; background: #fff0f4 !important; animation: pinbad .45s; }
@keyframes pinbad { 15%, 55% { transform: translateX(-9px); } 35%, 75% { transform: translateX(9px); } }
@media (prefers-reduced-motion: reduce) { .codeok, .codeok circle, .pin.bad { animation: none; } .codeok path { animation: none; stroke-dashoffset: 0; } }

/* Interrupteur (Compte > Offres et soirées) */
.linkrow .sw { flex: none; position: relative; width: 48px; height: 30px; border-radius: 999px; background: #c9d3d6; transition: background .2s; }
.linkrow .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.linkrow .sw.on { background: #1f9a8a; }
.linkrow .sw.on::after { transform: translateX(18px); }
@media (prefers-reduced-motion: reduce) { .linkrow .sw, .linkrow .sw::after { transition: none; } }

/* ===== Cibles tactiles de 44 px au moins (recommandation Apple) =====
   Les petits boutons gardent leur taille à l'écran ; seule la zone qu'on peut toucher grandit. */
.lang button, .thm, .hsound, .glink, .playlist { position: relative; }
.lang button::after, .thm::after, .hsound::after, .glink::after, .playlist::after { content: ""; position: absolute; inset: -6px -3px; }
.hctl .thm::after { inset: -4px; }
.chapnav a { min-height: 44px; display: inline-flex; align-items: center; }
.cfoot a[href^="tel:"], .contact a[href^="tel:"], a[href^="tel:"].tel { display: inline-block; padding-block: 11px; margin-block: -11px; }
