:root{
  --brand:#1d9395;--brand-600:#157d7f;--ink:#0e1726;--bg:#0a0f14;--panel:#0f1a22;
  --muted:#96a0aa;--line:rgba(255,255,255,.08);--line-2:rgba(255,255,255,.12);
  --ring:rgba(29,147,149,.35);--radius:14px;--shadow:0 10px 30px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html, body.landing {
  margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgb(29 147 149 / 30%), transparent),
    radial-gradient(800px 400px at 90% 10%, rgb(29 147 149 / 15%), transparent),
    var(--bg);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, scroll;
  background-size: 130vmax 70vmax, 100vmax 50vmax, auto;
  background-position: 20% -10%, 90% 10%, 0 0;
  color:#e5e7eb; line-height:1.55;
  height: auto;
}
a{color:var(--brand); text-decoration:none}

.landing header {
  padding: 0;
  display: block;
  position:sticky; 
  top:0; 
  z-index:1000; 
  background:rgba(10,15,20,.72); 
  -webkit-backdrop-filter:saturate(160%) blur(10px); 
  backdrop-filter:saturate(160%) blur(10px); 
  border-bottom:1px solid var(--line); 
  box-shadow:0 6px 20px rgba(0,0,0,.25);
  isolation:isolate
}

.landing .container{max-width:1200px; margin:0 auto; padding:0 20px}
.landing .btn{display:inline-flex; align-items:center; gap:.6rem; padding:.85rem 1.05rem; border-radius:999px; border:1px solid var(--line-2); background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); color:#eaf4f4; font-weight:600; letter-spacing:.2px; box-shadow:var(--shadow); transition:.2s}
.landing .btn:hover{transform:translateY(-1px); border-color:rgba(255,255,255,.2)}
.landing .btn-primary{background:linear-gradient(180deg, var(--brand), var(--brand-600)); border:none}
.landing .btn-ghost{background:transparent; border:1px solid var(--line-2)}
.landing .chip{display:inline-flex; align-items:center; gap:.4rem; padding:.28rem .6rem; border-radius:999px; background:rgba(29,147,149,.12); border:1px solid var(--ring); color:#d7f7f8; font-weight:700; font-size:.78rem}
.landing .muted{color:var(--muted)}

.landing .nav{display:flex; align-items:center; justify-content:space-between; padding:14px 22px}
.landing .brand{display:flex; align-items:center; gap:.8rem; font-weight:800}
.landing .logo{width:36px; height:36px; border-radius:10px; display:grid; place-items:center; color:#fff; background:conic-gradient(from 220deg at 50% 50%, var(--brand), #0ea5a8 25%, #062f31 60%, var(--brand) 100%)}
.landing .navlinks{display:flex; gap:.4rem; align-items:center}
.landing .navlinks a{color:#d6dde3; padding:.55rem .8rem; border-radius:10px; border:1px solid transparent}
.landing .navlinks a:hover{border-color:var(--line-2); background:rgba(255,255,255,.03)}
.landing .menu-btn{display:none}

.hero{padding:72px 0 26px}
.hgrid{display:grid; grid-template-columns:1.15fr 1fr; gap:40px; align-items:center}
.headline{font-size:clamp(28px, 3.6vw, 52px); font-weight:800; line-height:1.08; margin:0 0 12px}
.sub{font-size:clamp(16px,1.8vw,18px); color:#cdd5dd; margin:0 0 22px}
.hero-card{background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow), inset 0 1px rgba(255,255,255,.04); background-clip:padding-box}
.screen{aspect-ratio:16/10; border-radius:16px; background:linear-gradient(180deg, #101a22, #0b1218); border:1px solid var(--line); box-shadow:var(--shadow); overflow:hidden}
.screen .bar{display:flex; gap:6px; padding:10px; border-bottom:1px solid var(--line); background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02))}
.dot{width:10px; height:10px; border-radius:999px; background:#334155}
.skeleton{height:100%; display:grid; grid-template-rows:44px 1fr 1fr; gap:14px; padding:14px}
.sk{border-radius:10px; background:linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.08) 40%, rgba(255,255,255,.05) 60%); background-size:200% 100%; animation:shine 2.5s linear infinite}
@keyframes shine{to{background-position:-200% 0}}

.pilltabs{display:inline-flex; background:rgba(255,255,255,.04); border:1px solid var(--line-2); border-radius:999px; padding:4px}
.pilltabs button{border:0; background:transparent; color:#dbe5ea; padding:.5rem .9rem; border-radius:999px; cursor:pointer; font-weight:600}
.pilltabs button.active{background:linear-gradient(180deg, var(--brand), var(--brand-600)); color:#fff}

.stats{display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin:22px 0 0}
.stat{background:rgba(255,255,255,.03); border:1px solid var(--line); border-radius:12px; padding:14px}
.stat h3{margin:0; font-size:28px}
.stat p{margin:6px 0 0; color:var(--muted); font-size:.95rem}

section{padding:54px 0}
h2{font-size:clamp(22px, 2.2vw, 34px); margin:0 0 12px}
.lead{color:#cdd5dd; margin:0 0 16px}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.card{background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border:1px solid var(--line); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow), inset 0 1px rgba(255,255,255,.04); background-clip:padding-box}
.icon{width:36px; height:36px; border-radius:10px; display:grid; place-items:center; background:rgba(29,147,149,.12); border:1px solid var(--ring); margin-bottom:8px}

.tour{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.shot{border-radius:14px; border:1px solid var(--line); background:linear-gradient(180deg, #0c141b, #0a0f14); min-height:200px; box-shadow:var(--shadow), inset 0 1px rgba(255,255,255,.03); overflow:hidden}
.shot .legend{display:flex; align-items:center; justify-content:space-between; padding:10px 12px; border-bottom:1px solid var(--line); color:#cbd5e1}
.shot .ph{height:180px}

.cta{background:linear-gradient(180deg, rgba(29,147,149,.16), rgba(29,147,149,.08)); border:1px solid var(--ring); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow)}

footer{padding:40px 0; color:#9aa3ad; border-top:1px solid var(--line)}

@media (max-width: 1024px){ .hgrid{grid-template-columns:1fr} .tour{grid-template-columns:1fr} }
@media (max-width: 720px){
  .grid-3{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr}
  .navlinks{display:none}
  .menu-btn{display:inline-flex}
  html body.landing .equip-card .kpis {grid-template-columns:1fr}
  .landing .menu-btn{ display:inline-flex; }        /* afficher le bouton */
  .landing .navlinks{
    display:none;                                   /* masquée par défaut */
    position:absolute; left:0; right:0; top:100%;
    background:rgba(10,15,20,.92);
    -webkit-backdrop-filter:saturate(160%) blur(10px);
            backdrop-filter:saturate(160%) blur(10px);
    border-bottom:1px solid var(--line);
    padding:10px 16px; gap:8px;
    flex-direction:column;
  }
  /* quand le header a la classe .nav-open → on montre le menu */
  .landing header.nav-open .navlinks{ display:flex; }

  /* liens dans le panneau mobile */
  .landing .navlinks a{
    width:100%;
    padding:12px;
    border-radius:10px;
    background:rgba(255,255,255,.03);
    border:1px solid var(--line);
  }
}

.logo{position:relative; overflow:hidden}
.rm-logo .bar{fill:#d8f7f7; opacity:.95; transform-origin:50% 100%}
.rm-logo .b1{animation:pulse 1.8s ease-in-out infinite .0s}
.rm-logo .b2{animation:pulse 1.8s ease-in-out infinite .15s}
.rm-logo .b3{animation:pulse 1.8s ease-in-out infinite .3s}
@keyframes pulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}

.alert-beta{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin:10px 0 8px;padding:.6rem .8rem;border-radius:12px;background:rgba(255,255,255,.05);border:1px solid var(--line-2)}
.alert-beta strong{color:#ffe08a}
.alert-beta button{background:transparent;border:0;color:#9aa3ad;cursor:pointer}

#equipements .chip{background:rgba(29,147,149,.18)}

/* Conteneur des pastilles */
body.landing .equip-card .kpis{
  display:grid;
  gap:12px;
  grid-template-columns:repeat(auto-fit, minmax(100px, 1fr)); /* 1, 2 ou 3 colonnes selon largeur */
}

/* Pastille */
body.landing .equip-card .kpi{
  display:block !important;          /* neutralise le grid global du thème */
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--line);
  box-shadow:inset 0 1px rgba(255,255,255,.04);
  text-align:center;
}

/* Titre + sous-titre */
body.landing .equip-card .kpi strong{ display:block; font-weight:800; letter-spacing:.1px; }
body.landing .equip-card .kpi small{ display:block; color:var(--muted); }

/* Barre */
body.landing .equip-card .kpi .meter{ height:6px; margin-top:8px; border-radius:999px; background:rgba(255,255,255,.08); overflow:hidden; position:relative; }
body.landing .equip-card .kpi .meter>i{
  display:block; height:100%; width:var(--w,60%);
  background:linear-gradient(90deg, var(--brand), var(--brand-600));
  border-radius:inherit; position:relative;
}
body.landing .equip-card .kpi .meter>i::before{ content:""; position:absolute; inset:0;
  background:repeating-linear-gradient(45deg, rgba(255,255,255,.18) 0 6px, rgba(255,255,255,0) 6px 12px);
  opacity:.28; pointer-events:none;
}
body.landing .equip-card .kpi .meter>i::after{ content:""; position:absolute; right:-1px; top:50%; transform:translateY(-50%);
  width:6px; height:6px; border-radius:50%; background:#d8f7f7;
  box-shadow:0 0 10px rgba(216,247,247,.9), 0 0 20px rgba(29,147,149,.6);
}



@keyframes stripes{to{background-position:64px 0}}
@keyframes spark{0%,100%{opacity:.6;filter:brightness(1)}50%{opacity:1;filter:brightness(1.25)}}
.equip-benefits{color:#cfd7de;padding-left:18px;margin:8px 0}

@media (max-width: 1024px){.equip-grid{grid-template-columns:1fr 1fr}}
@media (max-width: 720px){.equip-grid{grid-template-columns:1fr}}
@media (prefers-reduced-motion: reduce){.rm-logo .b1,.rm-logo .b2,.rm-logo .b3,.meter > i::before,.meter > i::after{animation:none}}/* --- New Animations & Effects --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Glow Effect for Primary Button */
.landing .btn-primary.glow {
    position: relative;
    overflow: hidden;
}

.landing .btn-primary.glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.landing .btn-primary.glow:hover::after {
    transform: scale(1);
    opacity: 1;
    transition: 0s;
}

/* Enhanced Card Hover */
.landing .card,
.landing .equip-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.landing .card:hover,
.landing .equip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(29, 147, 149, 0.5);
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(90deg, #fff, #d8f7f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Section Separators */
.section-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
    margin: 40px 0;
}
