/* Valise : theme sombre par defaut, accent corail. */
:root {
  --paper: #FFF9F1; --paper2: #FFF1E2; --card: #FFFFFF;
  --ink: #12263F; --ink-soft: #40566F; --mist: #7E8DA0; --line: #F0E3D3; --line2: #E6D5C0;
  --coral: #FF6B4A; --amber: #FFA94D; --coral-deep: #E85535;
  --grad: linear-gradient(100deg, #FF6B4A, #FFA94D);
  --on-grad: #2A1206;
  --shadow: 0 10px 30px rgba(232, 85, 53, .10), 0 2px 8px rgba(18, 38, 63, .06);
  --shadow-lg: 0 24px 60px rgba(232, 85, 53, .14), 0 6px 18px rgba(18, 38, 63, .08);
  --glass: rgba(255, 255, 255, .72);
  --sel: rgba(255, 107, 74, .09);
  --r: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #0E1319; }
}
:root[data-theme="dark"] {
  --paper: #0E1319; --paper2: #161F29; --card: #1A2430;
  --ink: #EAF1F8; --ink-soft: #B6C2CF; --mist: #8A98A8; --line: #28323D; --line2: #37454F;
  --shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 2px 8px rgba(0, 0, 0, .4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6), 0 6px 18px rgba(0, 0, 0, .45);
  --glass: rgba(20, 28, 37, .72);
  --sel: rgba(255, 107, 74, .12);
  --on-grad: #1B0D05;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper); color: var(--ink);
  min-height: 100vh; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
:where(a, summary, .qz-back, .qz-len, .ex-go):focus-visible { border-radius: 8px; }
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; letter-spacing: -.03em; margin: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.center { text-align: center; display: flex; justify-content: center; }
.ic { flex: none; display: block; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 100px; border: 1px solid transparent;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; white-space: nowrap;
  position: relative; overflow: hidden;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
}
.btn.sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn.sun { background: var(--grad); color: var(--on-grad); box-shadow: 0 8px 24px rgba(255, 107, 74, .32); }
.btn.sun:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255, 107, 74, .42); }
.btn.sun:disabled { opacity: .45; box-shadow: none; transform: none; cursor: not-allowed; }
.btn.ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--line2); }

/* ---------- En-tete ---------- */
#head { position: sticky; top: 0; z-index: 50; padding: 12px clamp(12px, 4vw, 52px) 0; }
.hd {
  max-width: 1180px; margin: 0 auto; height: 56px; padding: 0 9px 0 12px;
  display: flex; align-items: center; gap: 14px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 100px;
  box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.logo { display: flex; align-items: center; gap: 9px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: -.04em; }
.logomark { width: 32px; height: 32px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.logomark .ic { fill: #fff; stroke: #fff; }
.word i { font-style: normal; color: var(--coral); }
.hd-nav { display: flex; gap: 2px; margin-left: auto; }
.hd-nav a { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; color: var(--ink-soft); padding: 9px 13px; border-radius: 100px; }
.hd-nav a:hover { color: var(--ink); background: var(--sel); }
.hd-r { display: flex; align-items: center; gap: 8px; }
.themebtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; color: var(--ink-soft); }
@media (max-width: 720px) { .hd-nav, .hide-s { display: none; } .hd-r { margin-left: auto; } .hd .btn.sun { padding: 0 14px; } }
@media (max-width: 420px) { .hide-xs { display: none; } .hd .btn.ghost { padding: 0 11px; } }

/* ---------- Accueil ---------- */
.land { margin-top: -68px; }
.hero { position: relative; min-height: 760px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 16px 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: #0b1520 center/cover no-repeat; opacity: 0; transition: opacity .8s ease; }
.hero-bg.loaded, .hero-bg.nophoto { opacity: 1; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 13, 19, .55), rgba(8, 13, 19, .28) 40%, rgba(14, 19, 25, .85) 92%, var(--paper)); }
.hero-bg.nophoto { background: radial-gradient(60% 50% at 50% 30%, rgba(255, 169, 77, .25), transparent 70%), #0b1520; }
.hero-in { position: relative; max-width: 980px; color: #fff; }
.h1 { font-size: clamp(38px, 6.4vw, 76px); font-weight: 700; line-height: 1.04; letter-spacing: -.045em; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero-sub { max-width: 440px; margin: 22px auto 30px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.cta-bar { display: flex; align-items: center; gap: 8px; max-width: 520px; margin: 0 auto; padding: 7px 7px 7px 18px; border-radius: 100px; background: rgba(16, 22, 30, .78); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); backdrop-filter: blur(10px); }
.cta-pin { color: var(--coral); }
.cta-bar input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font-size: 15px; font-family: inherit; }
.cta-bar input::placeholder { color: rgba(255, 255, 255, .55); }
.modes { display: flex; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.modes button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 100px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .88); font-size: 13px; font-weight: 600; }
.modes button:hover { background: rgba(255, 255, 255, .14); }
.partners { margin: 44px auto 0; max-width: 760px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.pt-track { display: flex; align-items: center; gap: 26px; width: max-content; animation: marquee 28s linear infinite; }
.pt { display: inline-flex; align-items: center; gap: 9px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 19px; color: #fff; white-space: nowrap; }
.pt i { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-style: normal; font-size: 14px; color: #fff; }
.pt-dot { color: rgba(255, 255, 255, .4); }
.pt-note { font-size: 12px; color: rgba(255, 255, 255, .65); margin-top: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.demo { padding: 0 16px; margin-top: -40px; position: relative; }
.demo-card { max-width: 1040px; margin: 0 auto; border-radius: 28px; overflow: hidden; position: relative; min-height: 460px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: flex; align-items: flex-end; }
.demo-photo { position: absolute; inset: 0; background: #1a2430 center/cover; }
.demo-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 14, 20, .92) 0%, rgba(10, 14, 20, .65) 45%, rgba(10, 14, 20, .1)); }
.demo-in { position: relative; padding: clamp(24px, 5vw, 52px); color: #fff; max-width: 560px; }
.demo-in h2 { font-size: clamp(30px, 4.5vw, 52px); margin: 8px 0 22px; }
.demo-days { display: grid; gap: 10px; }
.demo-day { display: flex; gap: 14px; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(6px); }
.demo-card.fx-rv-in .demo-day { animation: rise .6s cubic-bezier(.22, .9, .3, 1) backwards; animation-delay: calc(.15s + var(--d) * .12s); }
.demo-day b { font-family: 'Sora', sans-serif; color: var(--amber); font-size: 13px; white-space: nowrap; }
.demo-day span { font-size: 14px; color: rgba(255, 255, 255, .9); }
.demo-books { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.demo-books span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 100px; background: var(--grad); color: var(--on-grad); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.say { text-align: center; padding: 110px 16px 40px; }
.h2 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; font-weight: 700; text-align: center; }
.say p, .sec-sub { color: var(--ink-soft); font-size: 15px; text-align: center; margin: 14px auto 26px; max-width: 520px; }
.r-kicker { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .78); }

.ex { padding: 90px 0 30px; scroll-margin-top: 90px; }
.ex-wrap { position: relative; max-width: 1240px; margin: 0 auto; }
.ex-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px clamp(16px, 5vw, 60px) 24px; scrollbar-width: none; }
.ex-track::-webkit-scrollbar { display: none; }
.ex-card { flex: 0 0 min(340px, 82vw); scroll-snap-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.ex-photo { height: 200px; background: var(--paper2) center/cover; }
.ex-in { padding: 18px 20px 20px; }
.ex-in small { font-size: 12px; color: var(--mist); }
.ex-in h3 { font-size: 24px; margin: 4px 0 12px; }
.ex-in ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.ex-in li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.ex-in li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--coral); }
.ex-go { background: none; border: 0; padding: 0; color: var(--coral); font-weight: 700; font-family: 'Sora', sans-serif; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.ex-nav { position: absolute; top: 120px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(8px); display: grid; place-items: center; }
.ex-nav.prev { left: 12px; } .ex-nav.next { right: 12px; }
.ex-note { text-align: center; color: var(--ink-soft); font-size: 14px; margin: 10px 0 18px; }
@media (max-width: 720px) { .ex-nav { display: none; } }

.faq { padding: 100px 16px 60px; scroll-margin-top: 80px; }
.faq-list { max-width: 680px; margin: 0 auto; display: grid; gap: 12px; }
.faq-i { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.faq-i summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary span { color: var(--coral); transition: transform .2s; }
.faq-i[open] summary span { transform: rotate(45deg); }
.faq-i p { margin: 0; padding: 0 20px 18px; color: var(--ink-soft); line-height: 1.6; font-size: 14px; }

.foot { border-top: 1px solid var(--line); margin-top: 60px; padding: 46px 16px 26px; }
.foot-in { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 30px; }
.foot-in div { display: grid; gap: 9px; align-content: start; font-size: 14px; color: var(--ink-soft); }
.foot-in b { font-size: 12px; letter-spacing: .08em; color: var(--mist); }
.foot-in a:hover { color: var(--coral); }
.foot-c { max-width: 1100px; margin: 34px auto 0; font-size: 12px; color: var(--mist); }
@media (max-width: 720px) { .foot-in { grid-template-columns: 1fr; } }

/* ---------- Questionnaire ---------- */
.qz { max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 52px) 60px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 6vw, 90px); align-items: start; }
.qz-main { max-width: 600px; width: 100%; }
.qz-modes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 100px; background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; }
.qz-modes button { border: 0; background: none; padding: 7px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.qz-modes button.on { background: var(--grad); color: var(--on-grad); }
.qz-chap { display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; }
.qz-chap span { color: var(--mist); }
.qz-chap b { font-family: 'Sora', sans-serif; font-weight: 600; }
.qz-len { margin-left: auto; border: 0; background: none; padding: 0; font-size: 12px; font-weight: 600; color: var(--coral); }
.qz-main > .qz-chap { max-width: 520px; }
.q-card.big { min-height: 92px; padding: 18px 48px 18px 18px; gap: 16px; }
.q-mic2 { width: 52px; height: 52px; border-radius: 15px; background: var(--sel); color: var(--coral); display: grid; place-items: center; flex: none; }
.q-idea.surprise { display: inline-flex; align-items: center; gap: 6px; border-color: rgba(255, 107, 74, .5); color: var(--coral); font-weight: 600; }
.qz-segs { display: flex; gap: 6px; margin: 10px 0 30px; max-width: 520px; }
.qz-segs i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.qz-segs b { display: block; width: 100%; height: 100%; background: var(--grad); border-radius: 4px; transform-origin: left center; transition: transform .5s cubic-bezier(.2, .8, .3, 1); }
.q-title { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; }
.q-hint { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; margin: 12px 0 0; max-width: 520px; }
.q-body { margin-top: 28px; display: grid; gap: 16px; }
.qz-navb { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; }
.qz-back { border: 0; background: none; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; padding: 8px 0; }
.qz-back:hover { color: var(--ink); }
.qz-next { min-width: 170px; }

.q-inputwrap { position: relative; display: flex; align-items: center; }
.q-inputwrap .q-lead { position: absolute; left: 18px; color: var(--coral); pointer-events: none; }
.q-input { width: 100%; background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 15px 18px; color: var(--ink); font: inherit; font-size: 15.5px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.q-input.big { height: 64px; font-size: 17px; }
.q-inputwrap.big .q-input { padding-left: 50px; }
.q-input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 74, .15); }
.q-input::placeholder { color: var(--mist); }
.q-area { resize: vertical; min-height: 140px; line-height: 1.5; padding-right: 52px; }
.q-area.sm { min-height: 64px; }
.q-mic { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper2); display: grid; place-items: center; color: var(--ink-soft); }
.q-inputwrap:not(:has(textarea)) .q-mic { top: auto; }
.q-mic.rec { background: var(--coral); color: #fff; border-color: var(--coral); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 107, 74, .2); } }

.q-place { position: relative; }
.q-sugg { position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line2); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 6px; display: none; }
.q-sugg.on { display: grid; }
.q-sopt { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; background: none; padding: 11px 12px; border-radius: 11px; color: var(--ink); }
.q-sopt:hover { background: var(--sel); }
.q-sopt .ic { color: var(--coral); }
.q-sopt small { color: var(--mist); margin-left: auto; font-size: 12px; text-align: right; }
.q-pop { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: color-mix(in srgb, var(--card) 50%, transparent); }
.q-pop-h { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.q-pop-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.q-popb { text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 11px; padding: 10px 11px; display: grid; gap: 3px; }
.q-popb b { font-family: 'Sora', sans-serif; font-size: 13px; }
.q-popb small { font-size: 11px; font-weight: 700; color: var(--coral); }
.q-popb:hover, .q-popb.on { border-color: var(--coral); }
.q-ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.q-idea { border: 1px solid var(--line); background: var(--card); border-radius: 100px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; }
.q-idea:hover { border-color: var(--coral); color: var(--coral); }
@media (max-width: 520px) { .q-pop-g { grid-template-columns: repeat(2, 1fr); } }

.q-grid { display: grid; gap: 10px; }
.q-grid.g1 { grid-template-columns: 1fr; }
.q-grid.g2 { grid-template-columns: repeat(2, 1fr); }
.q-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.q-grid.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .q-grid.g3, .q-grid.g4 { grid-template-columns: repeat(2, 1fr); } .q-grid.g2.g3m { grid-template-columns: 1fr; } }
.q-card { position: relative; text-align: left; display: flex; align-items: center; gap: 13px; min-height: 64px; padding: 15px 44px 15px 16px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); transition: border-color .18s, background .18s, transform .18s, box-shadow .18s; }
.q-grid.g3 .q-card { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 120px; padding: 16px 14px; }
.q-card:hover { border-color: var(--line2); transform: translateY(-1px); }
.q-card.on { border-color: var(--coral); background: var(--sel); box-shadow: 0 0 0 4px rgba(255, 107, 74, .1); }
.q-card.sm { min-height: 52px; padding: 10px 34px 10px 12px; gap: 9px; }
.q-card.sm .q-ct b { font-size: 13px; }
.q-cem { font-size: 24px; line-height: 1; }
.q-card.sm .q-cem { font-size: 18px; }
.q-cic { color: var(--coral); }
.q-ct { display: grid; gap: 3px; min-width: 0; }
.q-ct b { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; }
.q-ct small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.q-radio { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; color: #fff; }
.q-grid.g3 .q-radio { top: 14px; transform: none; }
.q-card.sm .q-radio { width: 18px; height: 18px; right: 10px; }
.q-card.on .q-radio, .q-row.on .q-radio { background: var(--grad); border-color: transparent; color: var(--on-grad); }
.q-price { margin-left: auto; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; color: var(--coral); white-space: nowrap; }
.q-price small { font-size: 11px; color: var(--mist); font-weight: 500; }
.q-note { font-size: 12.5px; color: var(--mist); margin: 0; }

.q-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.q-chips.center { justify-content: center; }
.q-chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 16px; padding: 14px 18px; text-align: left; display: grid; gap: 3px; min-width: 160px; flex: 1; transition: border-color .18s, background .18s; }
.q-chip b { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14.5px; }
.q-chip small { font-size: 12.5px; color: var(--ink-soft); }
.q-chip.on { border-color: var(--coral); background: var(--sel); }
.q-chip.sm { border-radius: 100px; padding: 9px 15px; min-width: 0; flex: none; font-size: 13px; font-weight: 600; }
.q-chip:hover { border-color: var(--line2); }
.q-chip.on:hover { border-color: var(--coral); }

.q-rows { display: grid; gap: 10px; }
.q-row { position: relative; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 52px 14px 16px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); min-height: 62px; transition: border-color .18s, background .18s; }
.q-row:hover { border-color: var(--line2); }
.q-row.on { border-color: var(--coral); background: var(--sel); box-shadow: 0 0 0 4px rgba(255, 107, 74, .1); }
.q-ric { color: var(--coral); }
.q-rt { display: grid; gap: 3px; flex: 1; min-width: 0; }
.q-rt b { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; }
.q-rt small { font-size: 12.5px; color: var(--ink-soft); }
.q-bar { display: block; height: 3px; width: 140px; border-radius: 3px; background: var(--line); margin-top: 6px; overflow: hidden; }
.q-bar i { display: block; height: 100%; background: var(--grad); }
.q-pill { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; background: var(--paper2); white-space: nowrap; }

.q-groups { margin-bottom: 2px; }
.q-gcard { display: grid; justify-items: center; gap: 10px; padding: 20px 8px 16px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); color: var(--ink); }
.q-gcard .ic { color: var(--coral); }
.q-gcard b { font-family: 'Sora', sans-serif; font-size: 13.5px; font-weight: 600; }
.q-gcard.on { border-color: var(--coral); background: var(--sel); box-shadow: 0 0 0 4px rgba(255, 107, 74, .1); }
.q-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 16px; }
.q-step-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.q-step-row:last-child { border-bottom: 0; }
.q-step-row b { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; display: block; }
.q-step-row small { font-size: 12px; color: var(--mist); }
.q-stepper { display: flex; align-items: center; gap: 12px; }
.q-stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); background: var(--paper2); display: grid; place-items: center; }
.q-stepper button:disabled { opacity: .35; cursor: default; }
.q-stepper span { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; min-width: 20px; text-align: center; }
.q-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.q-heads { display: flex; gap: 2px; color: var(--ink-soft); }
.q-total b { color: var(--coral); font-size: 13.5px; font-family: 'Sora', sans-serif; }

.q-prec { display: grid; gap: 8px; margin-top: 4px; }
.q-prec-l, .q-sub-l { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; }
.q-sub-l em { font-style: normal; color: var(--mist); font-weight: 500; font-size: 12.5px; margin-left: 4px; }
.q-sub { display: grid; gap: 10px; margin-top: 8px; }
.q-check { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.q-check input { width: 20px; height: 20px; accent-color: var(--coral); margin-top: 1px; flex: none; }
.q-check span { display: grid; gap: 5px; }
.q-check b { font-family: 'Sora', sans-serif; font-size: 14.5px; font-weight: 600; }
.q-check small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }

.cal { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 14px; }
.cal-ms { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cal-t { text-align: center; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; margin: 4px 0 14px; }
.cal-w, .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-w span { font-size: 11px; font-weight: 700; color: var(--mist); padding-bottom: 8px; }
.cal-w .we { color: var(--coral); }
.cal-d { position: relative; height: 38px; border: 0; background: none; font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: var(--ink); }
.cal-d.past { color: var(--line2); cursor: default; }
.cal-d.in { background: rgba(255, 107, 74, .2); }
.cal-d.a { background: linear-gradient(90deg, transparent 50%, rgba(255, 107, 74, .2) 50%); }
.cal-d.b { background: linear-gradient(90deg, rgba(255, 107, 74, .2) 50%, transparent 50%); }
.cal-d.sel::before { content: ""; position: absolute; inset: 2px 4px; border-radius: 50%; background: var(--grad); box-shadow: 0 4px 14px rgba(255, 107, 74, .45); z-index: 0; }
.cal-d.sel { color: var(--on-grad); }
.cal-d { z-index: 0; }
.cal-d.sel { isolation: isolate; }
.cal-d.today::after { content: ""; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--coral); }
.cal-d:not(.past):not(.sel):hover { color: var(--coral); }
.cal-d span, .cal-d { line-height: 38px; }
.cal-nav { position: absolute; top: 16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper2); display: grid; place-items: center; z-index: 2; }
.cal-nav:disabled { opacity: .3; }
.cal-nav.prev { left: 16px; } .cal-nav.next { right: 16px; }
.cal-sum { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); }
.cal-sum small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--mist); }
.cal-sum b { font-family: 'Sora', sans-serif; font-size: 14px; }
.cal-sum b.hl { color: var(--coral); }
.cal-sum .r { text-align: right; }
.cal-mid { display: grid; justify-items: center; color: var(--ink-soft); }
.cal-mid small { color: var(--coral); letter-spacing: 0; font-size: 11.5px; }
@media (max-width: 620px) { .cal-ms { grid-template-columns: 1fr; } .cal-ms .cal-m + .cal-m { display: none; } }

.q-budget { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 16px; }
.q-bval { display: flex; justify-content: center; align-items: baseline; gap: 6px; font-family: 'Sora', sans-serif; }
.q-bval span { font-size: 28px; font-weight: 700; color: var(--coral); }
.q-binput { width: 200px; background: none; border: 0; outline: 0; text-align: right; font: 700 46px 'Sora', sans-serif; color: var(--ink); letter-spacing: -.03em; -moz-appearance: textfield; }
.q-binput::-webkit-outer-spin-button, .q-binput::-webkit-inner-spin-button { -webkit-appearance: none; }
.q-big { font-size: 46px; }
.q-range { width: 100%; accent-color: var(--coral); }
.q-seg { display: inline-flex; padding: 3px; border-radius: 100px; background: var(--paper2); gap: 2px; }
.q-seg button { border: 0; background: none; padding: 6px 12px; border-radius: 100px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.q-seg button.on { background: var(--grad); color: var(--on-grad); }

/* Carnet de voyage */
.qz-side { position: sticky; top: 86px; display: grid; gap: 14px; }
.cn { position: relative; border-radius: 26px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #152030; }
.cn-photo { position: absolute; inset: 0; background: center/cover; opacity: 0; transition: opacity .7s; }
.cn-photo.loaded { opacity: 1; }
.cn-photo.nophoto { opacity: 1; background: radial-gradient(70% 60% at 30% 20%, rgba(255, 169, 77, .35), transparent 70%), radial-gradient(60% 50% at 80% 70%, rgba(255, 107, 74, .3), transparent 70%), #152030; }
.cn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 20, .1) 20%, rgba(10, 14, 20, .55) 55%, rgba(10, 14, 20, .9)); pointer-events: none; }
.cn-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.cn-badge { font-size: 11.5px; font-weight: 600; color: #fff; padding: 7px 12px; border-radius: 100px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.cn-ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--amber) calc(var(--p) * 1%), rgba(255, 255, 255, .18) 0); }
.cn-ring b { width: 38px; height: 38px; border-radius: 50%; background: rgba(12, 17, 24, .85); display: grid; place-items: center; font: 700 12px 'Sora', sans-serif; color: #fff; }
.cn-ring small { font-size: 8px; }
.cn-body { position: relative; z-index: 2; padding: 18px; color: #fff; }
.cn-body h2 { font-size: 30px; font-weight: 700; text-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.cn-from { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .78); margin-top: 2px; }
.cn-rows { margin-top: 14px; border-radius: 16px; background: rgba(18, 25, 34, .58); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); padding: 4px 14px; }
.cn-row { display: grid; grid-template-columns: 18px 78px 1fr; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.cn-row:last-child { border: 0; }
.cn-row .ic { color: var(--amber); opacity: .7; }
.cn-row.on .ic { opacity: 1; }
.cn-row b { color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cn-dash { height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 10px, transparent 10px 15px); width: 80%; }
.cn-tasks h4 { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.cn-tasks ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.cn-tasks li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); }
.cn-tasks li .ic { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--grad); color: var(--on-grad); }

/* Questionnaire : elements ajoutes pour coller a l'original */
.qz [hidden] { display: none !important; }
.qz.solo { grid-template-columns: minmax(0, 600px); justify-content: center; }
.q-xlinks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: -4px; }
.q-xlink { border: 0; background: none; padding: 6px 0; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--coral); cursor: pointer; text-align: left; }
.q-xlink:hover { text-decoration: underline; text-underline-offset: 3px; }
.q-xlink:active { scale: .97; transition-duration: .08s; }
.q-prec-l em { font-style: normal; color: var(--mist); font-weight: 500; font-size: 12.5px; margin-left: 4px; }
.q-price { white-space: normal; text-align: right; line-height: 1.15; max-width: 128px; flex: none; }
.q-price small { display: block; }
.q-card.q-surp { border-style: dashed; }
.q-card.q-surp.on { border-style: solid; }
.q-rlbl { display: flex; justify-content: space-between; font-size: 12px; color: var(--mist); margin-top: -8px; }
.q-count { justify-self: end; font-size: 12px; color: var(--mist); margin-top: -8px; }
.q-count.warn { color: var(--coral); }
.cn-empty { margin: 8px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

/* Coins a explorer (photo en haut de la carte) */
.q-grid.g3 .q-card.q-zone { padding: 0 0 12px; gap: 10px; min-height: 0; overflow: hidden; }
.q-zone .q-ct { padding: 0 12px; }
.q-zph { display: block; width: 100%; aspect-ratio: 4 / 3; background: center/cover no-repeat, linear-gradient(135deg, color-mix(in srgb, var(--amber) 22%, var(--paper2)), color-mix(in srgb, var(--coral) 16%, var(--paper2))); transition: opacity .4s ease; }
.q-zph:not(.loaded):not(.nophoto) { opacity: .75; }
.q-grid.g3 .q-zone .q-radio { top: 10px; right: 10px; background: color-mix(in srgb, var(--card) 85%, transparent); }
.q-zone.on .q-radio { background: var(--grad); }
.q-zskel { display: block; aspect-ratio: 4 / 3.6; border-radius: 16px; background: linear-gradient(100deg, var(--card) 25%, var(--paper2) 50%, var(--card) 75%); background-size: 200% 100%; border: 1.5px solid var(--line); animation: fx-skel 1.3s ease-in-out infinite; }
@keyframes fx-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Fin de chapitre */
.qz-reveal { display: grid; justify-items: start; gap: 14px; }
.qz-stamp { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--on-grad); box-shadow: 0 10px 30px rgba(255, 107, 74, .35); }
.qz-reveal.fx-in .qz-stamp { animation: fx-pop .5s cubic-bezier(.2, .8, .3, 1.4) backwards; }
.qz-rv-k { margin: 4px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.qz-rv-facts { list-style: none; margin: 6px 0 0; padding: 4px 16px; width: 100%; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.qz-rv-facts li { display: grid; grid-template-columns: 18px 84px minmax(0, 1fr); align-items: center; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.qz-rv-facts li:last-child { border-bottom: 0; }
.qz-rv-facts .ic { color: var(--coral); }
.qz-rv-facts b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 100px; background: var(--grad); color: var(--on-grad); font: 700 11.5px 'Sora', sans-serif; }
@media (max-width: 980px) {
  .qz { grid-template-columns: 1fr; }
  .qz-side { position: static; order: -1; }
  .cn { min-height: 0; }
  .cn-rows, .cn-tasks { display: none; }
  .cn-body { padding-top: 70px; }
}

/* ---------- Chargement ---------- */
.ld { position: relative; min-height: calc(100vh - 68px); display: grid; place-items: center; text-align: center; padding: 30px 16px; overflow: hidden; margin-top: -68px; }
.ld-photo { position: absolute; inset: 0; background: center/cover; opacity: 0; transition: opacity 1s; transform: scale(1.06); animation: zoom 40s linear forwards; }
.ld-photo.loaded { opacity: .55; }
.ld::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 40%, rgba(14, 19, 25, .5), var(--paper) 85%); }
.ld-in { position: relative; z-index: 2; max-width: 520px; width: 100%; }
.ld-logo { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); display: grid; place-items: center; margin: 0 auto 26px; color: #fff; animation: float 2.4s ease-in-out infinite; box-shadow: 0 16px 40px rgba(255, 107, 74, .4); }
.ld-logo .ic { fill: #fff; stroke: #fff; }
.ld h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.ld-bar { height: 8px; border-radius: 8px; background: var(--line); margin: 30px 0 10px; overflow: hidden; }
.ld-bar i { position: relative; overflow: hidden; display: block; height: 100%; width: 100%; background: var(--grad); border-radius: 8px; transform: scaleX(0); transform-origin: left center; transition: transform .6s cubic-bezier(.25, .8, .3, 1); }
.ld-pct { font: 700 14px 'Sora', sans-serif; color: var(--coral); }
.ld-msg { font-size: 15px; color: var(--ink); margin: 18px 0 6px; min-height: 24px; transition: opacity .18s ease, transform .18s ease; }
.ld-msg.fx-out { opacity: 0; transform: translateY(-6px); }
.ld-msg.in { animation: rise .42s cubic-bezier(.22, .9, .3, 1) backwards; }
.ld-note { font-size: 12.5px; color: var(--mist); }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes zoom { to { transform: scale(1.18); } }

/* ---------- Resultat ---------- */
.r-wrap { max-width: 1180px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 52px) 20px; }
.r-hero { position: relative; border-radius: 28px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #152030; }
.r-photo { position: absolute; inset: 0; background: center/cover; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 1.4s cubic-bezier(.2, .8, .3, 1); }
.r-photo.loaded { opacity: 1; transform: none; }
.r-photo.nophoto { opacity: 1; background: radial-gradient(70% 60% at 20% 20%, rgba(255, 169, 77, .35), transparent 70%), #152030; }
.r-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 20, .05), rgba(10, 14, 20, .55) 50%, rgba(10, 14, 20, .92)); }
.r-hero-in { position: relative; z-index: 2; padding: clamp(22px, 4vw, 40px); color: #fff; max-width: 820px; }
.r-hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; margin: 6px 0 10px; }
.r-resume { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .88); margin: 0 0 16px; }
.r-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.r-tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 100px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 600; }
.r-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.r-sharebar { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 16px; border-radius: 16px; background: var(--sel); border: 1px solid var(--line); color: var(--coral); }
.r-sharebar span { color: var(--ink); flex: 1; }
.r-modif { margin-top: 14px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 12px; transform-origin: top center; animation: fx-drop .28s cubic-bezier(.2, .8, .3, 1) backwards; }
.r-modif.fx-out { animation: fx-dropout .18s ease forwards; pointer-events: none; }
.r-modif label { display: grid; gap: 3px; }
.r-modif label b { font-family: 'Sora', sans-serif; }
.r-modif label small { color: var(--mist); font-size: 12.5px; }
.r-modif-b { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.r-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 24px; align-items: start; }
.r-books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.r-book { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); text-align: left; color: var(--ink); transition: border-color .2s, transform .2s; }
.r-book:hover { border-color: var(--coral); transform: translateY(-2px); }
.r-book > .ic:first-child { color: var(--coral); }
.r-book span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.r-book b { font-family: 'Sora', sans-serif; font-size: 14.5px; }
.r-book small { font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-book > .ic:last-child { color: var(--mist); }
.r-stay { display: flex; gap: 16px; margin-top: 14px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
.r-stay-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--sel); color: var(--coral); display: grid; place-items: center; flex: none; }
.r-stay small { font-size: 12px; color: var(--mist); font-weight: 600; }
.r-stay h3 { font-size: 19px; margin: 2px 0 6px; }
.r-stay p { margin: 0 0 10px; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.r-stay-m { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); }
.r-stay-m span { display: inline-flex; align-items: center; gap: 5px; }
.r-stay-l { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; font-weight: 700; }
.r-stay-l a { color: var(--coral); }
.r-routehead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 34px 0 16px; }
.r-routehead h2 { font-size: 24px; }
.r-routehead span { color: var(--mist); font-size: 13px; }
.r-route { position: relative; display: grid; gap: 18px; }
.r-route::before { content: ""; position: absolute; left: 17px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--coral), var(--amber), transparent); opacity: .5; }
.r-day { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; scroll-margin-top: 90px; }
.r-dot span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: var(--on-grad); font: 700 14px 'Sora', sans-serif; box-shadow: 0 0 0 5px var(--paper); position: relative; }
.r-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px 8px; }
.r-chead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.r-chead small { font-size: 12px; color: var(--coral); font-weight: 700; text-transform: capitalize; }
.r-chead h3 { font-size: 18.5px; margin-top: 3px; line-height: 1.3; }
.r-quartier { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-soft); background: var(--paper2); padding: 5px 10px; border-radius: 100px; white-space: nowrap; }
.r-slot { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.r-when { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); align-self: start; padding-top: 2px; }
.r-wem { font-size: 16px; }
.r-shead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.r-sic { color: var(--coral); }
.r-shead b { font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; }
.r-prix { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--coral); background: var(--sel); padding: 3px 9px; border-radius: 100px; white-space: nowrap; }
.r-sbody p { margin: 6px 0 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.r-slinks { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; }
.r-slinks a { display: inline-flex; align-items: center; gap: 4px; color: var(--mist); font-weight: 600; }
.r-slinks a:hover { color: var(--coral); }
.r-side { position: sticky; top: 86px; display: grid; gap: 14px; }
.r-panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.r-panel h4 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.r-panel h4 .ic { color: var(--coral); }
.r-panel h4 .r-n { margin-left: auto; }
.r-panel p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.r-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.r-panel li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.r-panel li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.r-panel.hot { border-color: rgba(255, 107, 74, .4); }
.r-btotal { font: 700 30px 'Sora', sans-serif; letter-spacing: -.03em; }
.r-budget > small { color: var(--mist); font-size: 12.5px; }
.r-budget dl { margin: 14px 0 0; display: grid; gap: 8px; }
.r-budget dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding-top: 8px; border-top: 1px solid var(--line); }
.r-budget dt { color: var(--ink-soft); }
.r-budget dd { margin: 0; font-weight: 600; text-align: right; }
.r-ci { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; line-height: 1.45; }
.r-ci input { accent-color: var(--coral); width: 17px; height: 17px; flex: none; margin-top: 1px; }
.r-ci input:checked + span { text-decoration: line-through; opacity: .6; }
.r-disclaimer { font-size: 12px; color: var(--mist); line-height: 1.5; margin: 0; }
@media (max-width: 980px) { .r-grid { grid-template-columns: 1fr; } .r-side { position: static; } }
@media (max-width: 620px) { .r-books { grid-template-columns: 1fr; } .r-slot { grid-template-columns: 1fr; gap: 6px; } .r-chead { flex-direction: column; } }

/* ---------- Mes voyages ---------- */
.trips { max-width: 1100px; margin: 0 auto; padding: 40px 16px; }
.trips-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tr-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.tr-photo { display: block; height: 160px; background: var(--paper2) center/cover; }
.tr-in { padding: 14px 16px 16px; }
.tr-in h3 { font-size: 19px; }
.tr-in small { display: block; font-size: 12.5px; color: var(--mist); margin: 4px 0 12px; }
.tr-b { display: flex; gap: 8px; }
.trips-empty { text-align: center; padding: 50px 0; color: var(--mist); display: grid; justify-items: center; gap: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px) scale(.96); opacity: 0; z-index: 100; max-width: min(92vw, 520px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 14px; font-size: 14px; box-shadow: var(--shadow-lg); transition: opacity .2s ease, transform .32s cubic-bezier(.2, .9, .3, 1.2); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast.fx-bump { animation: fx-tbump .3s cubic-bezier(.2, .8, .3, 1.2); }

/* ---------- Mouvement (durees et courbes calquees sur Cap) ---------- */
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }
@keyframes fx-stepin { from { opacity: 0; transform: translateY(22px) scale(.99); } }
@keyframes fx-stepback { from { opacity: 0; transform: translateY(-16px) scale(.99); } }
@keyframes fx-rise { from { opacity: 0; transform: translateY(14px) scale(.985); } }
@keyframes fx-page { from { opacity: 0; transform: translateY(10px); } }
@keyframes fx-fade { from { opacity: 0; } }
@keyframes fx-chap { from { opacity: 0; translate: 0 6px; } }
@keyframes fx-sel { 0% { scale: .95; } 55% { scale: 1.035; } 100% { scale: 1; } }
@keyframes fx-selsoft { 0% { scale: .985; } 55% { scale: 1.012; } 100% { scale: 1; } }
@keyframes fx-chk { 0% { scale: .5; } 45% { scale: 1.25; } 100% { scale: 1; } }
@keyframes fx-draw { from { stroke-dasharray: 22; stroke-dashoffset: 22; } to { stroke-dasharray: 22; stroke-dashoffset: 0; } }
@keyframes fx-ring { from { opacity: .9; scale: 1; } to { opacity: 0; scale: 1.9; } }
@keyframes fx-pop { 0% { scale: .5; } 60% { scale: 1.15; } 100% { scale: 1; } }
@keyframes fx-up { from { opacity: .2; translate: 0 8px; } }
@keyframes fx-down { from { opacity: .2; translate: 0 -8px; } }
@keyframes fx-ready { 0% { scale: 1; } 40% { scale: 1.05; } 100% { scale: 1; } }
@keyframes fx-drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
@keyframes fx-dropout { to { opacity: 0; transform: translateY(-6px) scale(.98); } }
@keyframes fx-tbump { 40% { transform: translate(-50%, 0) scale(1.04); } }
@keyframes fx-shim { to { transform: translateX(100%); } }
@keyframes fx-rip { from { transform: scale(0); opacity: .26; } to { transform: scale(1); opacity: 0; } }
@keyframes fx-spinin { from { opacity: 0; transform: rotate(-90deg) scale(.5); } }
@keyframes fx-bloom { 0% { scale: .96; } 55% { scale: 1.08; } 100% { scale: 1; } }
@keyframes fx-halo { from { opacity: .8; scale: .85; } to { opacity: 0; scale: 1.8; } }
@keyframes fx-conf { from { transform: translate(0, -10vh) rotate(0); opacity: 1; } to { transform: translate(var(--x, 0), 108vh) rotate(680deg); opacity: .85; } }

/* Retour au clic : survol doux, appui qui s'enfonce (propriete scale, compatible avec les transform existants) */
.btn, .q-card, .q-chip, .q-row, .q-gcard, .q-popb, .q-idea, .q-stepper button, .q-seg button, .q-mic, .q-sopt,
.cal-nav, .cal-d, .themebtn, .hd-nav a, .ex-go, .ex-nav, .qz-back, .qz-len, .modes button, .r-book,
.q-check, .r-ci, .faq-i summary {
  transition: transform .22s cubic-bezier(.2, .8, .3, 1.2), scale .18s cubic-bezier(.2, .8, .3, 1.2), translate .18s ease,
    background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .22s ease, opacity .2s ease;
}
.btn:active:not(:disabled), .r-book:active { scale: .97; transition-duration: .08s; }
.q-card:active, .q-row:active, .q-check:active, .faq-i summary:active { scale: .985; transition-duration: .08s; }
.q-chip:active, .q-gcard:active, .q-popb:active, .q-idea:active, .q-seg button:active, .modes button:active, .hd-nav a:active,
.qz-back:active, .qz-len:active, .ex-go:active, .q-sopt:active, .r-ci:active { scale: .96; transition-duration: .08s; }
.q-stepper button:active:not(:disabled), .cal-nav:active:not(:disabled), .cal-d:active:not(:disabled),
.themebtn:active, .q-mic:active, .ex-nav:active { scale: .9; transition-duration: .08s; }
.ex-go .ic, .r-book > .ic:last-child { transition: translate .2s cubic-bezier(.2, .8, .3, 1.2); }
.ex-card, .tr-card { transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease; }
.ex-photo, .tr-photo { transition: transform .6s cubic-bezier(.2, .8, .3, 1); }
.faq-i { transition: border-color .2s ease; }
.r-ci span { transition: opacity .2s ease; }
@media (hover: hover) {
  .btn.ghost:hover { transform: translateY(-1px); }
  .q-row:hover, .q-chip:hover, .q-gcard:hover, .q-popb:hover { transform: translateY(-1px); }
  .q-card:not(.on):hover, .q-row:not(.on):hover, .q-gcard:not(.on):hover { box-shadow: 0 10px 24px rgba(232, 85, 53, .08); }
  .ex-card:hover, .tr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .ex-card:hover .ex-photo, .tr-card:hover .tr-photo { transform: scale(1.04); }
  .ex-go:hover .ic, .r-book:hover > .ic:last-child { translate: 3px 0; }
  .themebtn:hover { color: var(--ink); border-color: var(--line2); }
  .q-stepper button:not(:disabled):hover, .cal-nav:not(:disabled):hover, .q-mic:not(.rec):hover, .ex-nav:hover { border-color: var(--coral); color: var(--coral); }
  .faq-i:hover { border-color: var(--line2); }
}

/* Onde au clic (creee par fx.js) */
.fx-rip { position: absolute; border-radius: 50%; background: currentColor; pointer-events: none; transform: scale(0); opacity: 0; animation: fx-rip .55s cubic-bezier(.2, .8, .3, 1); }
.themebtn { position: relative; overflow: hidden; }

/* En-tete au defilement, theme */
#head.fx-scrolled .hd { box-shadow: var(--shadow-lg); border-color: var(--line2); }
.themebtn .ic { animation: fx-spinin .45s cubic-bezier(.2, .8, .3, 1.2); }
html.fx-theme *, html.fx-theme *::before, html.fx-theme *::after {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, fill .35s ease, stroke .35s ease, box-shadow .35s ease !important;
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Pages */
#app.fx-page { animation: fx-page .34s cubic-bezier(.22, .9, .3, 1); }
.hero-in > * { animation: fx-rise .6s cubic-bezier(.22, .9, .3, 1) backwards; }
.hero-in > :nth-child(2) { animation-delay: .08s; }
.hero-in > :nth-child(3) { animation-delay: .16s; }
.hero-in > :nth-child(4) { animation-delay: .24s; }
.hero-in > :nth-child(5) { animation-delay: .3s; }

/* Apparition au defilement : classes posees par fx.js uniquement */
.fx-rv { opacity: 0; }
.fx-rv.fx-rv-in { opacity: 1; animation: fx-rise .55s cubic-bezier(.22, .9, .3, 1) var(--fx-d, 0s) backwards; }
.ex-wrap.fx-rv-in { animation-name: fx-fade; animation-duration: .3s; }
.ex-wrap.fx-rv-in .ex-card { animation: fx-rise .5s cubic-bezier(.22, .9, .3, 1) backwards; animation-delay: calc(var(--fx-d, 0s) + var(--fx-i, 4) * 70ms); }
.ex-track > :nth-child(1) { --fx-i: 0; }
.ex-track > :nth-child(2) { --fx-i: 1; }
.ex-track > :nth-child(3) { --fx-i: 2; }
.ex-track > :nth-child(4) { --fx-i: 3; }
.r-day.fx-rv-in .r-dot span { animation: fx-pop .45s cubic-bezier(.2, .8, .3, 1.5) backwards; animation-delay: calc(var(--fx-d, 0s) + .08s); }
.r-day.fx-rv-in .r-slot { animation: fx-rise .42s cubic-bezier(.22, .61, .36, 1) backwards; }
.r-day.fx-rv-in .r-slot:nth-child(2) { animation-delay: calc(var(--fx-d, 0s) + .12s); }
.r-day.fx-rv-in .r-slot:nth-child(3) { animation-delay: calc(var(--fx-d, 0s) + .2s); }
.r-day.fx-rv-in .r-slot:nth-child(4) { animation-delay: calc(var(--fx-d, 0s) + .28s); }

/* Questionnaire : entree seulement quand l'etape change (classes posees par fx.js) */
.qz-step.fx-in > * { animation: fx-stepin .42s cubic-bezier(.22, .9, .3, 1) backwards; }
.qz-step.fx-back > * { animation: fx-stepback .42s cubic-bezier(.22, .9, .3, 1) backwards; }
.qz-step:is(.fx-in, .fx-back) > :nth-child(2) { animation-delay: .04s; }
.qz-step:is(.fx-in, .fx-back) > :nth-child(3) { animation-delay: .08s; }
.qz-step:is(.fx-in, .fx-back) :is(.q-grid, .q-rows, .q-chips, .q-ideas, .q-pop-g) > * { animation: fx-rise .38s cubic-bezier(.22, .9, .3, 1) backwards; animation-delay: calc(.1s + var(--fx-i, 7) * 26ms); }
:is(.q-grid, .q-rows, .q-chips, .q-ideas, .q-pop-g) > :nth-child(1) { --fx-i: 0; }
:is(.q-grid, .q-rows, .q-chips, .q-ideas, .q-pop-g) > :nth-child(2) { --fx-i: 1; }
:is(.q-grid, .q-rows, .q-chips, .q-ideas, .q-pop-g) > :nth-child(3) { --fx-i: 2; }
:is(.q-grid, .q-rows, .q-chips, .q-ideas, .q-pop-g) > :nth-child(4) { --fx-i: 3; }
:is(.q-grid, .q-rows, .q-chips, .q-ideas, .q-pop-g) > :nth-child(5) { --fx-i: 4; }
:is(.q-grid, .q-rows, .q-chips, .q-ideas, .q-pop-g) > :nth-child(6) { --fx-i: 5; }
:is(.q-grid, .q-rows, .q-chips, .q-ideas, .q-pop-g) > :nth-child(7) { --fx-i: 6; }
.qz-chap.fx-chap > * { animation: fx-chap .4s cubic-bezier(.2, .8, .3, 1.2) backwards; }
.qz-chap.fx-chap > :nth-child(2) { animation-delay: .05s; }
.cn-ring { transition: --p .6s cubic-bezier(.2, .8, .3, 1); }
.q-sugg.on { transform-origin: top center; animation: fx-drop .18s cubic-bezier(.2, .8, .3, 1); }

/* Selection : seulement sur l'option qui vient d'etre choisie (fx-sel pose par fx.js) */
.fx-sel { animation: fx-sel .22s cubic-bezier(.2, .8, .3, 1.2); }
.q-row.fx-sel, .q-grid.g1 .q-card.fx-sel, .q-card.big.fx-sel { animation-name: fx-selsoft; }
.fx-sel .q-radio { animation: fx-chk .3s cubic-bezier(.2, .9, .3, 1.4); }
.fx-sel .q-radio path { animation: fx-draw .2s .04s cubic-bezier(.65, 0, .35, 1) backwards; }
.fx-sel .q-radio::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--coral); opacity: 0; pointer-events: none; animation: fx-ring .45s ease-out; }
.cal-d.fx-sel { animation: none; }
.cal-d.fx-sel::before { animation: fx-pop .3s cubic-bezier(.2, .8, .3, 1.4); }
.q-stepper span.fx-up, .q-total b.fx-up { animation: fx-up .26s cubic-bezier(.2, .8, .3, 1.2); }
.q-stepper span.fx-down { animation: fx-down .26s cubic-bezier(.2, .8, .3, 1.2); }
.qz-next.fx-ready { animation: fx-ready .4s cubic-bezier(.2, .8, .3, 1.2); }

/* Carnet : entree au premier affichage, puis seulement les valeurs qui changent */
.cn.fx-cardin { animation: fx-rise .5s cubic-bezier(.22, .9, .3, 1) .05s backwards; }
.cn-row b.fx-new, .cn-tasks li.fx-new { animation: fx-rise .4s cubic-bezier(.22, .9, .3, 1) backwards; animation-delay: calc(var(--fx-i, 0) * 40ms); }
.cn-photo { transform: scale(1.04); transition: opacity .7s ease, transform 1.2s cubic-bezier(.2, .8, .3, 1); }
.cn-photo.loaded, .cn-photo.nophoto { transform: none; }

/* Squelettes : reflet tant que la photo n'est pas arrivee */
.ex-photo, .tr-photo { position: relative; overflow: hidden; }
.ex-photo::after, .tr-photo::after, .r-hero::before, .cn::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 25%, color-mix(in srgb, var(--ink) 9%, transparent) 50%, transparent 75%);
  transform: translateX(-100%); animation: fx-shim 1.4s ease-in-out infinite; transition: opacity .35s ease;
}
.r-hero::before, .cn::before { background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, .07) 50%, transparent 75%); }
.ex-photo:is(.loaded, .nophoto)::after, .tr-photo:is(.loaded, .nophoto)::after { opacity: 0; animation: none; }
.r-hero:has(.r-photo.loaded, .r-photo.nophoto)::before, .cn:has(.cn-photo.loaded, .cn-photo.nophoto)::before { opacity: 0; animation: none; }

/* Chargement */
.ld-in > h1, .ld-in > .ld-bar, .ld-in > .ld-pct, .ld-in > .ld-note { animation: fx-rise .5s cubic-bezier(.22, .9, .3, 1) backwards; }
.ld-in > h1 { animation-delay: .08s; }
.ld-in > .ld-bar { animation-delay: .14s; }
.ld-in > .ld-pct { animation-delay: .18s; }
.ld-in > .ld-note { animation-delay: .26s; }
.ld-logo { position: relative; animation: fx-pop .5s cubic-bezier(.2, .8, .3, 1.4) backwards, float 2.4s .5s ease-in-out infinite; }
.ld.fx-done .ld-logo { animation: fx-bloom .5s cubic-bezier(.2, .9, .3, 1.2), float 2.4s .5s ease-in-out infinite; }
.ld.fx-done .ld-logo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--coral); opacity: 0; pointer-events: none; animation: fx-halo .7s ease-out; }
.ld-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-100%); animation: fx-shim 1.4s ease-in-out infinite; }

/* Resultat */
.r-hero-in > * { animation: fx-rise .55s cubic-bezier(.22, .9, .3, 1) backwards; }
.r-hero-in > :nth-child(2) { animation-delay: .07s; }
.r-hero-in > :nth-child(3) { animation-delay: .14s; }
.r-hero-in > :nth-child(4) { animation-delay: .2s; }
.r-actions > *, .r-sharebar { animation: fx-rise .45s cubic-bezier(.22, .9, .3, 1) .22s backwards; }
.r-actions > :nth-child(2) { animation-delay: .26s; }
.r-actions > :nth-child(3) { animation-delay: .3s; }
.r-actions > :nth-child(4) { animation-delay: .34s; }
.r-actions > :nth-child(n+5) { animation-delay: .38s; }

/* FAQ */
.faq-i[open] > p { animation: fx-rise .3s cubic-bezier(.22, .9, .3, 1); }
.faq-i > p { transition: opacity .16s ease, transform .16s ease; }
.faq-i.fx-closing > p { opacity: 0; transform: translateY(-4px); }
.faq-i.fx-closing summary span { transform: none; }

/* Confettis quand le voyage est pret */
.fx-conf { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.fx-conf span { position: absolute; top: -24px; border-radius: 2px; opacity: 0; animation-name: fx-conf; animation-timing-function: cubic-bezier(.3, .6, .5, 1); animation-fill-mode: both; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Impression / PDF ---------- */
@media print {
  .no-print, #head, .foot, .r-actions, .r-modif, .r-books { display: none !important; }
  body { background: #fff; color: #111; }
  :root { --card: #fff; --line: #ddd; --ink: #111; --ink-soft: #333; --mist: #666; --paper: #fff; --paper2: #f4f4f4; }
  .r-hero { min-height: 0; box-shadow: none; }
  .r-hero::after, .r-photo { display: none; }
  .r-hero-in { color: #111; }
  .r-resume { color: #333; }
  .r-tag { background: #f1f1f1; }
  .r-grid { grid-template-columns: 1fr; }
  .r-side { position: static; }
  .r-day, .r-panel { break-inside: avoid; }
  .r-dot span { box-shadow: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fx-rv { opacity: 1 !important; transform: none !important; }
  .fx-conf, .fx-rip, .r-hero::before, .cn::before { display: none !important; }
}
