/* Hero */
.hero-live { padding: 56px 0 0; }
.hero-live-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.hero-live h1 { font-family: var(--font-display); font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 20px; }
.hero-live p { font-size: 17px; color: var(--on-surface-variant); margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.btn-glow-lg { font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--primary-container), var(--primary-bright)); padding: 15px 30px; border-radius: 999px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: box-shadow 0.2s, transform 0.2s; }
.btn-glow-lg:hover { box-shadow: 0 0 20px rgba(0,209,102,0.4); transform: scale(0.98); }
.btn-outline-lg { font-size: 14px; font-weight: 600; color: var(--on-surface); background: transparent; border: 1px solid var(--on-surface-muted); padding: 15px 30px; border-radius: 999px; text-decoration: none; transition: background 0.15s; }
.btn-outline-lg:hover { background: var(--surface-low); }

/* Parcours animé */
.stage-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.stage { position: relative; height: 420px; width: 100%; min-width: 720px; margin: 0 auto; }
.stage::before { content: ""; position: absolute; width: 620px; height: 300px; left: 50%; top: 55px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(0,209,102,.12), transparent 70%); filter: blur(18px); }
svg.path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.path-bg { fill: none; stroke: rgba(0,109,50,.11); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.path-live { fill: none; stroke: url(#parcours-g); stroke-width: 6; stroke-linecap: round; filter: url(#parcours-glow); }
.node { position: absolute; width: 10.6%; min-width: 78px; text-align: center; opacity: .34; transform: scale(.94) translateY(8px); transition: .55s; z-index: 4; }
.node.active { opacity: 1; transform: scale(1.06) translateY(0); }
.node.done { opacity: .72; }
.nv { width: 76%; aspect-ratio: 108 / 94; margin: auto; border-radius: clamp(16px, 2.2vw, 28px); background: rgba(255,255,255,.78); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 24px 45px rgba(11,28,48,.07); }
.node.active .nv { background: #fff; box-shadow: 0 24px 45px rgba(0,109,50,.12), 0 0 0 8px rgba(0,209,102,.055); }
.ni { font-size: clamp(24px, 3.6vw, 43px); line-height: 1; }
.node-badge { position: absolute; right: 6%; top: 5%; background: var(--primary-bright); color: #003b1b; border-radius: 50%; width: clamp(16px, 2vw, 23px); height: clamp(16px, 2vw, 23px); display: grid; place-items: center; font-size: clamp(9px, 1.1vw, 12px); font-weight: 900; }
.notif-badge { position: absolute; top: -14px; right: -8px; width: clamp(19px, 2.3vw, 26px); height: clamp(19px, 2.3vw, 26px); background: var(--surface-card); border-radius: 50%; box-shadow: 0 8px 16px rgba(11,28,48,.14); display: flex; align-items: center; justify-content: center; font-size: clamp(10px, 1.2vw, 13px); opacity: 0; transform: scale(.5) translateY(4px); transition: opacity .3s, transform .3s; pointer-events: none; }
.node.active .notif-badge { opacity: 1; transform: scale(1) translateY(0); animation: notifPop .6s ease; }
.node.done .notif-badge { opacity: .55; transform: scale(.85) translateY(0); }
@keyframes notifPop { 0% { transform: scale(.4) translateY(6px); opacity: 0; } 60% { transform: scale(1.15) translateY(-2px); opacity: 1; } 100% { transform: scale(1) translateY(0); opacity: 1; } }
.scanline { position: absolute; width: 54%; height: 2px; background: var(--primary-bright); box-shadow: 0 0 14px var(--primary-bright); left: 23%; top: 32%; animation: scan 1.1s infinite; }
@keyframes scan { 50% { top: 72%; } }
.node strong { display: block; font: 600 clamp(10px, 1.15vw, 13px) "Space Grotesk", sans-serif; margin-top: clamp(5px, 1vw, 10px); }
.node small { display: block; color: var(--on-surface-variant); font-size: clamp(8.5px, 0.95vw, 10px); line-height: 1.3; margin-top: 3px; }
.node-num { display: block; color: var(--primary-container); font: 700 clamp(8px, 0.9vw, 10px) "Space Grotesk"; letter-spacing: 1px; margin-top: clamp(4px, 0.8vw, 8px); }
.n1 { left: 0; top: 225px; } .n2 { left: 11.5%; top: 55px; } .n3 { left: 23%; top: 225px; }
.n4 { left: 34.5%; top: 55px; } .n5 { left: 46%; top: 195px; } .n6 { left: 58%; top: 55px; }
.n7 { left: 69.5%; top: 225px; } .n8 { left: 81%; top: 55px; } .n9 { right: 0; top: 185px; }
.label { font-size: clamp(22px, 3.4vw, 40px); }
.labeltag { position: absolute; background: #fff; box-shadow: 0 8px 16px rgba(11,28,48,.12); font: 700 8px "Space Grotesk"; padding: 4px 6px; bottom: 15px; right: 18px; color: var(--primary-container); transform: rotate(-7deg); animation: tag .9s infinite alternate; }
@keyframes tag { to { transform: translateY(-5px) rotate(-7deg); } }
.travel { font-size: clamp(22px, 3.4vw, 40px); }
.travel .plane { position: absolute; font-size: clamp(17px, 2.6vw, 30px); animation: fly 2s infinite ease-in-out; }
.travel .ship { position: absolute; bottom: 10px; font-size: clamp(14px, 2vw, 24px); animation: boat 1.8s infinite ease-in-out; }
@keyframes fly { 0%,100% { transform: translate(-22px,10px); } 50% { transform: translate(22px,-12px); } }
@keyframes boat { 50% { transform: translateX(9px); } }
.home { font-size: clamp(24px, 3.6vw, 43px); }
.person { position: absolute; bottom: 8px; left: 10px; font-size: clamp(16px, 2.3vw, 28px); }
.parcel { position: absolute; bottom: 9px; left: 47px; font-size: clamp(15px, 2.2vw, 27px); animation: handoff .7s infinite alternate; }
@keyframes handoff { to { transform: translateX(7px); } }
.pbox { position: absolute; width: clamp(38px, 5.4vw, 58px); height: clamp(38px, 5.4vw, 58px); border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: clamp(20px, 3vw, 31px); box-shadow: 0 18px 40px rgba(0,109,50,.16); z-index: 10; pointer-events: none; transition: left 1.15s cubic-bezier(.65,0,.35,1), top 1.15s cubic-bezier(.65,0,.35,1); }
.pbox::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; background: rgba(0,209,102,.12); filter: blur(7px); z-index: -1; animation: boxpulse 1.2s infinite; }
@keyframes boxpulse { 50% { opacity: .45; transform: scale(.88); } }
.parcours-status { width: max-content; max-width: calc(100% - 30px); margin: -7px auto 0; background: rgba(255,255,255,.8); backdrop-filter: blur(18px); border-radius: 999px; padding: 10px 19px; display: flex; align-items: center; gap: 9px; box-shadow: 0 20px 40px rgba(11,28,48,.06); font-size: 13px; font-weight: 600; position: relative; z-index: 20; transition: .25s; }
.parcours-status b { color: var(--primary-bright); font-size: 13px; }
.parcours-dots { display: flex; justify-content: center; gap: 5px; margin-top: 15px; padding-bottom: 16px; }
.parcours-dots .dot { width: 6px; height: 6px; border-radius: 10px; background: var(--surface-high); transition: .25s; }
.parcours-dots .dot.active { width: 24px; background: var(--primary-bright); box-shadow: 0 0 9px rgba(0,209,102,.4); }
@media (max-width: 650px) {
  .parcours-status { font-size: 11px; padding: 8px 13px; }
  .hero-live { padding: 40px 0 0; }
  .hero-buttons { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { .stage * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Sections */
.section { padding: 100px 0; }
#produit { padding-top: 32px; padding-bottom: 40px; }
#analytique { padding-top: 32px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-bottom: 10px; }
.section-head p { color: var(--on-surface-variant); font-size: 16px; }

/* Bento feature grid */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } }
.bento-card { border-radius: 1rem; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; position: relative; overflow: hidden; }
.bento-card.c1 { grid-column: span 8; background: var(--surface-low); }
.bento-card.c2 { grid-column: span 4; background: var(--surface-mid); }
.bento-card.c3 { grid-column: span 5; background: var(--surface-high); }
.bento-card.c4 { grid-column: span 7; background: var(--surface-low); }
@media (max-width: 760px) { .bento-card.c1, .bento-card.c2, .bento-card.c3, .bento-card.c4 { grid-column: span 1; } }
.bento-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.bento-icon { width: 40px; height: 40px; border-radius: 999px; background: var(--surface-card); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(11,28,48,0.08); flex-shrink: 0; }
.bento-icon svg { width: 20px; height: 20px; }
.bento-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 0; }
.bento-card p { font-size: 13.5px; color: var(--on-surface-variant); }
.bento-tag { position: absolute; top: 32px; right: 32px; font-size: 11px; font-weight: 600; letter-spacing: 0.03em; color: var(--primary-container); background: var(--primary-fixed-dim); padding: 5px 12px; border-radius: 999px; }
.bento-blob { position: absolute; right: 0; top: 0; width: 130px; height: 130px; background: rgba(0,209,102,0.1); border-radius: 0 0 0 130px; }

/* Pricing */
#tarifs { padding-top: 32px; }
.triple-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .triple-grid { grid-template-columns: 1fr; } }
.triple-card { background: var(--surface-card); border-radius: 1rem; padding: 32px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 20px 40px rgba(11,28,48,0.09); position: relative; overflow: hidden; }
.triple-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary-container), var(--primary-bright)); }
.triple-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 4px 0 10px; }
.triple-card > p { color: var(--on-surface-variant); font-size: 13.5px; margin-bottom: 22px; flex-grow: 1; }

.track-preview-card { align-items: stretch; }
.track-preview-card > p { flex-grow: 0; }
.track-preview { flex-grow: 1; width: 100%; margin-bottom: 24px; }
.track-preview-item { display: flex; gap: 12px; padding-bottom: 16px; text-align: left; }
.track-preview-item:last-child { padding-bottom: 0; }
.track-preview-left { display: flex; flex-direction: column; align-items: center; }
.track-preview-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--ghost-outline-solid); flex-shrink: 0; }
.track-preview-item.done .track-preview-dot { background: var(--primary-bright); }
.track-preview-item.active .track-preview-dot { background: var(--primary); box-shadow: 0 0 0 4px var(--surface-low); }
.track-preview-line { width: 1.5px; flex: 1; min-height: 14px; margin-top: 3px; background: var(--ghost-outline-solid); }
.track-preview-item.done .track-preview-line { background: var(--primary-bright); opacity: .4; }
.track-preview-right strong { display: block; font-size: 13.5px; font-weight: 700; }
.track-preview-right small { display: block; font-size: 11.5px; color: var(--on-surface-variant); margin-top: 1px; }

.price-amount { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--primary); letter-spacing: -0.02em; margin-bottom: 10px; display: flex; align-items: baseline; justify-content: center; gap: 6px; width: 100%; }
.price-amount span { font-size: 17px; font-weight: 500; color: var(--on-surface-variant); }
.price-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; }
.price-card-block p { color: var(--on-surface-muted); font-size: 13px; margin: 0; }

/* Data / interface section */
.data-mock { background: var(--surface-card); border-radius: 2rem; padding: 28px; border: 1px solid var(--ghost-outline); width: 100%; }
.data-mock-body { display: grid; grid-template-columns: 1fr 0.85fr; gap: 40px; align-items: center; margin-top: 4px; }
@media (max-width: 760px) { .data-mock-body { grid-template-columns: 1fr; gap: 28px; } }
.data-mock-right { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.data-mock-right .donut-row { margin-top: 0; }
.data-mock-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; margin-bottom: 20px; background-image: linear-gradient(var(--ghost-outline), var(--ghost-outline)); background-size: 100% 1px; background-repeat: no-repeat; background-position: bottom; }
.data-mock-head h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; }
.data-mock-badge { font-size: 11px; font-weight: 600; letter-spacing: 0.03em; color: var(--on-surface-muted); background: var(--surface-low); padding: 4px 10px; border-radius: 999px; }
.data-mock-foot { text-align: center; font-size: 11.5px; color: var(--on-surface-muted); margin-top: 10px; }
.data-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.data-tiles-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 480px) { .data-tiles-4 { grid-template-columns: repeat(4, 1fr); } }
.data-tiles-4 .data-tile { padding: 12px; }
.data-tiles-4 .data-tile-val { font-size: 18px; }

.trend-block { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--ghost-outline); }
.trend-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.trend-label { font-size: 11px; color: var(--on-surface-variant); }
.trend-today { font-size: 12px; color: var(--on-surface-variant); }
.trend-today b { font-family: var(--font-display); font-size: 15px; color: var(--on-surface); font-weight: 700; }
.trend-chart { width: 100%; height: auto; display: block; }
.trend-area { fill: var(--primary-bright); fill-opacity: 0.1; stroke: none; }
.trend-line { fill: none; stroke: var(--primary-bright); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trend-dot { fill: var(--primary-bright); stroke: var(--surface-card); stroke-width: 2; }
.trend-days { display: flex; justify-content: space-between; padding: 0 2px; margin-top: 2px; }
.trend-days span { font-size: 10px; color: var(--on-surface-muted); }

.donut-row { display: flex; align-items: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.donut { width: 110px; height: 110px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(var(--primary-bright) 0% 45%, var(--secondary) 45% 70%, var(--primary-container) 70% 88%, var(--ghost-outline-solid) 88% 100%); position: relative; }
.donut::after { content: ''; position: absolute; inset: 18px; border-radius: 50%; background: var(--surface-card); }
.donut-lg { width: 168px; height: 168px; }
.donut-lg::after { inset: 28px; }
.donut-legend { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.donut-legend div { display: flex; align-items: center; gap: 8px; color: var(--on-surface-variant); }
.donut-legend b { color: var(--on-surface); font-weight: 700; margin-left: auto; }
.donut-legend .dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.data-tile { background: var(--surface-low); border-radius: 0.75rem; padding: 16px; }
.data-tile-label { display: block; font-size: 11px; color: var(--on-surface-variant); margin-bottom: 6px; }
.data-tile-val { font-family: var(--font-display); font-size: 22px; font-weight: 700; display: flex; align-items: baseline; gap: 6px; }
.data-tile-val .up { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--on-surface-muted); }
.data-bars { height: 140px; margin-top: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 0 8px; }
.data-bars div { flex: 1; background: var(--primary-container); opacity: 0.4; border-radius: 4px 4px 0 0; }
.data-bars div:nth-child(6) { opacity: 1; box-shadow: 0 0 10px rgba(0,209,102,0.5); }

.data-checks-below { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 760px) { .data-checks-below { grid-template-columns: 1fr; } }
.data-checks-below div { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--on-surface); }
.data-checks-below svg { width: 20px; height: 20px; stroke: var(--primary-bright); flex-shrink: 0; margin-top: 1px; }

/* Contact */
#contact { padding-top: 32px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; border: 1px solid var(--ghost-outline); border-radius: 1.5rem; padding: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; padding: 28px; } }
.contact-intro h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 600; margin-bottom: 12px; }
.contact-intro p { color: var(--on-surface-variant); font-size: 15px; }
.contact-form { background: var(--surface-card); border-radius: 1.25rem; padding: 32px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.contact-form::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary-container), var(--primary-bright)); }
.contact-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field label { display: block; font-size: 13px; font-weight: 700; color: var(--on-surface); margin-bottom: 6px; }
.contact-field label .opt { font-weight: 400; color: var(--on-surface-muted); }
.contact-field input, .contact-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--ghost-outline); background: var(--surface-low); border-radius: 0.6rem; font-family: var(--font-body); font-size: 14px; color: var(--on-surface); outline: none; transition: border-color 0.15s, background 0.15s; resize: vertical; }
.contact-field input:focus, .contact-field textarea:focus { border: 2px solid var(--primary); background: var(--surface); padding: 11px 13px; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: var(--on-surface-muted); }
.contact-form .alert { padding: 11px 14px; border-radius: 0.6rem; font-size: 13px; font-weight: 500; display: none; }
.contact-form .alert.error { background: #ffdad6; color: #ba1a1a; border: 1px solid #ffb4a8; display: block; }
.contact-form .alert.success { background: var(--surface-low); color: var(--primary); border: 1px solid var(--ghost-outline); display: block; }
