/* .demo {
    margin: 5rem auto;
    padding: 1rem;
    width: 100%;
  }
  .dem
  {
    background-color:#f8f8f8e5;
  }
  .demo .container {
    width: 1240px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .demo .col-6 {
    padding: 1rem;
    display: flex;
    flex-direction: column;
  }
  .dem .col-6 p:nth-child(1) {
    font-size: 1.8rem;
    font-style: italic;
  }
  .dem .col-6 p:nth-child(2) {
    font-size: 3rem;
    font-weight: 600;
    margin: 0.5rem 0;
  }
  .dem .col-6 p:nth-child(3) {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  .demo .col-2 {
    margin: auto;
  }

  @media screen and (max-width: 940px) {
    .demo .container {
      max-width: 100%;
      grid-template-columns: 1fr;
      grid-gap: 30px;
    }

    .demo iframe {
      width: 100%;
      height: auto;
    }
  }
   */

   .demo-section {
  background: #f4f1ec;
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: 'DEMO';
  position: absolute;
  top: 1rem; left: -1rem;
  font-size: 7rem;
  font-weight: 700;
  color: rgba(5,84,117,0.04);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
}

.demo-section::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, transparent, #055475 20%, #0896c8 80%, transparent);
}

.demo-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Texte */
.demo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #055475;
  margin-bottom: 1rem;
}

.demo-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: #055475;
}

.demo-tag {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #055475;
  margin-bottom: 0.5rem;
}

.demo-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #0d1f2d;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.demo-divider {
  width: 48px; height: 3px;
  background: #055475;
  margin-bottom: 1.5rem;
}

.demo-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.demo-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #444;
}

.demo-feature::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  background: #055475;
  flex-shrink: 0;
  transform: rotate(45deg);
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 2rem;
  background: #055475;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #055475;
  text-decoration: none;
  transition: all 0.25s;
  width: fit-content;
}

.demo-btn::after { content: '→'; }
.demo-btn:hover { background: transparent; color: #055475; }

/* Vidéo */
.demo-video-wrap {
  position: relative;
}

.demo-video-wrap::before {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%; height: 60%;
  border: 2px solid #055475;
  z-index: 0;
}

.demo-video-wrap::after {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  width: 40%; height: 40%;
  background: rgba(5,84,117,0.07);
  z-index: 0;
}

.demo-video-badge {
  position: absolute;
  top: -1rem; left: 1.5rem;
  background: #055475;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  z-index: 2;
}

.demo-video-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0d1f2d;
  overflow: hidden;
}

.demo-video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .demo-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .demo-video-wrap::before,
  .demo-video-wrap::after { display: none; }
}
