/* =========================================================
   Rodexus — site vitrine
   Charte reprise de l'app Flutter (lib/core/glass_theme.dart) :
   glassmorphism navy, bleu marque #1458A6, accent #5BA7FF, typo Inter.
   ========================================================= */

:root {
  /* Couleurs marque (source : GlassTheme) */
  --brand:      #1458A6;
  --brand-hi:   #1E5DA8;
  --accent:     #5BA7FF;
  --accent-2:   #7DB6FF;
  --teal:       #34D3B5;
  --violet:     #9B8CFF;

  --ink:        #07182E;   /* fond le plus profond */
  --success:    #5EE08A;
  --warning:    #FFB454;
  --danger:     #FF8585;

  --text:       #ffffff;
  --text-70:    rgba(255,255,255,.72);
  --text-54:    rgba(255,255,255,.55);
  --text-38:    rgba(255,255,255,.40);

  --glass:        rgba(255,255,255,.07);
  --glass-strong: rgba(255,255,255,.11);
  --border:       rgba(255,255,255,.14);
  --border-soft:  rgba(255,255,255,.08);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --maxw:      1180px;
  --pad:       clamp(20px, 5vw, 28px);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(91,167,255,.16), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(20,88,166,.30), transparent 55%),
    linear-gradient(165deg, #1E5DA8 0%, #134577 26%, #0C2A4E 58%, #07182E 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
.section-tight { padding: clamp(36px, 6vw, 64px) 0; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(91,167,255,.10);
  border: 1px solid rgba(91,167,255,.24);
  padding: 6px 14px; border-radius: 30px;
}
.gradient { background: linear-gradient(100deg, var(--accent), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--text-70); font-size: clamp(16px, 1.6vw, 19px); }
.muted { color: var(--text-70); }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(33px, 5.2vw, 56px); }
h2 { font-size: clamp(27px, 3.6vw, 40px); }
h3 { font-size: 19px; }

.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 54px); text-align: center; }
.section-head h2 { margin: 14px 0 12px; }
.section-head p { color: var(--text-70); font-size: 16px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: 15px; font-weight: 600; cursor: pointer;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; transition: .18s ease; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -10px rgba(20,88,166,.9); }
.btn-primary:hover { background: #1a66bd; transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.10); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 9px;
  background: #0a1830; border: 1px solid var(--border); color: #fff;
  padding: 9px 15px; border-radius: 12px; transition: .18s ease;
}
.store:hover { border-color: var(--accent); transform: translateY(-1px); }
.store i { font-size: 22px; line-height: 1; }
.store small { display: block; font-size: 10px; color: var(--text-54); line-height: 1; }
.store b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: .25s ease; }
.site-header.scrolled { background: rgba(7,18,30,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 36px; height: 36px; }
.brand-text strong { display: block; font-size: 19px; font-weight: 700; letter-spacing: .01em; line-height: 1; }
.brand-text span { display: block; font-size: 10.5px; color: var(--text-54); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14.5px; color: var(--text-70); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 78px) 0 clamp(48px, 7vw, 88px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero h1 { margin: 18px 0 0; }
.hero .lead { margin: 20px 0 28px; max-width: 560px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-proof { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-70); }
.hero-proof .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(94,224,138,.18); }

.hero-visual { display: flex; justify-content: center; position: relative; }
.phone { background: #06121f; border: 7px solid #16263f; border-radius: 38px; padding: 8px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); position: relative; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 60px; height: 7px; background: #16263f; border-radius: 5px; z-index: 2; }
.phone img { border-radius: 30px; width: 270px; display: block; }
.hero-visual .phone { transform: rotate(-2deg); }

/* ---------- Architecture / 3 blocs ---------- */
.blocs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bloc { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.bloc .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(91,167,255,.15); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-size: 23px; margin-bottom: 14px; }
.bloc h3 { margin-bottom: 7px; }
.bloc p { color: var(--text-70); font-size: 14.5px; }

/* ---------- Avantages ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: .2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(91,167,255,.4); background: var(--glass-strong); }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(91,167,255,.15); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 13px; }
.card h3 { font-size: 16.5px; margin-bottom: 6px; }
.card p { color: var(--text-70); font-size: 13.8px; line-height: 1.55; }
.card.feature-proof { background: linear-gradient(150deg, rgba(20,88,166,.34), var(--glass)); border-color: rgba(91,167,255,.4); }

/* ---------- Galerie app ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 30px); }
.shot { text-align: center; }
.shot .phone { display: inline-block; }
.shot .phone img { width: 100%; max-width: 230px; }
.shot h4 { font-size: 15px; font-weight: 600; margin-top: 16px; }
.shot p { font-size: 13px; color: var(--text-54); margin-top: 3px; }

/* ---------- Sécurité ---------- */
.secu { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.secu-item { display: flex; gap: 13px; background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.secu-item i { font-size: 22px; color: var(--accent-2); flex-shrink: 0; margin-top: 1px; }
.secu-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.secu-item p { font-size: 13.5px; color: var(--text-70); }
.secu-flag { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 26px; color: var(--text-70); font-size: 14px; }
.secu-flag span { display: inline-flex; align-items: center; gap: 8px; }
.secu-flag i { color: var(--teal); font-size: 19px; }

/* ---------- Robots ---------- */
.robots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.robot { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .2s ease; }
.robot:hover { transform: translateY(-3px); border-color: rgba(91,167,255,.4); }
.robot-img { background: #fff; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 14px; }
.robot-img img { max-height: 100%; width: auto; object-fit: contain; }
.robot-body { padding: 16px 18px 20px; }
.robot-body h3 { font-size: 17px; }
.robot-tag { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--accent-2); background: rgba(91,167,255,.12); border: 1px solid rgba(91,167,255,.22); padding: 3px 10px; border-radius: 20px; margin-top: 8px; }
.robots-note { text-align: center; color: var(--text-54); font-size: 13.5px; margin-top: 20px; }
.gamme-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 560px; margin: 26px auto 0; }
@media (max-width: 520px) { .gamme-duo { grid-template-columns: 1fr; max-width: 300px; } }

/* ---------- Secteurs ---------- */
.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sector { text-align: center; background: var(--glass); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 20px 10px; }
.sector .ic { width: 40px; height: 40px; margin: 0 auto 11px; border-radius: 11px; background: rgba(91,167,255,.14); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.sector span { font-size: 13.5px; font-weight: 500; }

/* ---------- Tarifs (à venir) ---------- */
.pricing { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--glass); border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 26px 30px; }
.pricing h3 { display: flex; align-items: center; gap: 10px; }
.pricing h3 i { color: var(--accent-2); }
.pricing p { color: var(--text-70); font-size: 14.5px; margin-top: 5px; }
.badge-soon { background: rgba(91,167,255,.14); color: var(--accent-2); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 10px; }

/* ---------- Démo / contact ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-70); font-size: 15px; }
.contact-list i { color: var(--accent-2); font-size: 19px; }
.form { background: var(--glass-strong); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-70); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 15px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; transition: .15s; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.09); }
.field select option { background: #0c2a4e; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--success); text-align: center; }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: linear-gradient(120deg, rgba(20,88,166,.5), rgba(91,167,255,.16)); border: 1px solid rgba(91,167,255,.3);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 3vw, 32px); }
.cta-band p { color: var(--text-70); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #050f1d; border-top: 1px solid var(--border-soft); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 30px; padding: clamp(40px, 6vw, 60px) 0 34px; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--text-54); font-size: 13.5px; max-width: 300px; }
.footer-store { margin-top: 18px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-54); margin-bottom: 14px; font-weight: 600; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--text-70); margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 20px 0 30px; border-top: 1px solid var(--border-soft); font-size: 12.5px; color: var(--text-54); }
.footer-bottom .mark { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .mark img { width: 20px; height: 20px; }

/* ---------- Reveal au scroll (piloté par GSAP, gate .js pour le no-JS / SEO) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); }
.reveal.in { opacity: 1 !important; transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .blocs { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .secu { grid-template-columns: 1fr; }
  .robots { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .shots { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(7,18,30,.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
    padding: 14px var(--pad) 22px; transform: translateY(-130%); transition: transform .28s ease; align-items: stretch; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--border-soft); }
  .nav-links .btn { margin-top: 12px; }
  .nav-toggle { display: block; }
  .cards { grid-template-columns: 1fr; }
  .robots { grid-template-columns: 1fr 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   MOTION & PREMIUM — ajouts (CDN : GSAP / Lenis / Tilt / CountUp)
   prefers-reduced-motion neutralise le motion lourd (fin de bloc)
   ========================================================= */

/* ---------- Lenis (smooth scroll) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Barre de progression de scroll ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
  background: linear-gradient(90deg, var(--accent), var(--teal)); box-shadow: 0 0 12px rgba(91,167,255,.6); }

/* ---------- Hero : canvas réseau + halos parallax ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-halo { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .5; }
.hero-halo.halo-a { width: 440px; height: 440px; top: -130px; right: -90px; background: radial-gradient(circle, rgba(91,167,255,.55), transparent 70%); }
.hero-halo.halo-b { width: 400px; height: 400px; bottom: -150px; left: -110px; background: radial-gradient(circle, rgba(52,211,181,.30), transparent 70%); }

/* ---------- Tilt 3D ---------- */
.hero-visual .phone, .shot .phone, .robot, article.card { transform-style: preserve-3d; }
.js-tilt-glare { border-radius: inherit; overflow: hidden; }
.card:hover { box-shadow: 0 20px 44px -24px rgba(91,167,255,.6); }
.robot:hover { box-shadow: 0 20px 44px -24px rgba(91,167,255,.5); }

/* ---------- Bord lumineux animé (blocs clés) ---------- */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes angspin { to { --ang: 360deg; } }
.card.feature-proof, .cta-band { position: relative; }
.card.feature-proof::before, .cta-band::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: 0; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0deg, rgba(91,167,255,.75), rgba(52,211,181,.5), transparent 140deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: angspin 6s linear infinite; }
.card.feature-proof > *, .cta-band > * { position: relative; z-index: 1; }

/* ---------- Navigation : lien actif ---------- */
.nav-links a[href^="#"] { position: relative; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal)); }

/* ---------- Logo : spin 3D au survol ---------- */
.brand { perspective: 600px; }
.brand img { transform-style: preserve-3d; backface-visibility: visible; will-change: transform; }
.brand:hover img { animation: logospin 0.8s cubic-bezier(.45, 0, .25, 1); }
@keyframes logospin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

/* ---------- Cas d'usage : robot + application ---------- */
.spotlight { background: linear-gradient(150deg, rgba(20,88,166,.30), var(--glass)); border: 1px solid rgba(91,167,255,.32);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); margin-bottom: clamp(20px, 3vw, 34px); }
.spotlight-head { max-width: 780px; }
.spotlight-head .eyebrow { margin-bottom: 13px; }
.spotlight-head h3 { font-size: clamp(20px, 2.4vw, 27px); margin-bottom: 10px; }
.spotlight-head > p { color: var(--text-70); font-size: 15px; }
.spot-sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.spot-sectors span { font-size: 12.5px; font-weight: 500; color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 30px; padding: 6px 14px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.spot { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color .2s ease; }
.spot:hover { border-color: rgba(91,167,255,.4); }
.spot .ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(91,167,255,.15); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 13px; }
.spot h4 { font-size: 16px; margin-bottom: 7px; }
.spot p { color: var(--text-70); font-size: 13.6px; line-height: 1.55; }
.spot .module-steps { gap: 9px; }
.spot .module-steps li { font-size: 13.2px; }
@media (max-width: 860px) { .spotlight-grid { grid-template-columns: 1fr; } }

/* ---------- Cartes-teasers solutions (accueil) ---------- */
.solu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solu-card { position: relative; display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.solu-card:hover { transform: translateY(-4px); border-color: rgba(91,167,255,.45); box-shadow: 0 24px 50px -28px rgba(91,167,255,.55); }
.solu-card-media { background: #fff; height: 210px; flex: 0 0 210px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 20px; }
.solu-card-media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.solu-card-media.usecase-media-duo img { max-width: 44%; }
.solu-card-illus { background: #0b2545; padding: 0; }
.solu-card-illus img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.solu-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.solu-card-body h3 { font-size: 19px; margin: 12px 0 8px; }
.solu-card-body p { color: var(--text-70); font-size: 14px; line-height: 1.55; flex: 1; }
.solu-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent-2); transition: gap .2s ease; }
.solu-card:hover .solu-link { gap: 11px; }
.solu-link.muted { color: var(--text-54); }
.soon-badge { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--warning); background: rgba(255,180,84,.14); border: 1px solid rgba(255,180,84,.38); padding: 5px 11px; border-radius: 30px; }
@media (max-width: 900px) { .solu-cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ---------- Timeline livraison ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; list-style: none; }
.tl-line { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--border-soft); border-radius: 2px; overflow: hidden; }
.tl-line-fill { position: absolute; inset: 0 0 auto 0; width: 100%; height: 100%; display: block;
  background: linear-gradient(180deg, var(--accent), var(--teal)); box-shadow: 0 0 10px rgba(91,167,255,.5); }
.tl-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-bottom: 22px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-marker { width: 44px; height: 44px; border-radius: 13px; background: #0d2745; border: 1px solid rgba(91,167,255,.35);
  color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-size: 22px; position: relative; z-index: 1;
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.tl-step.active .tl-marker { background: linear-gradient(135deg, var(--accent), var(--teal)); color: #07182e; border-color: transparent; box-shadow: 0 0 0 5px rgba(91,167,255,.12); }
.tl-card { background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius); padding: 17px 20px; transition: border-color .3s ease; }
.tl-step.active .tl-card { border-color: rgba(91,167,255,.4); }
.tl-num { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-2); }
.tl-card h3 { font-size: 17px; margin: 5px 0 7px; }
.tl-card p { color: var(--text-70); font-size: 14px; line-height: 1.55; }

.usecases { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 34px); }
.usecase { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 4vw, 48px); align-items: center;
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); transition: border-color .2s ease, box-shadow .2s ease; }
.usecase:hover { border-color: rgba(91,167,255,.4); box-shadow: 0 22px 50px -28px rgba(91,167,255,.5); }
.usecase:nth-child(even) .usecase-media { order: 2; }
.usecase-media { background: #fff; border-radius: var(--radius); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; gap: 16px; padding: clamp(16px, 3vw, 30px); overflow: hidden; }
.usecase-media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.usecase-media-duo img { max-width: 46%; }
.usecase-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-2); background: rgba(91,167,255,.10); border: 1px solid rgba(91,167,255,.24); padding: 6px 13px; border-radius: 30px; }
.usecase-body h3 { font-size: clamp(19px, 2.2vw, 24px); margin: 14px 0 10px; }
.usecase-body > p { color: var(--text-70); font-size: 15px; }
.usecase-module { margin: 18px 0 16px; background: rgba(255,255,255,.04); border: 1px solid var(--border-soft); border-left: 3px solid var(--accent); border-radius: 12px; padding: 16px 18px; }
.module-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--accent-2); }
.module-label i { font-size: 17px; }
.module-intro { font-size: 13.5px; color: var(--text-54); margin: 6px 0 13px; }
.module-steps { display: flex; flex-direction: column; gap: 11px; }
.module-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 13.8px; color: var(--text); line-height: 1.45; }
.module-steps li span { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--accent-2); background: rgba(91,167,255,.14); border: 1px solid rgba(91,167,255,.3); }
.usecase-win { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text); font-weight: 500; border-top: 1px solid var(--border-soft); padding-top: 14px; }
.usecase-win i { color: var(--teal); font-size: 18px; flex-shrink: 0; }
.usecase-cta { margin-top: clamp(26px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(20,88,166,.34), var(--glass)); border: 1px solid rgba(91,167,255,.3); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px) clamp(22px, 3vw, 34px); }
.usecase-cta p { color: var(--text-70); font-size: 15.5px; max-width: 660px; }
.usecase-cta strong { color: #fff; }

@media (max-width: 860px) {
  .usecase { grid-template-columns: 1fr; }
  .usecase:nth-child(even) .usecase-media { order: 0; }
  .usecase-media { aspect-ratio: 16 / 9; }
  .usecase-list { grid-template-columns: 1fr; }
}

/* ---------- Bande chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 38px) clamp(18px, 3vw, 30px); }
.stat { position: relative; text-align: center; padding: 4px 10px; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: var(--border-soft); }
.stat-num { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1;
  background: linear-gradient(100deg, var(--accent), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; margin-top: 11px; font-size: 12.8px; color: var(--text-70); line-height: 1.45; }

/* ---------- Hero : titre dégradé animé ---------- */
.gradient { background-size: 220% auto; animation: gradslide 8s ease-in-out infinite; }
@keyframes gradslide { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }

/* ---------- Bouton primaire : reflet ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.30), transparent); transform: skewX(-18deg); transition: left .6s ease; }
.btn-primary:hover::after { left: 130%; }

/* ---------- Responsive : bande chiffres ---------- */
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; } .stat:nth-child(odd)::before { display: none; } }
@media (max-width: 430px) { .stats { grid-template-columns: 1fr; } .stat + .stat::before { display: none; } }

/* ---------- Accessibilité : prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero-net { display: none; }
  .gradient, .card.feature-proof::before, .cta-band::before { animation: none; }
  .scroll-progress { display: none; }
  .btn-primary::after { display: none; }
  .brand:hover img { animation: none; }
}

/* =========================================================
   PAGES SOLUTION + SCÈNE ANIMÉE (livraison)
   ========================================================= */
.solu-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(26px, 4vw, 44px); }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--text-70); margin-bottom: 18px; transition: color .15s ease; }
.back-link:hover { color: #fff; }
.solu-hero-inner { max-width: 760px; }
.solu-hero h1 { margin: 16px 0 0; }
.solu-hero .lead { margin: 18px 0 26px; max-width: 640px; }

/* ---------- Device hero : tournée en direct + timeline narrative ---------- */
.devhero { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: clamp(28px, 4vw, 54px); align-items: start; max-width: 1060px; margin: 0 auto; }
.dh-stage { position: relative; display: flex; justify-content: center; padding-top: 6px; }
.dh-glow { position: absolute; inset: -12% -6%; background: radial-gradient(circle at 50% 42%, rgba(91,167,255,.34), transparent 68%); filter: blur(16px); z-index: 0; border-radius: 40px; }
.dh-phone { position: relative; z-index: 1; width: clamp(214px, 24vw, 258px); aspect-ratio: 640 / 1391; background: #06121f; border: 8px solid #1b2c44; border-radius: 40px; box-shadow: 0 44px 84px -30px rgba(0,0,0,.78); animation: dhfloat 6s ease-in-out infinite; }
.dh-phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 54px; height: 7px; background: #1b2c44; border-radius: 5px; z-index: 3; }
.dh-shot { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: cover; border-radius: 32px; opacity: 0; transition: opacity .6s ease; }
.dh-shot.active { opacity: 1; }
@keyframes dhfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.dh-info { min-width: 0; }
.dh-events { list-style: none; position: relative; }
.dh-ev { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding-bottom: 14px; cursor: pointer; }
.dh-ev:not(:last-child)::before { content: ""; position: absolute; left: 18px; top: 36px; bottom: -2px; width: 2px; background: rgba(255,255,255,.12); }
.dh-ev.done:not(:last-child)::before { background: linear-gradient(var(--teal), rgba(91,167,255,.45)); }
.dh-ev-mark { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; z-index: 1;
  background: #0c2742; border: 1.5px solid rgba(255,255,255,.2); color: var(--text-54); transition: background .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease; }
.dh-ev.done .dh-ev-mark { background: rgba(52,211,181,.2); border-color: var(--teal); color: var(--teal); }
.dh-ev.active .dh-ev-mark { background: linear-gradient(135deg, var(--accent), var(--teal)); border-color: transparent; color: #07182e; box-shadow: 0 0 0 5px rgba(91,167,255,.14); }
.dh-ev-card { background: var(--glass); border: 1px solid var(--border-soft); border-radius: 13px; padding: 12px 15px; opacity: .5; transition: opacity .4s ease, border-color .4s ease, background .4s ease, transform .4s ease; }
.dh-ev.done .dh-ev-card { opacity: .82; }
.dh-ev.active .dh-ev-card { opacity: 1; border-color: rgba(91,167,255,.45); background: var(--glass-strong); transform: translateX(2px); }
.dh-ev-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.dh-ev-head b { font-size: 14px; font-weight: 600; }
.dh-ev-head time { font-size: 11.5px; color: var(--text-54); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.dh-ev-card p { font-size: 13px; color: var(--text-70); line-height: 1.5; }
.dh-ev-card p strong { color: #fff; font-weight: 600; }
.dh-ev.active .dh-ev-card p { color: var(--text); }

.dh-foot { margin-top: 8px; }
.dh-replay { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font); font-size: 13px; color: var(--text-70); background: none; border: 1px solid var(--border); padding: 8px 16px; border-radius: 22px; cursor: pointer; transition: .2s ease; }
.dh-replay:hover { color: #fff; border-color: var(--accent); }

@media (max-width: 820px) {
  .devhero { grid-template-columns: 1fr; gap: 26px; }
  .dh-stage { order: -1; }
  .dh-phone { width: 208px; }
}
@media (prefers-reduced-motion: reduce) {
  .dh-phone { animation: none; }
  .dh-shot, .dh-ev-mark, .dh-ev-card { transition: none; }
}

/* ---------- Catalogue intelligent (compatibilité casier) ---------- */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.cat-prod { background: var(--glass); border: 1px solid var(--border-soft); border-radius: 14px; padding: 16px; transition: border-color .2s ease, transform .2s ease; }
.cat-prod:hover { border-color: rgba(91,167,255,.4); transform: translateY(-2px); }
.cat-name { font-size: 14.5px; font-weight: 600; }
.cat-ref { font-size: 11px; color: var(--text-38); margin-bottom: 11px; letter-spacing: .02em; }
.cat-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.tag { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px; }
.tag-fragile { color: var(--warning); background: rgba(255,180,84,.16); }
.tag-amb { color: var(--accent-2); background: rgba(91,167,255,.16); }
.tag-cold { color: var(--teal); background: rgba(52,211,181,.16); }
.tag-std { color: var(--text-70); background: rgba(255,255,255,.08); }
.cat-dims { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-54); margin-bottom: 13px; }
.cat-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.cat-slots span { font-size: 10.5px; font-weight: 600; text-align: center; padding: 5px 4px; border-radius: 7px; }
.cat-slots .ok { color: #06401f; background: #5EE08A; }
.cat-slots .no { color: #5a1414; background: #F09595; }
.catalog-note { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text-70); line-height: 1.55; margin-top: 18px; }
.catalog-note i { color: var(--accent-2); font-size: 17px; margin-top: 1px; flex-shrink: 0; }
.catalog-note strong { color: #fff; font-weight: 600; }
@media (max-width: 760px) { .catalog { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; } }

/* ---------- Menu déroulant Solutions (nav) ---------- */
.nav-dd { position: relative; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; color: var(--text-70); font-weight: 500; transition: color .15s ease; }
.nav-dd-trigger i { font-size: 15px; transition: transform .2s ease; }
.nav-dd:hover .nav-dd-trigger, .nav-dd:focus-within .nav-dd-trigger { color: #fff; }
.nav-dd:hover .nav-dd-trigger i { transform: rotate(180deg); }
.nav-dd-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); min-width: 232px; padding: 8px; margin-top: 8px;
  background: rgba(8,18,32,.94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 26px 54px -22px rgba(0,0,0,.7); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease; z-index: 60; }
.nav-dd-menu::before { content: ""; position: absolute; bottom: 100%; left: 0; right: 0; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: var(--text-70); transition: background .15s ease, color .15s ease; }
.nav-dd-menu a:hover { background: rgba(91,167,255,.12); color: #fff; }
.nav-dd-menu a i { font-size: 18px; color: var(--accent-2); flex-shrink: 0; }
.nav-dd-menu a span { flex: 1; }
.dd-soon { font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--warning); background: rgba(255,180,84,.16); border: 1px solid rgba(255,180,84,.35); padding: 2px 7px; border-radius: 20px; }

@media (max-width: 640px) {
  .nav-dd { width: 100%; }
  .nav-dd-trigger { width: 100%; justify-content: space-between; padding: 13px 4px; border-bottom: 1px solid var(--border-soft); }
  .nav-dd:hover .nav-dd-trigger i { transform: none; }
  .nav-dd-menu { position: static; transform: none !important; opacity: 1; visibility: visible; min-width: 0; margin: 0; padding: 2px 0 6px 10px;
    background: none; border: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-dd-menu::before { display: none; }
  .nav-dd-menu a { padding: 11px 6px; border-bottom: none; font-size: 13.5px; }
}
