/* Agassou — site public animé (une seule page) */
:root {
  --ground: #FBF8F2; --sand: #F1E8D8; --ink: #17211C; --muted: #5B6660; --line: #E6DCCB;
  --forest: #0F4A37; --forest2: #145C45; --mint: #CFE6DA; --saffron: #E3A21A; --saffron2: #F4C04E;
  --laterite: #B3401F; --lagoon: #1E6E8C; --ok: #1F9D55; --bad: #C2372B;
  --r: 18px; --shadow: 0 10px 30px rgba(23, 33, 28, .12); --shadow2: 0 22px 60px rgba(23, 33, 28, .22);
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.55 var(--body); overflow-x: hidden; }
body.lock { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: var(--ink); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s, opacity .2s; white-space: nowrap; position: relative; }
.btn:active { transform: scale(.96); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--forest); color: var(--ground); box-shadow: 0 6px 18px rgba(15, 74, 55, .3); }
.btn-primary:hover { background: var(--forest2); transform: translateY(-2px); }
.btn-gold { background: var(--saffron); color: var(--ink); box-shadow: 0 6px 18px rgba(227, 162, 26, .35); }
.btn-gold:hover { background: var(--saffron2); transform: translateY(-2px); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.btn-ghost:hover { background: rgba(23, 33, 28, .06); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-wa { background: #1F9D55; color: #fff; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .spin { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ── En-tête ── */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background .3s, box-shadow .3s, color .3s; color: #fff; }
.top.solid { background: rgba(251, 248, 242, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 22px var(--display); text-decoration: none; margin-right: auto; }
.brand img { width: 36px; height: 36px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.menu { display: none; gap: 22px; font-weight: 600; font-size: 15px; }
.menu a { text-decoration: none; opacity: .9; position: relative; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--saffron); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu a:hover::after { transform: scaleX(1); }
.toggles { display: flex; gap: 6px; }
.tog { height: 34px; min-width: 40px; padding: 0 9px; border-radius: 99px; font-size: 13px; font-weight: 700; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .85; }
.tog:hover { opacity: 1; }
.acct { display: flex; align-items: center; gap: 8px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--saffron); color: var(--ink); font: 800 16px var(--display); display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .5); }
.top .login-link { font-weight: 700; font-size: 15px; white-space: nowrap; }
@media (min-width: 900px) { .menu { display: flex; } }
@media (max-width: 560px) { .brand span { display: none; } .top .wrap { gap: 8px; } .tog { min-width: 34px; height: 32px; padding: 0 7px; font-size: 12px; } .top .login-link { font-size: 14px; } .top .btn-sm { padding: 0 13px; } }
.hero .inner::before { content: ''; position: absolute; inset: -40px -100vw 0; background: linear-gradient(180deg, transparent, rgba(11, 30, 22, .35) 40%, rgba(11, 30, 22, .55)); z-index: -1; pointer-events: none; }

/* ── Héros animé ── */
.hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, #0B3A2C 0%, #145C45 38%, #B3401F 78%, #E3A21A 100%); }
.hero .sky { position: absolute; inset: 0; }
.hero .sun { position: absolute; width: 46vmin; height: 46vmin; left: 58%; top: 40%; border-radius: 50%;
  background: radial-gradient(circle, #FFD978 0%, #F4C04E 45%, rgba(244, 192, 78, 0) 70%); animation: sunrise 2.4s var(--ease) both, glow 6s ease-in-out 2.4s infinite alternate; }
@keyframes sunrise { from { transform: translateY(40vh) scale(.7); opacity: 0; } }
@keyframes glow { to { transform: scale(1.06); filter: brightness(1.08); } }
.hero .pattern { position: absolute; inset: 0; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 4l12 12-12 12-12-12zM0 36l12 12L0 60M64 36L52 48l12 12M32 36l12 12-12 12-12-12z' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
  animation: drift 60s linear infinite; }
@keyframes drift { to { background-position: 640px 320px; } }
.hero svg.scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 58%; }
.scene .far { animation: sway 9s ease-in-out infinite alternate; transform-origin: bottom; }
@keyframes sway { to { transform: translateX(-14px); } }
.wave { animation: wave 7s linear infinite; }
.wave.w2 { animation-duration: 11s; animation-direction: reverse; }
@keyframes wave { to { transform: translateX(-200px); } }
.boat { animation: boat 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes boat { 50% { transform: translateY(-6px) rotate(-2deg); } }
.bird { animation: fly 16s linear infinite; }
.bird.b2 { animation-duration: 22s; animation-delay: -8s; }
@keyframes fly { from { transform: translate(-10vw, 0); } to { transform: translate(110vw, -60px); } }
.hero .inner { position: relative; z-index: 2; padding: 120px 0 56px; width: 100%; }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--saffron); }
.hero .kicker { color: var(--saffron2); }
.hero h1 { font-size: clamp(44px, 9vw, 96px); font-weight: 800; max-width: 900px; margin: 12px 0 16px; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; }
.hero h1 .w > span { display: inline-block; animation: rise .9s var(--ease) both; }
.hero h1 em { font-style: normal; color: var(--saffron2); }
@keyframes rise { from { transform: translateY(105%); } }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); max-width: 620px; margin: 0 0 26px; opacity: .95; animation: fadeUp .9s .7s var(--ease) both; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp .9s .9s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; animation: fadeUp .9s 1.1s var(--ease) both; }
.stats b { display: block; font: 800 34px var(--display); color: var(--saffron2); }
.stats span { font-size: 13px; opacity: .85; }
.scroll-hint { position: absolute; left: 50%; bottom: 14px; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px; transform: translateX(-50%); }
.scroll-hint::after { content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: hint 1.8s infinite; }
@keyframes hint { 60% { transform: translateY(14px); opacity: 0; } }

/* ── Bandeau des villes ── */
.marquee { background: var(--ink); color: var(--ground); overflow: hidden; white-space: nowrap; padding: 14px 0; font: 700 18px var(--display); }
.marquee .track { display: inline-flex; gap: 34px; animation: marq 32s linear infinite; padding-left: 34px; }
.marquee i { color: var(--saffron); font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ── Sections ── */
section.sec { padding: 76px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(32px, 5vw, 52px); margin-top: 8px; }
.sec-head p { margin: 8px 0 0; max-width: 560px; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Promesse */
.promise { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px; }
.pcard h3 { font-size: 20px; margin-bottom: 6px; }
.pcard p { margin: 0; color: var(--muted); font-size: 15px; }

/* Filtres */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; height: 40px; padding: 0 16px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--ground); border-color: var(--ink); }

/* Cartes circuits */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.ccard { position: relative; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; text-align: left;
  transition: transform .45s var(--ease), box-shadow .45s; display: flex; flex-direction: column; }
.ccard:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--shadow2); }
.ccard .art { position: relative; height: 210px; overflow: hidden; }
.ccard .art svg, .ccard .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ccard:hover .art svg, .ccard:hover .art img { transform: scale(1.08); }
.ccard .days { position: absolute; left: 14px; top: 14px; background: rgba(23, 33, 28, .78); color: #fff; padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 700; backdrop-filter: blur(4px); }
.heart { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; z-index: 2; transition: transform .3s var(--ease); }
.heart:hover { transform: scale(1.12); }
.heart svg { width: 22px; height: 22px; }
.heart.on svg path { fill: var(--laterite); stroke: var(--laterite); }
.heart.pop { animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
.ccard .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ccard h3 { font-size: 24px; }
.ccard .sub { color: var(--muted); font-size: 14px; }
.ccard .desc { font-size: 14.5px; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ccard .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.price { font: 800 22px var(--display); }
.price small { font: 500 13px var(--body); color: var(--muted); }
.go { width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
.ccard:hover .go { transform: translateX(4px) rotate(-45deg); background: var(--laterite); }
.skel { background: linear-gradient(90deg, #EEE6D8 25%, #F7F1E6 50%, #EEE6D8 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: 22px; min-height: 360px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Quiz */
.quiz { background: var(--forest); color: var(--ground); border-radius: 28px; padding: 30px 22px; position: relative; overflow: hidden; }
.quiz::before { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 162, 26, .4), transparent 70%); animation: glow 5s ease-in-out infinite alternate; }
.quiz h2 { font-size: clamp(28px, 4.5vw, 44px); margin: 8px 0 6px; }
.quiz .q { font: 700 20px var(--display); margin: 22px 0 12px; }
.quiz .opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.opt { text-align: left; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 16px; padding: 14px 16px; font-weight: 600; color: var(--ground); transition: all .25s var(--ease); }
.opt:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.opt.on { background: var(--saffron); color: var(--ink); border-color: var(--saffron); }
.quiz .bar { height: 6px; background: rgba(255, 255, 255, .15); border-radius: 9px; overflow: hidden; margin-top: 18px; }
.quiz .bar i { display: block; height: 100%; background: var(--saffron); width: 0; transition: width .5s var(--ease); }
.qres { animation: fadeUp .6s var(--ease) both; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 18px; background: rgba(255, 255, 255, .08); border-radius: 20px; padding: 18px; }

/* Départs */
.deps { display: grid; gap: 12px; }
.dep { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.dep:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.date-tile { border-radius: 14px; text-align: center; padding: 8px 0; color: #fff; }
.date-tile b { display: block; font: 800 26px/1 var(--display); }
.date-tile span { font-size: 12px; text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
.dep h4 { font-size: 18px; }
.dep .meta { font-size: 13.5px; color: var(--muted); }
.seats { height: 6px; border-radius: 9px; background: var(--sand); margin-top: 8px; overflow: hidden; max-width: 260px; }
.seats i { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--laterite)); border-radius: 9px; width: 0; transition: width 1.2s var(--ease); }
@media (max-width: 560px) { .dep { grid-template-columns: 62px 1fr; } .dep .act { grid-column: 1 / -1; } .dep .act .btn { width: 100%; } }
.empty { background: #fff; border: 1.5px dashed var(--line); border-radius: var(--r); padding: 26px; text-align: center; }

/* Comment ça marche */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 24px 22px 22px; border-radius: var(--r); background: var(--sand); }
.step::before { counter-increment: s; content: counter(s); font: 800 64px/1 var(--display); color: var(--saffron); opacity: .9; display: block; margin-bottom: 8px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

/* Agenda */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.event { position: relative; border-radius: 24px; padding: 24px; color: #fff; overflow: hidden; background: linear-gradient(135deg, #3B1A55, #B3401F); min-height: 240px; display: flex; flex-direction: column; }
.event::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='3' fill='%23fff' fill-opacity='.12'/%3E%3C/svg%3E"); pointer-events: none; }
.event h3 { font-size: 30px; margin: 6px 0 8px; }
.event p { margin: 0 0 14px; opacity: .92; font-size: 15px; }
.countdown { display: flex; gap: 10px; margin-top: auto; }
.countdown div { background: rgba(255, 255, 255, .14); border-radius: 12px; padding: 8px 10px; min-width: 62px; text-align: center; }
.countdown b { display: block; font: 800 24px/1.1 var(--display); }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* Cadeau, guides */
.band { border-radius: 28px; padding: 32px 24px; display: grid; gap: 20px; align-items: center; overflow: hidden; position: relative; }
@media (min-width: 800px) { .band { grid-template-columns: 1.4fr 1fr; padding: 44px; } }
.band h2 { font-size: clamp(28px, 4.4vw, 44px); margin: 6px 0 10px; }
.band p { margin: 0; font-size: 16.5px; }
.band.gold { background: var(--saffron); }
.band.dark { background: var(--ink); color: var(--ground); }
.giftcard { aspect-ratio: 1.6; max-width: 360px; width: 100%; margin: 0 auto; border-radius: 22px; background: linear-gradient(135deg, var(--forest), #0B2E23); color: var(--ground); padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow2); transform: rotate(-6deg); animation: float 6s ease-in-out infinite; position: relative; overflow: hidden; }
.giftcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .25) 50%, transparent 65%); transform: translateX(-100%); animation: shine 4s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }
@keyframes float { 50% { transform: rotate(-3deg) translateY(-10px); } }
.giftcard b { font: 800 24px var(--display); color: var(--saffron2); }
.giftcard .amt { font: 800 34px var(--display); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; padding: 18px 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 800 24px/1 var(--display); color: var(--laterite); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); animation: fadeUp .4s var(--ease); }

footer.foot { background: var(--ink); color: #C7D0CB; padding: 46px 0 90px; margin-top: 40px; }
footer .cols { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
footer h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
footer a { display: block; text-decoration: none; padding: 4px 0; }
footer a:hover { color: var(--saffron2); }

/* ── Feuilles (circuit, réservation) et fenêtres ── */
.scrim { position: fixed; inset: 0; background: rgba(12, 20, 16, .55); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .35s; backdrop-filter: blur(3px); }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 94svh; background: var(--ground); border-radius: 26px 26px 0 0; overflow: hidden; display: flex; flex-direction: column;
  transform: translateY(105%); transition: transform .5s var(--ease); box-shadow: 0 -10px 40px rgba(0, 0, 0, .2); }
.sheet.on { transform: none; }
@media (min-width: 820px) { .sheet { left: 50%; right: auto; width: 760px; bottom: 3svh; max-height: 92svh; border-radius: 26px; transform: translate(-50%, 110vh); } .sheet.on { transform: translate(-50%, 0); } }
.sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: rgba(23, 33, 28, .2); margin: 10px auto 0; position: absolute; left: 50%; transform: translateX(-50%); z-index: 3; }
.sheet .x { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); z-index: 4; display: grid; place-items: center; font-size: 22px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.sheet .scroll { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet .pad { padding: 20px 20px 28px; }
.sheet .hero-art { position: relative; height: 230px; }
.sheet .hero-art svg, .sheet .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet .hero-art .ttl { position: absolute; left: 20px; right: 20px; bottom: 16px; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
.sheet .hero-art h2 { font-size: 38px; }
.formulas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.fbtn { background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px 8px; text-align: center; transition: all .25s var(--ease); }
.fbtn b { display: block; font: 800 15px var(--display); }
.fbtn .p { font: 800 18px var(--display); margin: 2px 0; }
.fbtn small { color: var(--muted); font-size: 11.5px; line-height: 1.2; display: block; }
.fbtn.on { border-color: var(--forest); background: var(--forest); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15, 74, 55, .3); }
.fbtn.on small { color: var(--mint); }
.route { position: relative; margin: 14px 0 6px; padding-left: 30px; }
.route::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 3px; background: var(--line); border-radius: 3px; }
.route .line { position: absolute; left: 10px; top: 8px; width: 3px; background: var(--laterite); border-radius: 3px; height: 0; transition: height 1.6s var(--ease); }
.stop { position: relative; padding: 6px 0 12px; opacity: 0; transform: translateX(-10px); transition: all .5s var(--ease); transition-delay: var(--d); }
.on .stop { opacity: 1; transform: none; }
.stop::before { content: ''; position: absolute; left: -26px; top: 11px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--laterite); }
.stop b { display: block; }
.stop span { font-size: 13.5px; color: var(--muted); }
.box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.slot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 8px; transition: all .2s; }
.slot:hover { border-color: var(--ink); }
.slot.on { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(15, 74, 55, .15); }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--sand); border-radius: 99px; padding: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; background: #fff; font: 800 20px var(--display); }
.stepper output { min-width: 34px; text-align: center; font: 800 20px var(--display); }
.xp { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.xp:last-child { border-bottom: 0; }
.xp input { width: 22px; height: 22px; accent-color: var(--forest); flex: 0 0 auto; }
.xp div { flex: 1; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; }
.total.big { font: 800 26px var(--display); border-top: 2px dashed var(--line); margin-top: 6px; padding-top: 12px; }
.sticky-pay { position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(251, 248, 242, 0), var(--ground) 30%); padding: 18px 20px 20px; }

/* Fenêtre (connexion) */
.modal { position: fixed; z-index: 80; left: 50%; top: 50%; width: min(440px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow-y: auto; background: var(--ground); border-radius: 26px;
  transform: translate(-50%, -46%) scale(.94); opacity: 0; pointer-events: none; transition: all .4s var(--ease); box-shadow: var(--shadow2); }
.modal.on { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
.modal .head { background: var(--forest); color: var(--ground); padding: 24px 22px 20px; position: relative; overflow: hidden; }
.modal .head::after { content: ''; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 162, 26, .55), transparent 70%); }
.modal .head h3 { font-size: 28px; position: relative; z-index: 1; }
.modal .head p { margin: 6px 0 0; color: var(--mint); font-size: 14.5px; position: relative; z-index: 1; }
.modal .x { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 20px; z-index: 2; }
.modal .body { padding: 20px 22px 24px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); border-radius: 99px; padding: 4px; position: relative; margin-bottom: 18px; }
.seg button { position: relative; z-index: 1; height: 42px; border-radius: 99px; font-weight: 700; transition: color .3s; }
.seg .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 99px; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); transition: transform .4s var(--ease); }
.seg.r .pill { transform: translateX(100%); }
.pane { animation: paneIn .45s var(--ease) both; }
@keyframes paneIn { from { opacity: 0; transform: translateX(18px); } }
.field { position: relative; margin-bottom: 12px; }
.field input, .field select, .field textarea { width: 100%; height: 56px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 22px 14px 6px; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: 92px; padding-top: 26px; resize: vertical; }
.field label { position: absolute; left: 15px; top: 17px; color: var(--muted); font-size: 15.5px; pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 4px rgba(15, 74, 55, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label, .field input[type=date] + label { top: 7px; font-size: 12px; font-weight: 700; color: var(--forest); }
.field.err input { border-color: var(--bad); animation: shake .4s; }
.field .msg { font-size: 13px; color: var(--bad); margin: 4px 2px 0; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.field .eye { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.alert { background: #FBE9E7; color: var(--bad); border-radius: 12px; padding: 10px 14px; font-size: 14.5px; margin-bottom: 12px; animation: fadeUp .3s; }
.alert.ok { background: #E3F4EA; color: #146B3A; }
.code { display: flex; gap: 8px; justify-content: center; margin: 18px 0 8px; }
.code input { width: 48px; height: 58px; text-align: center; font: 800 26px var(--display); border: 2px solid var(--line); border-radius: 14px; background: #fff; outline: none; transition: all .2s var(--ease); padding: 0; }
.code input:focus { border-color: var(--forest); transform: translateY(-3px); box-shadow: 0 6px 14px rgba(15, 74, 55, .18); }
.code input.f { border-color: var(--saffron); }
.code.err input { border-color: var(--bad); animation: shake .4s; }
.code.ok input { border-color: var(--ok); background: #E3F4EA; }
@media (max-width: 380px) { .code input { width: 40px; height: 52px; } }
.center { text-align: center; }
.small { font-size: 14px; }
.check { width: 74px; height: 74px; margin: 6px auto 10px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; animation: pop .6s var(--ease); }
.check svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Tiroir « Mon espace » */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--ground); z-index: 70; transform: translateX(105%); transition: transform .5s var(--ease); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .2); }
.drawer.on { transform: none; }
.drawer .dh { background: var(--forest); color: var(--ground); padding: 22px 20px 16px; position: relative; }
.drawer .dh h3 { font-size: 26px; }
.drawer .tabs { display: flex; gap: 6px; overflow-x: auto; margin-top: 14px; scrollbar-width: none; }
.drawer .tabs button { flex: 0 0 auto; height: 36px; padding: 0 14px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--mint); }
.drawer .tabs button.on { background: var(--saffron); color: var(--ink); }
.drawer .dc { flex: 1; overflow-y: auto; padding: 18px 18px 30px; }
.trip { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; margin-bottom: 12px; border-left: 6px solid var(--c, var(--forest)); }
.trip h4 { font-size: 18px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--sand); }
.badge.ok { background: #E3F4EA; color: #146B3A; }
.badge.wait { background: #FFF3D6; color: #8A5A00; }
.badge.bad { background: #FBE9E7; color: var(--bad); }
.wallet { background: linear-gradient(135deg, var(--forest), #0B2E23); color: #fff; border-radius: 22px; padding: 20px; margin-bottom: 14px; }
.wallet b { font: 800 36px var(--display); color: var(--saffron2); display: block; }
.refcode { font: 800 26px var(--display); letter-spacing: .12em; background: var(--sand); border-radius: 14px; padding: 12px; text-align: center; margin: 10px 0; border: 2px dashed var(--saffron); }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.row > * { flex: 1; }
.list-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; width: 100%; text-align: left; }

/* Toasts */
.toasts { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; width: min(420px, calc(100vw - 24px)); pointer-events: none; }
.toast { background: var(--ink); color: var(--ground); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow2); animation: toastIn .45s var(--ease) both; pointer-events: auto; display: flex; gap: 10px; align-items: center; font-size: 15px; }
.toast.ok { background: var(--forest); }
.toast.bad { background: var(--bad); }
.toast.out { animation: toastOut .35s var(--ease) forwards; }
.toast a { color: var(--saffron2); font-weight: 700; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px); } }

/* Bouton WhatsApp flottant */
.wa-fab { position: fixed; right: 16px; bottom: 16px; width: 58px; height: 58px; border-radius: 50%; background: #1F9D55; display: grid; place-items: center; z-index: 50; box-shadow: 0 8px 22px rgba(31, 157, 85, .45); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #1F9D55; animation: ping 2.4s infinite; z-index: -1; }
@keyframes ping { 70%, 100% { transform: scale(1.6); opacity: 0; } }
.progress-top { position: fixed; left: 0; top: 0; height: 3px; background: var(--saffron); z-index: 90; width: 0; transition: width .1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Notes et avis */
.rate { color: var(--saffron); font-size: 15px; letter-spacing: 1px; }
.rate b { color: var(--ink); letter-spacing: 0; margin-left: 4px; }
.rate span { color: var(--muted); letter-spacing: 0; font-size: 13px; }
.stars-pick { display: flex; justify-content: center; gap: 6px; margin: 4px 0 16px; }
.stars-pick button { font-size: 42px; line-height: 1; color: var(--line); transition: transform .2s var(--ease), color .2s; }
.stars-pick button.on { color: var(--saffron); }
.stars-pick button:hover { transform: scale(1.15); }

/* v1.8 : menu des langues, services, avis de circuit */
.lang-menu { position: fixed; z-index: 90; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; display: grid; min-width: 150px; animation: fadeUp .2s var(--ease) both; }
.lang-menu button { text-align: left; padding: 10px 12px; border-radius: 10px; font: 700 15px var(--body); background: none; border: 0; color: var(--ink); cursor: pointer; }
.lang-menu button:hover, .lang-menu button.on { background: var(--sand); }
.pcard.svc { display: block; text-decoration: none; color: inherit; }
.pcard.svc .ico { font-size: 26px; }
.notice { background: #FBEBC5; color: #6B4A00; border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; font-size: 14px; }
