/* ============ Ouverture : le mot « feetch » découpé dans la vidéo ============ */
.hero { padding: 0; }
.hero-pin { position: relative; height: 100svh; min-height: 540px; padding: 12px; }
.hero-frame { height: 100%; }
.mask { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; display: none; }
.hero.has-mask .mask { display: block; }
.mask-fill { fill: var(--ivory); }
.mask-word text { font-family: "Poppins", sans-serif; font-weight: 600; font-size: 27vw; letter-spacing: -0.065em; }
.mask-word { transform-box: view-box; transform-origin: 50% 50%; }
.mask-hint { position: absolute; left: 50%; bottom: 26px; z-index: 6; display: none; align-items: center; gap: 8px; transform: translateX(-50%); font-size: .84rem; color: var(--ink-soft); }
.hero.has-mask .mask-hint { display: flex; }
.mask-hint i { animation: nudge 2.2s var(--ease-io) infinite; }
.hero.has-mask .hero-copy > *, .hero.has-mask .seal { opacity: 0; }
body.mask-on .nav { color: var(--ink); }
body.mask-on .nav .pill { background: var(--forest); color: var(--ivory); }
body.mask-on .nav .brand img { filter: none; }
@media (max-width: 760px) { .mask-word text { font-size: 33vw; } }

/* ============ Téléphone : maquette façon Figma ============ */
.phone-wrap { position: sticky; top: clamp(90px, 14vh, 120px); display: grid; place-items: center; padding: 20px 0; }
.phone-wrap::before { content: ""; position: absolute; z-index: -1; width: 86%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(231, 167, 74, .3), transparent 64%); }
.phone {
  --pad: 11px; position: relative; width: min(304px, 76vw); aspect-ratio: 9 / 19.4; padding: var(--pad); border-radius: 50px;
  background: linear-gradient(150deg, #22392f, #0a1611 60%);
  box-shadow: inset 0 0 0 1.5px #34524a, inset 0 0 0 6px #0b1712, 0 70px 110px -55px rgba(16, 36, 28, .85), 0 30px 50px -30px rgba(16, 36, 28, .55);
}
.phone::before, .phone::after { content: ""; position: absolute; left: -3px; width: 3px; border-radius: 3px 0 0 3px; background: #1b2e26; }
.phone::before { top: 22%; height: 9%; } .phone::after { top: 34%; height: 9%; }
.phone-notch { position: absolute; left: 50%; top: 20px; z-index: 7; width: 94px; height: 27px; border-radius: 999px; background: #050b08; transform: translateX(-50%); }
.phone-bar { position: absolute; top: 25px; left: 36px; right: 34px; z-index: 6; display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.phone-bar span { display: flex; gap: 3px; font-size: .8rem; }
.screen {
  position: absolute; inset: var(--pad); overflow: hidden; border-radius: 39px; padding: 60px 16px 86px; display: flex; flex-direction: column; gap: 10px;
  background: radial-gradient(120% 50% at 50% 0%, #fffdf8, #f6f0e4 60%, #efe6d4); color: var(--ink);
  opacity: 0; transform: translateY(16px) scale(.985); filter: blur(4px); transition: opacity .55s var(--ease-out), transform .7s var(--ease-out), filter .55s var(--ease-out);
}
.screen.is-active { opacity: 1; transform: none; filter: none; }
.tabbar {
  position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad); z-index: 5; height: 74px; padding: 8px 10px 16px; border-radius: 0 0 39px 39px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; background: rgba(255, 253, 248, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 rgba(19, 33, 27, .06);
}
.tabbar span { display: grid; justify-items: center; gap: 2px; color: #8b968f; font-size: 1.15rem; }
.tabbar small { font-size: .52rem; font-weight: 500; }
.tabbar .on { color: var(--forest); }
.tabbar .plus { width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--forest); color: var(--amber-hi); font-size: 1.2rem; transform: translateY(-10px); box-shadow: 0 10px 20px -8px rgba(29, 59, 48, .7), 0 0 0 5px #fffdf8; }

/* Éléments d'interface */
.app-head { display: flex; justify-content: space-between; align-items: center; }
.app-head small { display: block; font-size: .64rem; color: var(--ink-soft); }
.app-head h4 { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.03em; }
.avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(140deg, var(--forest-hi), var(--forest)); color: var(--ivory); font-size: .78rem; font-weight: 600; box-shadow: 0 0 0 2px #fffdf8, 0 6px 12px -6px rgba(29, 59, 48, .7); }
.avatar.big { width: 40px; height: 40px; }
.trip-card { position: relative; height: 104px; flex: none; border-radius: 20px; overflow: hidden; color: var(--ivory); box-shadow: 0 16px 26px -18px rgba(19, 33, 27, .7); }
.trip-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trip-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(11, 26, 20, .75)); }
.trip-card > div { position: absolute; left: 14px; bottom: 11px; z-index: 1; }
.trip-card b { display: block; font-size: .86rem; font-weight: 600; }
.trip-card small { font-size: .62rem; opacity: .85; }
.trip-flag { position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); font-size: .9rem; }
.field { display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(19, 33, 27, .04), 0 10px 20px -16px rgba(19, 33, 27, .45); }
.field > i { font-size: 1.1rem; color: var(--forest); }
.field small { display: block; font-size: .58rem; color: var(--ink-soft); }
.field b { display: block; font-size: .78rem; font-weight: 500; }
.typed { display: inline-block !important; overflow: hidden; white-space: nowrap; border-right: 1.5px solid var(--amber); max-width: 100%; }
.app-btn { flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; margin-top: auto; border-radius: 999px; background: var(--forest); color: var(--ivory); font-size: .78rem; font-weight: 500; box-shadow: 0 12px 22px -12px rgba(29, 59, 48, .8); position: relative; }
.app-hint { font-size: .66rem; line-height: 1.45; color: var(--ink-soft); }
.app-hint.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 15px; background: #fff; box-shadow: 0 10px 20px -16px rgba(19, 33, 27, .45); }
.row > i:first-child { font-size: 1.15rem; color: var(--forest); }
.row img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; }
.row span { flex: 1; min-width: 0; }
.row b { display: block; font-size: .74rem; font-weight: 500; }
.row small { display: block; font-size: .58rem; color: var(--ink-soft); }
.row .ok { font-size: 1.1rem; color: var(--forest); }
.row.picked { box-shadow: inset 0 0 0 1.5px var(--forest), 0 10px 20px -16px rgba(19, 33, 27, .45); }

/* Carte */
.map-full { position: relative; flex: none; height: 250px; margin: -60px -16px 0; background: #e9e1cf; overflow: hidden; }
.map-full.small { height: 190px; }
.map-full svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-full .road { fill: none; stroke: #fffdf7; stroke-width: 7; stroke-linecap: round; }
.map-full .road.big { stroke-width: 12; }
.map-full .river { fill: #bfd5d6; }
.pin-drop { position: absolute; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: var(--forest); color: var(--ivory); box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .45); }
.pin-drop i { transform: rotate(45deg); font-size: .95rem; }
.pin-drop.d1 { left: 26%; top: 40%; background: var(--amber-deep); } .pin-drop.d2 { left: 62%; top: 30%; } .pin-drop.d3 { left: 72%; top: 62%; }
.me-dot { position: absolute; left: 46%; top: 58%; width: 14px; height: 14px; border-radius: 50%; background: #3b82c4; border: 2.5px solid #fff; box-shadow: 0 0 0 0 rgba(59, 130, 196, .5); }
.sheet { position: relative; z-index: 2; margin: -34px -16px 0; padding: 10px 14px 0; display: grid; gap: 7px; border-radius: 24px 24px 0 0; background: #fffdf8; box-shadow: 0 -12px 24px -18px rgba(19, 33, 27, .5); }
.grab { justify-self: center; width: 36px; height: 4px; border-radius: 4px; background: rgba(19, 33, 27, .15); }
.sheet-title { font-size: .72rem; font-weight: 600; }
.gem { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--g-amber); color: var(--ink); font-size: .85rem; box-shadow: 0 6px 12px -4px rgba(199, 122, 44, .7); }
.gem.g1 { left: 22%; top: 50%; } .gem.g2 { left: 56%; top: 34%; } .gem.g3 { left: 76%; top: 66%; }
.tag-ai { color: var(--amber-deep) !important; font-weight: 500; }

/* Carton en 3D */
.box-stage { flex: none; height: 128px; display: grid; place-items: center; perspective: 700px; }
.box3d { --w: 112px; --h: 76px; --d: 72px; position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: rotateX(-22deg) rotateY(-34deg); }
.box3d.small { --w: 96px; --h: 62px; --d: 62px; }
.box3d > span { position: absolute; }
.bf { inset: 0; background: linear-gradient(170deg, #deb57c, #c8965b); transform: translateZ(calc(var(--d) / 2)); border-radius: 3px; }
.bs { top: 0; left: calc(50% - var(--d) / 2); width: var(--d); height: 100%; background: linear-gradient(170deg, #c08b55, #a87544); transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); border-radius: 3px; }
.bt { left: 0; top: calc(50% - var(--d) / 2); width: 100%; height: var(--d); background: linear-gradient(90deg, #e8c48f, #dcb37a); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.bt::after { content: ""; position: absolute; left: calc(50% - 8px); top: 0; bottom: 0; width: 16px; background: var(--forest); opacity: .9; }
.bt.open { background: #7c5634; }
.bt.open::after { display: none; }
.box3d .leaf { position: absolute; left: 12px; bottom: 10px; width: 13px; transform: translateZ(calc(var(--d) / 2 + 1px)); filter: brightness(0) saturate(100%) invert(19%) sepia(16%) saturate(1400%) hue-rotate(110deg); }
.seg { position: relative; flex: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: #fff; box-shadow: 0 10px 20px -16px rgba(19, 33, 27, .45); }
.seg span { position: relative; z-index: 1; display: grid; place-items: center; height: 32px; font-size: .74rem; font-weight: 600; color: var(--ink-soft); }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--forest); }
.price-line { display: flex; align-items: center; gap: 6px; font-size: .66rem; color: var(--ink-soft); }
.price-line i { color: var(--amber-deep); font-size: .85rem; }
.qr-row { display: flex; align-items: center; gap: 12px; }
.app-qr { flex: none; width: 86px; height: 86px; padding: 7px; border-radius: 14px; background: #fff; box-shadow: 0 10px 20px -16px rgba(19, 33, 27, .45); }
.app-qr svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.qr-done { display: flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 500; color: var(--forest); }
.qr-done i { font-size: 1.1rem; }

/* Suivi */
.toast { position: absolute; top: 56px; left: 12px; right: 12px; z-index: 8; display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 18px; background: rgba(19, 33, 27, .92); color: var(--ivory); font-size: .68rem; font-weight: 500; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); }
.toast i { font-size: 1rem; color: var(--amber-hi); }
.map-route { flex: none; height: 150px; border-radius: 20px; overflow: hidden; background: #cfe0e2; box-shadow: 0 10px 20px -16px rgba(19, 33, 27, .45); }
.map-route svg { width: 100%; height: 100%; }
.map-route .land { fill: #ece4d2; }
.map-route .trail { fill: none; stroke: var(--forest); stroke-width: 2; stroke-dasharray: 4 5; stroke-linecap: round; }
.map-route .city { fill: var(--forest); } .map-route .city.end { fill: var(--amber-deep); }
.map-route .cname { font: 500 9px "Poppins", sans-serif; fill: var(--ink-soft); }
.map-route .parcel circle { fill: var(--amber); stroke: #fff; stroke-width: 2.5; }
.map-route .parcel path { fill: var(--forest); }
.app-eta { flex: none; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--forest); color: var(--ivory); font-size: .76rem; font-weight: 500; }
.app-eta i { font-size: 1.2rem; color: var(--amber-hi); }
.track { list-style: none; margin: 2px 0 0; padding: 0 0 0 4px; }
.track li { position: relative; padding: 0 0 13px 24px; font-size: .7rem; color: var(--ink-soft); }
.track li::before { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(19, 33, 27, .3); }
.track li:not(:last-child)::after { content: ""; position: absolute; left: 5.5px; top: 16px; bottom: 1px; width: 1px; background: rgba(19, 33, 27, .18); }
.track .t1, .track .t2 { color: var(--ink); }
.track .t1::before, .track .t2::before { background: var(--forest); box-shadow: none; }
.track .t3 { color: var(--ink); font-weight: 500; }
.track .t3::before { background: var(--amber); box-shadow: 0 0 0 5px rgba(231, 167, 74, .25); }

/* Demain : écrans */
.bag-card { position: relative; flex: none; height: 240px; border-radius: 22px; overflow: hidden; background: #efe6d4; box-shadow: 0 16px 26px -18px rgba(19, 33, 27, .6); }
.bag-card img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 60%; }
.scanline { position: absolute; left: 8%; right: 8%; top: 12%; height: 2px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 14px 4px rgba(231, 167, 74, .6); }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(29, 59, 48, .08); color: var(--forest); font-size: .68rem; font-weight: 500; }
.crew { display: flex; justify-content: center; margin-top: 6px; }
.crew span { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 -5px; border-radius: 50%; background: var(--c); color: var(--ivory); font-size: .78rem; font-weight: 600; box-shadow: 0 0 0 3px #faf6ed; }
.share-box { position: relative; flex: none; height: 150px; display: grid; place-items: end center; padding-bottom: 18px; perspective: 700px; }
.drop { position: absolute; top: 4px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--forest); font-size: .95rem; box-shadow: 0 8px 14px -8px rgba(19, 33, 27, .6); }
.drop.i1 { left: 30%; } .drop.i2 { left: 47%; } .drop.i3 { left: 64%; }
.split { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.split i { height: 8px; border-radius: 8px; background: var(--forest); transform-origin: left; }
.split i:nth-child(2) { background: var(--amber-deep); } .split i:nth-child(3) { background: #6d7a72; } .split i:nth-child(4) { background: var(--forest-hi); }
.split-label { text-align: center; font-size: .66rem; color: var(--ink-soft); }
.friend { margin-top: 2px; }
.note { display: flex; align-items: center; gap: 7px; font-size: .68rem; color: var(--ink-soft); }
.note i { color: var(--amber-deep); font-size: 1rem; }
.level { display: grid; justify-items: center; gap: 8px; margin: 6px 0 4px; }
.level b { font-size: .86rem; font-weight: 600; letter-spacing: -.02em; }
.ring { --p: 72; position: relative; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; background: conic-gradient(var(--amber) calc(var(--p) * 1%), rgba(19, 33, 27, .08) 0); }
.ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #faf6ed; }
.ring i { position: relative; font-size: 2.4rem; color: var(--forest); }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bd { display: grid; justify-items: center; gap: 6px; text-align: center; }
.bd i { position: relative; overflow: hidden; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(150deg, var(--forest-hi), var(--forest)); color: var(--amber-hi); font-size: 1.4rem; box-shadow: inset 0 0 0 2.5px #d39a4a, 0 10px 18px -10px rgba(19, 33, 27, .7); }
.bd small { font-size: .56rem; font-weight: 500; color: var(--ink-soft); line-height: 1.2; }

/* Animations des écrans, rejouées quand l'écran devient actif */
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
@keyframes type { from { width: 0; } }
@keyframes caret { 50% { border-color: transparent; } }
@keyframes ringOut { 0% { box-shadow: 0 0 0 0 rgba(29, 59, 48, .45); } 100% { box-shadow: 0 0 0 14px rgba(29, 59, 48, 0); } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-40px) rotate(-45deg); } 60% { opacity: 1; transform: translateY(4px) rotate(-45deg); } 100% { transform: translateY(0) rotate(-45deg); } }
@keyframes locate { 0% { box-shadow: 0 0 0 0 rgba(59, 130, 196, .5); } 100% { box-shadow: 0 0 0 16px rgba(59, 130, 196, 0); } }
@keyframes sheetUp { from { transform: translateY(60%); } }
@keyframes spinBox { 0%, 100% { transform: rotateX(-22deg) rotateY(-34deg); } 50% { transform: rotateX(-18deg) rotateY(-14deg) translateY(-4px); } }
@keyframes grow { from { transform: rotateX(-22deg) rotateY(-34deg) scale(.72); } }
@keyframes segMove { to { transform: translateX(100%); } }
@keyframes segText { to { color: #f4efe4; } }
@keyframes qrIn { from { opacity: 0; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-140%); } }
@keyframes nowDot { from { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(19, 33, 27, .3); } }
@keyframes scan { 0%, 100% { top: 12%; } 50% { top: 84%; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }
@keyframes fall { 0% { opacity: 0; transform: translateY(-10px); } 20% { opacity: 1; } 75% { opacity: 1; transform: translateY(62px) scale(.85); } 100% { opacity: 0; transform: translateY(74px) scale(.6); } }
@keyframes fillBar { from { transform: scaleX(0); } }
@keyframes gemPulse { 0%, 100% { box-shadow: 0 6px 12px -4px rgba(199, 122, 44, .7), 0 0 0 0 rgba(231, 167, 74, .5); } 50% { box-shadow: 0 6px 12px -4px rgba(199, 122, 44, .7), 0 0 0 10px rgba(231, 167, 74, 0); } }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
@keyframes ringFill { from { --p: 0; } }
@keyframes shine { 0% { transform: translateX(-120%) rotate(20deg); } 60%, 100% { transform: translateX(160%) rotate(20deg); } }
@keyframes plane { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } }

.screen.is-active > * { animation: up .6s var(--ease-out) both; }
.screen.is-active > *:nth-child(2) { animation-delay: .06s; } .screen.is-active > *:nth-child(3) { animation-delay: .12s; }
.screen.is-active > *:nth-child(4) { animation-delay: .18s; } .screen.is-active > *:nth-child(5) { animation-delay: .24s; } .screen.is-active > *:nth-child(6) { animation-delay: .3s; }
.screen.is-active .typed { animation: type 1.3s steps(18) .5s both, caret .8s step-end infinite; }
.screen.is-active .pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ringOut 1.8s var(--ease-out) 1.6s infinite; }
.screen.is-active .pin-drop { animation: drop .7s var(--ease-out) both; }
.screen.is-active .pin-drop.d1 { animation-delay: .25s; } .screen.is-active .pin-drop.d2 { animation-delay: .4s; } .screen.is-active .pin-drop.d3 { animation-delay: .55s; }
.screen.is-active .me-dot { animation: locate 1.8s var(--ease-out) infinite; }
.screen.is-active .sheet { animation: sheetUp .8s var(--ease-drawer) .3s both; }
.screen.is-active .box3d { animation: grow .8s var(--ease-out) 1s both, spinBox 6s var(--ease-io) 1.8s infinite; }
.screen.is-active .seg-thumb { animation: segMove .5s var(--ease-drawer) .8s forwards; }
.screen.is-active .seg span:nth-child(2) { animation: segText .3s ease 1s forwards; }
.screen.is-active .app-qr rect { animation: qrIn .3s ease both; animation-delay: calc(1.2s + var(--i, 0) * 3ms); }
.screen.is-active .qr-done { animation: up .5s var(--ease-out) 2.6s both; }
.screen.is-active .toast { animation: toastIn .7s var(--ease-drawer) 1.4s both; }
.screen.is-active .track .t3::before { animation: nowDot .4s ease 2.2s both; }
.screen.is-active .scanline { animation: scan 2.6s var(--ease-io) infinite; }
.screen.is-active .gem { animation: pop .5s var(--ease-out) both, gemPulse 2s ease-in-out 1s infinite; }
.screen.is-active .gem.g2 { animation-delay: .15s, 1.2s; } .screen.is-active .gem.g3 { animation-delay: .3s, 1.4s; }
.screen.is-active .crew span { animation: pop .45s var(--ease-out) both; }
.screen.is-active .crew span:nth-child(2) { animation-delay: .12s; } .screen.is-active .crew span:nth-child(3) { animation-delay: .24s; } .screen.is-active .crew span:nth-child(4) { animation-delay: .36s; }
.screen.is-active .drop { animation: fall 2.4s var(--ease-io) infinite; }
.screen.is-active .drop.i2 { animation-delay: .8s; } .screen.is-active .drop.i3 { animation-delay: 1.6s; }
.screen.is-active .split i { animation: fillBar .6s var(--ease-out) both; }
.screen.is-active .split i:nth-child(2) { animation-delay: .15s; } .screen.is-active .split i:nth-child(3) { animation-delay: .3s; } .screen.is-active .split i:nth-child(4) { animation-delay: .45s; }
.screen.is-active .send i { animation: plane 1.4s ease-in-out infinite; }
.screen.is-active .ring { animation: ringFill 1.6s var(--ease-out) .3s both; }
.screen.is-active .bd i { animation: pop .5s var(--ease-out) both; }
.screen.is-active .bd.b2 i { animation-delay: .15s; } .screen.is-active .bd.b3 i { animation-delay: .3s; }
.bd i::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-120%) rotate(20deg); }
.screen.is-active .bd i::after { animation: shine 3.2s ease-in-out 1s infinite; }

/* ============ Demain : explorateur ============ */
.dm { margin: 0 12px; border-radius: 28px; overflow: hidden; background: var(--g-forest); color: var(--ivory); isolation: isolate; position: relative; }
.dm::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 60vmax; height: 60vmax; border-radius: 50%; background: radial-gradient(circle, rgba(231, 167, 74, .18), transparent 60%); }
.dm-inner { max-width: 1280px; margin: 0 auto; padding: clamp(80px, 13vh, 130px) clamp(20px, 4vw, 56px); }
.dm .caption { color: rgba(244, 239, 228, .75); }
.dm .caption i { color: var(--amber-hi); }
.dm .block-title em { background: var(--g-text-dark); -webkit-background-clip: text; background-clip: text; }
.dm .block-lead { color: rgba(244, 239, 228, .75); }
.dm-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.dm-tabs { display: grid; gap: 8px; }
.dm-tab {
  position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 16px; width: 100%; padding: 16px 18px; border: 0; border-radius: 20px; text-align: left; cursor: pointer;
  background: transparent; color: rgba(244, 239, 228, .7); font: inherit; transition: background-color .4s var(--ease-out), color .4s;
}
.dm-tab > i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-size: 1.25rem; color: var(--amber-hi); box-shadow: inset 0 0 0 1px rgba(244, 239, 228, .22); transition: background-color .4s, color .4s; }
.dm-tab b { display: block; font-size: 1.08rem; font-weight: 500; letter-spacing: -.02em; color: var(--ivory); }
.dm-tab small { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: .92rem; line-height: 1.55; transition: max-height .6s var(--ease-out), opacity .5s, margin .5s; }
.dm-tab.is-active { background: rgba(244, 239, 228, .08); color: rgba(244, 239, 228, .82); }
.dm-tab.is-active > i { background: var(--g-amber); color: var(--ink); box-shadow: none; }
.dm-tab.is-active small { max-height: 14em; opacity: 1; margin-top: 6px; }
.dm-bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.dm-tab.is-active .dm-bar { animation: fillBar var(--dm-time, 7s) linear forwards; }
.dm.is-paused .dm-tab.is-active .dm-bar { animation-play-state: paused; }
@media (hover: hover) { .dm-tab:not(.is-active):hover { background: rgba(244, 239, 228, .05); color: var(--ivory); } }
.dm-phone { position: relative; top: auto; }
.dm-phone::before { background: radial-gradient(circle, rgba(231, 167, 74, .35), transparent 64%); }
@media (max-width: 900px) {
  .dm-grid { grid-template-columns: 1fr; }
  .dm-phone { order: -1; }
  .dm-phone .phone { width: min(250px, 66vw); }
}

/* ============ Où en est feetch ============ */
.road-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.road-list::before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 1px; background: repeating-linear-gradient(90deg, rgba(19, 33, 27, .3) 0 6px, transparent 6px 12px); }
.road-list li { position: relative; padding-top: 38px; }
.road-dot { position: absolute; left: 0; top: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--ivory); box-shadow: inset 0 0 0 1.5px rgba(19, 33, 27, .35); }
.road-list .is-now .road-dot { background: var(--amber); box-shadow: 0 0 0 0 rgba(231, 167, 74, .6); animation: pulse 2.4s var(--ease-out) infinite; }
.road-k { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 500; color: var(--forest); }
.road-now { padding: 3px 10px; border-radius: 999px; background: rgba(231, 167, 74, .18); color: var(--amber-deep); font-size: .72rem; }
.road-list h3 { margin-top: 8px; font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.road-list p:last-child { margin-top: 6px; font-size: .92rem; color: var(--ink-soft); max-width: 32ch; }
@media (max-width: 860px) {
  .road-list { grid-template-columns: 1fr; gap: 28px; padding-left: 34px; }
  .road-list::before { left: 8px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(19, 33, 27, .3) 0 6px, transparent 6px 12px); }
  .road-list li { padding-top: 0; }
  .road-dot { left: -34px; }
}

/* Téléphone sur mobile (section Comment ça marche) */
@media (max-width: 900px) {
  .how .phone-wrap { position: sticky; top: 58px; z-index: 2; padding: 6px 0 24px; background: linear-gradient(180deg, var(--ivory) 84%, rgba(244, 239, 228, 0)); }
  .how .phone { width: min(170px, 46vw); --pad: 7px; border-radius: 30px; }
  .how .screen { border-radius: 24px; zoom: .56; }
  .how .tabbar { zoom: .56; }
  .how .phone-bar, .how .phone-notch { zoom: .56; }
}

@media (prefers-reduced-motion: reduce) {
  .screen, .screen.is-active > *, .screen.is-active * { animation: none !important; transition: opacity .3s ease !important; }
  .dm-tab.is-active .dm-bar { animation: none; transform: scaleX(1); }
}

/* Retouches : écran de dépôt rempli jusqu'en bas, écran de suivi sous la notification */
.sheet { flex: 1; margin-bottom: -86px; padding-bottom: 86px; }
.screen[data-step="3"] { padding-top: 112px; }
.screen[data-step="3"] .map-route { height: 132px; }
.row.journal { margin-top: auto; }
.trip-card img { object-position: 50% 35%; }
.row.next { margin-top: auto; }
.row .bar { display: block; height: 6px; margin-top: 6px; border-radius: 6px; background: rgba(19, 33, 27, .08); overflow: hidden; }
.row .bar i { display: block; width: 60%; height: 100%; border-radius: 6px; background: var(--g-amber); transform-origin: left; }
.screen.is-active .row .bar i { animation: fillBar 1.2s var(--ease-out) .8s both; }
@media (max-width: 760px) { .hero .seal { display: none; } }

/* ============ Le sac : vitrine ============ */
.bagshow { padding: 12px 12px clamp(80px, 13vh, 130px); }
.bag-frame { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 2200 / 1228; min-height: 520px; background: #efe7d8; isolation: isolate; }
.bag-hero { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform-origin: 70% 50%; }
.bag-frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(244, 239, 228, .92) 0%, rgba(244, 239, 228, .6) 30%, rgba(244, 239, 228, 0) 50%); }
.bag-copy { position: absolute; z-index: 2; left: clamp(22px, 4vw, 64px); top: 50%; transform: translateY(-50%); max-width: min(30rem, 42%); }
.bag-copy .block-title { font-size: clamp(2rem, 3.8vw, 3.6rem); }
.bag-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .82rem; color: var(--forest); }
.bag-hint i { font-size: 1.1rem; animation: nudge 2.2s var(--ease-io) infinite; }
.hotspot { position: absolute; z-index: 3; left: var(--x); top: var(--y); width: 0; height: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.hs-dot { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 253, 248, .92); box-shadow: 0 0 0 0 rgba(255, 253, 248, .7), 0 8px 16px -6px rgba(16, 36, 28, .5); animation: hsPulse 2.4s var(--ease-out) infinite; }
.hs-dot::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--amber-deep); transition: transform .4s var(--ease-out); }
@keyframes hsPulse { 70% { box-shadow: 0 0 0 14px rgba(255, 253, 248, 0), 0 8px 16px -6px rgba(16, 36, 28, .5); } 100% { box-shadow: 0 0 0 0 rgba(255, 253, 248, 0), 0 8px 16px -6px rgba(16, 36, 28, .5); } }
.hs-card {
  position: absolute; left: 22px; top: -22px; width: 230px; padding: 14px 16px; border-radius: 16px; text-align: left; color: var(--ink);
  background: rgba(255, 253, 248, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 40px -24px rgba(16, 36, 28, .6);
  opacity: 0; transform: translateY(6px) scale(.96); transform-origin: left top; pointer-events: none; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out);
}
.hs-card b { display: block; font-size: .92rem; font-weight: 600; letter-spacing: -.01em; }
.hs-card small { display: block; margin-top: 4px; font-size: .8rem; line-height: 1.45; color: var(--ink-soft); }
.hotspot.is-open .hs-card { opacity: 1; transform: none; pointer-events: auto; }
.hotspot.is-open .hs-dot::after { transform: scale(1.35); }
.hotspot.is-open { z-index: 4; }
.hotspot.flip .hs-card { left: auto; right: 22px; transform-origin: right top; }
@media (hover: hover) { .hotspot:hover .hs-card { opacity: 1; transform: none; } .hotspot:hover { z-index: 4; } }
.bag-steps { list-style: none; max-width: 1280px; margin: clamp(40px, 7vh, 70px) auto 0; padding: 0 clamp(8px, 3vw, 44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 28px); }
.bag-steps li { position: relative; }
.bag-steps .card-img { margin: 0; aspect-ratio: 4 / 4.6; }
.bag-steps .num { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 253, 248, .92); color: var(--forest); font-size: .88rem; font-weight: 600; box-shadow: 0 8px 16px -8px rgba(16, 36, 28, .6); }
.bag-steps h3 { margin-top: 16px; font-size: 1.1rem; font-weight: 500; letter-spacing: -.02em; }
.bag-steps p { margin-top: 4px; font-size: .92rem; color: var(--ink-soft); }
.scan-frame { position: absolute; left: 61%; top: 43%; width: 27%; aspect-ratio: 1; border-radius: 10px; pointer-events: none;
  background: linear-gradient(var(--amber), var(--amber)) 0 0 / 18px 2px, linear-gradient(var(--amber), var(--amber)) 0 0 / 2px 18px, linear-gradient(var(--amber), var(--amber)) 100% 0 / 18px 2px, linear-gradient(var(--amber), var(--amber)) 100% 0 / 2px 18px, linear-gradient(var(--amber), var(--amber)) 0 100% / 18px 2px, linear-gradient(var(--amber), var(--amber)) 0 100% / 2px 18px, linear-gradient(var(--amber), var(--amber)) 100% 100% / 18px 2px, linear-gradient(var(--amber), var(--amber)) 100% 100% / 2px 18px;
  background-repeat: no-repeat; }
.scan-frame i { position: absolute; left: 6%; right: 6%; top: 10%; height: 2px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 12px 3px rgba(231, 167, 74, .6); animation: scan 2.6s var(--ease-io) infinite; }
@media (max-width: 900px) {
  .bag-frame { aspect-ratio: auto; min-height: 0; display: flex; flex-direction: column; }
  .bag-frame::after { display: none; }
  .bag-hero { position: relative; aspect-ratio: 2200 / 1228; height: auto; order: 1; }
  .bag-copy { position: relative; transform: none; top: auto; left: auto; max-width: none; padding: 30px 22px 26px; order: 0; }
  .hotspot, .bag-hint { display: none; }
  .bag-facts { display: grid; }
  .bag-steps { grid-template-columns: 1fr; }
  .bag-steps .card-img { aspect-ratio: 4 / 3.4; }
}
@media (prefers-reduced-motion: reduce) { .hs-dot, .scan-frame i, .bag-hint i { animation: none; } }
.map-full .mlabel { font: 500 8.5px "Poppins", sans-serif; fill: #8a8f82; letter-spacing: .04em; }
.app-label { margin-bottom: -4px; font-size: .62rem; font-weight: 500; color: var(--ink-soft); }
.map-full.small { margin: 0 -2px; height: 160px; border-radius: 18px; flex: none; }
.row .avatar { flex: none; }
.row.mini { padding: 7px 10px; }
.row.mini .avatar { width: 26px; height: 26px; font-size: .62rem; box-shadow: none; }
.chips { display: flex; gap: 6px; overflow: hidden; }
.chips span { flex: none; padding: 6px 11px; border-radius: 999px; background: #fff; font-size: .62rem; font-weight: 500; color: var(--ink-soft); box-shadow: 0 6px 14px -10px rgba(19, 33, 27, .5); }
.chips .on { background: var(--forest); color: var(--ivory); }
.share-box { height: 120px; }

.bag-facts { display: none; list-style: none; margin: 16px 4px 0; padding: 0; gap: 10px; }
.bag-facts li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #fffdf8; box-shadow: 0 10px 24px -20px rgba(16, 36, 28, .5); }
.bag-facts i { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(29, 59, 48, .08); color: var(--forest); font-size: 1.15rem; }
.bag-facts b { display: block; font-size: .95rem; font-weight: 500; }
.bag-facts small { display: block; margin-top: 2px; font-size: .85rem; color: var(--ink-soft); line-height: 1.45; }
