/* Page d'accueil — styles des nouvelles sections (indépendants de la compilation Tailwind) */

/* démo : bouton de lecture centré sur les captures du studio */
.ek-demo-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; border: 0; background: transparent; color: #fff; font: inherit; cursor: pointer; }
.ek-play { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 999px; background: #6ee7b7; color: #052e1f; box-shadow: 0 0 0 10px rgba(110,231,183,.18), 0 20px 50px rgba(0,0,0,.55); transition: transform .2s ease, box-shadow .2s ease; }
.ek-play svg { width: 30px; height: 30px; margin-left: 4px; }
.ek-demo-play:hover .ek-play, .ek-demo-play:focus-visible .ek-play { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(110,231,183,.22), 0 20px 50px rgba(0,0,0,.55); }
.ek-play-label { padding: 6px 14px; border-radius: 999px; background: rgba(5,5,5,.78); border: 1px solid rgba(255,255,255,.12); font-size: 15px; font-weight: 600; letter-spacing: .01em; backdrop-filter: blur(6px); }

/* fenêtre vidéo */
.ek-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(2,4,3,.86); backdrop-filter: blur(6px); animation: ek-fade .18s ease; }
.ek-modal-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.7), 0 0 80px rgba(110,231,183,.08); }
.ek-modal-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ek-modal-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(20,20,20,.8); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.ek-modal-close:hover, .ek-modal-close:focus-visible { background: #6ee7b7; color: #052e1f; }
@keyframes ek-fade { from { opacity: 0; } }
.ek-no-scroll { overflow: hidden; }

/* étapes « comment ça marche » */
.ek-steps { display: grid; gap: 24px; margin-top: 48px; counter-reset: ek-step; }
@media (min-width: 1024px) { .ek-steps { grid-template-columns: repeat(3, 1fr); } }
.ek-step { position: relative; padding: 28px; border-radius: 24px; }
.ek-step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(110,231,183,.12); color: #6ee7b7; font-weight: 700; font-size: 15px; }
.ek-step h3 { margin-top: 18px; font-size: 20px; font-weight: 600; color: #fff; }
.ek-step p { margin-top: 10px; font-size: 15px; line-height: 1.75; color: #a1a1aa; }

/* listes à puces vertes (cas d'usage, confiance) */
.ek-list { margin-top: 18px; display: grid; gap: 10px; font-size: 14px; line-height: 1.6; color: #d4d4d8; }
.ek-list li { position: relative; padding-left: 22px; }
.ek-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 3px; background: #6ee7b7; }
.ek-usecase-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(110,231,183,.1); color: #6ee7b7; font-size: 12px; font-weight: 600; letter-spacing: .02em; }

/* confiance */
.ek-trust { display: grid; gap: 24px; }
@media (min-width: 1024px) { .ek-trust { grid-template-columns: 1.1fr 1fr; align-items: center; } }

/* FAQ (details natif, sans JavaScript) */
.ek-faq { margin-top: 40px; display: grid; gap: 12px; }
.ek-faq details { border-radius: 20px; padding: 0 24px; }
.ek-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 600; color: #fff; }
.ek-faq summary::-webkit-details-marker { display: none; }
.ek-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: rgba(110,231,183,.1); color: #6ee7b7; font-size: 18px; font-weight: 500; transition: transform .2s ease; }
.ek-faq details[open] summary::after { transform: rotate(45deg); }
.ek-faq details p { padding: 0 0 22px; font-size: 15px; line-height: 1.75; color: #a1a1aa; }
.ek-faq a { color: #6ee7b7; text-decoration: underline; text-underline-offset: 3px; }

/* appel à l'action final */
.ek-cta { position: relative; overflow: hidden; padding: 56px 32px; border-radius: 32px; text-align: center; border: 1px solid rgba(110,231,183,.25); background: radial-gradient(70% 120% at 50% 0%, rgba(110,231,183,.16), transparent 70%), rgba(255,255,255,.02); }
.ek-cta h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -.02em; color: #fff; line-height: 1.15; }
.ek-cta p { max-width: 640px; margin: 18px auto 0; font-size: 18px; line-height: 1.7; color: #a1a1aa; }
.ek-cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* pied de page : liens produit */
.ek-footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: #a1a1aa; }
.ek-footer-links a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { .ek-play, .ek-faq summary::after { transition: none; } .ek-modal { animation: none; } }
