@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/pjs-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/pjs-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --navy: #0b1b3f;
  --navy-deep: #06122c;
  --navy-soft: #1c3160;
  --orange: #ff6a13;
  --orange-deep: #b83f06;
  --orange-btn: #cf4a08;
  --orange-soft: #fff0e4;
  --cream: #fff8f0;
  --sand: #f6eee4;
  --border: #ede3d6;
  --text: #0b1b3f;
  --muted: #5e6780;
  --white: #fff;
  --radius: 22px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
a { color: var(--orange-deep); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* En-tête */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 248, 240, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; letter-spacing: 0.5px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 20px; font-weight: 600; font-size: 15px; }
.nav-links a { color: var(--navy); text-decoration: none; }
.nav-links a:hover { color: var(--orange-deep); }

/* Héros sombre */
.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(180deg, var(--navy-soft), var(--navy) 45%, var(--navy-deep)); padding: 88px 20px 96px; text-align: center; }
.hero .glow { position: absolute; top: -40px; left: 50%; width: 720px; height: 720px; transform: translateX(-50%); background: url('/assets/glow.png') center / contain no-repeat; opacity: 0.55; pointer-events: none; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.8; transform: translateX(-50%) scale(1.06); } }
.hero .mark { width: 150px; margin: 0 auto 28px; position: relative; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.6px; font-weight: 800; font-size: 13px; color: var(--orange); margin: 0 0 12px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.08; letter-spacing: -1px; margin: 0 auto 18px; max-width: 820px; position: relative; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: rgba(255, 255, 255, 0.8); max-width: 640px; margin: 0 auto; position: relative; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; position: relative; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 26px; border-radius: 16px; font-weight: 700; text-decoration: none; font-size: 16px; }
.btn-primary { background: var(--orange-btn); color: var(--white); box-shadow: 0 10px 24px rgba(207, 74, 8, 0.32); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.18); }
.badge-soon { display: inline-block; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.85); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; }

/* Sections */
section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.5px; margin: 0 0 10px; }
.section-title p { color: var(--muted); margin: 0 auto; max-width: 620px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 6px 18px rgba(11, 27, 63, 0.05); }
.card h3, .card h2 { margin: 12px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.card .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-deep); }
.card .tag.soon { background: var(--sand); color: var(--muted); }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; }
.icon { width: 46px; height: 46px; border-radius: 14px; background: var(--orange-soft); display: grid; place-items: center; font-size: 22px; }

.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange-btn); color: var(--white); font-weight: 800; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }

.quote { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px 32px; text-align: center; }
.quote p { font-size: clamp(20px, 3vw, 28px); font-weight: 700; margin: 0; line-height: 1.35; }
.quote span { color: var(--orange); }

/* Pages de texte (légal, support) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.5px; margin: 0 0 6px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 34px 0 8px; }
.doc p, .doc li { color: #2b3552; }
.doc ul { padding-left: 20px; }
.doc .box { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
details { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; }

footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--orange); }

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 64px 20px 72px; }
  section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { .hero .glow { animation: none; } }

/* Logotype de l'univers et icônes des applications */
.wordmark { font-weight: 800; font-size: 22px; letter-spacing: 2px; color: var(--navy); }
.dot { color: var(--orange); }
.universe-mark { position: relative; font-weight: 800; font-size: clamp(56px, 10vw, 96px); letter-spacing: clamp(6px, 1.5vw, 14px); line-height: 1; margin: 0 0 22px; }
.apps-row { position: relative; display: flex; gap: 14px; justify-content: center; margin-top: 30px; }
.apps-row img { width: 58px; height: 58px; border-radius: 15px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.app-icon { width: 52px; height: 52px; border-radius: 14px; }
.hero .universe-logo, .hero .hero-icon { position: relative; width: clamp(88px, 18vw, 120px); height: auto; margin: 0 auto 26px; display: block; border-radius: 26%; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 60px rgba(255, 106, 19, 0.18); }
.more-soon { text-align: center; color: var(--muted); margin: 26px 0 0; }
.store-note { position: relative; margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
a.badge-soon { text-decoration: none; }

/* Écrans de l'application */
.shots-section { padding-bottom: 0; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shots figure { margin: 0; text-align: center; }
.shots img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: 0 18px 40px rgba(11, 27, 63, 0.18); border: 1px solid rgba(11, 27, 63, 0.08); }
.shots figcaption { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--navy); }
@media (max-width: 640px) { .shots { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; } }
.btn-sm { padding: 10px 16px; font-size: 14px; margin-right: 12px; }

/* Formulaire « Présente ton projet » */
.form-wrap { max-width: 640px; }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); }
.form .hint { font-weight: 400; font-size: 14px; color: var(--muted); }
.form input, .form textarea, .form select { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--navy); width: 100%; box-sizing: border-box; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.form .chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); cursor: pointer; }
.form .chip input { width: auto; padding: 0; }
.hp { position: absolute; left: -9999px; }
.form-error { color: #b42318; margin: 0; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.merci h2 { margin-top: 0; }
.alt { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; }

/* Réseaux sociaux */
.social { display: inline-flex; gap: 14px; vertical-align: middle; }
.social a { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.social svg, .btn-social svg { width: 20px; height: 20px; }
.btn-social { background: var(--navy); color: var(--white); padding: 12px 18px; }
.hero .store-note a { color: inherit; text-decoration: underline; }

/* FAQ des pages d'app */
.faq { max-width: 760px; }
.faq h2 { text-align: center; margin-bottom: 18px; }
.faq details { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--navy); }
.faq details p { margin: 10px 0 0; color: #2b3552; }
.hero .store-note a { color: inherit; text-decoration: underline; }

.hero p.wolof { position: relative; font-weight: 600; color: #ffe2c7; font-size: clamp(18px, 2.4vw, 22px); line-height: 1.45; max-width: 680px; margin: 0 auto 16px; }

/* Accueil : deux encadrés d'action */
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.duo-card { display: grid; gap: 4px; padding: 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--border); text-decoration: none; color: var(--navy); }
.duo-card:hover { border-color: var(--orange); }
.duo-card strong { font-size: 18px; }
.duo-card span:last-child { color: var(--muted); }
.duo-icon { font-size: 26px; }

/* Pied de page mieux rangé */
footer .wrap > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 10px 18px; }
footer .wrap > div:nth-child(2) a { margin: 0; }
footer .social { gap: 18px; }
@media (max-width: 640px) {
  .duo { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 60px; }
}

/* Menu téléphone (sans JavaScript) */
.nav-menu { display: none; position: relative; background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; }
.nav-menu summary { list-style: none; cursor: pointer; background: transparent; border: 0; box-shadow: none; -webkit-tap-highlight-color: transparent; width: 44px; height: 44px; display: grid; align-content: center; justify-items: center; gap: 5px; border-radius: 12px; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.nav-menu[open] summary { background: rgba(11, 27, 63, 0.06); }
.nav-menu-panel { position: absolute; right: 0; top: 52px; min-width: 240px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 40px rgba(11, 27, 63, 0.16); padding: 8px; display: grid; }
.nav-menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; }
.nav-menu-panel a:hover { background: rgba(255, 106, 19, 0.08); }

/* Grille des 4 applications : 4 colonnes, puis 2, puis 1 */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .nav-menu { display: block; } }
/* Menu à 6 entrées : menu téléphone dès 900 px */
@media (max-width: 900px) { .nav-links { display: none; } .nav-menu { display: block; } }
.nav-links { gap: 16px; font-size: 14px; }

/* Accueil : mission, Sakku Xam Xam, outils */
.hero .cta-row .btn-ghost { border-color: rgba(255, 255, 255, 0.3); }
.sakku { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px 28px; text-align: center; }
.sakku h2 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.5px; }
.sakku p { color: rgba(255, 255, 255, 0.8); max-width: 620px; margin: 0 auto; }
.sakku .cta-row { margin-top: 24px; }
.sakku .btn-social { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); }
.sakku .video { margin: 24px auto 0; max-width: 560px; aspect-ratio: 16 / 9; }
.sakku .video iframe { width: 100%; height: 100%; border: 0; border-radius: 16px; }
.others { padding-top: 0; }
.others .wrap > h3 { text-align: center; color: var(--muted); font-size: 17px; margin: 0 0 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.card-lg { padding: 32px; }
.card-lg h3 { font-size: 24px; }
.card-sm { padding: 18px 22px; }
.card-sm h3 { font-size: 17px; margin-top: 8px; }
.card-sm p { font-size: 14px; }
.next-steps { display: grid; gap: 10px; margin: 14px 0 0; }
.next-steps a.btn { justify-content: center; }
.btn-social-light { background: var(--navy); color: var(--white); }
.invite-code { position: relative; font-size: clamp(34px, 8vw, 52px); font-weight: 800; letter-spacing: 8px; color: #fff; margin: 8px 0 22px; }

.founder{margin:0 0 20px;display:flex;justify-content:flex-start}
.founder img{width:min(240px,60vw);height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:50%;border:3px solid var(--line,rgba(0,0,0,.08));box-shadow:0 8px 24px rgba(0,0,0,.12)}

/* Bloc « Qui suis-je » (accueil, accompagnement, à propos) */
.about-me { display: flex; gap: 24px; align-items: center; max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.about-me picture, .about-me img { flex: none; }
.about-me img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(0,0,0,.08); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.about-me h2 { margin: 0 0 8px; font-size: 22px; }
.about-me p { margin: 0; }
@media (max-width: 640px) { .about-me { flex-direction: column; text-align: center; padding: 20px; } .about-me img { width: 120px; height: 120px; } }
.faq-after { margin-top: 0; }

/* ───── 3D (chargée seulement si l'appareil le permet ; l'image fixe reste sinon) ───── */
.hero3d { position: relative; width: 150px; height: 150px; margin: 0 auto 14px; pointer-events: none; }
.hero3d-img, .hero3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero3d canvas { opacity: 0; transition: opacity .5s; }
.hero3d.is-3d canvas { opacity: 1; }
.hero3d.is-3d .hero3d-img { opacity: 0; transition: opacity .5s; }
@media (min-width: 1240px) { .hero3d { position: absolute; right: max(24px, calc((100% - 1160px) / 2)); top: 50%; width: 300px; height: 300px; margin: 0; transform: translateY(-50%); } }

.chemin { position: relative; max-width: 980px; margin: 0 auto; }
.chemin-sticky { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 50% 100%, #1d2f66, var(--navy) 60%, var(--navy-deep)); box-shadow: 0 18px 44px rgba(11, 27, 63, 0.25); }
.chemin-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chemin-stage { position: absolute; inset: 0; }
.chemin-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.chemin-hint, .chemin-card { display: none; }
.chemin.is-3d { height: 200vh; height: 200svh; }
.chemin.is-3d .chemin-sticky { position: sticky; top: 72px; aspect-ratio: auto; height: min(76svh, 660px); }
.chemin.is-3d .chemin-img { display: none; }
.chemin.is-3d .chemin-hint { display: block; position: absolute; top: 12px; left: 16px; margin: 0; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.chemin.is-3d .chemin-card { display: block; position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(11, 27, 63, 0.9); color: #fff; backdrop-filter: blur(6px); }
.chemin-k { margin: 0 0 2px; font-weight: 800; color: #ffc65a; font-size: 15px; }
.chemin-d { margin: 0; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, 0.92); }
.chemin-pin { position: absolute; left: 0; top: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.55); background: rgba(11, 27, 63, 0.75); color: #fff; font: 800 16px/1 inherit; cursor: pointer; opacity: 0; will-change: transform; }
.chemin-pin.on { background: var(--orange); border-color: #fff; }
.chemin-pin[aria-current] { box-shadow: 0 0 0 4px rgba(255, 138, 43, 0.4); }
.chemin-pin:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.chemin-skip { display: none; }
.chemin.is-3d .chemin-skip { display: block; position: absolute; top: 10px; right: 12px; z-index: 2; padding: 6px 10px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.8); text-decoration: none; border-radius: 999px; background: rgba(11, 27, 63, 0.55); }
.chemin-skip:hover, .chemin-skip:focus-visible { color: #fff; background: rgba(11, 27, 63, 0.85); }
#programme { scroll-margin-top: 76px; }
#liste-attente { scroll-margin-top: 76px; }

/* ───── finitions : navigation clavier, icônes au trait, cadres de téléphone, légers effets ───── */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange-btn); outline-offset: 3px; border-radius: 8px; }
.hero a:focus-visible, footer a:focus-visible, .chemin-sticky a:focus-visible { outline-color: #fff; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--orange-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shots img { border: 5px solid var(--navy); border-radius: 30px; background: var(--navy); box-shadow: 0 22px 44px rgba(11, 27, 63, 0.22); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 14px 30px rgba(207, 74, 8, 0.4); }
  .card-lg, .card-sm, .step { transition: transform .22s ease, box-shadow .22s ease; }
  .card-lg:hover, .card-sm:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(11, 27, 63, 0.12); }
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-3 .card { padding: 16px; }
  .grid-3 .card h3 { font-size: 16px; margin-top: 10px; }
  .grid-3 .card p { font-size: 14px; line-height: 1.45; }
}
.step a.more { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; }
.step a.more:hover { text-decoration: underline; }
.jours { list-style: none; padding: 0; margin: 12px 0 24px; display: grid; gap: 10px; }
.jours li label { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; }
.jours input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--orange-btn); flex: none; }
.jours input:checked + span { opacity: .6; }
