/* ============================================================
   Incipio : Design system v2
   Direction "Apple" : typographie massive, sections plein cadre,
   cartes qui s'empilent au scroll, noir/blanc + un accent bleu.
   ============================================================ */

:root{
  --white:#ffffff;
  --offwhite:#f5f5f7;
  --black:#000000;
  --ink:#1d1d1f;
  --grey:#86868b;
  --grey-line:#d2d2d7;
  --accent:#3169ff;
  --font:'Manrope', -apple-system, 'Helvetica Neue', sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font);
  background:var(--white);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  html{ scroll-behavior:auto !important; }
}

img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
::selection{ background:var(--accent); color:#fff; }

.wrap{ max-width:1120px; margin:0 auto; padding:0 24px; }

/* ---------------- nav ---------------- */

.nav{
  position:sticky; top:0; z-index:80; height:52px;
  display:flex; align-items:center; justify-content:center;
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  background:rgba(10,14,26,.94);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.nav-inner{
  width:100%; max-width:1120px; padding:0 24px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand img{ height:16px; width:auto; }

.nav-links{
  display:flex; align-items:center; gap:34px;
  font-size:.82rem; font-weight:500;
}
.nav-links a{ color:#fff; opacity:.85; transition:opacity .2s; }
.nav-links a:hover{ opacity:1; }

.lang{ display:flex; align-items:center; }
.lang-switch{ display:flex; opacity:.8; transition:opacity .2s, transform .2s; }
.lang-switch:hover{ opacity:1; transform:scale(1.08); }
.flag{ width:26px; height:16px; border-radius:3px; display:block; box-shadow:0 0 0 1px rgba(0,0,0,.08); }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:4px;
  width:32px; height:32px; background:none; border:none; cursor:pointer;
}
.nav-toggle span{ display:block; width:20px; height:2px; background:#fff; transition:transform .25s, opacity .25s; }
.nav-toggle.active span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

/* ---------------- hero (dark blue, full bleed) ---------------- */

.hero{
  background:#0a0e1a; color:var(--white);
  min-height:92vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:60px 24px 90px; position:relative; overflow:hidden;
}
.hero-glow{ position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.blob{ position:absolute; border-radius:50%; filter:blur(60px); opacity:.55; will-change:transform; }
.blob-1{ width:640px; height:640px; top:-10%; left:8%; background:radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); animation:drift1 18s ease-in-out infinite; }
.blob-2{ width:520px; height:520px; bottom:-15%; right:6%; background:radial-gradient(circle, rgba(157,180,255,.45), transparent 70%); animation:drift2 22s ease-in-out infinite; }
.blob-3{ width:380px; height:380px; top:35%; left:50%; background:radial-gradient(circle, rgba(190,150,255,.3), transparent 70%); animation:drift3 15s ease-in-out infinite; }
@keyframes drift1{ 0%,100%{ transform:translate(0,0) scale(1);} 50%{ transform:translate(60px,40px) scale(1.15);} }
@keyframes drift2{ 0%,100%{ transform:translate(0,0) scale(1);} 50%{ transform:translate(-50px,-30px) scale(1.1);} }
@keyframes drift3{ 0%,100%{ transform:translate(-50%,0) scale(1);} 50%{ transform:translate(-50%,50px) scale(1.2);} }

.hero-eyebrow{ font-size:.95rem; color:rgba(255,255,255,.7); font-weight:500; margin-bottom:22px; position:relative; opacity:0; animation:riseIn .8s cubic-bezier(.16,1,.3,1) .1s forwards; }
h1{
  font-weight:700; letter-spacing:-0.045em; line-height:1.02;
  font-size:clamp(2.8rem, 7vw, 6.2rem); text-wrap:balance; max-width:15ch; position:relative;
  opacity:0; animation:riseIn .9s cubic-bezier(.16,1,.3,1) .22s forwards;
}
h1 .grad{ background:linear-gradient(90deg,#fff,#9db4ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-sub{ margin-top:26px; font-size:1.3rem; color:rgba(255,255,255,.78); font-weight:400; max-width:38ch; position:relative; opacity:0; animation:riseIn .9s cubic-bezier(.16,1,.3,1) .36s forwards; }

@keyframes riseIn{ from{ opacity:0; transform:translateY(18px);} to{ opacity:1; transform:translateY(0);} }

.hero-actions{ margin-top:44px; display:flex; gap:16px; flex-wrap:wrap; justify-content:center; position:relative; opacity:0; animation:riseIn .9s cubic-bezier(.16,1,.3,1) .5s forwards; }
.pill{
  padding:14px 28px; border-radius:980px; font-size:.98rem; font-weight:600;
  transition:transform .35s cubic-bezier(.16,1,.3,1), background .25s, opacity .25s;
  display:inline-block; border:none; cursor:pointer; font-family:var(--font);
}
.pill-blue{ background:var(--accent); color:#fff; }
.pill-blue:hover{ background:#4a7dff; }
.pill-ghost{ border:1px solid rgba(255,255,255,.3); color:#fff; background:transparent; }
.pill-ghost:hover{ border-color:#fff; }
.pill:active{ transform:scale(.96); }
.hero-actions .pill-blue{ background:#fff; color:var(--accent); }
.hero-actions .pill-blue:hover{ background:#e8edff; }

/* ---------------- single stat, white ---------------- */

.stat-section{ padding:150px 24px; text-align:center; background:var(--white); }
.stat-kicker{ font-size:1rem; color:var(--grey); font-weight:500; }
.stat-num{
  font-weight:800; letter-spacing:-0.05em; line-height:.95;
  font-size:clamp(5rem, 16vw, 13rem); margin-top:8px;
  font-variant-numeric:tabular-nums;
  background:linear-gradient(180deg, var(--ink), #4a4a4d);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat-cap{ font-size:1.15rem; color:var(--grey); margin-top:14px; max-width:34ch; margin-left:auto; margin-right:auto; }

/* ---------------- about ---------------- */

.about-section{ padding:140px 24px; background:var(--offwhite); }
.about-inner{ max-width:680px; margin:0 auto; text-align:center; }
.about-inner h2{ font-weight:700; letter-spacing:-0.03em; font-size:clamp(2rem,4vw,3rem); text-wrap:balance; margin-bottom:36px; }
.about-inner p{ font-size:1.15rem; color:#3a3a3d; line-height:1.7; text-align:left; }
.about-inner p + p{ margin-top:22px; }
.about-inner strong{ color:var(--ink); font-weight:700; }

/* ---------------- sticky stack ---------------- */

.stack{ position:relative; }
.stack-card{
  position:sticky; top:52px; min-height:88vh; display:flex; align-items:center;
  border-radius:28px 28px 0 0; padding:90px 24px; overflow:hidden;
}
.stack-card .wrap{ max-width:760px; text-align:center; margin:0 auto; }
.sc-ref{ font-size:1rem; font-weight:600; opacity:.55; }
.sc-title{ font-weight:700; letter-spacing:-0.03em; font-size:clamp(2.4rem,5.4vw,4.4rem); margin-top:14px; text-wrap:balance; }
.sc-desc{ margin-top:26px; font-size:1.25rem; opacity:.72; max-width:42ch; margin-left:auto; margin-right:auto; }

.card-1{ background:#eef1f6; color:var(--ink); z-index:1; }
.card-2{ background:#12131a; color:#fff; z-index:2; }
.card-3{ background:var(--accent); color:#fff; z-index:3; }
.card-4{ background:#0c0c0e; color:#fff; z-index:4; }
.card-5{ background:var(--white); color:var(--ink); z-index:5; border-top:1px solid var(--grey-line); }

/* ---------------- why: minimal columns ---------------- */

.why-section{ padding:150px 24px; background:var(--offwhite); }
.why-head{ text-align:center; max-width:640px; margin:0 auto 80px; }
.why-head h2{ font-weight:700; letter-spacing:-0.03em; font-size:clamp(2rem,4vw,3rem); text-wrap:balance; }
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:44px; max-width:820px; margin:0 auto; }
.why-item{ text-align:center; }
.why-mark{ width:44px; height:44px; margin:0 auto 20px; border-radius:50%; background:var(--white); display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--accent); box-shadow:0 1px 3px rgba(0,0,0,.08); transition:transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.why-item:hover .why-mark{ transform:translateY(-6px) scale(1.06); box-shadow:0 10px 24px -8px rgba(49,105,255,.35); }
.why-item h3{ font-weight:600; font-size:1.05rem; letter-spacing:-.01em; }
.why-item p{ margin-top:10px; font-size:.92rem; color:var(--grey); }

/* ---------------- credibility strip ---------------- */

.cred{ padding:56px 24px; text-align:center; background:var(--white); border-top:1px solid var(--grey-line); border-bottom:1px solid var(--grey-line); }
.cred-label{ font-size:.82rem; color:var(--grey); text-transform:uppercase; letter-spacing:.08em; margin-bottom:26px; }
.cred-row{ display:flex; justify-content:center; align-items:center; gap:64px; flex-wrap:wrap; }
.cred-logo{ height:26px; width:auto; transition:transform .3s; }
.cred-logo:hover{ transform:translateY(-2px); }
.cred-logo-tile{ height:40px; border-radius:8px; }
.cred-logo-tile:hover{ transform:translateY(-2px); }

/* ---------------- contact, black ---------------- */

.contact-section{ background:var(--black); color:#fff; padding:150px 24px; }
.contact-head{ text-align:center; max-width:640px; margin:0 auto; }
.contact-head h2{ font-weight:700; letter-spacing:-0.04em; font-size:clamp(2.4rem,5vw,4rem); text-wrap:balance; }
.contact-head p{ margin-top:22px; font-size:1.2rem; color:var(--grey); }

.contact-direct{ text-align:center; margin-top:38px; }
.contact-name{ font-size:1.05rem; font-weight:600; color:#fff; margin-bottom:10px; }
.contact-email{ display:inline-block; font-size:1.6rem; font-weight:600; color:#fff; border-bottom:1px solid rgba(255,255,255,.3); padding-bottom:6px; }
.contact-email:hover{ border-color:#fff; }
.contact-note{ margin-top:14px; font-size:.95rem; color:var(--grey); }

.contact-form{ max-width:560px; margin:64px auto 0; display:flex; flex-direction:column; gap:24px; }
.form-row label{ display:block; font-size:.78rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--grey); margin-bottom:10px; }
.form-row .optional{ text-transform:none; font-weight:400; letter-spacing:0; }
.form-row input, .form-row textarea{
  width:100%; background:transparent; border:none; border-bottom:1px solid rgba(255,255,255,.25);
  color:#fff; font-family:var(--font); font-size:1rem; padding:10px 2px; border-radius:0; resize:vertical;
}
.form-row input:focus, .form-row textarea:focus{ outline:none; border-bottom-color:var(--accent); }
.form-row input.invalid, .form-row textarea.invalid{ border-bottom-color:#ff6b6b; }
.form-error{ display:block; font-size:.8rem; color:#ff8080; margin-top:6px; min-height:1em; }
.form-status{ font-size:.92rem; margin-top:6px; min-height:1.2em; text-align:center; }
.form-status.success{ color:#5fdca0; }
.form-status.error{ color:#ff8080; }

/* ---------------- footer ---------------- */

footer{ padding:30px 24px; background:var(--offwhite); }
.footer-inner{ max-width:1120px; margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.78rem; color:var(--grey); }

/* ---------------- reveal on scroll ---------------- */

.reveal{ opacity:0; transform:translateY(16px); transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------------- responsive ---------------- */

@media (max-width:760px){
  .nav-toggle{ display:flex; }
  .nav-links{
    position:absolute; top:52px; left:0; right:0; z-index:70;
    flex-direction:column; align-items:flex-start; gap:0;
    background:rgba(10,14,26,.98); backdrop-filter:blur(20px);
    border-bottom:1px solid rgba(255,255,255,.15);
    max-height:0; overflow:hidden; transition:max-height .3s cubic-bezier(.16,1,.3,1);
  }
  .nav-links.open{ max-height:320px; }
  .nav-links a{ width:100%; padding:16px 24px; border-bottom:1px solid rgba(255,255,255,.15); opacity:1; }
  .nav-links .lang{ padding:16px 24px; border-bottom:1px solid rgba(255,255,255,.15); }

  h1{ font-size:2rem; max-width:20ch; }

  .stack-card{ padding:70px 20px; min-height:auto; }
  .why-grid{ grid-template-columns:1fr; row-gap:56px; }
  .cred-row{ gap:36px; }
}
