﻿/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0a0a0a;
  --black-soft: #1a1a1a;
  --grey-dark:  #3a3a3a;
  --grey:       #6b6b6b;
  --grey-light: #c4c4c4;
  --grey-pale:  #f0f0f0;
  --white:      #ffffff;
  --border:     #e0e0e0;
  --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --nav-h: 64px;
  --r: 10px;
  --transition: 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Neutralise tout héritage de style Word */
* { color: inherit; font-family: inherit; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 200;
  background: var(--white);
  /* pas de border-bottom */
}
.nav-inner {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 40px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  background: none; border: none;
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--black); cursor: pointer; font-family: var(--font);
}
.nav-right {
  display: flex; align-items: center; gap: 8px;
}
.nav-links {
  display: flex; gap: 2px;
}
.nav-btn {
  background: none; border: none;
  font-size: 14px; font-weight: 500;
  color: var(--grey); padding: 7px 14px;
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.nav-btn:hover, .nav-btn.active {
  color: var(--black); background: var(--grey-pale);
}
.orb-canvas { display: block; cursor: default; }
.nav-toggle {
  display: none; background: none; border: none;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--black); border-radius: 2px;
}

/* ── Pages ────────────────────────────────────────────────────────────── */
.pages {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  overflow: hidden;
}
.page {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
  background: var(--white);
  opacity: 0; pointer-events: none;
  transform: translateY(24px);
  transition: opacity var(--transition), transform var(--transition);
}
.page.active  { opacity: 1; pointer-events: all; transform: translateY(0); }
.page.exit-up   { opacity: 0; transform: translateY(-24px); pointer-events: none; }
.page.exit-down { opacity: 0; transform: translateY(24px);  pointer-events: none; }

.page-inner {
  width: 100%; max-width: 900px;
  padding: 0 40px;
  overflow: hidden;
  position: relative;
}

/* ── Headings ─────────────────────────────────────────────────────────── */
.page-label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--grey); margin-bottom: 10px;
}
.page-heading { margin-bottom: 40px; }
.page-heading h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800; letter-spacing: -1px;
  color: var(--black); line-height: 1.1; margin-bottom: 10px;
}
.page-heading p { font-size: 15px; color: var(--grey); line-height: 1.65; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px; border-radius: var(--r);
  font-size: 14px; font-weight: 600;
  font-family: var(--font); cursor: pointer;
  transition: all 0.18s; border: none; white-space: nowrap;
}
.btn-dark    { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--black-soft); }
.btn-outline { background: transparent; color: var(--black); border: 1px solid var(--black); }
.btn-outline:hover { background: var(--grey-pale); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════════════
   PAGE 1 — HERO
══════════════════════════════════════════════════════════════════════════ */
.hero-layout {
  display: flex; align-items: center; gap: 72px;
  padding: 0 40px; max-width: 1100px; width: 100%;
}
.hero-logo-block { flex-shrink: 0; }
.hero-logo-img {
  width: 280px;
  height: auto;
  display: block;
  object-fit: contain;
}
.hero-text { flex: 1; }
.hero-label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--grey); margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 800; letter-spacing: -2px;
  line-height: 1.08; color: var(--black); margin-bottom: 18px;
}
.hero-sub {
  font-size: 16px; color: var(--grey);
  max-width: 500px; line-height: 1.7; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════════════
   PAGE 2 — MISSION
══════════════════════════════════════════════════════════════════════════ */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.pillar {
  padding: 24px; border: 1px solid var(--border);
  border-radius: var(--r); background: var(--white);
  transition: border-color 0.2s;
}
.pillar:hover { border-color: var(--black); }
.pillar-icon { width: 32px; height: 32px; margin-bottom: 14px; color: var(--black); }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 7px; }
.pillar p  { font-size: 13px; color: var(--grey); line-height: 1.55; }

/* ════════════════════════════════════════════════════════════════════════
   PAGE 3 — PRODUITS (icônes + panneau)
══════════════════════════════════════════════════════════════════════════ */
.app-grid {
  display: flex; gap: 32px; align-items: flex-start;
  margin-bottom: 32px;
}
.app-icon-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}
.app-icon-wrap:not(.muted):hover { transform: translateY(-4px); }
.app-icon-wrap.muted { opacity: 0.4; cursor: default; }
.app-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.app-icon svg { width: 100%; height: 100%; display: block; }
.app-name { font-size: 13px; font-weight: 700; color: var(--black); }
.app-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px;
}
.app-tag.available { background: var(--black); color: var(--white); }
.app-tag.soon { background: var(--grey-pale); color: var(--grey); border: 1px solid var(--border); }

/* Panneau de téléchargement */
/* Overlay qui bloque les clics derriere */
.panel-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.18);
}
.panel-overlay.open { display: block; }

.app-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 400;
  width: 480px;
  max-width: calc(100vw - 48px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  animation: panel-in 0.25s ease forwards;
}
.app-panel.open { display: block; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.panel-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: var(--grey); padding: 4px;
  border-radius: 6px; transition: background 0.15s;
}
.panel-close:hover { background: var(--grey-pale); color: var(--black); }
.panel-close svg { width: 16px; height: 16px; display: block; }
.panel-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 14px;
}
.panel-icon { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.panel-icon svg { width: 100%; height: 100%; }
.panel-name { font-size: 20px; font-weight: 800; color: var(--black); letter-spacing: -0.5px; }
.panel-line { font-size: 12px; font-weight: 600; color: var(--grey); }
.panel-desc { font-size: 13px; color: var(--grey-dark); line-height: 1.6; margin-bottom: 14px; }
.panel-features {
  display: flex; flex-direction: column; gap: 5px; margin-bottom: 20px;
}
.panel-features li {
  font-size: 12px; color: var(--grey-dark);
  padding-left: 14px; position: relative;
}
.panel-features li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--black); font-size: 11px;
}
.panel-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════════════
   PAGE 4 — CONTACT
══════════════════════════════════════════════════════════════════════════ */
.contact-list {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
}
.contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  transition: background 0.15s; cursor: pointer;
}
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { background: var(--grey-pale); }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--black);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.contact-label {
  font-size: 12px; font-weight: 600; color: var(--grey);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.contact-value { font-size: 14px; font-weight: 500; color: var(--black); }
.contact-arrow { width: 16px; height: 16px; color: var(--grey-light); flex-shrink: 0; }
.contact-row:hover .contact-arrow { color: var(--black); }

.footer {
  margin-top: 32px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: var(--grey);
}
.footer-links { display: flex; gap: 10px; align-items: center; }
.footer-links a:hover { color: var(--black); }

/* ── Dots ─────────────────────────────────────────────────────────────── */
.dots {
  position: fixed; right: 24px; top: 50%;
  transform: translateY(-50%); z-index: 150;
  display: flex; flex-direction: column; gap: 8px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grey-light); border: none;
  cursor: pointer; padding: 0; transition: all 0.2s;
}
.dot:hover  { background: var(--grey); transform: scale(1.3); }
.dot.active { background: var(--black); transform: scale(1.4); }

/* ── Mobile ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 16px 20px; gap: 4px;
  }
  .nav-toggle { display: flex; }
  .hero-layout { flex-direction: column; gap: 28px; padding: 0 20px; text-align: center; }
  .hero-cta { justify-content: center; }
  .page-inner { padding: 0 20px; }
  .pillars { grid-template-columns: 1fr; }
  .dots { display: none; }
}
