* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Sora', 'Segoe UI', system-ui, sans-serif;
  background: #0f1117;
  color: #e6e6e6;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0c12;
}

::-webkit-scrollbar-thumb {
  background: #3a4152;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7c5cff;
}

html {
  scrollbar-color: #3a4152 #0a0c12;
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.hero {
  position: relative;
  background-color: #0f1117;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 23, 0.25) 0%, rgba(15, 17, 23, 0.5) 70%, rgba(15, 17, 23, 0.9) 100%);
  z-index: 1;
}

.navbar,
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  display: block;
  line-height: 0;
  z-index: 2;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.feature-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.feature-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.feature-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.feature-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.feature-grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.feature-grid .reveal:nth-child(7) { transition-delay: 0.35s; }
.feature-grid .reveal:nth-child(8) { transition-delay: 0.4s; }
.feature-grid .reveal:nth-child(9) { transition-delay: 0.45s; }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  z-index: 20; /* au-dessus du hero : le menu déroulant mobile ne doit pas passer derrière */
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #8b5cf6, #b39dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  transform: scale(1.06);
  filter: brightness(1.2);
}

.logo-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-links a {
  color: #b7bdcc;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(124, 92, 255, 0.12);
  transform: translateY(-1px);
}

/* Bouton burger : caché sur desktop, visible en mobile (voir bloc responsive en bas) */
.nav-toggle {
  display: none;
  width: 2.7rem;
  height: 2.7rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(23, 27, 38, 0.7);
  border: 1px solid #232838;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: #7c5cff;
  outline: none;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: #e6e6e6;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero-content {
  text-align: center;
  padding: 5rem 1rem 2rem;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #8b5cf6, #b39dff, #8b5cf6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.tagline {
  font-size: 1.2rem;
  color: #b7bdcc;
  margin: 1rem auto 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.btn:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-primary {
  background: #7c5cff;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 92, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(124, 92, 255, 0.65);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #3a4152;
}

.btn-secondary:hover {
  background: #1a1f2e;
  border-color: #7c5cff;
}

.features {
  padding: 5rem 5%;
  max-width: 1100px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #171b26;
  border: 1px solid #232838;
  border-radius: 12px;
  padding: 1.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #7c5cff;
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.25);
}

.gallery {
  padding: 2rem 5% 5rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.gallery h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}

.gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #171b26;
  color: #b7bdcc;
  border: 1px solid #232838;
  padding: 0.7rem 1.3rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s, color 0.2s, background 0.2s;
}

.gallery-btn-icon {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
  vertical-align: middle;
}

.gallery-btn:hover {
  border-color: #7c5cff;
  color: #fff;
  transform: translateY(-2px);
}

.gallery-btn.active {
  background: #7c5cff;
  border-color: #7c5cff;
  color: #fff;
}

.gallery-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.gallery-viewer {
  background: #171b26;
  border: 1px solid #232838;
  border-radius: 14px;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 460px;
  max-height: 480px;
  flex-shrink: 0;
}

.gallery-image {
  display: block;
  max-width: 100%;
  max-height: 460px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  opacity: 1;
  cursor: zoom-in;
  transition: opacity 0.25s ease, transform 0.2s ease;
}

.gallery-image:hover {
  transform: scale(1.02);
}

.gallery-image.fading {
  opacity: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 18, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 5%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #171b26;
  border: 1px solid #232838;
  color: #e6e6e6;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.lightbox-close:hover {
  border-color: #7c5cff;
  color: #fff;
}

@media (max-width: 600px) {
  .gallery-viewer {
    max-height: 340px;
  }

  .gallery-image {
    max-height: 320px;
  }
}

.gallery-text {
  flex: 1;
  min-width: 0;
  max-width: 420px;
  text-align: left;
}

.gallery-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.gallery-text h3 .accent {
  color: #b39dff;
}

.gallery-text p {
  color: #b7bdcc;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.gallery-checklist {
  list-style: none;
  margin-bottom: 2rem;
}

.gallery-checklist li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #1f2430;
  color: #e6e6e6;
  font-size: 0.95rem;
  font-weight: 500;
}

.gallery-checklist li:last-child {
  border-bottom: none;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  background: rgba(124, 92, 255, 0.15);
  color: #b39dff;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .gallery-layout {
    flex-direction: column;
  }

  .gallery-viewer {
    max-width: 100%;
  }

  .gallery-text {
    max-width: 100%;
  }
}

.how-it-works {
  padding: 5rem 5% 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.5rem;
}

.step-card {
  background: #171b26;
  border: 1px solid #232838;
  border-radius: 12px;
  padding: 2rem 1.8rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: #7c5cff;
  box-shadow: 0 14px 34px rgba(124, 92, 255, 0.2);
}

.step-number {
  width: 2.6rem;
  height: 2.6rem;
  line-height: 2.6rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c5cff, #b39dff);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: #b7bdcc;
  font-size: 0.92rem;
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: #b7bdcc;
  font-size: 0.95rem;
}

.feature-card code,
.cmd-list code {
  background: #232838;
  color: #b39dff;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

.emoji-anim,
.emoji-custom {
  width: 2.2rem;
  height: 2.2rem;
  vertical-align: middle;
}

.emoji-inline {
  width: 1.1rem;
  height: 1.1rem;
  vertical-align: middle;
  margin-right: 0.3rem;
}

.feature-card-wide {
  grid-column: span 2;
}

@media (max-width: 700px) {
  .feature-card-wide {
    grid-column: span 1;
  }
}

.admin-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: #ffb3b3;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.cmd-subheading {
  color: #b39dff;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  display: flex;
  align-items: center;
}

.cmd-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cmd-list li {
  color: #b7bdcc;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  line-height: 1.4;
}

.rules-list {
  color: #b7bdcc;
  padding-left: 1.4rem;
  margin-bottom: 2.5rem;
}

.rules-list li {
  margin-bottom: 0.6rem;
}

.reglement-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 5% 3rem;
}

.reglement-page h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}

.rules-section {
  margin-bottom: 2rem;
}

.rules-section h2 {
  font-size: 1.15rem;
  color: #b39dff;
  margin-bottom: 0.8rem;
}

.rules-list {
  color: #b7bdcc;
  padding-left: 1.4rem;
}

.rules-list li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.back-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.6rem;
  }
}

/* ==========================================================================
   Page 404
   ========================================================================== */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 5%;
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  background: linear-gradient(90deg, #8b5cf6, #b39dff, #8b5cf6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
  line-height: 1;
}

.error-title {
  font-size: 1.6rem;
  margin: 1rem 0 0.5rem;
}

.error-text {
  color: #b7bdcc;
  max-width: 480px;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Responsive — tablette et mobile
   ========================================================================== */

/* Écrans tactiles : pas d'effet "collé" des survols (hover) après un tap */
@media (hover: none) {
  .btn:hover,
  .feature-card:hover,
  .step-card:hover,
  .gallery-btn:hover,
  .gallery-image:hover,
  .nav-links a:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  /* Navbar : liens repliés dans un menu déroulant ouvert par le burger */
  .navbar {
    padding: 1rem 5%;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 5%;
    right: 5%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.6rem;
    background: rgba(15, 17, 23, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid #232838;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    padding-bottom: 4.5rem;
  }

  .hero-wave {
    height: 60px;
  }

  .hero-content {
    padding: 3.5rem 1rem 1.5rem;
  }

  .tagline {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  /* Sections */
  .features {
    padding: 3.5rem 5%;
  }

  .how-it-works {
    padding: 3.5rem 5% 0.5rem;
  }

  .gallery {
    padding: 1.5rem 5% 3.5rem;
  }

  .features h2,
  .how-it-works h2,
  .gallery h2 {
    font-size: 1.7rem;
    margin-bottom: 2rem;
  }

  .feature-card,
  .step-card {
    padding: 1.5rem;
  }

  /* Galerie */
  .gallery-tabs {
    gap: 0.5rem;
    margin-bottom: 1.8rem;
  }

  .gallery-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .gallery-layout {
    gap: 1.8rem;
  }

  .gallery-viewer {
    padding: 0.6rem;
  }

  .gallery-text h3 {
    font-size: 1.4rem;
  }

  .gallery-cta {
    display: block;
    text-align: center;
  }

  .lightbox {
    padding: 4rem 3% 2rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }

  /* Footer : boutons empilés pleine largeur */
  /* 404 */
  .error-page {
    min-height: 60vh;
    padding: 3rem 5%;
  }

  .error-code {
    font-size: 4.5rem;
  }
}

@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .features h2,
  .how-it-works h2,
  .gallery h2 {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0a0c12;
  border-top: 1px solid #1f2430;
  padding: 3.5rem 5% 1.6rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #1f2430;
}

.footer-desc {
  color: #8b93a7;
  font-size: 0.9rem;
  max-width: 300px;
  margin-top: 0.9rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e6e6e6;
  margin-bottom: 0.4rem;
}

.footer-col a {
  width: fit-content;
  color: #8b93a7;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #b39dff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  padding-top: 1.4rem;
}

.copyright,
.footer-note {
  color: #6b7280;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer {
    padding: 2.5rem 5% 1.4rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem 1.2rem;
    padding-bottom: 2rem;
  }

  .footer-col:last-of-type {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Emojis Discord : teinte violette uniforme */
img.emoji-custom:not([src*="1523351234944307391"]):not([src*="785947711080890428"]):not([src*="1552027535032721408"]), img.emoji-inline { filter: brightness(0) saturate(100%) invert(36%) sepia(88%) saturate(3300%) hue-rotate(238deg) brightness(100%) contrast(101%); }

/* ==========================================================================
   THEME COSMIQUE — violet nuit étoilée (logo + bannière Synoxa)
   Bloc volontairement placé en fin de fichier : il surcharge les couleurs
   sans toucher à la mise en page (le responsive reste inchangé).
   ========================================================================== */
:root {
  --space-0: #07051a;
  --space-1: #0d0a28;
  --space-2: #15103a;
  --glass: rgba(26, 19, 66, 0.55);
  --glass-border: rgba(150, 130, 255, 0.18);
  --glow: #7c6cff;
  --glow-soft: #a99bff;
  --ice: #e9e4ff;
  --star-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='40' cy='80' r='1' opacity='.7'/%3E%3Ccircle cx='160' cy='300' r='.8' opacity='.5'/%3E%3Ccircle cx='260' cy='40' r='1.2' opacity='.8'/%3E%3Ccircle cx='340' cy='220' r='.7' opacity='.45'/%3E%3Ccircle cx='430' cy='120' r='1' opacity='.65'/%3E%3Ccircle cx='520' cy='360' r='1.1' opacity='.7'/%3E%3Ccircle cx='90' cy='460' r='.9' opacity='.55'/%3E%3Ccircle cx='300' cy='520' r='1' opacity='.6'/%3E%3Ccircle cx='470' cy='540' r='.7' opacity='.4'/%3E%3Ccircle cx='570' cy='60' r='.8' opacity='.5'/%3E%3C/g%3E%3C/svg%3E");
}

html { scrollbar-color: #3b2f8a var(--space-0); }
::-webkit-scrollbar-track { background: var(--space-0); }
::-webkit-scrollbar-thumb { background: #3b2f8a; }
::-webkit-scrollbar-thumb:hover { background: var(--glow); }

body {
  background-color: var(--space-0);
  background-image:
    radial-gradient(900px 600px at 85% 8%, rgba(124, 108, 255, 0.16), transparent 70%),
    radial-gradient(800px 700px at 8% 45%, rgba(100, 70, 220, 0.12), transparent 70%),
    radial-gradient(900px 600px at 70% 95%, rgba(124, 108, 255, 0.1), transparent 70%),
    linear-gradient(180deg, var(--space-1) 0%, var(--space-0) 100%);
  background-attachment: fixed;
  color: #e8e6f7;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--star-tile);
  background-size: 600px 600px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: twinkle 7s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.3; } to { opacity: 0.7; } }
body > section, body > main, body > footer, body > .hero { position: relative; z-index: 1; }
body > header:not(.hero) { z-index: 100; }

/* Hero : bannière + lueur + logo orbital */
.hero { background: transparent; padding-bottom: 5rem; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../assets/banner-synoxa-clean.jpg") center 35% / cover no-repeat;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero-stars {
  position: absolute; inset: 0; z-index: 1;
  background-image: var(--star-tile);
  background-size: 450px 450px;
  opacity: 0.5;
  animation: twinkle 5s ease-in-out infinite alternate;
}
.hero-overlay {
  background:
    radial-gradient(600px 380px at 50% 38%, rgba(124, 108, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(7, 5, 26, 0.15) 0%, rgba(7, 5, 26, 0.35) 65%, var(--space-0) 100%);
}
.hero-orb {
  position: relative;
  width: 112px; height: 112px;
  margin: 0 auto 1.4rem;
}
.hero-orb img {
  width: 100%; height: 100%; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(169, 155, 255, 0.35), 0 0 40px rgba(124, 108, 255, 0.55), 0 0 90px rgba(124, 108, 255, 0.3);
  animation: orbFloat 6s ease-in-out infinite;
}
.hero-orb::after {
  content: ""; position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(169, 155, 255, 0.25);
  border-top-color: rgba(233, 228, 255, 0.85);
  animation: orbSpin 9s linear infinite;
}
@keyframes orbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes orbSpin { to { transform: rotate(360deg); } }

.hero-content h1 {
  background: linear-gradient(90deg, #a99bff, #f1edff, #a99bff);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 0 40px rgba(124, 108, 255, 0.35);
}
.tagline { color: #c9c4ea; }

/* Navbar */
.navbar .nav-links a { color: #c9c4ea; }
.navbar .nav-links a:hover { background: rgba(124, 108, 255, 0.16); }
.nav-toggle { background: rgba(21, 16, 58, 0.75); border-color: var(--glass-border); }

/* Boutons */
.btn-primary {
  background: linear-gradient(135deg, #7c6cff, #5b46e8);
  box-shadow: 0 4px 22px rgba(124, 108, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(124, 108, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-secondary { background: rgba(21, 16, 58, 0.45); border-color: var(--glass-border); backdrop-filter: blur(6px); }
.btn-secondary:hover { background: rgba(124, 108, 255, 0.14); border-color: var(--glow-soft); }

/* Cartes en verre */
.feature-card, .step-card, .gallery-viewer {
  background: linear-gradient(160deg, rgba(34, 25, 84, 0.6), rgba(17, 12, 46, 0.6));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.feature-card:hover, .step-card:hover {
  border-color: rgba(169, 155, 255, 0.6);
  box-shadow: 0 14px 40px rgba(124, 108, 255, 0.28), inset 0 0 30px rgba(124, 108, 255, 0.06);
}
.feature-card p, .step-card p { color: #bdb7e0; }
.feature-card code, .cmd-list code { background: rgba(124, 108, 255, 0.14); color: var(--glow-soft); }
.step-number {
  background: linear-gradient(135deg, #8b7bff, #5b46e8);
  box-shadow: 0 0 22px rgba(124, 108, 255, 0.5);
}

/* Titres de section */
.features h2, .gallery h2, .how-it-works h2 {
  background: linear-gradient(90deg, #fff, #cfc6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Galerie */
.gallery-btn { background: rgba(21, 16, 58, 0.6); border-color: var(--glass-border); color: #cfc9ee; }
.gallery-btn:hover { border-color: var(--glow-soft); }
.gallery-btn.active {
  background: linear-gradient(135deg, #7c6cff, #5b46e8);
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(124, 108, 255, 0.5);
}
.gallery-text h3 .accent { color: var(--glow-soft); }
.gallery-text p { color: #bdb7e0; }
.lightbox { background: rgba(7, 5, 26, 0.94); }
.lightbox-close { background: var(--space-2); border-color: var(--glass-border); }

/* Footer */
.footer {
  background: linear-gradient(180deg, rgba(13, 10, 40, 0.7), var(--space-0));
  border-top: 1px solid var(--glass-border);
}
.footer-col a:hover { color: var(--glow-soft); }

@media (prefers-reduced-motion: reduce) {
  body::before, .hero-stars, .hero-orb img, .hero-orb::after { animation: none; }
}

/* ==========================================================================
   AFFINAGE — formes arrondies, transitions douces, animations
   ========================================================================== */
body::before, .hero-stars { display: none; }   /* remplacés par le canvas animé (js/script.js) */
#starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* plus de coupure nette entre le hero et la suite */
.hero { overflow: hidden; }
.hero-bg { -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 98%); mask-image: linear-gradient(180deg, #000 40%, transparent 98%); }
.hero-overlay {
  background:
    radial-gradient(600px 380px at 50% 38%, rgba(124, 108, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(7, 5, 26, 0.1) 0%, rgba(7, 5, 26, 0.25) 60%, transparent 100%);
}

/* formes plus rondes */
.btn { border-radius: 999px; padding: 0.9rem 2.2rem; }
.feature-card, .step-card { border-radius: 24px; }
.gallery-viewer { border-radius: 28px; }
.gallery-image { border-radius: 18px; }
.gallery-btn { border-radius: 999px; padding-left: 1.2rem; padding-right: 1.3rem; }
.nav-links a { border-radius: 999px; }
.nav-toggle { border-radius: 16px; }
.step-number { border-radius: 50%; }
.feature-card code, .cmd-list code { border-radius: 8px; }
.lightbox img { border-radius: 20px; }
.footer { border-radius: 36px 36px 0 0; }
.footer-col a { border-radius: 6px; }

/* icônes de la galerie : même violet que Backup (Tickets, Giveaways et Suggestions gardent leurs couleurs) */
.gallery-btn-icon[src*="1523351436333678714"],
.gallery-btn-icon[src*="1523349365421379715"] {
  filter: brightness(0) saturate(100%) invert(36%) sepia(88%) saturate(3300%) hue-rotate(238deg) brightness(100%) contrast(101%);
}
.gallery-btn.active svg.gallery-btn-icon { fill: #fff; }
.gallery-btn.active img.gallery-btn-icon[src*="1523351436333678714"],
.gallery-btn.active img.gallery-btn-icon[src*="1523349365421379715"] { filter: brightness(0) invert(1); }

/* animations */
.gallery-btn, .feature-card, .step-card { transition: transform 0.3s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s, background 0.3s, color 0.2s; }
.gallery-btn:hover { transform: translateY(-3px); }
.feature-card:hover, .step-card:hover { transform: translateY(-8px); }
.feature-card .feature-icon svg, .feature-card .feature-icon img { transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
.feature-card:hover .feature-icon svg, .feature-card:hover .feature-icon img { transform: scale(1.18) rotate(-6deg); }
.step-number { animation: pulseNum 3.2s ease-in-out infinite; }
.step-card:nth-child(2) .step-number { animation-delay: 0.5s; }
.step-card:nth-child(3) .step-number { animation-delay: 1s; }
@keyframes pulseNum { 0%, 100% { box-shadow: 0 0 18px rgba(124,108,255,.4); } 50% { box-shadow: 0 0 34px rgba(124,108,255,.85); } }
.hero-content h1 { animation: shimmer 5s linear infinite; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { left: -60%; } 100% { left: 140%; } }
.hero-bg { animation: heroDrift 24s ease-in-out infinite alternate; }
@keyframes heroDrift { from { transform: scale(1.04) translateX(-1.2%); } to { transform: scale(1.1) translateX(1.2%); } }
@media (prefers-reduced-motion: reduce) {
  .step-number, .hero-content h1, .btn-primary::after, .hero-bg { animation: none; }
}

/* ==========================================================================
   ECRAN DE CHARGEMENT
   Masqué par js/script.js une fois la page chargée ; s'efface seul après 5 s
   si le script ne répond pas.
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.2rem;
  background: radial-gradient(700px 500px at 50% 45%, rgba(124, 108, 255, 0.2), transparent 70%), linear-gradient(180deg, #0d0a28, #07051a);
  transition: opacity 0.6s ease, visibility 0.6s ease;
  animation: loaderFailsafe 0.6s ease 5s forwards;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader-orb { position: relative; width: 96px; height: 96px; }
.loader-orb img {
  width: 100%; height: 100%; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(169, 155, 255, 0.35), 0 0 40px rgba(124, 108, 255, 0.6), 0 0 90px rgba(124, 108, 255, 0.35);
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader-orb::before, .loader-orb::after { content: ""; position: absolute; border-radius: 50%; }
.loader-orb::before {
  inset: -14px; border: 2px solid rgba(169, 155, 255, 0.15); border-top-color: #e9e4ff; border-right-color: rgba(169, 155, 255, 0.6);
  animation: loaderSpin 1.1s linear infinite;
}
.loader-orb::after {
  inset: -28px; border: 1px solid rgba(169, 155, 255, 0.1); border-bottom-color: rgba(169, 155, 255, 0.55);
  animation: loaderSpin 2.2s linear infinite reverse;
}
.loader-name {
  font-family: 'Sora', system-ui, sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: 0.04em;
  background: linear-gradient(90deg, #a99bff, #f1edff, #a99bff); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: loaderShimmer 2.4s linear infinite;
}
.loader-bar { width: 160px; height: 4px; border-radius: 999px; background: rgba(169, 155, 255, 0.15); overflow: hidden; }
.loader-bar span {
  display: block; width: 40%; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, transparent, #a99bff, #7c6cff);
  animation: loaderSlide 1.3s ease-in-out infinite;
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes loaderShimmer { to { background-position: 200% center; } }
@keyframes loaderSlide { 0% { transform: translateX(-110%); } 100% { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { .loader-orb img, .loader-orb::before, .loader-orb::after, .loader-name, .loader-bar span { animation: none; } }

/* ==========================================================================
   PAGE 404 — la page s'est perdue dans l'espace
   ========================================================================== */
.error-page { position: relative; z-index: 1; }
.lost {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-size: clamp(5rem, 22vw, 10rem); font-weight: 800; line-height: 1;
}
.lost > span:not(.lost-orb) {
  background: linear-gradient(180deg, #f1edff, #7c6cff); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(124, 108, 255, 0.4);
}
.lost-orb { width: 0.85em; height: 0.85em; display: inline-block; animation: lostDrift 7s ease-in-out infinite; }
.lost-orb img {
  width: 100%; height: 100%; border-radius: 50%; display: block;
  box-shadow: 0 0 0 1px rgba(169, 155, 255, 0.35), 0 0 40px rgba(124, 108, 255, 0.6), 0 0 90px rgba(124, 108, 255, 0.3);
  animation: lostSpin 12s linear infinite;
}
@keyframes lostDrift {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  25% { transform: translate(14px, -18px) rotate(6deg); }
  50% { transform: translate(-6px, -8px) rotate(12deg); }
  75% { transform: translate(-16px, -20px) rotate(-4deg); }
}
@keyframes lostSpin { to { transform: rotate(360deg); } }
.error-joke { margin: 0.4rem auto 1.8rem; max-width: 520px; font-size: 0.85rem; color: #8f88bd; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .lost-orb, .lost-orb img { animation: none; } }

/* ==========================================================================
   PAGE D'ACCUEIL « VENDEUSE » (octobre 2026)
   Hero produit + maquette Discord, chiffres, avantages, bento, étapes,
   confiance, FAQ et appel à l'action final.
   ========================================================================== */
.grad { background: linear-gradient(90deg, #a99bff, #f1edff 45%, #8b7bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ck { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: rgba(124, 108, 255, 0.22); color: #cfc6ff; font-size: 0.72rem; font-weight: 800; flex-shrink: 0; }
.btn-lg { padding: 1.05rem 2.3rem; font-size: 1.05rem; }
.nav-cta { background: linear-gradient(135deg, #7c6cff, #5b46e8); color: #fff !important; padding: 0.55rem 1.2rem !important; border-radius: 999px; box-shadow: 0 4px 18px rgba(124, 108, 255, 0.45); margin-left: 0.3rem; }
.nav-cta:hover { box-shadow: 0 8px 26px rgba(124, 108, 255, 0.7) !important; }

/* ----- Hero ----- */
.hero-v { padding-bottom: 4.5rem; }
.hero-wrap { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 3.2rem 5% 0; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.2rem; align-items: center; }
.hero-copy { text-align: left; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.4rem 1rem 0.4rem 0.8rem; border-radius: 999px; background: rgba(124, 108, 255, 0.14); border: 1px solid rgba(169, 155, 255, 0.35); color: #d8d1ff; font-size: 0.8rem; font-weight: 600; margin-bottom: 1.4rem; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #8bf0b0; box-shadow: 0 0 0 0 rgba(139, 240, 176, 0.7); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(139, 240, 176, 0.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(139, 240, 176, 0); } }
.hero-v .hero-copy h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; color: #fff; background: none; -webkit-text-fill-color: #fff; animation: none; text-shadow: 0 0 40px rgba(124, 108, 255, 0.35); }
.hero-v .hero-copy h1 .grad { -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.15rem; color: #c9c4ea; max-width: 34rem; margin: 1.3rem 0 2rem; line-height: 1.65; }
.hero-v .hero-buttons { justify-content: flex-start; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.6rem; color: #bdb7e0; font-size: 0.9rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-alt { margin-top: 1.2rem; font-size: 0.9rem; }
.hero-alt a { color: #a99bff; text-decoration: underline; text-underline-offset: 3px; }
.hero-alt a:hover { color: #fff; }

/* ----- Maquette Discord ----- */
.hero-mock { position: relative; padding: 1.4rem 0; }
.dc-window { position: relative; z-index: 1; border-radius: 22px; background: linear-gradient(170deg, rgba(34, 27, 84, 0.92), rgba(15, 11, 44, 0.94)); border: 1px solid rgba(169, 155, 255, 0.28); box-shadow: 0 30px 80px rgba(8, 4, 40, 0.7), 0 0 60px rgba(124, 108, 255, 0.22); overflow: hidden; transform: rotate(1.4deg); animation: mockFloat 7s ease-in-out infinite; }
@keyframes mockFloat { 0%, 100% { transform: rotate(1.4deg) translateY(0); } 50% { transform: rotate(1.4deg) translateY(-9px); } }
.dc-top { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid rgba(150, 130, 255, 0.16); font-size: 0.85rem; font-weight: 700; color: #e8e6f7; }
.dc-hash { color: #8f88bd; font-weight: 600; }
.dc-dots { margin-left: auto; display: inline-flex; gap: 5px; }
.dc-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(169, 155, 255, 0.35); }
.dc-body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.95rem; }
.dc-msg { display: flex; gap: 0.75rem; }
.dc-av { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff; overflow: hidden; }
.dc-av img { width: 100%; height: 100%; }
.dc-av-a { background: linear-gradient(135deg, #f59e6c, #e0568a); }
.dc-av-l { background: linear-gradient(135deg, #58c3a5, #3a86d6); }
.dc-av-s { background: #15103a; }
.dc-c { min-width: 0; flex: 1; }
.dc-n { font-size: 0.85rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.dc-t { font-size: 0.68rem; font-weight: 500; color: #8f88bd; }
.dc-bot { font-size: 0.6rem; font-weight: 800; background: #5865f2; color: #fff; padding: 0.05rem 0.35rem; border-radius: 4px; letter-spacing: 0.04em; }
.dc-role { font-size: 0.62rem; font-weight: 700; color: #7ee0c3; background: rgba(88, 195, 165, 0.14); padding: 0.05rem 0.4rem; border-radius: 4px; }
.dc-x { font-size: 0.88rem; color: #cfcbe8; line-height: 1.5; margin-top: 0.15rem; }
.dc-embed { margin-top: 0.4rem; border-left: 4px solid #7c6cff; background: rgba(8, 5, 30, 0.55); border-radius: 6px; padding: 0.7rem 0.85rem; }
.dc-et { font-size: 0.9rem; font-weight: 800; color: #fff; margin-bottom: 0.45rem; }
.dc-ef { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; font-size: 0.8rem; color: #cfcbe8; }
.dc-ef b { display: block; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.05em; color: #8f88bd; margin-bottom: 0.1rem; }
.dc-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.7rem; }
.dc-b { font-size: 0.74rem; font-weight: 700; padding: 0.4rem 0.8rem; border-radius: 6px; background: #3b3a5e; color: #fff; }
.dc-b-p { background: #5865f2; }
.dc-ai { border-radius: 12px; padding: 0.8rem 0.95rem; background: linear-gradient(135deg, rgba(124, 108, 255, 0.22), rgba(91, 70, 232, 0.1)); border: 1px solid rgba(169, 155, 255, 0.35); }
.dc-ai-h { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; font-size: 0.78rem; font-weight: 800; color: #e9e4ff; margin-bottom: 0.35rem; }
.dc-ai-h span { font-size: 0.66rem; font-weight: 600; color: #a99bff; }
.dc-ai-t { font-size: 0.82rem; color: #d6d1f2; line-height: 1.5; }
.float-chip { position: absolute; z-index: 2; padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.76rem; font-weight: 700; color: #e9e4ff; background: rgba(21, 16, 58, 0.92); border: 1px solid rgba(169, 155, 255, 0.4); box-shadow: 0 10px 30px rgba(8, 4, 40, 0.6); backdrop-filter: blur(8px); }
.fc-1 { left: -1.8rem; bottom: 3.2rem; animation: chipA 6s ease-in-out infinite; }
.fc-2 { right: -1.2rem; top: 2.2rem; animation: chipA 7s ease-in-out infinite reverse; }
@keyframes chipA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ----- Chiffres ----- */
.stats { position: relative; z-index: 2; max-width: 1060px; margin: -1.5rem auto 0; padding: 1.6rem 1rem; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 26px; background: linear-gradient(160deg, rgba(34, 25, 84, 0.7), rgba(17, 12, 46, 0.7)); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(8, 4, 40, 0.5); }
.stat { text-align: center; padding: 0.4rem 1rem; }
.stat + .stat { border-left: 1px solid rgba(150, 130, 255, 0.16); }
.stat strong { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, #fff, #a99bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: #b7b0dc; }

/* ----- Titres de section ----- */
.sec-kicker { text-align: center; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #a99bff; margin-bottom: 0.7rem; }
.sec-title { text-align: center; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 1rem; background: linear-gradient(90deg, #fff, #cfc6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-sub { text-align: center; max-width: 40rem; margin: 0 auto 3rem; color: #bdb7e0; font-size: 1.05rem; line-height: 1.65; }

/* ----- Avantages ----- */
.why { max-width: 1100px; margin: 0 auto; padding: 6rem 5% 1rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.why-card { position: relative; padding: 2rem 1.8rem; border-radius: 26px; background: linear-gradient(160deg, rgba(34, 25, 84, 0.6), rgba(17, 12, 46, 0.6)); border: 1px solid var(--glass-border); overflow: hidden; transition: transform 0.3s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s; }
.why-card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 14rem; height: 14rem; background: radial-gradient(circle, rgba(124, 108, 255, 0.22), transparent 65%); pointer-events: none; }
.why-card:hover { transform: translateY(-8px); border-color: rgba(169, 155, 255, 0.55); box-shadow: 0 18px 44px rgba(124, 108, 255, 0.25); }
.why-num { display: inline-block; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; color: #a99bff; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; color: #fff; }
.why-card p { color: #bdb7e0; font-size: 0.97rem; line-height: 1.65; }

/* ----- Bento ----- */
.features { max-width: 1160px; padding-top: 6rem; }
.bento { grid-template-columns: repeat(3, 1fr); }
.bento .feature-card { display: flex; flex-direction: column; }
.bento .feature-card p { flex: 1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.chips li { font-size: 0.72rem; font-weight: 700; padding: 0.28rem 0.7rem; border-radius: 999px; color: #cfc6ff; background: rgba(124, 108, 255, 0.14); border: 1px solid rgba(169, 155, 255, 0.25); }

/* ----- Étapes ----- */
.how-it-works { max-width: 1160px; padding-top: 6rem; }
.cmd-snippet { margin-top: 1.1rem; padding: 0.85rem 1rem; border-radius: 14px; background: rgba(8, 5, 30, 0.7); border: 1px solid rgba(150, 130, 255, 0.2); font-size: 0.74rem; line-height: 1.8; color: #cfcbe8; overflow-x: auto; }
.cmd-snippet span { display: block; white-space: nowrap; }
.cmd-snippet b { color: #a99bff; font-weight: 700; }

/* ----- Confiance ----- */
.trust { max-width: 1100px; margin: 0 auto; padding: 6rem 5% 1rem; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: center; }
.trust-copy .sec-kicker, .trust-copy .sec-title, .trust-copy .sec-sub { text-align: left; margin-left: 0; margin-right: 0; }
.trust-copy .sec-sub { margin-bottom: 1.8rem; }
.trust-list { list-style: none; display: grid; gap: 1rem; }
.trust-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: 20px; background: linear-gradient(160deg, rgba(34, 25, 84, 0.55), rgba(17, 12, 46, 0.55)); border: 1px solid var(--glass-border); }
.trust-list .ck { margin-top: 0.15rem; width: 1.5rem; height: 1.5rem; }
.trust-list h3 { font-size: 1.02rem; color: #fff; margin-bottom: 0.25rem; }
.trust-list p { color: #bdb7e0; font-size: 0.92rem; line-height: 1.55; }

/* ----- FAQ ----- */
.faq-sec { max-width: 820px; margin: 0 auto; padding: 6rem 5% 1rem; }
.faq-sec .sec-title { margin-bottom: 2.4rem; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-d { border-radius: 20px; background: linear-gradient(160deg, rgba(34, 25, 84, 0.55), rgba(17, 12, 46, 0.55)); border: 1px solid var(--glass-border); transition: border-color 0.25s; }
.faq-d[open] { border-color: rgba(169, 155, 255, 0.5); }
.faq-d summary { cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1.02rem; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-d summary::-webkit-details-marker { display: none; }
.faq-d summary::after { content: "+"; flex-shrink: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 600; color: #cfc6ff; background: rgba(124, 108, 255, 0.18); transition: transform 0.25s ease, background 0.25s; }
.faq-d[open] summary::after { transform: rotate(45deg); background: rgba(124, 108, 255, 0.4); }
.faq-d p { padding: 0 1.4rem 1.3rem; color: #bdb7e0; line-height: 1.65; font-size: 0.97rem; }

/* ----- Appel à l'action final ----- */
.final-cta { max-width: 1100px; margin: 0 auto; padding: 6rem 5% 5rem; }
.final-card { position: relative; overflow: hidden; text-align: center; padding: 4rem 2rem; border-radius: 36px; background: radial-gradient(600px 300px at 50% 0%, rgba(124, 108, 255, 0.45), transparent 70%), linear-gradient(160deg, rgba(52, 38, 130, 0.85), rgba(17, 12, 46, 0.9)); border: 1px solid rgba(169, 155, 255, 0.4); box-shadow: 0 30px 80px rgba(8, 4, 40, 0.6), 0 0 80px rgba(124, 108, 255, 0.25); }
.final-card h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.015em; color: #fff; margin-bottom: 0.9rem; }
.final-card > p { color: #d1ccf0; font-size: 1.1rem; max-width: 34rem; margin: 0 auto 2rem; }
.final-card .hero-buttons { justify-content: center; }

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 2.6rem; padding-top: 2rem; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-v .hero-buttons, .hero-trust { justify-content: center; }
  .hero-mock { max-width: 480px; margin: 0 auto; width: 100%; }
  .fc-1 { left: 0; } .fc-2 { right: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; gap: 2.2rem; }
  .trust-copy .sec-kicker, .trust-copy .sec-title, .trust-copy .sec-sub { text-align: center; }
  .trust-copy { text-align: center; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 700px) {
  .bento { grid-template-columns: 1fr; }
  .hero-v .hero-copy h1 { font-size: 2.15rem; }
  .btn-lg { width: 100%; text-align: center; padding: 1rem 1.5rem; }
  .hero-v .hero-buttons { flex-direction: column; align-items: stretch; }
  .final-card .hero-buttons { flex-direction: column; align-items: stretch; }
  .final-card { padding: 2.8rem 1.4rem; border-radius: 28px; }
  .why, .features, .how-it-works, .trust, .faq-sec { padding-top: 4rem; }
  .dc-window { transform: none; animation: none; }
  .float-chip { display: none; }
  .stat strong { font-size: 1.7rem; }
  .nav-cta { margin: 0.4rem 0 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .dc-window, .float-chip, .hero-badge .dot { animation: none; } }
.fc-1 { left: -1.6rem; bottom: -0.2rem; }

/* ----- Démo interactive du hero ----- */
.dc-ef i { font-style: normal; }
.dc-b { border: 0; font-family: inherit; cursor: pointer; transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease; }
.dc-b:hover { transform: translateY(-2px); filter: brightness(1.15); }
.dc-b:active { transform: translateY(0) scale(0.97); }
.dc-b:focus-visible { outline: 2px solid #cfc6ff; outline-offset: 2px; }
.dc-b-p { animation: dcPulse 2.2s ease-in-out infinite; }
.dc-window.touched .dc-b-p { animation: none; }
@keyframes dcPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.55); } 60% { box-shadow: 0 0 0 9px rgba(88, 101, 242, 0); } }
.pending { visibility: hidden; opacity: 0; transform: translateY(8px); }
.pending.in { visibility: visible; opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.4s ease; }
.dc-typing { display: flex; align-items: center; gap: 4px; padding-left: 0; margin: -0.4rem 0; }
.dc-typing .dc-av { margin-right: 0.45rem; }
.dc-typing i { width: 7px; height: 7px; border-radius: 50%; background: #a99bff; animation: dcDot 1s ease-in-out infinite; }
.dc-typing i:nth-of-type(2) { animation-delay: 0.15s; } .dc-typing i:nth-of-type(3) { animation-delay: 0.3s; }
@keyframes dcDot { 0%, 100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }
.dc-actions { display: grid; margin-top: 0.7rem; }
.dc-actions > * { grid-area: 1 / 1; }
.dc-actions .dc-btns { margin-top: 0; align-self: start; }
.dc-closed { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; font-size: 0.78rem; font-weight: 700; color: #8bf0b0; align-self: start; }
.dc-embed.is-closed { border-left-color: #8bf0b0; }
.dc-embed.is-closed .dc-btns { visibility: hidden; }
.dc-embed.is-closed .dc-closed { visibility: visible; opacity: 1; transform: none; transition: opacity 0.4s ease; }
.dc-ef i[data-state="open"] { color: #ffd479; } .dc-ef i[data-state="progress"] { color: #a99bff; } .dc-ef i[data-state="closed"] { color: #8bf0b0; }
.demo-hint { text-align: center; margin-top: 1.1rem; font-size: 0.82rem; font-weight: 600; color: #a99bff; transition: opacity 0.4s ease; animation: hintBob 2.4s ease-in-out infinite; }
.demo-hint.gone { opacity: 0; pointer-events: none; animation: none; }
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .dc-b-p, .dc-typing i, .demo-hint { animation: none; } }

/* ==========================================================================
   Démo interactive du /help (section #help-demo)
   ========================================================================== */
.help-demo { max-width: 860px; margin: 0 auto; padding: 6rem 5% 1rem; }
.hd-app { max-width: 780px; margin: 0 auto; }
.hd-search { position: relative; max-width: 460px; margin: 0 auto 1.3rem; }
.hd-search input { width: 100%; padding: 0.85rem 1.1rem 0.85rem 2.7rem; border-radius: 999px; background: rgba(21, 16, 58, 0.75); border: 1px solid var(--glass-border); color: #fff; font: 600 0.9rem 'Sora', system-ui, sans-serif; outline: none; transition: border-color 0.2s; }
.hd-search input:focus { border-color: #a99bff; }
.hd-search input::placeholder { color: #8f88bd; }
.hd-search > svg { position: absolute; left: 1rem; top: 1.05rem; color: #8f88bd; }
.hd-results { list-style: none; position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 6; border-radius: 18px; background: rgba(13, 10, 40, 0.98); border: 1px solid var(--glass-border); overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55); }
.hd-results:empty { display: none; }
.hd-results li { padding: 0.6rem 1rem; cursor: pointer; border-bottom: 1px solid rgba(150, 130, 255, 0.1); }
.hd-results li:last-child { border-bottom: 0; }
.hd-results li:hover, .hd-results li.on { background: rgba(124, 108, 255, 0.2); }
.hd-results b { display: block; font: 500 0.8rem 'JetBrains Mono', ui-monospace, monospace; color: #cfc6ff; word-break: break-word; }
.hd-results span { font-size: 0.72rem; color: #a8a1d2; }
.hd-win { border-radius: 24px; background: linear-gradient(170deg, rgba(34, 27, 84, 0.92), rgba(15, 11, 44, 0.95)); border: 1px solid rgba(169, 155, 255, 0.28); box-shadow: 0 30px 80px rgba(8, 4, 40, 0.7), 0 0 60px rgba(124, 108, 255, 0.18); overflow: visible; }
.hd-top { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.3rem; border-bottom: 1px solid rgba(150, 130, 255, 0.16); font-weight: 700; font-size: 0.9rem; color: #e8e6f7; }
.hd-top span { color: #8f88bd; }
.hd-body { padding: 1.1rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; min-height: 560px; }
.hd-sepd { display: flex; align-items: center; gap: 0.8rem; font-size: 0.7rem; font-weight: 700; color: #8f88bd; min-height: 1em; }
.hd-sepd::before, .hd-sepd::after { content: ""; flex: 1; height: 1px; background: rgba(150, 130, 255, 0.2); }
.hd-used { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: #a8a1d2; padding-left: 1.3rem; min-height: 1.2em; }
.hd-used .hd-u { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #f59e6c, #e0568a); font-size: 0.55rem; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; }
.hd-used b { color: #fff; }
.hd-used i { font-style: normal; background: rgba(88, 101, 242, 0.25); color: #c9d0ff; padding: 0.05rem 0.4rem; border-radius: 4px; font-weight: 600; }
.hd-msg { display: flex; gap: 0.8rem; }
.hd-av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: #15103a; overflow: hidden; }
.hd-av img { width: 100%; height: 100%; }
.hd-c { min-width: 0; flex: 1; }
.hd-who { font-weight: 700; font-size: 0.92rem; color: #fff; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.hd-who .hd-nm { color: #a9a4ff; }
.hd-app-tag { font-size: 0.6rem; font-weight: 800; background: #5865f2; color: #fff; padding: 0.05rem 0.35rem; border-radius: 4px; letter-spacing: 0.04em; }
.hd-when { font-size: 0.7rem; color: #8f88bd; font-weight: 500; }
.hd-ew { position: relative; max-width: 680px; }
.hd-x { position: absolute; top: 0.9rem; right: -1.6rem; color: #8f88bd; font-size: 1.1rem; line-height: 1; }
.hd-embed { margin-top: 0.4rem; min-height: 120px; border-left: 4px solid #7c6cff; background: rgba(8, 5, 30, 0.62); border-radius: 6px; padding: 0.9rem 1rem 1rem; animation: hdIn 0.3s ease; text-align: left; }
@keyframes hdIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.hd-embed h2 { font-size: 1.02rem; color: #fff; margin: 0 0 0.45rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; background: none; -webkit-text-fill-color: #fff; text-align: left; }
.hd-embed h3 { font-size: 0.92rem; color: #fff; margin: 0.95rem 0 0.35rem; display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; text-align: left; }
.hd-d { font-size: 0.88rem; color: #dcd8f4; margin-bottom: 0.55rem; }
.hd-ln { font-size: 0.85rem; color: #d2cee9; line-height: 1.75; padding: 0.05rem 0.4rem; margin-left: -0.4rem; border-radius: 6px; }
.hd-ln.flash { animation: hdFl 1.8s ease; }
@keyframes hdFl { 0%, 60% { background: rgba(124, 108, 255, 0.38); } 100% { background: transparent; } }
.hd-embed code { font: 500 0.76rem 'JetBrains Mono', ui-monospace, monospace; background: rgba(124, 108, 255, 0.16); color: #e0daff; padding: 0.1rem 0.4rem; border-radius: 5px; }
.hd-note { font-size: 0.8rem; color: #a8a1d2; border-left: 2px solid rgba(169, 155, 255, 0.4); padding-left: 0.7rem; margin: 0.4rem 0 0.2rem; }
.hd-embed a { color: #9db7ff; text-decoration: none; }
.hd-embed a:hover { text-decoration: underline; }
.hd-embed .em, .hd-sellist .em { width: 1.25em; height: 1.25em; vertical-align: -0.22em; object-fit: contain; }
.hd-embed h2 .em { width: 1.35em; height: 1.35em; }
.hd-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem 1.2rem; margin-top: 0.9rem; }
.hd-fields button { all: unset; cursor: pointer; display: block; padding: 0.15rem; border-radius: 8px; }
.hd-fields button:hover b { color: #a99bff; }
.hd-fields b { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: #fff; transition: color 0.2s; }
.hd-fields span { display: block; font-size: 0.8rem; color: #cfcaea; line-height: 1.45; margin-top: 0.2rem; }
.hd-foot { margin-top: 1rem; font-size: 0.7rem; color: #8f88bd; font-weight: 600; }
.hd-sel { position: relative; max-width: 680px; margin-top: 0.6rem; }
.hd-selbtn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; border-radius: 8px; background: rgba(8, 5, 30, 0.7); border: 1px solid rgba(150, 130, 255, 0.25); color: #cfc9ee; font: 600 0.88rem 'Sora', system-ui, sans-serif; cursor: pointer; text-align: left; min-height: 3rem; }
.hd-selbtn:hover, .hd-selbtn[aria-expanded="true"] { border-color: #a99bff; }
.hd-selbtn svg { transition: transform 0.2s; flex-shrink: 0; }
.hd-selbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.hd-sellist { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5; list-style: none; padding: 0.4rem; border-radius: 12px; background: #120d33; border: 1px solid rgba(169, 155, 255, 0.35); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); max-height: 380px; overflow-y: auto; }
.hd-sellist[hidden] { display: none; }
.hd-sellist li { display: flex; gap: 0.75rem; align-items: center; padding: 0.55rem 0.7rem; border-radius: 8px; cursor: pointer; }
.hd-sellist li:hover { background: rgba(124, 108, 255, 0.22); }
.hd-sellist .em { width: 1.5em; height: 1.5em; flex-shrink: 0; }
.hd-sellist b { display: block; font-size: 0.86rem; color: #fff; }
.hd-sellist span { display: block; font-size: 0.74rem; color: #a8a1d2; line-height: 1.35; }
.hd-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.hd-b { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.95rem; border-radius: 8px; background: #3b3a5e; color: #fff; font: 700 0.8rem 'Sora', system-ui, sans-serif; text-decoration: none; transition: filter 0.2s, transform 0.15s; }
.hd-b:hover { filter: brightness(1.18); transform: translateY(-1px); }
.hd-ico { font-size: 1rem; line-height: 1; }
.hd-b svg { opacity: 0.8; }
.hd-home { display: inline-block; margin-top: 0.8rem; font-size: 0.78rem; color: #a99bff; background: none; border: 0; font-family: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.hd-home[hidden] { display: none; }
@media (max-width: 860px) { .hd-fields { grid-template-columns: repeat(2, 1fr); } .hd-x { display: none; } }
@media (max-width: 560px) { .hd-fields { grid-template-columns: 1fr; } .hd-body { padding: 0.9rem; min-height: 0; } .hd-embed { padding: 0.8rem; } .hd-av { width: 34px; height: 34px; } .help-demo { padding-top: 4rem; } }
@media (prefers-reduced-motion: reduce) { .hd-embed { animation: none; } }

/* ==========================================================================
   ALLEGEMENT DE L'ACCUEIL : bandeau d'étapes compact + démo /help à hauteur fixe
   ========================================================================== */
.steps-strip { max-width: 1060px; margin: 0 auto; padding: 5rem 5% 0; }
.ss-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.ss-list li { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 20px; background: linear-gradient(160deg, rgba(34, 25, 84, 0.55), rgba(17, 12, 46, 0.55)); border: 1px solid var(--glass-border); transition: border-color 0.3s, transform 0.3s; }
.ss-list li:hover { border-color: rgba(169, 155, 255, 0.5); transform: translateY(-4px); }
.ss-n { flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; color: #fff; background: linear-gradient(135deg, #8b7bff, #5b46e8); box-shadow: 0 0 16px rgba(124, 108, 255, 0.45); }
.ss-list h3 { font-size: 0.98rem; color: #fff; margin-bottom: 0.15rem; }
.ss-list p { font-size: 0.86rem; color: #bdb7e0; line-height: 1.5; }
.ss-cmd { text-align: center; margin-top: 1.1rem; font-size: 0.8rem; color: #8f88bd; }
.ss-cmd b { color: #a99bff; font-weight: 700; }
.ss-cmd i { font-style: normal; margin: 0 0.4rem; }
.help-demo { padding-top: 5rem; }
.hd-body { min-height: 0; }
.hd-embed { height: 440px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #4a3da8 transparent; }
.hd-embed::-webkit-scrollbar { width: 8px; }
.hd-embed::-webkit-scrollbar-thumb { background: #4a3da8; border-radius: 8px; }
.features, .trust { padding-top: 5rem; }
.final-cta { padding-top: 5rem; }
@media (max-width: 860px) { .ss-list { grid-template-columns: 1fr; } .steps-strip { padding-top: 4rem; } }
@media (max-width: 560px) { .hd-embed { height: 400px; } }

/* Menu déroulant de la démo /help : s'ouvre vers le haut et passe au-dessus des sections suivantes */
body > section.help-demo { z-index: 30; }
.hd-sellist { top: auto; bottom: calc(100% + 6px); max-height: 340px; }

/* Démo /help : chaque catégorie s'affiche sur toute sa longueur (pas de défilement interne) */
.hd-embed { height: auto; min-height: 120px; overflow: visible; }
@media (max-width: 560px) { .hd-embed { height: auto; } }

/* ----- Embed d'accueil d'un ticket (copie du vrai message du bot) ----- */
.dce { display: inline-block; margin-right: 0.35em; line-height: 1; }
.dc-embed { border-left-color: #35d95c; padding: 0.8rem 0.9rem 0.9rem; }
.dc-et { font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 0.4rem; display: flex; align-items: center; }
.dc-w { font-size: 0.82rem; color: #dcd8f4; line-height: 1.5; margin-bottom: 0.7rem; }
.dc-fg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem 0.9rem; margin-bottom: 0.6rem; }
.dc-f b { display: flex; align-items: center; font-size: 0.8rem; color: #fff; text-transform: none; letter-spacing: 0; margin-bottom: 0.1rem; }
.dc-f > span { font-size: 0.8rem; color: #d6d1f2; }
.dc-fw { margin-bottom: 0.6rem; }
.dc-men { background: rgba(88, 101, 242, 0.3); color: #c9d0ff !important; padding: 0 0.3rem; border-radius: 4px; display: inline-block; }
.dc-pill { background: rgba(255, 255, 255, 0.08); padding: 0.05rem 0.4rem; border-radius: 4px; display: inline-block; }
.dc-note2 { font-size: 0.7rem; font-weight: 700; color: #cfcaea; margin: 0.2rem 0 0.2rem; }
.dc-b { display: inline-flex; align-items: center; }
.dc-b-r { background: #d83c3e; }
.dc-embed.is-closed { border-left-color: #8d8aa8; }
@media (max-width: 480px) { .dc-fg { grid-template-columns: repeat(2, 1fr); } }
#demo-claimed { grid-column: span 2; }

/* ----- Démo du hero v2 : panneau « Créer un ticket » puis ticket ----- */
.dc-scenes { display: grid; }
.dc-scene { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 0.95rem; transition: opacity 0.45s ease, transform 0.45s ease; }
.dc-scene.off { visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none; }
.dc-panel { border-left-color: #5865f2; }
.dc-arrows { font-size: 0.8rem; color: #dcd8f4; line-height: 1.6; margin-bottom: 0.6rem; }
.dc-sub { font-size: 0.85rem; font-weight: 800; color: #fff; display: flex; align-items: center; margin-bottom: 0.2rem; }
.dc-bl { list-style: none; font-size: 0.8rem; color: #d2cee9; line-height: 1.6; margin-bottom: 0.65rem; }
.dc-bl li::before { content: "• "; }
.dc-fg2 { grid-template-columns: repeat(2, 1fr); margin-bottom: 0.5rem; }
.dc-foot3 { font-size: 0.66rem; font-weight: 700; color: #aaa4cf; }
.dc-open, .dc-b-p { background: #5865f2; }
.dc-reacts { display: flex; gap: 0.4rem; margin-top: 0.5rem; }
.dc-re { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.2rem 0.55rem; border-radius: 8px; background: rgba(8, 5, 30, 0.7); border: 1px solid rgba(150, 130, 255, 0.28); font-size: 0.8rem; font-weight: 700; color: #cfc9ee; }
.dc-btns .dc-b-p { animation: dcPulse 2.2s ease-in-out infinite; }
.dc-window.touched .dc-btns .dc-b-p { animation: none; }

/* Démo du hero : une scène à la fois, les messages s'ajoutent au fil du temps (la fenêtre grandit vers le bas) */
.dc-scenes { display: block; }
.dc-scene.off { display: none; }
.dc-scene:not(.off) { animation: hdIn 0.4s ease; }
#demo-s2 > .pending:not(.in) { display: none; }
#demo-s2 > .pending.in { animation: hdIn 0.4s ease; }
@media (min-width: 961px) { .hero-wrap { align-items: start; } .hero-copy { padding-top: 1rem; } }

/* Démo du hero : au départ, seul le panneau est affiché ; Alex et les réactions arrivent ensuite */
#demo-s1 .pending:not(.in) { display: none; }
#demo-s1 .pending.in { animation: hdIn 0.4s ease; }

/* ----- /help : choix entre la démo interactive et les captures d'écran ----- */
.help-demo { max-width: 1100px; }
.hd-sw { display: flex; justify-content: center; gap: 0.5rem; margin: 0 auto 1.6rem; }
.hd-sw button { appearance: none; cursor: pointer; padding: 0.65rem 1.4rem; border-radius: 999px; background: rgba(21, 16, 58, 0.75); border: 1px solid var(--glass-border); color: #cfc9ee; font: 700 0.88rem 'Sora', system-ui, sans-serif; transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s; }
.hd-sw button:hover { border-color: #a99bff; color: #fff; }
.hd-sw button[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, #7c6cff, #5b46e8); border-color: transparent; box-shadow: 0 4px 18px rgba(124, 108, 255, 0.5); }
.hd-sw button:focus-visible { outline: 2px solid #cfc6ff; outline-offset: 2px; }
.hd-shots { padding: 0.5rem 0 0; max-width: none; }
.hd-shots[hidden], .hd-app[hidden] { display: none; }

/* ----- Panneau de texte de la galerie (à droite des captures) ----- */
.gallery-text { text-align: left; }
.gallery-text.swap { animation: gtIn 0.45s cubic-bezier(.2, .8, .2, 1); }
@keyframes gtIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.gallery-kicker { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; padding: 0.35rem 0.95rem; border-radius: 999px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #cfc6ff; background: rgba(124, 108, 255, 0.14); border: 1px solid rgba(169, 155, 255, 0.35); }
.gallery-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #a99bff; box-shadow: 0 0 10px #a99bff; }
.gallery-text h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 1rem; }
.gallery-text p#gallery-description { font-size: 1.05rem; line-height: 1.7; color: #c4bee6; margin-bottom: 1.6rem; }
.gallery-checklist { display: grid; gap: 0.6rem; margin-bottom: 2rem; }
.gallery-checklist li { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1rem; border-radius: 14px; background: linear-gradient(160deg, rgba(34, 25, 84, 0.5), rgba(17, 12, 46, 0.5)); border: 1px solid var(--glass-border); font-weight: 600; font-size: 0.97rem; color: #ece9fb; transition: border-color 0.25s, transform 0.25s, background 0.25s; }
.gallery-checklist li:hover { border-color: rgba(169, 155, 255, 0.5); transform: translateX(4px); }
.gallery-checklist li .check-icon { flex-shrink: 0; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #8b7bff, #5b46e8); color: #fff; font-size: 0.8rem; font-weight: 800; box-shadow: 0 0 14px rgba(124, 108, 255, 0.5); }
.gallery-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.gallery-more { font-weight: 700; font-size: 0.95rem; color: #a99bff; transition: color 0.2s; }
.gallery-more span { display: inline-block; transition: transform 0.2s; }
.gallery-more:hover { color: #fff; }
.gallery-more:hover span { transform: translateX(4px); }
@media (max-width: 860px) { .gallery-text { text-align: center; } .gallery-checklist li { text-align: left; } .gallery-actions { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .gallery-text.swap { animation: none; } }

/* Démo /help : fenêtre moins large */
.hd-app { max-width: 640px; }
.hd-search { max-width: 420px; }
