:root {
  --bg: #0b0f1a;
  --bg-alt: #0f1424;
  --card: #151b2e;
  --text: #e9edf6;
  --muted: #9aa6c0;
  --accent: #7c5cff;
  --accent-2: #19c3fb;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Sora', sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }

.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 600; color: var(--accent-2); margin-bottom: .6rem;
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  background: rgba(11, 15, 26, .72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-family: 'Sora'; font-weight: 800; color: #fff;
}
.brand-name { font-family: 'Sora'; font-size: 1.15rem; }
.brand-accent { color: var(--accent-2); }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { color: var(--muted); font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: .5rem 1.1rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff !important;
}
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; transition: transform .15s, box-shadow .2s; cursor: pointer; border: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 10px 30px rgba(124, 92, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent-2); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 12vw, 8rem) clamp(1rem, 5vw, 4rem) 5rem; text-align: center;
}
.hero-glow {
  position: absolute; inset: -30% 0 auto 0; height: 600px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(124, 92, 255, .35), transparent 70%);
  pointer-events: none;
}
.hero-orbs span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.hero-orbs span:nth-child(1) { width: 280px; height: 280px; background: #7c5cff; top: 8%; left: -60px; }
.hero-orbs span:nth-child(2) { width: 240px; height: 240px; background: #19c3fb; top: 20%; right: -40px; animation-delay: -4s; }
.hero-orbs span:nth-child(3) { width: 200px; height: 200px; background: #ff5ca8; bottom: -40px; left: 40%; animation-delay: -8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-26px); } }

.hero-content { position: relative; max-width: 860px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
.lead { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.25rem); margin: 1.4rem auto 0; max-width: 620px; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2.2rem 0; }
.hero-stats { display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Sora'; font-size: 1.6rem; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1rem, 5vw, 4rem); max-width: 1180px; margin: 0 auto; }
.section.alt { background: var(--bg-alt); max-width: none; }
.section.alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.section-sub, .section-head p { color: var(--muted); margin-top: .8rem; }

/* ===== Product (Orga) ===== */
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.product-text h3 { font-size: 1.5rem; margin-bottom: .8rem; }
.product-text p { color: var(--muted); margin-bottom: 1.4rem; }
.feature-list { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.feature-list li { display: flex; align-items: center; gap: .7rem; }
.feature-list span { font-size: 1.1rem; }
.product-visual { display: grid; place-items: center; }
.phone {
  position: relative; width: 270px; height: 540px; border-radius: 36px; padding: 14px;
  background: linear-gradient(160deg, #1c2440, #0c1020); border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255,255,255,.03);
  animation: float 9s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #0c1020; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen {
  height: 100%; border-radius: 24px; padding: 1.2rem;
  background: radial-gradient(120% 80% at 50% 0%, rgba(124,92,255,.25), transparent), #0a0e1a;
  display: flex; flex-direction: column; gap: .8rem;
}
.app-bar { font-family: 'Sora'; font-weight: 700; text-align: center; padding: .8rem 0 1rem; }
.app-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: .9rem 1rem; font-size: .9rem; }
.app-card small { color: var(--muted); }
.app-card.light { background: rgba(124, 92, 255, .12); }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.about p { color: var(--muted); margin-top: 1rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.value { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; gap: .4rem; }
.value strong { font-family: 'Sora'; font-size: 1.05rem; }
.value span { color: var(--muted); font-size: .9rem; }

/* ===== Team / Créateurs ===== */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 960px; margin: 0 auto; }
.member {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; padding: 2rem; text-align: center; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.member::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 90px;
  background: linear-gradient(120deg, rgba(124,92,255,.25), rgba(25,195,251,.18)); opacity: .8;
}
.member:hover { transform: translateY(-6px); border-color: var(--accent); }
.member-avatar {
  position: relative; width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-family: 'Sora'; font-weight: 800; font-size: 2rem;
  color: #fff; border: 4px solid var(--card); box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.grad-a { background: linear-gradient(135deg, #7c5cff, #19c3fb); }
.grad-b { background: linear-gradient(135deg, #ff5ca8, #7c5cff); }
.member h3 { font-size: 1.35rem; }
.member-role { color: var(--accent-2); font-weight: 600; font-size: .9rem; margin: .25rem 0 1rem; }
.member-bio { color: var(--muted); font-size: .94rem; }
.member-tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.2rem; }
.member-tags span { font-size: .78rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(124,92,255,.12); border: 1px solid var(--border); color: var(--text); }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon { font-size: 1.8rem; margin-bottom: .8rem; }
.card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .92rem; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-line { color: var(--text) !important; font-weight: 600; }
.contact-line a { color: var(--accent-2); }
.contact-form { display: grid; gap: .9rem; }
.contact-form input, .contact-form textarea {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: .9rem 1rem; color: var(--text); font-family: inherit; font-size: .95rem;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-2); }

/* ===== Footer ===== */
.site-footer { text-align: center; padding: 3rem 1rem; border-top: 1px solid var(--border); display: grid; gap: .6rem; justify-items: center; }
.site-footer p { color: var(--muted); font-size: .9rem; }
.footer-tag { font-size: .82rem; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .product, .about, .contact, .team { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .product-visual { order: -1; }
}
@media (max-width: 720px) {
  .nav {
    position: absolute; top: 64px; right: clamp(1rem, 5vw, 4rem); left: clamp(1rem, 5vw, 4rem);
    flex-direction: column; gap: 1rem; padding: 1.2rem;
    background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 520px) {
  .cards, .values { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}
