/* TravelBook — site vitrine. Sombre et premium (Linear), mise en scène produit et mosaïque
   (Apple), mouvement au défilement (Lusion). Accent : orange du logo. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #08090C;
  --bg-2: #0D0F14;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #F4F5F7;
  --body: #A1A7B3;
  --muted: #6E7581;
  --orange: #FF8A2B;
  --orange-2: #F07A1A;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --pad: 32px;
  --header: 64px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--text); }
h1, h2, .h-sub, .tile-title { font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: 48px; line-height: 1.08; }
h2 { font-size: 36px; line-height: 1.12; }
.h-sub { font-size: 24px; line-height: 1.2; }
h3 { font-size: 17px; line-height: 1.4; font-weight: 600; letter-spacing: -0.01em; }
.gradient { background: linear-gradient(180deg, #FFFFFF 25%, rgba(255, 255, 255, 0.58) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: rgba(255, 138, 43, 0.35); color: var(--text); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 40; background: var(--text); color: var(--bg); padding: 10px 14px; }
.skip:focus { left: 12px; }
.small { font-size: 14px; line-height: 1.5; }
.lead { font-size: 17px; line-height: 1.65; color: var(--body); max-width: 34em; }
.center { text-align: center; margin-inline: auto; }
.link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px; }
.link:hover { text-decoration-color: currentColor; }
.link-arrow { font-weight: 500; font-size: 15px; color: var(--text); text-decoration: none; }
.link-arrow::after { content: "→"; display: inline-block; margin-left: 8px; color: var(--orange); transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--orange); margin-bottom: 16px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 0; white-space: nowrap;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-icon { width: 18px; height: 18px; }
.btn-small { min-height: 34px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--text); color: #08090C; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 30px -8px rgba(255, 138, 43, 0.45); }
.btn-primary:hover { background: #FFFFFF; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 40px -6px rgba(255, 138, 43, 0.6); }
.btn-ghost, .btn-ghost-light { color: var(--text); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--border-2); }
.btn-ghost:hover, .btn-ghost-light:hover { background: rgba(255, 255, 255, 0.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions.center { justify-content: center; margin-top: 48px; }

/* En-tête */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background-color 0.3s, box-shadow 0.3s; }
.header.scrolled { background: rgba(8, 9, 12, 0.72); backdrop-filter: saturate(1.8) blur(18px); box-shadow: 0 1px 0 var(--border); }
.header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: var(--text); }
.brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav { display: flex; gap: 2px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--body); padding: 7px 12px; border-radius: 8px; transition: color 0.2s, background-color 0.2s; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: var(--text); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; }
.lang { text-decoration: none; color: var(--body); font-weight: 500; }
.lang:hover { color: var(--text); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 48px; height: 48px; margin-right: -12px; color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.burger { width: 24px; height: 24px; }
.menu-panel { position: absolute; left: 12px; right: 12px; top: 58px; background: rgba(18, 20, 26, 0.96); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 16px; padding: 8px 20px 14px; display: grid; }
.menu:not([open]) .menu-panel { display: none; }
.menu-panel a { display: flex; align-items: center; min-height: 50px; text-decoration: none; border-bottom: 1px solid var(--border); font-weight: 500; color: var(--text); }
.menu-panel a:last-child { border-bottom: 0; }

/* Aurore animée */
.aurora { position: absolute; inset: -20% 0 auto; height: 120%; z-index: 0; pointer-events: none; opacity: 0.6; will-change: transform;
  background:
    radial-gradient(38% 42% at 35% 20%, rgba(255, 138, 43, 0.5) 0%, rgba(255, 138, 43, 0.18) 40%, transparent 75%),
    radial-gradient(36% 40% at 65% 15%, rgba(91, 140, 255, 0.42) 0%, rgba(91, 140, 255, 0.14) 40%, transparent 75%),
    radial-gradient(30% 32% at 50% 38%, rgba(255, 92, 120, 0.22) 0%, transparent 75%);
  animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, 4%, 0) scale(1.08); } }

/* Héros d'accueil */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header) + 56px); }
.hero .stage { position: relative; z-index: 1; }
.hero > .wrap { position: relative; z-index: 2; }
.hero-center { display: grid; justify-items: center; text-align: center; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--text);
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--border-2); margin-bottom: 32px; transition: background-color 0.2s; }
.announce:hover { background: rgba(255, 255, 255, 0.09); }
.announce span { padding: 3px 10px; border-radius: 999px; background: var(--orange); color: #1B1206; font-weight: 600; font-size: 12px; }
.announce::after { content: "→"; color: var(--muted); }
.display { font-size: 64px; line-height: 1.04; letter-spacing: -0.045em; background: linear-gradient(180deg, #FFFFFF 30%, rgba(255, 255, 255, 0.55) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 6px; }
.hero .lead { margin-top: 24px; font-size: 18px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hero-note { margin-top: 20px; color: var(--muted); }

/* Scène 3D des téléphones */
.stage { --tilt: 1; margin-top: -60px; height: 820px; perspective: 1600px; }
.stage-inner { position: relative; width: min(720px, 100% - 2 * var(--pad)); height: 100%; margin-inline: auto;
  transform: rotateX(calc(var(--tilt) * 24deg)) translateY(calc(var(--tilt) * 40px)) scale(calc(1 - var(--tilt) * 0.06)); transform-origin: 50% 0;
  will-change: transform; }
.stage::before { content: ""; position: absolute; left: 50%; top: 18%; width: 620px; max-width: 90vw; height: 420px; transform: translateX(-50%); z-index: 0;
  background: radial-gradient(closest-side, rgba(255, 138, 43, 0.3), rgba(255, 138, 43, 0.1) 55%, transparent); }
/* Téléphone modelé sur le Redmi (POCO F7) : bordures fines, poinçon centré, cadre métal, boutons à droite. */
.phone { position: relative; width: 270px; padding: 4px; border-radius: 34px; background: #050608;
  box-shadow: 0 0 0 1.5px #5A5F69, 0 0 0 2.5px #1B1D22, 0 40px 80px -20px rgba(0, 0, 0, 0.8); }
.phone::before { content: ""; position: absolute; z-index: 2; top: calc(4px + 1.5%); left: 50%; width: 3.4%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%);
  background: #000000; box-shadow: inset 0 0 0 1px #1C2130; }
.phone::after { content: ""; position: absolute; right: -4.5px; top: 21%; width: 2.5px; height: 17%; border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #6A6F79 0 52%, transparent 52% 66%, #6A6F79 66% 100%); }
.phone img { width: 100%; height: auto; border-radius: 30px; }
.stage .phone { position: absolute; }
.stage .phone-front { width: 300px; left: 50%; top: 0; transform: translateX(-62%); z-index: 2; }
.stage .phone-back { width: 260px; left: 50%; top: 60px; transform: translateX(18%) rotate(4deg); z-index: 1; opacity: 0.9; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; min-width: 240px;
  background: rgba(24, 26, 33, 0.96); box-shadow: inset 0 0 0 1px var(--border-2), 0 20px 40px -12px rgba(0, 0, 0, 0.7); text-align: left; }
.float-card b { display: block; color: var(--text); font-size: 14px; font-weight: 600; }
.float-card small { display: block; color: var(--body); font-size: 12px; margin-top: 2px; }
.fc-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(52, 211, 153, 0.15); color: #34D399; flex: none; }
.fc-icon .icon { width: 17px; height: 17px; stroke-width: 2.4; }
.fc-icon.fc-orange { background: rgba(255, 138, 43, 0.15); color: var(--orange); }
.card-pay { right: 0; top: 300px; }
.card-ticket { left: 0; top: 470px; }
.ops-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 40px; padding: 40px 0 8px; border-top: 1px solid var(--border); margin-top: -1px; position: relative; z-index: 2; }
.ops-strip p { font-size: 14px; color: var(--muted); }
.ops-strip ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.ops-strip li { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; color: #C9CDD4; }

/* En-tête des pages intérieures */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header) + 80px) 0 80px; border-bottom: 1px solid var(--border); }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 16em; font-size: 48px; letter-spacing: -0.04em; line-height: 1.08; padding-bottom: 4px; }
.page-hero .lead { margin-top: 22px; }
.page-hero .hero-actions { justify-content: flex-start; }
.hero-badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--border-2); color: var(--orange); margin-bottom: 28px; }
.hero-badge .icon { width: 22px; height: 22px; }

/* Sections */
.section { position: relative; padding: 104px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-soft, .section-night { background: var(--bg-2); }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head .lead { margin-top: 20px; }
.section-head.center .lead { margin-inline: auto; }
.more-link { margin-top: 48px; }

/* Tuiles (mosaïque) */
.tile { position: relative; overflow: hidden; border-radius: 24px; padding: 32px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px var(--border); isolation: isolate; transition: box-shadow 0.3s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 138, 43, 0.12), transparent 60%); }
.tile:hover { box-shadow: inset 0 0 0 1px var(--border-2); }
.tile:hover::before { opacity: 1; }
.tile p { color: var(--body); font-size: 15px; line-height: 1.6; }
.tile h3 + p { margin-top: 8px; }
.tile-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--border-2); color: var(--orange); margin-bottom: 22px; }
.tile-icon .icon { width: 20px; height: 20px; }
.tile-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--orange); margin-bottom: 14px; }
.tile-kicker .icon { width: 16px; height: 16px; }
.tile-title { font-size: 22px; line-height: 1.2; color: var(--text); }
.tile-title + p { margin-top: 12px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile-kora { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 40px 0; min-height: 620px; }
.tile-kora .tile-text { padding-bottom: 40px; align-self: start; }
.tile-kora .tile-phone { align-self: end; justify-self: center; }
.tile-kora .phone { width: 300px; margin-bottom: -60px; }
.tile-qr .ticket-art { margin-top: 24px; transform: scale(0.88); transform-origin: left top; margin-bottom: -40px; }
.tile .big-number { font-size: 72px; line-height: 0.95; font-weight: 600; letter-spacing: -0.06em; background: linear-gradient(180deg, #FFB574, var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile-pay .tile-title { font-size: 20px; margin-top: 8px; }
.ops { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ops li { font-size: 13px; padding: 5px 10px; border-radius: 999px; color: var(--text); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--border); }
.tile-search { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; padding: 40px 0 0 40px; }
.tile-search .tile-text { padding-bottom: 40px; }
.tile-shot { align-self: end; border-radius: 20px 0 0 0; overflow: hidden; box-shadow: inset 0 0 0 1px var(--border-2); max-height: 300px; }
.tile-shot img { width: 100%; height: auto; }
.tile-small h3 { font-size: 18px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Phrase choc */
.statement { padding: 120px 0; border-top: 1px solid var(--border); background: radial-gradient(60% 60% at 50% 50%, rgba(255, 138, 43, 0.08), transparent 70%); }
.statement p { text-align: center; font-size: 48px; line-height: 1.12; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 20%, rgba(255, 255, 255, 0.35) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Étapes numérotées */
.step-num { display: block; font-size: 15px; font-weight: 600; color: var(--orange); margin-bottom: 40px; font-variant-numeric: tabular-nums; }

/* Compagnies (accueil) */
.pro { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pro .lead { margin-top: 20px; }
.feature-rows { margin: 0; padding: 8px; list-style: none; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--border); background: rgba(255, 255, 255, 0.02); }
.feature-rows li { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 18px 16px; border-radius: 16px; }
.feature-rows li + li { box-shadow: 0 -1px 0 var(--border); }
.feature-rows li:hover { background: rgba(255, 255, 255, 0.03); }
.row-icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 138, 43, 0.1); color: var(--orange); }
.row-icon .icon { width: 20px; height: 20px; }
.feature-rows b { color: var(--text); font-weight: 600; font-size: 16px; }
.feature-rows span:last-child { font-size: 14px; color: var(--body); }

/* Blocs image + texte (pages intérieures) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split + .split { margin-top: 128px; }
.split.reverse .split-visual { order: 2; }
.split-visual { position: relative; display: grid; place-items: center; min-height: 500px; border-radius: 28px; padding: 40px; overflow: hidden;
  background: radial-gradient(70% 60% at 50% 40%, rgba(255, 138, 43, 0.14), transparent 70%), rgba(255, 255, 255, 0.02); box-shadow: inset 0 0 0 1px var(--border); }
.split-visual.tone-sky { background: radial-gradient(70% 60% at 50% 40%, rgba(91, 140, 255, 0.16), transparent 70%), rgba(255, 255, 255, 0.02); }
.split-text .lead { margin-top: 16px; }
.checks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--body); }
.checks .icon { width: 18px; height: 18px; margin-top: 4px; color: var(--orange); stroke-width: 2.4; }
.duo { position: relative; display: flex; align-items: flex-start; justify-content: center; padding-bottom: 24px; }
.duo .phone { width: 250px; flex: none; }
.duo .duo-back { margin-top: 56px; margin-right: -56px; opacity: 0.85; }
.duo .duo-front { z-index: 1; }

/* Cartes de fonctionnalités (pages intérieures) */
.cards { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; padding: 28px; border-radius: 20px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--border); }
.card-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--border-2); color: var(--orange); margin-bottom: 20px; }
.card-icon .icon { width: 20px; height: 20px; }
.card p { margin-top: 8px; font-size: 15px; line-height: 1.6; }

/* Illustration de billet */
.ticket-art { width: min(360px, 100%); border-radius: 18px; background: #14161C; box-shadow: inset 0 0 0 1px var(--border-2), 0 30px 60px -20px rgba(0, 0, 0, 0.7); overflow: hidden; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: linear-gradient(90deg, rgba(255, 138, 43, 0.18), rgba(255, 138, 43, 0.04)); color: var(--text); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--border); }
.ticket-top .icon { width: 20px; height: 20px; color: var(--orange); }
.ticket-route { display: flex; align-items: flex-end; gap: 12px; padding: 20px; }
.ticket-line { flex: 1; border-top: 2px dashed rgba(255, 138, 43, 0.6); min-width: 24px; margin-bottom: 9px; }
.ticket-route div, .ticket-meta div { display: grid; gap: 2px; }
.ticket-route small, .ticket-meta small { font-size: 12px; color: var(--muted); }
.ticket-route b { font-size: 16px; font-weight: 600; color: var(--text); white-space: nowrap; letter-spacing: -0.01em; }
.ticket-meta { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; padding: 0 20px 18px; font-size: 14px; color: var(--text); }
.ticket-qr { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: 1px dashed var(--border-2); font-size: 13px; color: var(--muted); }
.qr-art { width: 64px; height: 64px; padding: 7px; border-radius: 10px; background: var(--text); color: #08090C; stroke-width: 1.8; flex: none; }

/* Captures produit */
.shot { width: 100%; height: auto; }
.screen { --tilt: 0; margin-top: 88px; perspective: 1800px; }
.screen .shot { transform: rotateX(calc(var(--tilt) * 20deg)) scale(calc(1 - var(--tilt) * 0.06)); transform-origin: 50% 100%; will-change: transform; }
.page-hero .screen { margin-top: 72px; margin-bottom: -96px; }
.screen-tight { margin-top: 40px; }
.feature-head { max-width: 46em; }
.feature-head .lead { margin-top: 14px; }
.feature-head .checks { grid-template-columns: repeat(3, auto); gap: 12px 28px; font-size: 15px; }
.map-art { width: 100%; height: auto; }
.split-visual .map-art { max-width: 460px; }
.tile-map { display: flex; flex-direction: column; padding-bottom: 0; }
.tile-map .map-art { width: calc(100% + 64px); max-width: none; margin: 8px -32px 0; height: 300px; object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); mask-image: linear-gradient(180deg, #000 65%, transparent); }
.about-map { max-width: 240px; margin: -8px auto 16px; display: block; }
.spacer { height: 112px; }

/* Étapes de ligne (pages intérieures) */
.route-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.route-steps li { padding: 28px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--border); background: rgba(255, 255, 255, 0.02); }
.step-dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 138, 43, 0.1); color: var(--orange); margin-bottom: 28px; }
.step-dot .icon { width: 20px; height: 20px; }
.route-steps p { margin-top: 8px; font-size: 15px; }

/* Sécurité */
.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sec-block { padding: 32px; border-radius: 24px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--border); }
.sec-block .checks { margin-top: 16px; gap: 10px; font-size: 15px; }
.report { display: grid; grid-template-columns: 52px 1fr; gap: 24px; align-items: start; max-width: 48em; padding: 32px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--border); }
.report-icon { width: 52px; height: 52px; padding: 13px; border-radius: 13px; background: rgba(255, 138, 43, 0.12); color: var(--orange); }
.report p { margin-top: 8px; }

/* Guide */
.toc-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 820px; margin-inline: auto; }
.toc-guide a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; text-decoration: none; font-weight: 500; font-size: 14px; color: var(--text); background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px var(--border); transition: background-color 0.2s; }
.toc-guide a:hover { background: rgba(255, 255, 255, 0.07); }
.toc-guide .icon { width: 18px; height: 18px; color: var(--orange); flex: none; }
.guide { display: grid; gap: 16px; max-width: 820px; margin-inline: auto; }
.guide-step { padding: 32px; border-radius: 22px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--border); scroll-margin-top: 96px; }
.guide-head { display: flex; align-items: center; gap: 14px; }
.guide-head .step-dot { width: 36px; height: 36px; margin: 0; flex: none; }
.guide-head .step-dot .icon { width: 18px; height: 18px; }
.guide-num { font-size: 14px; font-weight: 600; color: var(--orange); font-variant-numeric: tabular-nums; }
.guide-head h2 { font-size: 20px; letter-spacing: -0.02em; }
.guide-step ol { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.guide-step li::marker { color: var(--orange); font-weight: 600; }

/* À propos */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.about-text { display: grid; gap: 20px; }
.about-card { padding: 32px; border-radius: 24px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--border); }
.about-card dl { margin: 20px 0 0; display: grid; gap: 14px; }
.about-card dt { font-size: 13px; color: var(--muted); }
.about-card dd { margin: 2px 0 0; font-weight: 500; color: var(--text); }
.contact-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: 40px; border-radius: 28px;
  background: radial-gradient(60% 120% at 0% 0%, rgba(255, 138, 43, 0.14), transparent 60%), rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--border); }
.contact-band .actions { margin-top: 0; }
.contact-band p { margin-top: 6px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start; }
.faq .section-head { margin-bottom: 0; position: sticky; top: 112px; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:first-child { border-top: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 68px; padding: 16px 0; font-weight: 500; font-size: 17px; color: var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.chev { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform 0.25s var(--ease); }
.faq-list details[open] .chev { transform: rotate(180deg); color: var(--orange); }
.faq-list details p { padding: 0 0 24px; max-width: 62ch; }

/* Téléchargement */
.band { position: relative; overflow: hidden; border-top: 1px solid var(--border); background: radial-gradient(50% 80% at 85% 50%, rgba(255, 138, 43, 0.14), transparent 70%), var(--bg-2); }
.band h2 { font-size: 40px; letter-spacing: -0.04em; background: linear-gradient(180deg, #FFFFFF 25%, rgba(255, 255, 255, 0.58) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band .lead { margin-top: 18px; }
.download { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.apk-hash { margin-top: 24px; color: var(--muted); max-width: 48em; }
.apk-hash code { display: block; margin-top: 4px; font-size: 12px; color: var(--body); overflow-wrap: anywhere; }
.qr-box { display: grid; justify-items: center; gap: 14px; text-align: center; max-width: 190px; }
.qr-box img { width: 168px; height: 168px; padding: 12px; background: #FFFFFF; border-radius: 18px; box-shadow: 0 0 0 1px var(--border-2), 0 20px 60px -10px rgba(255, 138, 43, 0.35); }
.qr-box p { color: var(--muted); }

/* Pied de page */
.footer { border-top: 1px solid var(--border); color: var(--body); padding: 72px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer-title { margin: 0 0 16px; font-size: 14px; font-weight: 500; color: var(--text); letter-spacing: 0; }
.footer nav { display: grid; gap: 10px; }
.footer nav a { text-decoration: none; transition: color 0.2s; }
.footer nav a:hover { color: var(--text); }
.footer-brand p { margin-top: 16px; max-width: 22em; }
.footer-bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); }

/* Pages légales */
.page-head { padding: calc(var(--header) + 72px) 0 48px; border-bottom: 1px solid var(--border); background: radial-gradient(50% 100% at 20% 0%, rgba(255, 138, 43, 0.1), transparent 70%); }
.page-head h1 { font-size: 36px; line-height: 1.12; letter-spacing: -0.035em; max-width: 20em; }
.page-head .small { margin-top: 16px; color: var(--muted); max-width: 60ch; }
.notfound-action { margin-top: 32px; }
.prose { max-width: 68ch; padding: 56px 0 112px; font-size: 16px; line-height: 1.75; }
.prose h2 { font-size: 21px; line-height: 1.25; letter-spacing: -0.02em; margin: 48px 0 12px; scroll-margin-top: 96px; }
.prose > h2:first-child, .prose .toc + h2 { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); }
.prose .toc { margin: 0 0 48px; padding: 16px 20px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; line-height: 2.1; display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 0 32px; }
.prose .toc strong { grid-column: 1 / -1; }
.prose .toc a { white-space: nowrap; text-decoration: none; color: var(--body); }
.prose .toc a:hover { color: var(--text); }
.prose .btn { color: #08090C; }
.callout { margin-top: 32px; padding: 20px 22px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--border); background: rgba(255, 255, 255, 0.025); }

/* Apparition au défilement (activée par le script ; sans lui, tout reste visible) */
.motion .reveal { opacity: 0; translate: 0 28px; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease), transform 0.5s var(--ease); }
.motion .reveal.is-in { opacity: 1; translate: none; }

/* Défilement amorti */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Titres découpés en mots */
.split-on .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.02em 0.16em; margin-bottom: -0.16em; }
.split-on .w > span { display: inline-block; opacity: 0; transform: translateY(105%); filter: blur(8px);
  transition: transform 1s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split-on.is-in .w > span { opacity: 1; transform: none; filter: none; }
.split-on.gradient, .split-on.display, .band h2.split-on { background: none; color: var(--text); }
.split-on.gradient .w > span, .split-on.display .w > span, .band h2.split-on .w > span {
  background: linear-gradient(180deg, #FFFFFF 30%, rgba(255, 255, 255, 0.72) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split-on .w.l2 > span { background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.46) 100%); -webkit-background-clip: text; background-clip: text; }

/* Phrase choc éclairée au défilement */
.statement p.scrub-on { background: none; color: var(--text); }
.scrub-on .sw { opacity: 0.16; transition: opacity 0.35s ease-out; }
.scrub-on .sw.lit { opacity: 1; }

/* Cartes inclinables */
.tilt { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s var(--ease), box-shadow 0.3s, translate 0.8s var(--ease), opacity 0.8s var(--ease); }
.tilt:hover { transition: transform 0.15s linear, box-shadow 0.3s; }
.btn { transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease), translate 0.35s var(--ease); }

/* Scènes WebGL */
.gl-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%); }
.gl-on .stage .phone { display: none; }
.gl-on .stage::before { opacity: 0.5; }
.gl-on .gl-hide { display: none; }
.page-hero-phone h1, .page-hero-shield h1 { max-width: 13em; }
.page-hero-console h1 { max-width: 12em; }
.page-hero-phone .lead, .page-hero-shield .lead, .page-hero-console .lead { max-width: 28em; }
.page-hero-phone, .page-hero-shield, .page-hero-console { min-height: 600px; }
.page-head { position: relative; overflow: hidden; }
.page-head > .wrap { position: relative; z-index: 1; }
.page-head .gl-canvas { opacity: 0.7; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%); mask-image: linear-gradient(90deg, transparent 20%, #000 70%); }
.badge-dev { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0;
  color: #FFB574; background: rgba(255, 138, 43, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 138, 43, 0.3); white-space: nowrap; }
.h-sub .badge-dev { font-size: 12px; }
.page-hero .gl-canvas { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.float-card { animation: float 6s ease-in-out infinite; }
.card-ticket { animation-delay: -3s; }
@keyframes float { 50% { translate: 0 -10px; } }

/* Bandeau défilant */
.marquee { overflow: hidden; max-width: 640px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.ops-strip .marquee-track { display: flex; flex-wrap: nowrap; gap: 0; width: max-content; animation: marquee 22s linear infinite; }
.ops-strip .marquee-track li { padding: 0 22px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Étapes épinglées */
.story { position: relative; padding-top: 104px; border-top: 1px solid var(--border); }
.story .section-head { margin-bottom: 48px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.story-steps li { padding: 22px 26px; border-radius: 20px; transition: opacity 0.5s, background-color 0.5s, box-shadow 0.5s, transform 0.6s var(--ease); }
.story-steps .step-num { margin-bottom: 10px; }
.story-steps p { margin-top: 6px; font-size: 15px; }
.story-device { --spin: 0deg; position: relative; display: grid; place-items: center; perspective: 1400px; }
.story-device::before { content: ""; position: absolute; width: 460px; height: 460px; max-width: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 138, 43, 0.28), rgba(91, 140, 255, 0.08) 60%, transparent); }
.story-phone { width: 260px; transform: rotateY(var(--spin)) rotateX(3deg); will-change: transform; }
.story-screens { position: relative; aspect-ratio: 600 / 1300; border-radius: 30px; overflow: hidden; background: #E6E3DD; }
.story-phone .story-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0; opacity: 0; transition: opacity 0.3s; }
.story-phone .story-screen.is-active { opacity: 1; }
.story-phone img.story-screen { height: auto; object-fit: initial; }
.story-ticket { display: grid; place-items: center; padding: 14px 16px; background: radial-gradient(80% 50% at 50% 30%, rgba(255, 138, 43, 0.18), transparent), #0B0D12; }
.story-ticket .ticket-art { width: 100%; }
.story-ticket > * { zoom: 0.7; }
.story-progress { height: 2px; margin-top: 40px; border-radius: 2px; background: var(--border); overflow: hidden; }
.story-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange-2), #FFB574); transform-origin: left; transform: scaleX(0); }
.story-on .story-track { height: 420vh; }
.story-on .story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; }
.story-on .story-steps li { opacity: 0.3; }
.story-on .story-steps li.is-active { opacity: 1; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--border-2); }

.motion .bento .reveal:nth-child(2), .motion .trio .reveal:nth-child(2) { transition-delay: 0.08s; }
.motion .bento .reveal:nth-child(3), .motion .trio .reveal:nth-child(3) { transition-delay: 0.16s; }
.motion .bento .reveal:nth-child(n+4) { transition-delay: 0.24s; }

/* Adaptatif */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu { display: block; }
  .display { font-size: 54px; }
  h2 { font-size: 32px; }
  .page-hero h1 { font-size: 42px; }
  .statement p { font-size: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-kora { grid-column: span 2; grid-row: auto; }
  .tile-search { grid-column: span 2; }
  .route-steps { grid-template-columns: 1fr 1fr; }
  .story-grid { gap: 32px; }
  .story-phone { width: 250px; }
  .story-ticket > * { zoom: 0.66; }
  .split, .pro, .about, .faq { grid-template-columns: 1fr; gap: 48px; }
  .faq .section-head { position: static; }
  .split.reverse .split-visual { order: 0; }
  .cards.cols-3, .trio { grid-template-columns: 1fr 1fr; }
  .feature-head .checks { grid-template-columns: 1fr; }
  .toc-guide { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --pad: 20px; --header: 58px; }
  body { font-size: 16px; }
  .display { font-size: 38px; letter-spacing: -0.04em; }
  h1, .page-hero h1 { font-size: 32px; }
  h2, .band h2 { font-size: 27px; }
  .h-sub, .tile-title { font-size: 20px; }
  .lead, .hero .lead { font-size: 16px; }
  .hero { padding-top: calc(var(--header) + 48px); }
  .hero-actions .btn { width: 100%; }
  .stage { height: 560px; margin-top: 48px; }
  .stage::before { width: 340px; height: 300px; }
  .stage .phone-front { width: 230px; }
  .stage .phone-back { width: 196px; top: 40px; transform: translateX(-14%) rotate(4deg); }
  .float-card { min-width: 0; max-width: 230px; padding: 10px 12px; }
  .card-pay { right: 0; top: 250px; }
  .card-ticket { left: 0; top: 380px; }
  .ops-strip ul { gap: 8px 20px; }
  .ops-strip li { font-size: 15px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
  .header-end .btn, .header-end .lang { display: none; }
  .page-hero { padding: calc(var(--header) + 56px) 0 64px; }
  .page-hero-phone, .page-hero-shield, .page-hero-console { min-height: 0; padding-bottom: 360px; }
  .page-hero-console { padding-bottom: 300px; }
  .page-hero .gl-canvas { -webkit-mask-image: none; mask-image: none; }
  .page-hero-map .gl-canvas, .page-head .gl-canvas { opacity: 0.45; }
  .statement { padding: 104px 0; }
  .statement p { font-size: 29px; }
  .bento, .trio, .cards.cols-3, .sec-grid, .toc-guide, .route-steps { grid-template-columns: 1fr; }
  .story { padding-top: 88px; }
  .story-grid { grid-template-columns: 1fr; gap: 20px; }
  .story-device { order: -1; }
  .story-phone { width: 180px; }
  .story-ticket { padding: 8px; }
  .story-ticket > * { zoom: 0.48; }
    .story-device::before { width: 300px; height: 300px; }
  .story-on .story-sticky { align-content: start; padding-top: calc(var(--header) + 20px); }
  .story-on .story-steps li { display: none; padding: 0; text-align: center; }
  .story-on .story-steps li.is-active { display: block; background: none; box-shadow: none; }
  .story-progress { margin-top: 20px; }
  .tile-kora, .tile-search { grid-column: auto; grid-template-columns: 1fr; padding: 28px 28px 0; min-height: 0; }
  .tile-kora .tile-text, .tile-search .tile-text { padding-bottom: 0; }
  .tile-kora .phone { width: 220px; margin-bottom: -110px; }
  .tile-shot { margin-right: -28px; }
  .tile { padding: 28px; }
  .tile-map .map-art { width: calc(100% + 56px); margin: 8px -28px 0; }
  .screen { margin-top: 56px; }
  .page-hero .screen { margin-bottom: -64px; }
  .spacer { height: 72px; }
  .tile .big-number { font-size: 60px; }
  .tile-qr .ticket-art { transform: none; margin-bottom: 0; }
  .ticket-route b { font-size: 14px; }
  .split-visual { min-height: 0; padding: 32px 12px; }
  .split + .split { margin-top: 88px; }
  .phone { width: 240px; }
      .duo .phone { width: 190px; }
  .duo .duo-back { margin-top: 40px; margin-right: -64px; }
  .sec-block, .guide-step, .report { padding: 24px; }
  .report { grid-template-columns: 1fr; }
  .download { grid-template-columns: 1fr; }
  .qr-box { display: none; }
  .actions .btn, .download .btn { width: 100%; }
  .contact-band { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-head h1 { font-size: 28px; }
  .prose .toc { grid-template-columns: 1fr; }
  .guide-head h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora { animation: none; }
  .stage-inner, .screen .shot { transform: none; }
  .marquee-track, .float-card { animation: none; }
  .split-on .w > span { opacity: 1; transform: none; filter: none; }
  * { transition: none !important; }
}
@media print {
  .header, .footer, .menu, .aurora { display: none; }
  body { background: #FFFFFF; color: #000000; }
  .prose { max-width: none; padding: 0; }
}
