/* Page d'accueil publique.
   Touches africaines et camerounaises, discrètes : étoile dorée du drapeau sur le bénéficiaire du tour,
   bande inspirée du tissu ndop (indigo et blanc), soulignement en zigzag, noms de l'épargne tournante. */


.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; }
.lnav .btn { white-space: nowrap; }
@media (max-width: 420px) { .lnav-inner { gap: 8px; } .lnav .brand { font-size: 17px; } .lnav .btn-sm { padding: 8px 12px; } }
.landing { max-width: none; padding: 0; }
.landing section { scroll-margin-top: 80px; }

/* -- Navigation ------------------------------------------------------------------------------ */
.lnav { position: sticky; top: 0; z-index: 30; backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--line); }
.lnav-inner { max-width: 1200px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 14px; }
.lnav-links { display: none; gap: 4px; margin-left: 18px; }
.lnav-links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 700; font-size: 14.5px; }
.lnav-links a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
@media (min-width: 980px) { .lnav-links { display: flex; } }

/* -- Héros ----------------------------------------------------------------------------------- */
.hero-l { max-width: 1200px; margin: 0 auto; padding: clamp(36px, 7vw, 84px) 16px clamp(40px, 6vw, 72px);
  display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .hero-l { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); box-shadow: var(--shadow); }
.pill-star { color: var(--sun); }
.hero-copy h1 { font-size: clamp(40px, 7.4vw, 76px); line-height: 1.02; letter-spacing: -.045em; margin: 22px 0 20px; font-weight: 800; }
.hl { position: relative; white-space: nowrap; color: var(--brand); }
.hl svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .22em; overflow: visible; }
.hl path { fill: none; stroke: var(--sun); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.6s .4s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-copy .lead { font-size: clamp(16px, 2vw, 18.5px); color: var(--muted); max-width: 54ch; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }
.hero-proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 600; font-size: 14px; }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }

/* Liseré ndop : une rangée fine de losanges et de points, entre deux filets. */
.ndop { max-width: 1200px; height: 10px; margin: 0 auto; background: url("../img/ndop.401298d21834.svg") repeat-x center / auto 10px;
  border-block: 1px solid color-mix(in srgb, var(--brand) 14%, transparent); box-sizing: content-box; padding: 3px 0; }

/* -- Noms de l'épargne tournante ------------------------------------------------------------ */
.names { max-width: 1200px; margin: 0 auto; padding: 34px 16px 10px; text-align: center; }
.name-chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.name-chips li { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.name-chips strong { font-family: var(--font-display); font-weight: 700; }
.name-chips span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.name-chips li:first-child { background: var(--sun-soft); border-color: transparent; }

/* -- Blocs ------------------------------------------------------------------------------------ */
.block { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 16px 0; }
.block-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.block-head h2 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -.035em; margin: 10px 0 12px; }
.block-head p:not(.eyebrow) { color: var(--muted); font-size: 17px; margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: s; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step-n { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; }
.step-n svg { position: absolute; inset: 0; rotate: -90deg; }
.step-n circle { fill: none; stroke: var(--surface-2); stroke-width: 3; }
.step-n .arc { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1s cubic-bezier(.2, .7, .2, 1); }
.steps li:hover .arc, .steps li:focus-within .arc { stroke-dasharray: var(--p) 100; }
@media (prefers-reduced-motion: no-preference) { .step-n .arc { animation: fill-arc 1.4s .3s cubic-bezier(.2, .7, .2, 1) forwards; } }
@media (prefers-reduced-motion: reduce) { .step-n .arc { stroke-dasharray: var(--p) 100; } }
@keyframes fill-arc { to { stroke-dasharray: var(--p) 100; } }
.steps li:last-child .arc { stroke: var(--sun); }
.step-n b { font: 800 19px var(--font-display); color: var(--ink); }
.steps h3, .features h3, .trust-grid h3 { font-size: 19px; margin-bottom: 6px; }
.steps p, .features p, .trust-grid p { color: var(--muted); margin: 0; }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.features article { position: relative; overflow: hidden; padding: 26px 24px 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.features article::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--sun), var(--brand)); transform: scaleX(.12); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.features article:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); }
.features article:hover::after { transform: scaleX(1); }
.f-index { position: absolute; top: 20px; right: 22px; font: 700 13px var(--font-display); letter-spacing: .08em; color: color-mix(in srgb, var(--muted) 60%, transparent); }
.f-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; margin: 6px 0 20px 6px;
  color: var(--brand); background: var(--brand-soft); }
.f-icon::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--brand) 30%, transparent);
  transition: rotate .9s cubic-bezier(.2, .7, .2, 1); }
.f-icon::after { content: ""; position: absolute; top: -9px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  background: var(--sun); transform-origin: 3.5px 33px; transition: rotate .9s cubic-bezier(.2, .7, .2, 1); }
.features article:hover .f-icon::before, .features article:hover .f-icon::after { rotate: 120deg; }
.duo { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.duo-card { padding: clamp(24px, 4vw, 36px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.duo-card h3 { font-size: clamp(22px, 3vw, 28px); margin: 8px 0 18px; }
.duo-card.dark { position: relative; overflow: hidden; color: #f3f0fa; border-color: transparent; background: #1d1934; isolation: isolate; }
.duo-card.dark::after { content: ""; position: absolute; z-index: -1; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .08); box-shadow: 0 0 0 28px rgb(255 255 255 / .025), 0 0 0 56px rgb(255 255 255 / .02); }
.duo-card.dark .eyebrow { color: rgb(255 255 255 / .65); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-weight: 600; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: "★"; color: var(--sun); font-size: 13px; line-height: 1.9; }

.trust-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.trust-grid > div > svg { color: var(--brand); margin-bottom: 10px; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 800; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 22px/1 var(--font-display); color: var(--brand); transition: rotate .2s ease; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* -- Appel final et pied de page -------------------------------------------------------------- */
.final { padding: clamp(56px, 9vw, 110px) 16px 0; }
.final-inner { position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) 20px; border-radius: 32px; text-align: center; color: #fff;
  background: #1d1934; isolation: isolate; }
.final-inner::after { content: ""; position: absolute; z-index: -1; left: 24px; right: 24px; bottom: 18px; height: 10px; opacity: .8;
  filter: brightness(3) saturate(0); background: url("../img/ndop.401298d21834.svg") repeat-x center / auto 10px; }
.final h2 { font-size: clamp(28px, 5vw, 50px); letter-spacing: -.04em; }
.final p { color: rgb(255 255 255 / .75); margin: 12px 0 28px; font-size: 17px; }
.store { display: inline-flex; flex-direction: column; align-items: flex-start; padding: 10px 20px; border-radius: 14px; min-width: 170px;
  background: #fff; color: #170a3d; font: 800 18px var(--font-display); text-align: left; transition: transform .15s ease; }
.store small { font: 600 11.5px var(--font-body); color: #5b5470; }
.store:hover { text-decoration: none; transform: translateY(-2px); }
.store.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .4); }
.store.ghost small { color: rgb(255 255 255 / .7); }
.lfoot { margin-top: clamp(48px, 8vw, 90px); border-top: 1px solid var(--line); }
.lfoot-inner { max-width: 1200px; margin: 0 auto; padding: 30px 16px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.lfoot-inner p { color: var(--muted); margin: 10px 0 0; }
.lfoot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; }
.lfoot-bottom { max-width: 1200px; margin: 0 auto; padding: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px;
  justify-content: space-between; color: var(--muted); font-size: 13px; }
