/* Carnet de voyage, version « cinéma » (prototype).
   Chaque écran est une scène plein écran : le globe vole d'une escale à l'autre,
   puis la photo s'ouvre en cercle depuis le point de l'escale. */

:root {
  --ink: #0B1A33;
  --night: #081327;
  --night-2: #10295A;
  --paper: #FBF6EC;
  --paper-2: #F1E4C8;
  --ocean: #2563EB;
  --ocean-ink: #1A43B8;
  --coral: #FF7A59;
  --coral-hover: #FF9474;
  --coral-ink: #B53A1E;
  --coral-light: #FFB59F;
  --gold: #FFC94D;
  --muted-ink: #4A5568;
  --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --title: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 6vw, 96px);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; }
html.js { scroll-snap-type: y mandatory; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 70% at 62% 45%, #183B7A 0%, rgba(24, 59, 122, 0) 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--title); font-weight: 800; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.ci-hand { font-family: var(--hand); font-weight: 700; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- en-tête ---------- */
.ci-top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px var(--gutter);
  background: linear-gradient(180deg, rgba(8, 19, 39, .72) 0%, rgba(8, 19, 39, 0) 100%);
  transition: background .5s;
}
.ci-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--title); font-weight: 700; font-size: 1.12rem; color: #fff; white-space: nowrap; }
.ci-brand img { border-radius: 9px; display: block; }
.ci-brand b { color: var(--coral-light); font-weight: 700; }
.ci-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.ci-nav > a:not(.ci-btn) { color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
.ci-nav > a:not(.ci-btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.show-xs { display: none; }

/* sur un écran clair (la page blanche de la Thaïlande), l'en-tête passe à l'encre */
.on-light .ci-top { background: linear-gradient(180deg, rgba(251, 246, 236, .9) 0%, rgba(251, 246, 236, 0) 100%); }
.on-light .ci-brand, .on-light .ci-nav > a:not(.ci-btn) { color: var(--ink); }
.on-light .ci-brand b { color: var(--coral-ink); }

/* ---------- boutons et liens ---------- */
.ci-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid var(--coral);
  background: var(--coral); color: var(--ink);
  font-family: var(--title); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 122, 89, .35);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.ci-btn:hover { background: var(--coral-hover); border-color: var(--coral-hover); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 122, 89, .45); }
.ci-btn-sm { padding: 9px 16px; font-size: .9rem; box-shadow: none; }
.ci-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .9); box-shadow: none; }
.ci-btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; }
.ci-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ci-link {
  display: inline-flex; gap: 6px; margin-top: 18px;
  font-family: var(--title); font-weight: 700; color: #fff;
  text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.ci-link:hover { text-decoration-color: #fff; }

/* ---------- le globe (scène fixe) ---------- */
.ci-stage { position: fixed; inset: 0; z-index: 3; pointer-events: none; transform-origin: 50% 50%; will-change: transform, opacity; }
.ci-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s; touch-action: pan-y; }
.globe-ready .ci-stage canvas { opacity: 1; }
.mode-explore .ci-stage canvas { pointer-events: auto; cursor: grab; }
.mode-explore .ci-stage canvas.is-dragging { cursor: grabbing; }
.mode-explore .ci-stage canvas.on-pin { cursor: pointer; }
.no-webgl .ci-stage { display: none; }

/* halo lumineux autour du globe, qui devient un médaillon de papier en mode « carte en coin » */
.ci-halo { position: absolute; left: 50%; top: 50%; width: var(--gd, 600px); height: var(--gd, 600px); translate: -50% -50%; border-radius: 50%; }
.ci-halo::before, .ci-halo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; transition: opacity .6s; }
.ci-halo::before { inset: -30%; background: radial-gradient(circle, rgba(124, 196, 255, .22) 38%, rgba(124, 196, 255, .06) 55%, rgba(124, 196, 255, 0) 70%); }
.ci-halo::after { inset: -9%; background: var(--paper); box-shadow: 0 50px 140px rgba(0, 0, 0, .55); opacity: 0; }
.is-mini .ci-halo::before { opacity: 0; }
.is-mini .ci-halo::after { opacity: 1; }

/* étiquette du lieu, qui suit le point de l'escale */
.ci-place {
  position: fixed; left: 0; top: 0; z-index: 6; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px 6px 10px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-family: var(--title); font-weight: 700; font-size: .92rem; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
  opacity: 0; transition: opacity .35s;
}
.ci-place::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(255, 122, 89, .3); }
.ci-place.is-on { opacity: 1; }

/* « En route vers… » pendant le vol */
.ci-flight {
  position: fixed; left: 50%; bottom: clamp(28px, 8vh, 72px); translate: -50% 0; z-index: 6; pointer-events: none;
  font-family: var(--hand); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--gold);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55); white-space: nowrap;
  opacity: 0; transition: opacity .4s;
}
.ci-flight.is-on { opacity: 1; }

/* ---------- les écrans ---------- */
.sc { position: relative; }
.js .sc { height: 100vh; height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; }

/* la photo plein écran : elle s'ouvre en cercle depuis le point de l'escale */
.sc-bg { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.sc-bg::before { content: ""; position: absolute; inset: 0; background: var(--img) var(--pos, 50% 50%) / cover no-repeat; }
.sc-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 19, 39, .55) 0%, rgba(8, 19, 39, 0) 20%, rgba(8, 19, 39, 0) 38%, rgba(8, 19, 39, .78) 74%, rgba(8, 19, 39, .94) 100%),
    linear-gradient(90deg, rgba(8, 19, 39, .62) 0%, rgba(8, 19, 39, 0) 62%);
}
.sc-bg-paper { background: var(--paper); }
.sc-bg-paper::before {
  background:
    repeating-linear-gradient(180deg, rgba(37, 99, 235, 0) 0 31px, rgba(37, 99, 235, .13) 31px 32px),
    radial-gradient(ellipse at 30% 20%, #FFFDF7 0%, var(--paper) 55%, var(--paper-2) 100%);
}
.sc-bg-paper::after { background: linear-gradient(90deg, rgba(181, 58, 30, .22) 0 2px, transparent 2px) calc(var(--gutter) - 22px) 0 / 100% 100% no-repeat; }

.js .sc-bg {
  position: fixed; z-index: 2; visibility: hidden;
  clip-path: circle(0px at var(--cx, 50%) var(--cy, 50%));
  transition: clip-path .75s cubic-bezier(.55, 0, .8, .2), visibility 0s .75s;
}
.js .sc.is-revealed .sc-bg {
  visibility: visible;
  clip-path: circle(var(--cr, 150vmax) at var(--cx, 50%) var(--cy, 50%));
  transition: clip-path 1.25s cubic-bezier(.65, 0, .25, 1), visibility 0s;
}
/* lent zoom arrière sur la photo, comme au cinéma */
.js .sc-bg::before { scale: 1.16; transition: scale .8s; }
.js .sc.is-revealed .sc-bg::before { scale: 1; transition: scale 9s var(--ease-out); }
.js .sc-bg-paper::before { scale: 1; }

/* le texte et les souvenirs, au-dessus du globe */
.sc-fg { position: relative; padding: 110px var(--gutter) 60px; }
.js .sc-fg {
  position: fixed; inset: 0; z-index: 4; padding: 0; pointer-events: none;
  visibility: hidden; opacity: 0;
  transition: opacity .4s, visibility 0s .4s;
}
.js .sc.is-shown .sc-fg { visibility: visible; opacity: 1; transition: opacity .4s, visibility 0s; }
.js .sc-fg > * { pointer-events: auto; }

.sc-text { max-width: min(640px, 100%); text-shadow: 0 2px 18px rgba(8, 19, 39, .5); }
.js .sc-text { position: absolute; left: var(--gutter); bottom: clamp(28px, 9vh, 96px); width: min(640px, calc(100vw - 2 * var(--gutter))); }
.sc-text h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: 1.02; margin: 10px 0 22px; }
.sc-text h2 { font-size: clamp(2.1rem, 4.6vw, 4.1rem); line-height: 1.04; margin: 6px 0 16px; }
.sc-text p { font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: rgba(255, 255, 255, .92); max-width: 36em; }
.sc-text .ci-kicker { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--gold); line-height: 1.1; }
.sc-text .ci-step { font-size: clamp(1.35rem, 2vw, 1.7rem); color: var(--gold); margin-top: 14px; line-height: 1.1; }
.ci-mark { color: var(--coral-light); background: linear-gradient(transparent 82%, rgba(255, 122, 89, .55) 82% 94%, transparent 94%); }
.sc-text .ci-lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); max-width: 32em; }

.js .sc-text-intro { bottom: auto; top: 50%; translate: 0 -46%; width: min(600px, calc(100vw - 2 * var(--gutter))); }
.ci-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-size: 1.5rem; color: var(--gold); }
.ci-hint svg { animation: ci-bob 1.8s ease-in-out infinite; }
@keyframes ci-bob { 50% { translate: 0 7px; } }

/* les éléments arrivent l'un après l'autre */
.js .sc-text > * { opacity: 0; translate: 0 26px; transition: opacity .5s, translate .5s; }
.js .sc.is-shown .sc-text > * { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease-out), translate .9s var(--ease-out); }
.js .sc.is-shown .sc-text > :nth-child(2) { transition-delay: .08s; }
.js .sc.is-shown .sc-text > :nth-child(3) { transition-delay: .16s; }
.js .sc.is-shown .sc-text > :nth-child(4) { transition-delay: .26s; }
.js .sc.is-shown .sc-text > :nth-child(5) { transition-delay: .36s; }
.js .sc.is-shown .sc-text > :nth-child(n+6) { transition-delay: .44s; }

/* tampon de voyage */
.ci-stamp {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  padding: 7px 16px 6px; border-radius: 7px;
  background: var(--paper); color: var(--coral-ink);
  border: 3px solid currentColor; outline: 1.5px dashed currentColor; outline-offset: -8px;
  font-family: var(--title); font-weight: 800; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.15;
  rotate: var(--r, -4deg); text-shadow: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}
.ci-stamp small { font-size: .72rem; font-weight: 700; letter-spacing: .03em; text-transform: none; }
.ci-stamp-blue { color: var(--ocean-ink); }
.sc-text .ci-stamp { color: var(--coral-ink); max-width: none; }
.sc-text .ci-stamp-blue { color: var(--ocean-ink); }

/* polaroïd scotché */
.ci-polaroid {
  margin: 0; background: #fff; padding: 12px 12px 0; width: clamp(190px, 19vw, 290px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  rotate: var(--r, 3deg);
}
.ci-polaroid::before {
  content: ""; position: absolute; left: 50%; top: -14px; width: 92px; height: 28px; translate: -50% 0; rotate: -3deg;
  background: rgba(255, 228, 160, .78); box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}
.ci-polaroid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ci-polaroid figcaption { color: var(--ink); font-size: 1.45rem; line-height: 1.1; text-align: center; padding: 10px 4px 14px; }
.js .ci-polaroid { position: absolute; right: calc(var(--gutter) + 3vw); top: 56%; translate: 0 -42%; }
.js .ci-polaroid { opacity: 0; scale: 1.12; rotate: calc(var(--r, 3deg) * -2.5); transition: opacity .4s, scale .4s, rotate .4s; }
.js .sc.is-shown .ci-polaroid { opacity: 1; scale: 1; rotate: var(--r, 3deg); transition: opacity .7s .35s, scale .9s .35s var(--ease-out), rotate 1s .35s var(--ease-out); }

.ci-polaroid-empty .ci-empty { aspect-ratio: 4 / 5; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #F4EEE2 0 12px, #EFE7D6 12px 24px); }
.ci-polaroid-empty .ci-empty span { font-size: 1.6rem; color: var(--muted-ink); }

/* la page blanche (Thaïlande) : texte à l'encre */
.sc-blank .sc-text { text-shadow: none; }
.sc-blank .sc-text h2 { color: var(--ink); }
.sc-blank .sc-text p { color: var(--ink); }
.sc-blank .sc-text .ci-step { color: var(--coral-ink); }
.sc-blank .ci-link { color: var(--ocean-ink); }
.sc-blank .ci-link:hover { text-decoration-color: var(--ocean-ink); }

/* ---------- panneaux « papier » (explorer, appli, inscription) ---------- */
.sc-text-panel {
  background: var(--paper); color: var(--ink); text-shadow: none;
  border-radius: 16px; padding: clamp(22px, 3vw, 40px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .5);
}
.sc-text-panel::before {
  content: ""; position: absolute; left: 44px; top: -13px; width: 104px; height: 28px; rotate: -4deg;
  background: rgba(255, 201, 77, .72); box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}
.sc-text-panel h2 { color: var(--ink); font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.sc-text-panel p { color: var(--ink); }
.sc-text-panel .ci-kicker { color: var(--coral-ink); }
.sc-text-panel .ci-link { color: var(--ocean-ink); text-decoration-color: var(--coral); }
.sc-text-panel .ci-link:hover { text-decoration-color: var(--ocean-ink); }
.js .sc-text-panel { max-width: none; top: 50%; bottom: auto; translate: 0 -50%; width: min(460px, calc(100vw - 2 * var(--gutter))); max-height: calc(100svh - 120px); overflow: auto; overscroll-behavior: contain; margin-top: 30px; }
.js .sc-text-wide { width: min(1080px, calc(100vw - 2 * var(--gutter))); }
.js .sc-signup-panel { width: min(620px, calc(100vw - 2 * var(--gutter))); }
.js .sc-text-panel > * { translate: 0 18px; }


/* billets de l'appli */
.ci-tickets { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ci-tickets li {
  position: relative; background: #fff; border-radius: 12px; padding: 18px 16px 16px;
  border: 2px solid var(--ink); rotate: var(--r, 0deg);
  box-shadow: 4px 5px 0 var(--ink);
}
.ci-tickets li::after { content: ""; position: absolute; left: 12px; right: 12px; top: 44px; border-top: 2px dashed rgba(11, 26, 51, .35); }
.ci-tickets span { display: inline-block; font-family: var(--title); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); }
.ci-tickets strong { display: block; margin-top: 18px; font-family: var(--title); font-size: 1.05rem; line-height: 1.25; }
.ci-tickets p { margin-top: 6px; font-size: .93rem; color: var(--muted-ink); }

/* formulaire d'inscription */
.ci-form { margin-top: 20px; display: grid; gap: 12px; }
.ci-f-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.ci-f { display: grid; gap: 5px; font-weight: 700; font-size: .95rem; }
.ci-f i { font-style: normal; font-weight: 400; color: var(--muted-ink); }
.ci-f input {
  font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 10px;
  border: 2px solid #B9A98A; background: #fff; color: var(--ink);
}
.ci-f input:focus { outline: 3px solid var(--ocean); outline-offset: 1px; border-color: var(--ocean); }
.ci-chk { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; cursor: pointer; }
.ci-chk input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ocean); flex: none; }
.ci-form .ci-btn { justify-self: start; margin-top: 4px; }
.ci-f-note { font-size: .86rem; color: var(--muted-ink); }
.ci-f-note a { color: var(--ocean-ink); }
.f-msg { font-weight: 700; color: var(--ocean-ink); min-height: 1.2em; }
.f-msg.bad { color: var(--coral-ink); }
.ci-form.done .ci-f-row, .ci-form.done .ci-chk, .ci-form.done .ci-btn, .ci-form.done .ci-f-note { display: none; }
.ci-form.done .f-msg { font-size: 1.15rem; padding: 14px 16px; border-radius: 12px; background: #E7F0FF; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ci-foot-links { margin-top: 18px; font-size: .88rem; color: var(--muted-ink); }
.ci-foot-links a { color: var(--ink); }

/* crédit d'une photo qui n'est pas de nous */
.sc-credit { position: absolute; right: var(--gutter); bottom: 12px; margin: 0; font-size: .74rem; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }

/* ---------- « Explorez » : le tableau des départs ---------- */
.js .ci-explore { top: 52%; bottom: auto; translate: 0 -46%; width: min(560px, calc(100vw - 2 * var(--gutter))); max-width: none; }
.ci-explore h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 10px; }
.ci-explore-lead { margin-bottom: 16px; }
.ci-board {
  background: #0A0F1A; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); text-shadow: none;
}
.ci-board-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #141B2B; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ci-board-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--title); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-size: .95rem; }
.ci-board-count { color: #D6DEEB; font-size: .9rem; white-space: nowrap; }
.ci-board-count b { font-family: var(--title); color: #fff; font-size: 1.05rem; }
.ci-board-clock { margin-left: auto; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-weight: 700; color: var(--gold); background: #000; padding: 3px 8px; border-radius: 6px; letter-spacing: .08em; }
.ci-board-filters { display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ci-board-filters::-webkit-scrollbar { display: none; }
.ci-board-filters button {
  flex: none; font: 700 .85rem var(--title); color: #E6ECF5; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: background .2s, color .2s;
}
.ci-board-filters button:hover { background: rgba(255, 255, 255, .14); }
.ci-board-filters button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.ci-board-cols, .ci-board-rows button { display: grid; grid-template-columns: 68px 1fr auto; gap: 12px; align-items: center; }
.ci-board-cols { padding: 8px 16px 6px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9FB0C8; }
.ci-board-cols span:last-child { text-align: right; }
.ci-board-rows { list-style: none; margin: 0; padding: 0 0 6px; max-height: min(33vh, 300px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #2A3550 transparent; }
.ci-board-rows li { border-top: 1px solid rgba(255, 255, 255, .06); }
.ci-board-rows li[hidden] { display: none; }
.ci-board-rows button {
  width: 100%; padding: 9px 16px; background: transparent; border: 0; color: #fff; text-align: left; cursor: pointer; font: inherit;
  transition: background .15s;
}
.ci-board-rows button:hover, .ci-board-rows button:focus-visible, .ci-board-rows button.is-on { background: rgba(255, 201, 77, .1); }
.b-when { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-weight: 700; font-size: .82rem; color: #fff; background: #1D2740; border-radius: 4px; padding: 3px 0; text-align: center; letter-spacing: .04em; }
.b-when.is-vecu { background: var(--coral); color: var(--ink); }
.b-dest { font-family: var(--title); font-weight: 800; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-dest small { display: block; font-family: var(--body); font-weight: 600; font-size: .8rem; letter-spacing: 0; text-transform: none; color: #C8D3E3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-go { display: inline-flex; align-items: center; gap: 6px; font: 700 .8rem var(--title); color: var(--ink); background: var(--coral); border-radius: 999px; padding: 6px 11px; transition: transform .2s; }
.ci-board-rows button:hover .b-go, .ci-board-rows button.is-on .b-go { transform: translateX(3px); }
.ci-board-nojs { padding: 14px 16px; }
.ci-board-nojs a { color: var(--gold); }

/* ---------- « La parole aux familles » : cartes postales ---------- */
.js .ci-talk { top: 50%; bottom: auto; translate: 0 -46%; width: calc(100vw - 2 * var(--gutter)); max-width: 1180px; display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ci-talk h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.ci-qmonth { margin-top: 18px; background: var(--gold); color: var(--ink); border-radius: 4px; padding: 14px 16px 12px; rotate: -1.5deg; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); text-shadow: none; max-width: 380px; }
.ci-qmonth b { font-size: 1.45rem; line-height: 1; }
.sc-text .ci-qmonth p { color: var(--ink); font-weight: 700; font-size: 1.02rem; margin: 6px 0 8px; }
.ci-qmonth a { font-family: var(--title); font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ci-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; text-shadow: none; }
.ci-card { rotate: var(--r, 0deg); transition: rotate .3s, translate .3s; }
.ci-card:hover { rotate: 0deg; translate: 0 -4px; }
.ci-card a {
  position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none; color: var(--ink);
  background: var(--paper); border-radius: 6px; padding: 18px 18px 16px;
  background-image: linear-gradient(90deg, transparent calc(100% - 1px), rgba(11, 26, 51, .08) 0), repeating-linear-gradient(180deg, transparent 0 27px, rgba(37, 99, 235, .1) 27px 28px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.ci-card-stamp {
  position: absolute; right: 12px; top: -12px; padding: 4px 10px; border: 2px dashed var(--coral-ink); border-radius: 4px; background: var(--paper);
  font: 800 .72rem var(--title); letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); rotate: 4deg;
}
.ci-card-who { font-size: 1.7rem; line-height: 1; color: var(--ocean-ink); }
.ci-card-txt { font-size: .98rem; line-height: 1.45; }
.ci-card-on { font-size: .8rem; color: var(--muted-ink); }
.ci-card-rep { margin-top: 4px; padding: 8px 10px; background: #E7F0FF; border-left: 3px solid var(--ocean); border-radius: 4px; font-size: .88rem; line-height: 1.4; }
.ci-card-rep b { color: var(--ocean-ink); }
.js .ci-cards .ci-card { opacity: 0; translate: 0 30px; transition: opacity .5s, translate .5s, rotate .3s; }
.js .sc.is-shown .ci-cards .ci-card { opacity: 1; translate: 0 0; transition: opacity .7s var(--ease-out), translate .8s var(--ease-out), rotate .3s; }
.js .sc.is-shown .ci-cards .ci-card:nth-child(2) { transition-delay: .12s; }
.js .sc.is-shown .ci-cards .ci-card:nth-child(3) { transition-delay: .24s; }
.js .sc.is-shown .ci-cards .ci-card:nth-child(4) { transition-delay: .36s; }
.js .sc.is-shown .ci-cards .ci-card:hover { translate: 0 -4px; transition-delay: 0s; }

/* ---------- points de navigation ---------- */
.ci-dots { position: fixed; right: 20px; top: 50%; translate: 0 -50%; z-index: 40; display: flex; flex-direction: column; gap: 13px; }
.ci-dots a { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .8); transition: background .3s, scale .3s, border-color .3s; }
.ci-dots a::before { content: ""; position: absolute; inset: -8px; }
.ci-dots a span {
  position: absolute; right: 22px; top: 50%; translate: 0 -50%; white-space: nowrap;
  background: var(--paper); color: var(--ink); font-family: var(--title); font-weight: 700; font-size: .8rem;
  padding: 3px 9px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.ci-dots a:hover span, .ci-dots a:focus-visible span { opacity: 1; }
.ci-dots a.is-active { background: var(--coral); border-color: var(--coral); scale: 1.3; }
.on-light .ci-dots a { border-color: rgba(11, 26, 51, .7); }
.on-light .ci-dots a.is-active { border-color: var(--coral-ink); background: var(--coral-ink); }

/* bulle d'une destination (écran « Explorez ») */
.ci-pin-tip {
  position: fixed; left: 0; top: 0; z-index: 30; width: 270px;
  background: var(--paper); color: var(--ink); border-radius: 14px; padding: 14px 16px 15px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; scale: .92; transition: opacity .2s, scale .2s, visibility 0s .2s;
}
.ci-pin-tip.is-on { opacity: 1; visibility: visible; scale: 1; transition: opacity .2s, scale .25s var(--ease-out), visibility 0s; }
.ci-pin-tip strong { display: block; font-family: var(--title); font-size: 1.15rem; }
.ci-pin-tip span { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.35; color: var(--muted-ink); }
.ci-pin-tip a { display: inline-block; margin-top: 10px; font-family: var(--title); font-weight: 700; color: var(--ocean-ink); text-underline-offset: 4px; }
.ci-pin-tip button { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.ci-pin-tip button:hover { background: rgba(11, 26, 51, .08); }

/* ---------- téléphone et tablette ---------- */
@media (max-width: 820px) {
  .sc-credit { right: auto; left: 16px; bottom: auto; top: 64px; font-size: .68rem; }
  .js .ci-polaroid ~ .sc-credit { top: auto; bottom: 6px; left: auto; right: 12px; }
  .js .ci-explore { top: auto; bottom: 14px; translate: none; width: calc(100vw - 32px); }
  .ci-explore .ci-kicker, .ci-explore-lead, .ci-explore > .ci-link { display: none; }
  .ci-explore h2 { font-size: 1.7rem; margin: 0 0 10px; }
  .ci-board-rows { max-height: 30svh; }
  .ci-board-cols, .ci-board-rows button { grid-template-columns: 56px 1fr auto; gap: 10px; }
  .ci-board-top { padding: 10px 12px; } .ci-board-filters { padding: 8px 12px; } .ci-board-rows button { padding: 8px 12px; } .ci-board-cols { padding: 6px 12px 4px; }
  .b-go { padding: 5px 9px; }
  .js .ci-talk { top: 70px; bottom: 12px; translate: none; width: calc(100vw - 32px); display: flex; flex-direction: column; align-items: stretch; gap: 14px; overflow: hidden; }
  .ci-talk h2 { font-size: 1.9rem; margin-bottom: 8px; }
  .ci-talk-intro > p:not(.ci-kicker) { font-size: .95rem; }
  .ci-qmonth { margin-top: 10px; padding: 10px 12px; }
  .ci-talk .ci-actions { margin-top: 12px; }
  .ci-talk .ci-btn { padding: 11px 16px; font-size: .9rem; }
  .ci-cards { width: 100%; min-width: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 10px; margin: 0 -4px; touch-action: pan-x pan-y; scrollbar-width: none; }
  .ci-cards::-webkit-scrollbar { display: none; }
  .ci-card { flex: 0 0 82%; scroll-snap-align: center; }
  .hide-sm { display: none; }
  .ci-dots { display: none; }
  .ci-top { padding: 10px 16px; }
  .js .sc-text { left: 16px; bottom: 24px; width: calc(100vw - 32px); }
  .sc-text h1 { font-size: clamp(2.1rem, 9.5vw, 3rem); margin: 6px 0 14px; }
  .sc-text h2 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .sc-text p { font-size: 1rem; }
  .js .sc-text-intro { top: auto; bottom: 24px; translate: none; }
  .ci-hint { display: none; }
  .ci-actions { margin-top: 20px; }
  .ci-stamp { font-size: 1rem; }
  .js .ci-polaroid { right: auto; left: 16px; top: 78px; translate: none; width: min(31vw, 150px); padding: 7px 7px 0; }
  .ci-polaroid figcaption { font-size: 1.05rem; padding: 6px 2px 9px; }
  .ci-polaroid::before { width: 60px; height: 20px; top: -10px; }
  .js .sc-text-panel { top: auto; bottom: 16px; translate: none; left: 16px; width: calc(100vw - 32px); max-height: calc(100svh - 96px); margin: 0; padding: 22px 20px; }
  .ci-tickets { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ci-tickets li { padding: 14px 12px 12px; box-shadow: 3px 4px 0 var(--ink); }
  .ci-tickets li::after { top: 38px; }
  .ci-tickets strong { margin-top: 14px; font-size: .98rem; }
  .ci-tickets p { display: none; }
  .ci-f-row { grid-template-columns: 1fr; }
  .ci-pin-tip { width: min(270px, calc(100vw - 32px)); }
}
@media (max-width: 480px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .ci-brand span { font-size: 1rem; }
  .ci-brand img { width: 30px; height: 30px; }
}
@media (max-width: 820px) and (max-height: 700px) {
  .js .ci-polaroid { display: none; }
  .sc-text h2 { font-size: 1.75rem; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .sc-bg, .js .sc.is-revealed .sc-bg { clip-path: none; }
  .js .sc-bg { opacity: 0; transition: opacity .3s, visibility 0s .3s; }
  .js .sc.is-revealed .sc-bg { opacity: 1; transition: opacity .3s, visibility 0s; }
  .js .sc-bg::before, .js .sc.is-revealed .sc-bg::before { scale: 1; transition: none; }
  .js .sc-text > *, .js .sc.is-shown .sc-text > * { translate: none; transition: opacity .3s; }
  .js .ci-polaroid, .js .sc.is-shown .ci-polaroid { scale: 1; rotate: var(--r, 3deg); transition: opacity .3s; }
  .ci-hint svg { animation: none; }
  .ci-btn:hover { transform: none; }
}

/* ---------- sans JavaScript : une page simple, écran par écran ---------- */
html:not(.js) .ci-stage, html:not(.js) .ci-dots, html:not(.js) .ci-place, html:not(.js) .ci-flight, html:not(.js) .ci-pin-tip { display: none; }
html:not(.js) .sc { min-height: 100vh; display: flex; align-items: flex-end; }
html:not(.js) .sc-fg { position: relative; z-index: 1; width: 100%; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
html:not(.js) .ci-polaroid { position: relative; order: 2; }

/* bulle : le genre de carnet, et la liste qui sert de repère pour se placer sur la ligne choisie */
.ci-pin-tip em { display: block; font-style: normal; font: 800 .72rem var(--title); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 2px; }
.ci-board-rows { position: relative; }

/* ---------- sommaire, progression, raccourcis : ne jamais se perdre ---------- */
.ci-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60; background: rgba(255, 255, 255, .08); }
.ci-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .6s var(--ease-out); }
.ci-menu-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 999px; padding: 8px 14px; font: 700 .9rem var(--title); cursor: pointer; }
.ci-menu-btn:hover { background: rgba(255, 255, 255, .18); }
.ci-menu-ic { display: inline-flex; flex-direction: column; gap: 3px; }
.ci-menu-ic i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.on-light .ci-menu-btn { color: var(--ink); border-color: rgba(11, 26, 51, .4); background: rgba(11, 26, 51, .06); }
.ci-sommaire { position: fixed; inset: 0; z-index: 80; background: rgba(4, 10, 22, .72); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.ci-sommaire[hidden] { display: none; }
.ci-som-in { position: relative; width: min(520px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: var(--paper); color: var(--ink); border-radius: 18px; padding: 26px 26px 20px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.ci-som-in .ci-hand { font-size: 1.8rem; color: var(--coral-ink); margin-bottom: 8px; }
.ci-som-in ol { list-style: none; margin: 0; padding: 0; counter-reset: som; display: grid; gap: 4px; }
.ci-som-in li { counter-increment: som; }
.ci-som-in a { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.ci-som-in a::before { content: counter(som); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); font: 800 .9rem var(--title); }
.ci-som-in a:hover, .ci-som-in a:focus-visible { background: rgba(37, 99, 235, .08); }
.ci-som-in a.is-here { background: rgba(255, 122, 89, .14); }
.ci-som-in a.is-here::before { background: var(--coral); border-color: var(--coral); }
.ci-som-in b { font: 700 1.02rem var(--title); }
.ci-som-in span { color: var(--muted-ink); font-size: .9rem; }
.ci-som-close { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 1.8rem; line-height: 1; color: var(--ink); cursor: pointer; }
.ci-som-close:hover { background: rgba(11, 26, 51, .08); }
.ci-shortcuts { margin-top: 18px; font-size: .98rem !important; color: rgba(255, 255, 255, .85) !important; }
.ci-shortcuts a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; }

/* ---------- le compte à rebours des vacances ---------- */
.js .ci-cdown { top: 52%; bottom: auto; translate: 0 -48%; width: calc(100vw - 2 * var(--gutter)); max-width: 1120px; display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 4vw, 60px); align-items: center; }
.ci-cdown h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.ci-cdown .cd-name { color: var(--gold); }
.ci-cd-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 120px)); gap: 12px; margin: 22px 0 14px; text-shadow: none; perspective: 400px; }
.ci-cd-tiles > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ci-cd-tiles b {
  position: relative; display: block; width: 100%; padding: 14px 0 12px; text-align: center; border-radius: 12px;
  background: linear-gradient(180deg, #161D2E 0 50%, #0A0F1A 50% 100%); border: 1px solid rgba(255, 255, 255, .12);
  font: 800 clamp(2.2rem, 4.4vw, 3.6rem)/1 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.ci-cd-tiles b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(0, 0, 0, .65); }
.ci-cd-tiles b.flip { animation: ci-flip .45s ease-in-out; }
@keyframes ci-flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-80deg); } 100% { transform: rotateX(0); } }
.ci-cd-tiles span { font-size: .85rem; font-weight: 700; color: #D6DEEB; text-transform: uppercase; letter-spacing: .08em; }
.sc-text .ci-cd-zone { font-weight: 700; color: #fff; }
.ci-cd-ideas a { display: inline-block; margin: 6px 8px 0 0; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); color: #fff; font: 700 .9rem var(--title); text-decoration: none; text-shadow: none; }
.ci-cd-ideas a:hover { background: rgba(255, 255, 255, .2); }
.ci-passes { display: grid; gap: 12px; text-shadow: none; }
.ci-pass {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; width: 100%; text-align: left; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 0; border-left: 6px solid var(--coral); border-radius: 12px; padding: 12px 16px; font: inherit;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .4); transition: translate .25s, background .25s;
}
.ci-pass:hover { translate: -4px 0; }
.ci-pass b { font: 800 1.12rem var(--title); }
.ci-pass small { grid-column: 1; color: var(--muted-ink); font-size: .86rem; }
.ci-pass em { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font: 800 .78rem var(--title); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); border-left: 2px dashed rgba(11, 26, 51, .25); padding-left: 12px; text-align: center; }
.ci-pass[aria-pressed="true"] { background: var(--gold); border-left-color: var(--ink); }
.ci-pass[aria-pressed="true"] em, .ci-pass[aria-pressed="true"] small { color: var(--ink); }

/* ---------- le jeu des parents voyageurs ---------- */
.js .ci-jeu { top: 52%; bottom: auto; translate: 0 -48%; width: calc(100vw - 2 * var(--gutter)); max-width: 1120px; display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 520px); gap: clamp(24px, 4vw, 60px); align-items: center; }
.ci-jeu h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.ci-jeu-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.ci-jeu-links a { color: #fff; font: 700 1rem var(--title); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ci-game { background: var(--paper); color: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 0 34px 90px rgba(0, 0, 0, .5); text-shadow: none; max-height: calc(100svh - 150px); display: flex; flex-direction: column; }
.ci-game-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; background: var(--ink); color: #fff; }
.ci-game-title { font: 800 .8rem var(--title); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ci-game .g-level { font-size: .82rem; font-weight: 700; color: #D6DEEB; }
.ci-game .g-card { padding: 18px 20px 20px; overflow: auto; overscroll-behavior: contain; }
.sc-text .ci-game p { color: var(--ink); }
.ci-game .g-step { margin: 0 0 6px; font: 800 .75rem var(--title); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink) !important; }
.ci-game .g-q { margin: 0 0 14px; font: 700 1.2rem/1.3 var(--title); }
.ci-game .g-opts { display: grid; gap: 8px; }
.ci-game .g-opt { text-align: left; padding: 12px 14px; border-radius: 12px; border: 2px solid #D9CCB2; background: #fff; color: var(--ink); font: 600 1rem var(--body); cursor: pointer; transition: border-color .2s, background .2s; }
.ci-game .g-opt:hover:not(:disabled) { border-color: var(--ocean); background: #F2F6FF; }
.ci-game .g-opt:disabled { cursor: default; }
.ci-game .g-opt.is-good { border-color: #15803D; background: #DCFCE7; }
.ci-game .g-opt.is-bad { border-color: #B91C1C; background: #FEE2E2; }
.ci-game .g-feedback { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #E7F0FF; }
.ci-game .g-feedback.ko { background: #FFF1E6; }
.ci-game .g-feedback p { margin: 4px 0 6px; font-size: .95rem; }
.ci-game .g-feedback a, .ci-game .g-more { color: var(--ocean-ink); font-weight: 700; }
.ci-game .btn { display: inline-flex; margin-top: 12px; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--coral); background: var(--coral); color: var(--ink); font: 700 .95rem var(--title); cursor: pointer; }
.ci-game .btn-ghost { background: transparent; border-color: var(--ink); }
.ci-game .g-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ci-game .g-big { margin: 0; font: 800 3rem var(--title); color: var(--coral-ink) !important; }
.ci-game h3 { margin: 4px 0 6px; font: 800 1.3rem var(--title); }
.sc-text .ci-game .g-lv, .sc-text .ci-game .meta { color: var(--muted-ink); font-size: .92rem; margin: 4px 0; }

@media (max-width: 820px) {
  .ci-menu-btn { padding: 8px 11px; }
  .js .ci-cdown { top: 66px; bottom: 12px; translate: none; width: calc(100vw - 32px); display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
  .ci-cdown h2 { font-size: 1.75rem; }
  .ci-cd-tiles { gap: 8px; margin: 14px 0 8px; grid-template-columns: repeat(4, 1fr); }
  .ci-cd-tiles b { font-size: 2rem; padding: 10px 0 8px; }
  .ci-cd-tiles span { font-size: .7rem; }
  .ci-passes { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; touch-action: pan-x pan-y; }
  .ci-passes::-webkit-scrollbar { display: none; }
  .ci-pass { flex: 0 0 72%; }
  .js .ci-jeu { top: 66px; bottom: 12px; translate: none; width: calc(100vw - 32px); display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
  .ci-jeu h2 { font-size: 1.7rem; margin-bottom: 4px; }
  .ci-jeu-intro > p:not(.ci-kicker):not(.ci-jeu-links) { display: none; }
  .ci-jeu-links { margin-top: 6px; font-size: .9rem; }
  .ci-game { max-height: none; flex: 1; min-height: 0; }
  .ci-game .g-q { font-size: 1.05rem; }
  .ci-game .g-opt { padding: 10px 12px; font-size: .95rem; }
  .ci-shortcuts { display: none; }
}

@media (max-width: 480px) {
  .ci-top { gap: 8px; }
  .ci-nav { gap: 8px; }
  .ci-top .ci-btn-sm { white-space: nowrap; padding: 8px 12px; font-size: .84rem; }
  .ci-brand { gap: 7px; }
}

/* tablette : bouton court et sur une ligne */
@media (max-width: 820px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .ci-top .ci-btn-sm { white-space: nowrap; }
  .ci-brand { flex: none; }
}

/* petits téléphones (320 px) */
@media (max-width: 400px) {
  .ci-board-clock { display: none; }
  .b-go-t { display: none; }
  .b-go { padding: 6px 10px; }
}
.cta-short { display: none; }
@media (max-width: 400px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
}
@media (max-width: 420px) {
  .ci-top { padding: 8px 12px; gap: 6px; }
  .ci-nav { gap: 6px; }
  .ci-top .ci-btn-sm { padding: 7px 12px; font-size: .82rem; }
}
@media (max-width: 360px) {
  .ci-top { padding: 8px 10px; gap: 6px; }
  .ci-nav { gap: 6px; }
  .ci-brand { gap: 6px; }
  .ci-brand span { font-size: .9rem; }
  .ci-brand img { width: 26px; height: 26px; }
  .ci-menu-btn { padding: 7px 9px; }
  .ci-top .ci-btn-sm { padding: 7px 10px; font-size: .78rem; }
}

/* en-tête : le bouton reste sur une ligne ; sur portable étroit, un lien de moins (il reste dans le sommaire) */
.ci-top .ci-btn-sm, .ci-nav > a, .ci-menu-btn { white-space: nowrap; }
@media (max-width: 1180px) { .hide-md { display: none; } }
