/* INBOKZ · site vitrine — clair, bleu marine, reflets holographiques argentés (sans violet ni rose) */

@font-face { font-family: "Unbounded"; src: url("fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --bg: #f6f7f9;
  --bg-alt: #eef1f5;
  --card: #ffffff;
  --line: #e3e7ee;
  --ink: #0f1729;
  --muted: #5b6474;
  --navy: #13294b;
  --navy-2: #1d3a66;
  --steel: #2f6fb5;
  /* Holographique argenté : bleu glacier, nacre, acier */
  --pearl: linear-gradient(120deg, #c7dcf7 0%, #f4f8fd 30%, #b8d0ef 55%, #eef3fa 80%, #a9c4e8 100%);
  --sheen: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .1) 25%, rgba(255, 255, 255, .45) 45%, rgba(255, 255, 255, .65) 50%,
    rgba(255, 255, 255, .45) 55%, rgba(255, 255, 255, .1) 75%, rgba(255, 255, 255, 0) 100%);
  --text-holo: linear-gradient(110deg, #13294b 0%, #2f6fb5 45%, #7fb0e3 70%, #2f6fb5 100%);
  --brand: "Unbounded", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(15, 23, 41, .04), 0 12px 32px rgba(19, 41, 75, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--brand); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Texte holographique : bleu marine → acier → glacier, avec un reflet qui passe */
.holo-text {
  background: var(--sheen), var(--text-holo); background-size: 250% 100%, 100% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen-text 6s ease-in-out infinite;
}
@keyframes sheen-text { 0% { background-position: 160% 0, 0 0; } 55%, 100% { background-position: -60% 0, 0 0; } }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 19px; max-width: 620px; margin-top: 20px; }

/* ---------- Logo */
.logo { font-family: var(--brand); font-weight: 700; font-size: 22px; letter-spacing: .06em; text-decoration: none; color: var(--navy); }
.logo span { background: var(--text-holo); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
/* Bleu marine, contour nacré avec reflet */
.btn-navy {
  color: #fff; background: linear-gradient(var(--navy), var(--navy)) padding-box, var(--sheen) border-box, var(--pearl) border-box;
  background-size: 100% 100%, 300% 100%, 100% 100%; animation: sheen-border 4.5s ease-in-out infinite;
  box-shadow: 0 10px 26px rgba(19, 41, 75, .22);
}
.btn-navy:hover { box-shadow: 0 14px 34px rgba(19, 41, 75, .3); }
@keyframes sheen-border { 0% { background-position: 0 0, 130% 0, 0 0; } 60%, 100% { background-position: 0 0, -30% 0, 0 0; } }
.btn-ghost { color: var(--navy); background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: #c9d3e0; }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn.block { width: 100%; }

/* ---------- Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(246, 247, 249, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.links { display: flex; gap: 30px; }
.links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; transition: color .2s; }
.links a:hover { color: var(--navy); }

/* ---------- Accueil : scène qui reste à l'écran pendant que le distributeur se dévoile */
.scene { position: relative; height: 260vh; background: radial-gradient(ellipse 60% 50% at 75% 45%, #e6eef9 0%, rgba(230, 238, 249, 0) 70%), var(--bg); }
.stage { position: sticky; top: 0; height: 100vh; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.stage-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; padding-top: 50px; }
.hero-text h1 { font-size: clamp(36px, 4.6vw, 62px); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.scroll-hint { display: flex; align-items: center; gap: 10px; margin-top: 36px; font-size: 13px; color: var(--muted); font-weight: 600; transition: opacity .3s; }
.scroll-hint span { width: 22px; height: 34px; border: 2px solid #b9c4d3; border-radius: 12px; position: relative; flex: 0 0 auto; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--steel); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.machine-box { position: relative; transform-origin: 50% 50%; will-change: transform; }
.hero-text { position: relative; z-index: 2; will-change: opacity, transform; }
.machine { width: 100%; height: auto; max-height: 82vh; display: block; overflow: visible; }
.machine .part { will-change: transform; }
.svg-small { font: 700 11px var(--font); letter-spacing: .2em; }
.svg-brand { font: 700 10px var(--brand); letter-spacing: .14em; }
.labels .label { opacity: 0; }
.legend { display: none; }
.labels line { stroke: #8fa6c4; stroke-width: 1.5; stroke-dasharray: 4 4; }
.labels circle { fill: var(--steel); }
.labels text { font: 600 21px var(--brand); fill: var(--navy); }
.labels text.sub { font: 500 16px var(--font); fill: var(--muted); }

/* ---------- Sections */
.section { position: relative; padding: 110px 0; }
.section.alt { background: var(--bg-alt); }
.head { max-width: 760px; margin-bottom: 50px; }
.head h2, .map-cta h2 { font-size: clamp(30px, 3.8vw, 48px); }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); transition: transform .25s ease; }
.card:hover { transform: translateY(-3px); }
/* Contour nacré qui apparaît au survol */
.card::before, .offer.featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--sheen), var(--pearl); background-size: 300% 100%, 100% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.card:hover::before { opacity: 1; animation: sheen-border 3s ease-in-out infinite; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.ico { width: 44px; height: 44px; margin-bottom: 16px; fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  padding: 8px; border-radius: 14px; background: var(--pearl); box-sizing: content-box; }

/* ---------- Moyens de paiement (mêmes couleurs que sur la borne) */
.pay-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.pm { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 150px; border-radius: 22px; font-size: 15px;
  border: 3px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--sheen) border-box, var(--pm) border-box;
  background-size: 100% 100%, 300% 100%, 100% 100%; animation: sheen-border 5s ease-in-out infinite; box-shadow: var(--shadow); }
.pm b { color: var(--ink); }
.pm-card { --pm: linear-gradient(135deg, #3b82f6, #1d4ed8 50%, #13294b); }
.pm-apple { --pm: linear-gradient(135deg, #6b7280, #111 55%, #000); animation-delay: .4s; }
.pm-google { --pm: linear-gradient(135deg, #fdba74, #f97316 50%, #c2410c); animation-delay: .8s; }
.pm-paypal { --pm: linear-gradient(135deg, #009cde, #0070e0 50%, #003087); animation-delay: 1.2s; }
.logo-pm { height: 46px; display: flex; align-items: center; }
.wm { font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.wm svg { width: 32px; height: 32px; margin-right: 4px; }
.wm i { font-style: normal; font-weight: 600; color: #111; }
.wm i.g { color: #3c4043; font-weight: 500; }
.wm.pp i { font-weight: 800; font-style: italic; }
.wm.pp .pay { color: #003087; }
.wm.pp .pal { color: #009cde; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { background: #fff; padding: 24px 22px; }
.facts strong { display: block; font-family: var(--brand); font-size: 26px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: 15px; }

/* ---------- Maquettes du logiciel */
.showcase { display: flex; justify-content: center; align-items: flex-end; gap: 48px; margin: 0 0 60px; }
.kiosk { width: 330px; padding: 14px; border-radius: 30px; background: linear-gradient(160deg, #ffffff, #e6eaf0); border: 1px solid #d8dee7; box-shadow: 0 40px 90px rgba(19, 41, 75, .16); }
.k-screen { background: #f5f5f7; border-radius: 18px; padding: 14px 12px; }
.k-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.k-brand { font-family: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--navy); }
.k-sav { font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--pearl) border-box; }
.k-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
.k-card { position: relative; background: #fff; border-radius: 12px; padding: 8px 8px 16px; box-shadow: 0 2px 8px rgba(18, 20, 23, .06); }
.k-card b { display: block; font-size: 9.5px; margin-top: 6px; line-height: 1.25; }
.k-card em { font-style: normal; font-family: var(--brand); font-size: 11px; color: var(--navy); font-weight: 600; }
.pk { display: block; height: 70px; border-radius: 6px; position: relative; overflow: hidden; }
.pk::after { content: ""; position: absolute; inset: 0; background: var(--sheen); background-size: 250% 100%; animation: sheen-pk 5s ease-in-out infinite; }
@keyframes sheen-pk { 0% { background-position: 160% 0; } 50%, 100% { background-position: -60% 0; } }
.pk1 { background: linear-gradient(150deg, #bcd5f4, #f3f7fc 40%, #a7c3ea); }
.pk2 { background: linear-gradient(150deg, #9fbde6, #eaf1fb 45%, #8fb2e0); }
.pk3 { background: linear-gradient(150deg, #13294b, #2f6fb5 60%, #9cc0ea); }
.num { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); font-family: var(--brand); font-size: 9px; font-weight: 700; color: #fff; white-space: nowrap;
  padding: 3px 8px; border-radius: 999px; border: 1.5px solid #fff; background: var(--sheen), linear-gradient(120deg, #13294b, #2f6fb5); box-shadow: 0 3px 8px rgba(19, 41, 75, .25); }
.k-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; background: #fff; border-radius: 12px; padding: 8px 8px 8px 12px; font-size: 10px; color: #6b7280; }
.k-bar strong { font-family: var(--brand); font-size: 13px; color: var(--navy); }
.k-pay { color: #fff; font-weight: 800; font-size: 11px; padding: 7px 14px; border-radius: 999px; background: var(--navy); }

.phone { width: 250px; padding: 10px; border-radius: 40px; background: linear-gradient(160deg, #ffffff, #e2e7ee); border: 1px solid #d3dae4; box-shadow: 0 40px 90px rgba(19, 41, 75, .16); margin-bottom: 40px; }
.p-screen { background: #f5f6f8; border-radius: 32px; padding: 26px 14px 18px; min-height: 470px; }
.p-head { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.p-head b { font-family: var(--brand); font-size: 14px; color: var(--navy); }
.p-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #15803d; margin-left: auto; }
.p-head small { font-size: 10px; color: #15803d; font-weight: 700; }
.p-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.p-kpis div { background: #fff; border-radius: 12px; padding: 9px 10px; border: 1px solid #e6e8ec; }
.p-kpis small { display: block; font-size: 9px; color: #6b7280; }
.p-kpis strong { font-family: var(--brand); font-size: 16px; color: var(--navy); }
.p-slots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; background: #fff; border: 1px solid #e6e8ec; border-radius: 12px; padding: 8px; margin-bottom: 10px; }
.p-slots i { height: 16px; border-radius: 3px; background: linear-gradient(180deg, #e9ebf0 50%, var(--navy) 50%); }
.p-slots i.low { background: linear-gradient(180deg, #fde7c4 70%, #b45309 70%); }
.p-slots i.empty { background: #fdecec; box-shadow: inset 0 0 0 1px #c81e1e; }
.p-alert { font-size: 10px; background: #fdf3e2; color: #b45309; border-radius: 10px; padding: 7px 9px; margin-bottom: 10px; }
.p-list { display: flex; justify-content: space-between; font-size: 10px; padding: 7px 2px; border-bottom: 1px solid #e6e8ec; }
.p-list em { font-style: normal; color: var(--navy); font-weight: 700; }

/* ---------- Carte */
.map-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ---------- Offre */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; }
.offer { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.offer.featured::before { opacity: 1; padding: 2px; animation: sheen-border 5s ease-in-out infinite; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.offer h3 { font-size: 24px; }
.price { margin: 18px 0 22px; display: flex; align-items: baseline; gap: 8px; }
.price strong { font-family: var(--brand); font-size: 42px; font-weight: 600; color: var(--navy); }
.price span { color: var(--muted); font-weight: 700; }
.offer ul { list-style: none; padding: 0; margin: 0 0 30px; flex: 1; }
.offer li { padding: 9px 0 9px 30px; position: relative; color: #2b3445; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.offer li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='black' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' stroke='black' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Contact */
.contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.direct { margin-top: 24px; color: var(--muted); }
.direct a { color: var(--navy); font-weight: 700; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.form label { display: block; font-size: 14px; font-weight: 600; color: #2b3445; margin-bottom: 16px; }
.form label small { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px 15px; border-radius: 14px; border: 1px solid #d6dce5; background: #f9fafb;
  color: var(--ink); font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #5b6474 50%), linear-gradient(135deg, #5b6474 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--steel); background: #fff; box-shadow: 0 0 0 3px rgba(47, 111, 181, .15); }
.form textarea { resize: vertical; min-height: 130px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.form .consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--navy); }
.form-msg { margin-top: 14px; min-height: 22px; font-size: 15px; }
.form-msg.ok { color: #15803d; }
.form-msg.err { color: #c81e1e; }

/* ---------- Pied de page */
.foot { border-top: 1px solid var(--line); padding: 40px 0 50px; background: #fff; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }
.foot p { color: var(--muted); font-size: 14px; }
.foot .small { width: 100%; font-size: 13px; }

/* ---------- Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.static .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Pages simples (mentions, carte) */
.legal { padding: 130px 0 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 30px; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; }
.legal p, .legal li { color: #2b3445; }

/* ---------- Écrans moyens et téléphones */
@media (max-width: 1080px) {
  .grid4, .pay-row, .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .links { display: none; }
  .scene { height: 230vh; }
  .stage-in { grid-template-columns: 1fr; gap: 0; padding-top: 84px; }
  .hero-text h1 { font-size: clamp(30px, 8vw, 44px); }
  .lead { font-size: 17px; margin-top: 14px; }
  .cta { margin-top: 18px; }
  .scroll-hint { display: none; }
  .machine { max-height: 46vh; }
  .machine-box { transform-origin: 47% 4%; }
  .labels { display: none; }
  .legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; list-style: none; padding: 0; margin: 10px 0 0; opacity: 0; counter-reset: l; }
  .legend li { counter-increment: l; font-size: 12.5px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
  .legend li::before { content: counter(l, decimal-leading-zero) "  "; color: var(--steel); font-family: var(--brand); font-size: 10px; }
  .contact-in, .offers { grid-template-columns: 1fr; }
  .showcase { gap: 20px; }
  .phone { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero-text .lead { display: none; }
  .grid4, .pay-row, .row2 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .pm { height: 120px; }
  .kiosk { width: 100%; max-width: 330px; }
  .form { padding: 22px 18px; }
  .nav .btn.small { padding: 9px 14px; font-size: 13px; }
  .labels text { font-size: 24px; }
  .labels text.sub { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
