/* =====================================
   PAGE DEMO
   ===================================== */

.demo-page {
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  background: #111111;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Halo rouge */
.demo-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 0%,
      rgba(204, 0, 0, 0.28) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 40% at 50% 100%,
      rgba(204, 0, 0, 0.10) 0%,
      transparent 60%
    );
  pointer-events: none;
}

/* Grain subtil */
.demo-page::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.4;
  pointer-events: none;
}

.demo-page__wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
}

/* Logo */

.demo-page__logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.demo-page__logo-ma,
.demo-page__logo-ca {
  color: rgba(255, 255, 255, 0.35);
}

.demo-page__logo-maison {
  color: #ffffff;
}

.demo-page__logo-avendre {
  color: #CC0000;
}

/* Titre */

.demo-page__title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.demo-page__title span {
  color: #CC0000;
}

/* Texte */

.demo-page__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.55);
  max-width: 100%;
  margin: 110px auto 40px;
}

/* Ligne rouge */

.demo-page__divider {
  width: 48px;
  height: 3px;
  background: #CC0000;
  border-radius: 999px;
  margin: 0 auto 40px;
}

/* Bouton */

.demo-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #CC0000;
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.demo-page__button:hover {
  background: #aa0000;
  transform: translateY(-2px);
}

/* Mobile */

@media (max-width: 640px) {
  .demo-page {
    padding: 32px 20px;
  }

  .demo-page__logo {
    margin-bottom: 40px;
  }

  .demo-page__title {
    font-size: 2.2rem;
  }
}
