@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2?v=2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }

:root {
  --blue:   #4158D0;
  --purple: #C850C0;
  --cyan:   #29C5D6;
  --dark:   #06080f;
  --dark2:  #0a1240;
  --glass:  rgba(255,255,255,0.04);
  --glass2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.09);
  --text:   rgba(255,255,255,0.55);
  --radius: 16px;
}

html { scroll-behavior: smooth; background: #000005; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #fff;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(65,88,208,0.30) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 75%, rgba(200,80,192,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 85%, rgba(41,197,214,0.12) 0%, transparent 40%),
    linear-gradient(135deg, #000005 0%, #060d2a 40%, #0a1650 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
@media (max-width: 900px) {
  body { background-attachment: scroll; }
  .orb { animation: none; filter: blur(50px); }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .badge-dot, .integ-line { animation: none !important; }
}

/* ── BG ORBES ── */
.orb { position: fixed; border-radius: 50%; filter: blur(90px); pointer-events: none; animation: floatOrb linear infinite; }
.orb-1 { width:600px; height:600px; background: radial-gradient(circle, rgba(65,88,208,0.35), transparent 70%); top:-150px; right:-150px; animation-duration:22s; opacity:.7; }
.orb-2 { width:450px; height:450px; background: radial-gradient(circle, rgba(200,80,192,0.25), transparent 70%); bottom:-100px; left:-100px; animation-duration:28s; animation-delay:-9s; opacity:.6; }
.orb-3 { width:350px; height:350px; background: radial-gradient(circle, rgba(41,197,214,0.20), transparent 70%); bottom:25%; right:10%; animation-duration:20s; animation-delay:-6s; opacity:.5; }
@keyframes floatOrb {
  0%,100% { transform: translateY(0) scale(1); }
  40%      { transform: translateY(-40px) scale(1.06); }
  70%      { transform: translateY(20px) scale(0.96); }
}
.grid-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow-line { position: fixed; left:50%; transform:translateX(-50%); height:1px; pointer-events:none; z-index:1;
  background: linear-gradient(90deg, transparent, rgba(65,88,208,.35), rgba(200,80,192,.35), rgba(41,197,214,.35), transparent); }
.glow-line-top    { top:0; width:80%; }
.glow-line-bottom { bottom:0; width:60%; }

/* ── NAVBAR ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 2rem;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,8,15,0.75);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  height: 68px;
}
.nav-logo img { height: 67px; width: auto; display: block; }
.nav-links { display: flex; list-style: none; gap: 2rem; margin-left: 2rem; }
.nav-links a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .88rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  margin-left: auto;
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-size: .82rem; font-weight: 500;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff; text-decoration: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px; margin-left: auto;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none; position: fixed; inset: 68px 0 0;
  background: rgba(6,8,15,0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; z-index: 99;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 1.3rem; transition: color .2s; }
.nav-mobile-menu a:hover { color: #fff; }
.nav-mobile-menu .nav-cta { font-size: 1rem; padding: .7rem 2rem; }

/* ── BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem 1rem; border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--glass); backdrop-filter: blur(8px);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.65)} }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(90deg, var(--blue) 0%, var(--purple) 50%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-rotate-word {
  display: inline-block;
  transition: opacity .3s ease, transform .3s ease;
}
.hero-rotate-word.is-swapping {
  opacity: 0;
  transform: translateY(8px);
}

/* ── HERO ── */
.hero {
  position: relative; z-index: 10;
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  max-width: 1200px; margin: 0 auto;
  padding: 8rem 2rem 4rem;
}
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -.03em;
  min-height: calc(4 * 1.08em);
}
.hero-sub {
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: var(--text); line-height: 1.75; max-width: 500px;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trial { display: flex; align-items: center; gap: 1rem; margin-top: .75rem; flex-wrap: wrap; }
.play-badge { display: inline-flex; line-height: 0; }
.play-badge img { height: 54px; width: auto; display: block; }
.hero-trial-text { font-size: .8rem; color: var(--text); }
.appstore-badge { height: 41px; width: auto; display: block; opacity: .55; filter: grayscale(.25); }
.footer-play-badge { display: inline-flex; line-height: 0; opacity: .85; transition: opacity .2s; }
.footer-play-badge:hover { opacity: 1; }
.footer-play-badge img { height: 38px; width: auto; display: block; }
.footer-appstore-badge { height: 29px; width: auto; display: block; opacity: .55; filter: grayscale(.25); }
.footer-store-badges { display: flex; align-items: center; gap: 1rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 100px;
  font-size: .88rem; font-weight: 500; text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; }
.btn-ghost { border: 1px solid var(--border); color: rgba(255,255,255,.65); background: var(--glass); backdrop-filter: blur(8px); }

/* ── HERO VIDEO ── */
.hero-video-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08),
              0 0 60px rgba(65,88,208,0.2);
  background: #06080f;
}
.hero-video-wrap video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-video-placeholder {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-video-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(65,88,208,0.10) 0%, transparent 45%,
              rgba(6,8,15,0.50) 100%);
}
.hero-video-hover {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity .5s ease; pointer-events: none;
}
.hero-video-wrap:hover .hero-video-hover {
  opacity: 1;
}
.hero-video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: opacity .25s;
}
.hero-video-play.hidden { opacity: 0; pointer-events: none; }
.hero-video-play-btn {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(6,8,15,0.65); backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
}
.hero-video-play:hover .hero-video-play-btn { transform: scale(1.1); background: rgba(65,88,208,0.5); }
.hero-video-play-btn svg { width: 24px; height: 24px; margin-left: 3px; }
/* ── SECTION SHARED ── */
section { position: relative; z-index: 10; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header .badge { margin-bottom: 1.2rem; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.section-header p { color: var(--text); font-size: .95rem; line-height: 1.75; max-width: 520px; margin: 1rem auto 0; }
.secteurs-sub { max-width: none !important; white-space: nowrap; width: 100%; text-align: center; margin-left: auto !important; margin-right: auto !important; }
.usecase-sub { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }

/* ── SECTEURS ── */
#secteurs { background: rgba(255,255,255,0.012); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.secteurs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.secteur-card {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0; backdrop-filter: blur(12px); overflow: hidden;
  transition: border-color .25s, transform .25s, background .25s;
  cursor: default;
}
.secteur-card:hover { border-color: rgba(65,88,208,.5); background: var(--glass2); transform: translateY(-4px); }
.secteur-photo { height: 185px; position: relative; overflow: hidden; }
.secteur-soon {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center;
  padding: .3rem .75rem; border-radius: 100px;
  background: rgba(10,12,22,.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .65rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.secteur-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.secteur-card:hover .secteur-photo img { transform: scale(1.06); }
.secteur-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(6,8,15,0) 20%, rgba(6,8,15,0.62) 100%);
}
.secteur-body { padding: 1.75rem; }
.secteur-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.secteur-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.secteur-icon svg { width: 26px; height: 26px; }
.secteur-card:nth-child(1) .secteur-icon { background: rgba(65,88,208,.18); }
.secteur-card:nth-child(2) .secteur-icon { background: rgba(200,80,192,.18); }
.secteur-card:nth-child(3) .secteur-icon { background: rgba(41,197,214,.18); }
.secteur-card h3 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.secteur-card p  { color: var(--text); font-size: .88rem; line-height: 1.7; margin-bottom: 1.1rem; }
.secteur-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.secteur-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .83rem; color: rgba(255,255,255,.6); }
.secteur-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; margin-top: .45em; }

/* ── SOLUTION ── */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.solution-card {
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.75rem; backdrop-filter: blur(12px);
  transition: border-color .25s, transform .25s;
  position: relative; overflow: hidden;
}
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.solution-card:nth-child(1)::before { background: linear-gradient(90deg, var(--blue), var(--purple)); }
.solution-card:nth-child(2)::before { background: linear-gradient(90deg, var(--purple), var(--cyan)); }
.solution-card:nth-child(3)::before { background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.solution-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.16); }
.solution-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
}
.solution-icon svg { width: 24px; height: 24px; }
.solution-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.solution-card .sub { font-size: .8rem; color: var(--text); margin-bottom: 1.25rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.feature-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .83rem; color: rgba(255,255,255,.6); }
.feature-check { flex-shrink: 0; margin-top: 1px; }

/* ── INTEGRATION ── */
#flexibilite, #integration, #partenaires { background: rgba(65,88,208,0.04); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.integ-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.integ-layout > * { min-width: 0; }
.integ-text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 1.25rem; }
.integ-text h2 .gradient-text { white-space: nowrap; }
.integ-text p  { color: var(--text); font-size: .95rem; line-height: 1.8; margin-bottom: 2rem; }
.integ-benefits { display: flex; flex-direction: column; gap: .9rem; }
.integ-benefit { display: flex; align-items: flex-start; gap: 1rem; }
.integ-benefit-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.integ-benefit-icon svg { width: 16px; height: 16px; }
.integ-benefit h4 { font-size: .9rem; font-weight: 500; margin-bottom: .2rem; }
.integ-benefit p  { font-size: .82rem; color: var(--text); line-height: 1.6; }

/* ── PARTENAIRES ── */
.partners-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  margin: 2.5rem 0 3rem;
}
.partner-card { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.partner-card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.partner-card-icon svg { width: 24px; height: 24px; }
.partner-card h4 { font-size: 1rem; font-weight: 600; }
.partner-card p { font-size: .85rem; color: var(--text); line-height: 1.65; max-width: 280px; }
.partners-cta { text-align: center; }

/* Integration diagram */
.integ-diagram {
  position: relative; width: 480px; height: 860px; margin: 0 auto;
}
.integ-node {
  position: absolute; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .6rem;
  text-align: center;
}
.integ-node span { font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: .05em; max-width: 130px; }
.integ-node-web     { top: 0; left: 50%; transform: translateX(-50%); }
.integ-node-android { top: 400px; left: 0; }
.integ-node-ios     { top: 400px; right: 0; }
.integ-node-bottom-pair {
  position: absolute; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: flex-end; gap: 1rem;
}
.integ-node-bottom-pair .integ-node { position: static; }

/* Device mockups */
.device-monitor, .device-pos, .device-phone, .device-tpe, .device-imprimante {
  display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.35));
  transition: transform .3s;
}
.device-monitor:hover, .device-pos:hover, .device-phone:hover, .device-tpe:hover, .device-imprimante:hover { transform: scale(1.05); }
.device-screen { overflow: hidden; background: #0a0d1a; position: relative; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.device-monitor .device-screen { width: 309px; height: 186px; border-radius: 12px; border: 5px solid #262b42; }
.device-monitor .device-neck { width: 22px; height: 32px; background: #262b42; }
.device-monitor .device-base { width: 132px; height: 13px; border-radius: 6px; background: #262b42; margin-top: -1px; }
.device-pos .device-screen { width: 180px; height: 106px; border-radius: 12px; border: 5px solid #1a1d2e; }
.device-pos .device-neck { width: 10px; height: 26px; background: #1a1d2e; }
.device-pos .device-base { width: 60px; height: 7px; border-radius: 4px; background: #1a1d2e; margin-top: -1px; }
.device-phone .device-screen { width: 92px; height: 188px; border-radius: 20px; border: 5px solid #1a1d2e; }
.device-phone .device-notch {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.45);
}
.device-tpe img { width: 95px; height: auto; display: block; }
.device-imprimante img { width: 100px; height: auto; display: block; }
.integ-center-dot {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -40%);
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(65,88,208,.5), 0 0 60px rgba(200,80,192,.3);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100%{box-shadow:0 0 20px rgba(65,88,208,.4),0 0 40px rgba(200,80,192,.2)}
  50%{box-shadow:0 0 40px rgba(65,88,208,.7),0 0 80px rgba(200,80,192,.5)}
}
.integ-center-dot svg { width: 20px; height: 20px; }
.integ-center-dot img { width: 24px; height: auto; display: block; }
.integ-svg-lines { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.integ-line { stroke-width: 1.5; fill: none; stroke-dasharray: 6 5; animation: dashMove2 2.5s linear infinite; }
.integ-line-1 { stroke: var(--blue); }
.integ-line-2 { stroke: var(--purple); animation-delay: -0.8s; }
.integ-line-3 { stroke: var(--cyan); animation-delay: -1.6s; }
.integ-line-4 { stroke: var(--purple); animation-delay: -2.1s; }
.integ-line-5 { stroke: var(--cyan); animation-delay: -1s; }
@keyframes dashMove2 { to { stroke-dashoffset: -22; } }

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.contact-form-wrap { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem; backdrop-filter: blur(16px); }
.contact-form-wrap h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.form-group label { font-size: .78rem; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 10px; color: #fff; font-family: inherit; font-size: .88rem;
  padding: .7rem 1rem; outline: none;
  transition: border-color .2s, background .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(65,88,208,.6); background: rgba(65,88,208,.06);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.2); }
.form-group select option { background: #0a1240; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group.error input,
.form-group.error textarea { border-color: rgba(255,80,80,.5); }
.form-group .field-error { font-size: .73rem; color: rgba(255,100,100,.8); }
.radio-group { display: flex; flex-wrap: nowrap; gap: .5rem; }
.radio-option {
  display: flex; align-items: center; justify-content: center; gap: .4rem; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 10px; padding: .55rem .6rem; font-size: .8rem; color: #fff;
  flex: 1 1 0; min-width: 0; text-align: center;
  transition: border-color .2s, background .2s;
}
.radio-option:has(input:checked) { border-color: rgba(65,88,208,.6); background: rgba(65,88,208,.1); }
.radio-option input { accent-color: var(--blue); }
.form-submit { width: 100%; padding: .85rem; border: none; border-radius: 100px; cursor: pointer; font-family: inherit; font-size: .9rem; font-weight: 500; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; transition: opacity .2s, transform .2s; }
.form-submit:hover { opacity: .85; transform: translateY(-1px); }
.form-success {
  background: rgba(41,197,214,.08); border: 1px solid rgba(41,197,214,.25);
  border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.25rem;
  font-size: .88rem; color: var(--cyan); display: flex; align-items: center; gap: .75rem;
}
.form-fail {
  background: rgba(255,80,80,.07); border: 1px solid rgba(255,80,80,.2);
  border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.25rem;
  font-size: .88rem; color: rgba(255,120,120,.9); display: flex; align-items: center; gap: .75rem;
}

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 2rem; padding-top: .5rem; }
.contact-info h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.contact-info p { color: var(--text); font-size: .9rem; line-height: 1.7; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon svg { width: 18px; height: 18px; }
.contact-item div span { display: block; font-size: .72rem; color: var(--text); letter-spacing: .04em; margin-bottom: .15rem; }
.contact-item div a, .contact-item div p { font-size: .9rem; color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s; }
.contact-item div a:hover { color: #fff; }
.contact-legal {
  margin-top: auto; padding-top: 1.5rem; border-top: 1px solid var(--border);
  font-size: .75rem; color: rgba(255,255,255,.2); line-height: 1.8;
}

/* ── ABOUT ── */
#about { border-top: 1px solid var(--border); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-photo {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(65,88,208,0.25) 0%, rgba(200,80,192,0.15) 50%, transparent 100%);
}
.about-text { display: flex; flex-direction: column; gap: 1.25rem; }
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.about-text > p { color: var(--text); font-size: .95rem; line-height: 1.8; }
.about-stats { display: flex; justify-content: space-between; gap: 2.5rem; margin-top: .5rem; }
.about-stat { flex: 1; text-align: center; }
.about-stat span { display: block; font-size: 2.4rem; font-weight: 700; letter-spacing: -.04em; background: linear-gradient(90deg, var(--blue), var(--purple)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-stat p { font-size: .78rem; color: var(--text); margin-top: .15rem; line-height: 1.4; }
.about-values { display: flex; flex-direction: column; gap: .85rem; margin-top: .5rem; }
.about-value { display: flex; align-items: center; gap: .85rem; }
.about-value-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.about-value p { font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.5; }
.materiel-photo {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(65,88,208,0.12), rgba(200,80,192,0.08));
}
.materiel-photo img { object-fit: contain; padding: 2rem; }
#materiel .about-text .btn { margin-top: 1.5rem; }

/* ── USE CASE ── */
#usecase { border-top: 1px solid var(--border); }
.usecase-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; margin-bottom: 2.5rem; gap: 1rem;
}
.usecase-steps::before {
  content: '';
  position: absolute;
  top: 34px; left: calc(12.5%); right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--cyan));
  opacity: .3; z-index: 0;
}
.step-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 .75rem; position: relative;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 600; margin-bottom: 1rem;
  position: relative; z-index: 1;
  border: 1.5px solid; background: var(--dark);
}
.step-card:nth-child(1) .step-num { border-color: var(--blue);   color: var(--blue); }
.step-card:nth-child(2) .step-num { border-color: var(--purple); color: var(--purple); }
.step-card:nth-child(3) .step-num { border-color: var(--blue);   color: var(--blue); }
.step-card:nth-child(4) .step-num { border-color: var(--cyan);   color: var(--cyan); }
.step-icon {
  width: 152px; height: 152px; border-radius: 24px;
  background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .85rem;
  overflow: hidden;
}
.step-icon svg { width: 28px; height: 28px; }
.step-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step-card:nth-child(1) .step-icon { border-color: rgba(65,88,208,.35); }
.step-card:nth-child(2) .step-icon { border-color: rgba(200,80,192,.35); }
.step-card:nth-child(3) .step-icon { border-color: rgba(41,197,214,.35); }
.step-card:nth-child(4) .step-icon { border-color: rgba(255,255,255,.25); }
.step-pill {
  display: inline-flex; padding: .2rem .65rem; border-radius: 100px;
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .6rem;
}
.pill-hotel    { background: rgba(65,88,208,.12);  color: var(--blue);   border: 1px solid rgba(65,88,208,.25); }
.pill-resto    { background: rgba(200,80,192,.12); color: var(--purple); border: 1px solid rgba(200,80,192,.25); }
.pill-boutique { background: rgba(41,197,214,.12); color: var(--cyan);   border: 1px solid rgba(41,197,214,.25); }
.pill-facture  { background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); border: 1px solid var(--border); }
.step-card h4 { font-size: .9rem; font-weight: 600; margin-bottom: .45rem; }
.step-card p  { font-size: .79rem; color: var(--text); line-height: 1.65; }

.usecase-callout {
  background: linear-gradient(135deg, rgba(65,88,208,.08), rgba(200,80,192,.06), rgba(41,197,214,.06));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 1.75rem 2rem;
  display: flex; align-items: flex-start; gap: 1.5rem;
  backdrop-filter: blur(12px);
}
.callout-icon {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
}
.callout-icon svg { width: 21px; height: 21px; }
.usecase-callout h4 { font-size: .95rem; font-weight: 600; margin-bottom: .4rem; }
.usecase-callout p  { font-size: .85rem; color: var(--text); line-height: 1.75; }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 10;
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.footer-logo img { height: 48px; width: auto; opacity: .6; transition: opacity .2s; }
.footer-logo:hover img { opacity: 1; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: .78rem; color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.2); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; text-align: center; gap: 3rem; }
  .hero-sub, .hero-ctas, .hero-trial { margin: 0 auto; justify-content: center; }
  .hero-sub { max-width: 480px; }
  .hero-photo { aspect-ratio: 3/2; }
  .secteurs-grid, .solution-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .secteurs-sub { white-space: normal; max-width: 480px; }
  .integ-layout { grid-template-columns: 1fr; gap: 3rem; }
  .integ-diagram { width: 380px; height: 688px; }
  .integ-node-android, .integ-node-ios { top: 320px; }
  .contact-layout { grid-template-columns: 1fr; }
  .nav-links, .nav-cta, .nav-lang-switch { display: none; }
  .nav-inner .nav-theme-toggle { display: none; }
  .nav-burger { display: flex; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats { gap: 1.5rem; }
  .usecase-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .usecase-steps::before { display: none; }
  .usecase-callout { flex-direction: column; gap: 1rem; }
  .partners-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .section-inner { padding: 4rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .radio-group { flex-wrap: wrap; }
  .radio-option { flex: 1 1 calc(50% - .5rem); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; width: 100%; row-gap: .6rem; }
  .footer-store-badges { justify-content: center; width: 100%; }
  .usecase-steps { grid-template-columns: 1fr; }

  /* Integration diagram — fits narrow phone viewports */
  .integ-diagram { width: 300px; height: 565px; }
  .integ-node-android, .integ-node-ios { top: 263px; }
  .integ-node span { font-size: .68rem; max-width: 100px; }
  .device-monitor .device-screen { width: 106px; height: 64px; }
  .device-monitor .device-neck { width: 8px; height: 11px; }
  .device-monitor .device-base { width: 45px; height: 5px; }
  .device-pos .device-screen { width: 117px; height: 66px; }
  .device-pos .device-neck { width: 6px; height: 16px; }
  .device-pos .device-base { width: 40px; height: 5px; }
  .device-phone .device-screen { width: 58px; height: 118px; }
  .device-phone .device-notch { width: 20px; height: 3px; bottom: 6px; }
  .device-tpe img { width: 59px; }
  .device-imprimante img { width: 60px; }
  .integ-node-bottom-pair { gap: .5rem; }
  .integ-center-dot { width: 28px; height: 28px; }
  .integ-center-dot svg { width: 13px; height: 13px; }
  .integ-center-dot img { width: 15px; }
}

/* ═══════════════════════ THEME TOGGLE ═══════════════════════ */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: none; background: transparent;
  cursor: pointer; flex-shrink: 0; opacity: .7;
  transition: background .2s, opacity .2s;
  margin-left: -1.7rem;
}
@media (hover: hover) {
  .theme-toggle:hover { background: var(--glass2); opacity: 1; }
}
.theme-toggle svg { width: 17px; height: 17px; display: block; }
.theme-toggle .icon-sun { color: #ffd166; display: none; }
.theme-toggle .icon-moon { color: rgba(255,255,255,.75); display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { color: #e8a33d; }
.nav-mobile-menu .theme-toggle { margin: 0; width: 46px; height: 46px; }
.nav-mobile-menu .theme-toggle svg { width: 20px; height: 20px; }

/* ═══════════════════════ SCROLL TO TOP ═══════════════════════ */
.scroll-top-btn {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 60;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: rgba(255,255,255,.55);
  cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s, transform .25s, background .2s;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
@media (hover: hover) {
  .scroll-top-btn:hover { background: var(--glass2); color: rgba(255,255,255,.85); }
}
.scroll-top-btn svg { width: 18px; height: 18px; display: block; }
[data-theme="light"] .scroll-top-btn { color: rgba(25,28,48,.5); }
@media (hover: hover) {
  [data-theme="light"] .scroll-top-btn:hover { color: rgba(25,28,48,.85); }
}

/* ═══════════════════════ LANGUAGE SWITCH ═══════════════════════ */
.lang-switch { position: relative; margin-left: .6rem; flex-shrink: 0; }
.nav-lang-switch { margin-left: -1.7rem; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: .3rem;
  height: 32px; padding: 0 .4rem; border-radius: 8px;
  border: none; background: transparent;
  cursor: pointer;
  font-family: inherit; font-size: .76rem; font-weight: 600;
  letter-spacing: .03em; color: rgba(255,255,255,.75);
  opacity: .7;
  transition: background .2s, opacity .2s;
}
.lang-toggle:hover { background: var(--glass2); opacity: 1; }
.lang-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.lang-switch.open .lang-toggle svg { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 160px; padding: .4rem;
  background: rgba(6,8,15,0.97); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  display: none; flex-direction: column; gap: .15rem;
  z-index: 200;
}
.lang-switch.open .lang-dropdown { display: flex; }
.lang-option {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: .55rem .7rem; border-radius: 8px;
  border: none; background: none; cursor: pointer;
  font-family: inherit; font-size: .83rem; color: rgba(255,255,255,.65);
  text-align: left; text-decoration: none; transition: background .15s, color .15s;
}
.lang-option:hover { background: var(--glass2); color: #fff; }
.lang-option.active { color: #fff; font-weight: 600; }
.lang-option.active::after { content: '✓'; font-size: .75rem; color: var(--cyan); }
.nav-mobile-menu .lang-switch { margin: 0; }
.nav-mobile-menu .lang-toggle { height: 46px; padding: 0 1.1rem; font-size: .85rem; }
.nav-mobile-menu .lang-dropdown { right: 50%; transform: translateX(50%); }
[data-theme="light"] .lang-toggle { color: rgba(25,28,48,.68); }
[data-theme="light"] .lang-dropdown { background: rgba(251,250,254,0.98); box-shadow: 0 16px 40px rgba(20,24,55,0.14); }
[data-theme="light"] .lang-option { color: rgba(25,28,48,.62); }
[data-theme="light"] .lang-option:hover { color: #15182e; }
[data-theme="light"] .lang-option.active { color: #15182e; }

/* ═══════════════════════ LOGO SWAP ═══════════════════════ */
.nav-logo img.logo-for-light,
.footer-logo img.logo-for-light { display: none; }
[data-theme="light"] .nav-logo img.logo-for-light,
[data-theme="light"] .footer-logo img.logo-for-light { display: block; }
[data-theme="light"] .nav-logo img.logo-for-dark,
[data-theme="light"] .footer-logo img.logo-for-dark { display: none; }

/* ═══════════════════════ LIGHT THEME ═══════════════════════ */
[data-theme="light"] {
  --glass:  rgba(20,24,55,0.035);
  --glass2: rgba(20,24,55,0.065);
  --border: rgba(20,24,55,0.10);
  --text:   rgba(25,28,48,0.62);
  --dark:   #ffffff;
}
[data-theme="light"] html { background: #f7f6fb; }
[data-theme="light"] .hero-h1-black { color: #000; }
[data-theme="light"] body {
  color: #15182e;
  background:
    radial-gradient(ellipse 950px 750px at 16% 10%, rgba(65,88,208,0.17) 0%, transparent 60%),
    radial-gradient(ellipse 850px 700px at 40% 36%, rgba(200,80,192,0.15) 0%, transparent 58%),
    radial-gradient(ellipse 750px 600px at 6% 58%, rgba(41,197,214,0.11) 0%, transparent 55%),
    #fbfafe;
}
[data-theme="light"] .orb,
[data-theme="light"] .grid-overlay,
[data-theme="light"] .glow-line { display: none; }

[data-theme="light"] .nav.scrolled { background: rgba(251,250,254,0.78); }
[data-theme="light"] .nav-links a { color: rgba(25,28,48,.62); }
[data-theme="light"] .nav-links a:hover { color: #15182e; }
[data-theme="light"] .nav-burger span { background: #15182e; }
[data-theme="light"] .nav-mobile-menu { background: rgba(251,250,254,0.98); }
[data-theme="light"] .nav-mobile-menu a { color: rgba(25,28,48,.72); }
[data-theme="light"] .nav-mobile-menu a:hover { color: #15182e; }

[data-theme="light"] .badge { color: rgba(25,28,48,.6); }
[data-theme="light"] .btn-ghost { color: rgba(25,28,48,.72); }

[data-theme="light"] #secteurs { background: rgba(20,24,55,0.015); }
[data-theme="light"] .secteur-list li { color: rgba(25,28,48,.68); }

[data-theme="light"] .integ-node span { color: rgba(25,28,48,.55); }
[data-theme="light"] .integ-node-icon { box-shadow: 0 8px 28px rgba(20,24,55,0.12); }

[data-theme="light"] .about-value p { color: rgba(25,28,48,.72); }
[data-theme="light"] .about-photo { box-shadow: 0 24px 70px rgba(20,24,55,0.16); }

[data-theme="light"] .form-group label { color: rgba(25,28,48,.58); }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea { background: rgba(20,24,55,.035); color: #15182e; }
[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder { color: rgba(25,28,48,.32); }
[data-theme="light"] .form-group select option { background: #fff; color: #15182e; }
[data-theme="light"] .radio-option { background: rgba(20,24,55,.035); color: #15182e; }

[data-theme="light"] .contact-item div a,
[data-theme="light"] .contact-item div p { color: rgba(25,28,48,.85); }
[data-theme="light"] .contact-item div a:hover { color: #15182e; }
[data-theme="light"] .contact-legal { color: rgba(25,28,48,.38); }

[data-theme="light"] .pill-facture { background: rgba(20,24,55,.05); color: rgba(25,28,48,.75); }

[data-theme="light"] .usecase-callout { border-color: rgba(20,24,55,.09); }

[data-theme="light"] .footer-links a { color: rgba(25,28,48,.42); }
[data-theme="light"] .footer-links a:hover { color: rgba(25,28,48,.82); }
[data-theme="light"] .footer-copy { color: rgba(25,28,48,.38); }
