/* =========================================================
   PAGE DÉMONSTRATIONS — CHARTE DIPACKING
   Police, largeur et proportions reprises de la page fournie
========================================================= */

#dip-demo-page,
#dip-demo-page * {
  box-sizing: border-box;
}

#dip-demo-page {
  color: #24185f;
  background: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
}

.dip-demo-container {
  width: 100%;
  
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.dip-demo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 10px 19px;
  color: #7255ff;
  background-color: #f0ebff;
  border-radius: 50px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}

.dip-demo-hero {
  padding: 165px 0 105px;
  background:
    radial-gradient(circle at 15% 10%, rgba(122, 90, 248, 0.10), transparent 30%),
    radial-gradient(circle at 90% 30%, rgba(122, 90, 248, 0.06), transparent 30%);
}

.dip-demo-heading {
  max-width: 900px;
  margin: 0 auto;
}

.dip-demo-heading h1 {
  margin: 0 0 24px;
  color: #24185f;
  font-size: clamp(43px, 5vw, 67px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -2.5px;
}

.dip-demo-heading h1 span {
  display: block;
  color: #7a5af8;
}

.dip-demo-heading > p {
  max-width: 790px;
  margin: 0 auto;
  color: rgba(36, 24, 95, 0.64);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 400;
}

.dip-demo-products-grid {
  margin-top: 58px;
}

.dip-demo-product-card {
  height: 100%;
  padding: 26px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(36, 24, 95, 0.10);
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(36, 24, 95, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dip-demo-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 58px rgba(36, 24, 95, 0.10);
}

.dip-demo-product-visual {
  min-height: 235px;
  margin-bottom: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 0.88fr);
  align-items: center;
  gap: 17px;
  overflow: hidden;
  background: #faf9fd;
  border-radius: 18px;
}

.dip-demo-product-image {
  width: 100%;
  height: 185px;
  object-fit: contain;
}

.dip-demo-jawax {
  border-radius: 14px;
}

.dip-demo-divider {
  width: 1px;
  height: 110px;
  background: linear-gradient(transparent, rgba(122, 90, 248, 0.32), transparent);
}

.dip-demo-qr {
  text-align: center;
}

.dip-demo-qr img {
  width: 128px;
  margin: 0 auto;
  border-radius: 8px;
}

.dip-demo-qr span {
  display: block;
  margin-top: 7px;
  color: #24185f;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dip-demo-category {
  display: inline-block;
  align-self: flex-start;
  color: #7357ff;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}

.dip-demo-product-card h2 {
  margin: 10px 0 9px;
  color: #24185f;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.35px;
}

.dip-demo-product-card > p {
  min-height: 50px;
  margin: 0 0 22px;
  color: rgba(36, 24, 95, 0.58);
  font-size: 13px;
  line-height: 1.6;
}

.dip-demo-primary-btn,
.dip-demo-white-btn,
.dip-demo-outline-btn {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
}

.dip-demo-primary-btn {
  width: 100%;
  margin-top: auto;
  color: #ffffff;
  background: #7a5af8;
}

.dip-demo-primary-btn:hover {
  color: #ffffff;
  background: #24185f;
}

.dip-demo-section {
  padding: 105px 0;
}

.dip-demo-alt {
  background: #f8f7fc;
}

.dip-demo-section-heading {
  max-width: 820px;
  margin: 0 auto 52px;
}

.dip-demo-section-heading h2,
.dip-demo-content h2,
.dip-demo-assistant-content h2,
.dip-demo-cta-box h2 {
  margin: 0 0 18px;
  color: #24185f;
  font-size: clamp(34px, 4vw, 49px);
  line-height: 1.13;
  font-weight: 600;
  letter-spacing: -1.5px;
}

.dip-demo-section-heading > p,
.dip-demo-content > p {
  margin: 0;
  color: rgba(36, 24, 95, 0.60);
  font-size: 17px;
  line-height: 1.7;
}

.dip-demo-step-card {
  height: 100%;
  min-height: 145px;
  padding: 27px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #ffffff;
  border: 1px solid rgba(36, 24, 95, 0.09);
  border-radius: 20px;
}

.dip-demo-step-number {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #7a5af8;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.dip-demo-step-card h3 {
  margin: 2px 0 8px;
  color: #24185f;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.dip-demo-step-card p {
  margin: 0;
  color: rgba(36, 24, 95, 0.58);
  font-size: 14px;
  line-height: 1.6;
}

.dip-demo-large-row {
  --bs-gutter-x: 70px;
}

.dip-demo-phone-media {
  min-height: 640px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0edff;
  border-radius: 30px;
}

.dip-demo-phone-media img {
  max-height: 610px;
  width: auto;
  border-radius: 26px;
  box-shadow: 0 25px 60px rgba(36, 24, 95, 0.16);
}

.dip-demo-content {
  max-width: 590px;
}

.dip-demo-feature-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dip-demo-feature-grid article {
  min-height: 155px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(36, 24, 95, 0.09);
  border-radius: 17px;
}

.dip-demo-feature-grid article > span {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7a5af8;
  background: #eee9ff;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}

.dip-demo-feature-grid h3 {
  margin: 14px 0 6px;
  color: #24185f;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
}

.dip-demo-feature-grid p {
  margin: 0;
  color: rgba(36, 24, 95, 0.57);
  font-size: 12px;
  line-height: 1.55;
}

.dip-demo-assistant-section {
  padding-top: 20px;
}

.dip-demo-assistant-box {
  padding: 62px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 66px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #24185f 0%, #4d34b1 52%, #7a5af8 100%);
  border-radius: 32px;
}

.dip-demo-badge-dark {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.dip-demo-assistant-content h2 {
  color: #ffffff;
}

.dip-demo-assistant-content > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.dip-demo-light-list,
.dip-demo-check-list,
.dip-demo-sector-card ul {
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.dip-demo-light-list li,
.dip-demo-check-list li,
.dip-demo-sector-card li {
  position: relative;
  padding-left: 27px;
}

.dip-demo-light-list li {
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.dip-demo-light-list li::before,
.dip-demo-check-list li::before,
.dip-demo-sector-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8b72ff;
  font-weight: 700;
}

.dip-demo-light-list li::before {
  color: #ffffff;
}

.dip-demo-white-btn {
  color: #24185f;
  background: #ffffff;
}

.dip-demo-white-btn:hover {
  color: #ffffff;
  background: #24185f;
}

.dip-demo-chat-card {
  padding: 20px;
  color: #24185f;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(18, 11, 58, 0.23);
}

.dip-demo-chat-header {
  padding: 4px 4px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #ece8f4;
}

.dip-demo-avatar {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #24185f;
  border-radius: 12px;
}

.dip-demo-chat-header strong,
.dip-demo-chat-header small {
  display: block;
}

.dip-demo-chat-header strong {
  font-size: 14px;
  font-weight: 600;
}

.dip-demo-chat-header small {
  margin-top: 4px;
  color: rgba(36, 24, 95, 0.55);
  font-size: 11px;
}

.dip-demo-online {
  width: 9px;
  height: 9px;
  margin-left: auto;
  background: #17ad69;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(23, 173, 105, 0.12);
}

.dip-demo-chat-body {
  min-height: 255px;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dip-demo-chat-body p {
  max-width: 82%;
  margin: 0;
  padding: 13px 16px;
  font-size: 12px;
  line-height: 1.55;
  border-radius: 16px;
}

.dip-demo-bot-message {
  align-self: flex-start;
  background: #f3f2f7;
  border-bottom-left-radius: 5px !important;
}

.dip-demo-user-message {
  align-self: flex-end;
  color: #ffffff;
  background: #24185f;
  border-bottom-right-radius: 5px !important;
}

.dip-demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dip-demo-chips span {
  padding: 8px 11px;
  color: #7255ff;
  background: #f8f6ff;
  border: 1px solid #dfd8ff;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 600;
}

.dip-demo-chat-input {
  margin-top: 16px;
  padding: 8px 9px 8px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(36, 24, 95, 0.45);
  border: 1px solid #e4e0ef;
  border-radius: 13px;
  font-size: 11px;
}

.dip-demo-chat-input strong {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #7a5af8;
  border-radius: 10px;
}

.dip-demo-sector-card {
  height: 100%;
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgba(36, 24, 95, 0.09);
  border-radius: 22px;
}

.dip-demo-sector-card img {
  width: 100%;
  height: 215px;
  margin-bottom: 23px;
  object-fit: contain;
  border-radius: 15px;
}

.dip-demo-sector-card h3 {
  margin: 10px 0 15px;
  color: #24185f;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.dip-demo-sector-card ul {
  margin: 0;
}

.dip-demo-sector-card li {
  margin-bottom: 10px;
  color: rgba(36, 24, 95, 0.57);
  font-size: 13px;
  line-height: 1.5;
}

.dip-demo-check-list li {
  margin-bottom: 16px;
  color: rgba(36, 24, 95, 0.68);
  font-size: 15px;
  line-height: 1.55;
}

.dip-demo-check-list li::before {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7557ff;
  background: #f0ebff;
  border-radius: 50%;
  font-size: 11px;
}

.dip-demo-analytics-media {
  padding: 18px;
  background: #f0edff;
  border-radius: 30px;
}

.dip-demo-container {
  width: 100%;
  
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.dip-demo-benefits-section {
  padding: 80px 0 80px;
}

.dip-demo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(36, 24, 95, 0.09);
  border-radius: 22px;
}

.dip-demo-benefits-grid article {
  min-height: 125px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dip-demo-benefits-grid article + article {
  border-left: 1px solid rgba(36, 24, 95, 0.09);
}

.dip-demo-benefits-grid article > span {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7557ff;
  background: #f0ebff;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 700;
}

.dip-demo-benefits-grid h3 {
  margin: 0 0 5px;
  color: #24185f;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.dip-demo-benefits-grid p {
  margin: 0;
  color: rgba(36, 24, 95, 0.55);
  font-size: 11px;
  line-height: 1.5;
}

.dip-demo-cta-section {
  padding: 0 0 110px;
}

.dip-demo-cta-box {
  padding: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, #24185f 0%, #4d34b1 50%, #7a5af8 100%);
  border-radius: 32px;
}

.dip-demo-cta-box > div:first-child {
  max-width: 700px;
}

.dip-demo-cta-box > div:first-child > span {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.70;
}

.dip-demo-cta-box h2 {
  margin: 10px 0 15px;
  color: #ffffff;
}

.dip-demo-cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 15px;
  line-height: 1.7;
}

.dip-demo-cta-buttons {
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dip-demo-outline-btn {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.40);
}

.dip-demo-outline-btn:hover {
  color: #24185f;
  background: #ffffff;
}

@media (max-width: 991.98px) {
  .dip-demo-hero {
    padding: 135px 0 80px;
  }

  .dip-demo-section {
    padding: 80px 0;
  }

  .dip-demo-product-visual {
    grid-template-columns: 1fr;
  }

  .dip-demo-divider {
    display: none;
  }

  .dip-demo-product-image {
    height: 145px;
  }

  .dip-demo-assistant-box {
    padding: 45px;
    grid-template-columns: 1fr;
  }

  .dip-demo-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dip-demo-benefits-grid article:nth-child(3) {
    border-top: 1px solid rgba(36, 24, 95, 0.09);
    border-left: 0;
  }

  .dip-demo-benefits-grid article:nth-child(4) {
    border-top: 1px solid rgba(36, 24, 95, 0.09);
  }

  .dip-demo-cta-box {
    padding: 45px;
    flex-direction: column;
    align-items: flex-start;
  }

  .dip-demo-cta-buttons {
    width: 100%;
    flex-direction: row;
  }
}

@media (max-width: 767.98px) {
  .dip-demo-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .dip-demo-hero {
    padding: 115px 0 65px;
  }

  .dip-demo-heading h1 {
    font-size: 39px;
    letter-spacing: -1.5px;
  }

  .dip-demo-heading > p,
  .dip-demo-section-heading > p,
  .dip-demo-content > p {
    font-size: 16px;
  }

  .dip-demo-product-card {
    padding: 20px;
  }

  .dip-demo-product-visual {
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 0.9fr);
    gap: 10px;
  }

  .dip-demo-divider {
    display: block;
  }

  .dip-demo-qr img {
    width: 108px;
  }

  .dip-demo-section {
    padding: 70px 0;
  }

  .dip-demo-section-heading h2,
  .dip-demo-content h2,
  .dip-demo-assistant-content h2,
  .dip-demo-cta-box h2 {
    font-size: 32px;
    letter-spacing: -0.7px;
  }

  .dip-demo-phone-media {
    min-height: auto;
  }

  .dip-demo-phone-media img {
    max-height: 540px;
  }

  .dip-demo-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dip-demo-assistant-box {
    padding: 35px 24px;
    border-radius: 24px;
  }

  .dip-demo-benefits-grid {
    grid-template-columns: 1fr;
  }

  .dip-demo-benefits-grid article + article,
  .dip-demo-benefits-grid article:nth-child(3) {
    border-top: 1px solid rgba(36, 24, 95, 0.09);
    border-left: 0;
  }

  .dip-demo-cta-box {
    padding: 35px 25px;
    border-radius: 24px;
  }

  .dip-demo-cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .dip-demo-product-visual {
    min-height: 195px;
    padding: 12px;
  }

  .dip-demo-product-image {
    height: 135px;
  }

  .dip-demo-qr img {
    width: 94px;
  }

  .dip-demo-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   DÉMONSTRATIONS DIPACKING
================================================== */

.dipacking-demos {
  width: 100%;
  padding: 70px 20px;
  background: #ffffff;
}

.dipacking-demos-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

/* EN-TÊTE */

.dipacking-demos-header {
  max-width: 900px;
  margin: 0 auto 45px;
  text-align: center;
}

.dipacking-demos-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  padding: 6px 16px;
  color: #7857ff;
  background: #f0edff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
}

.dipacking-demos-header h2 {
  margin: 0 0 20px;
  color: #0b0d20;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.dipacking-demos-header h2 span {
  display: block;
  color: #7857ff;
}

.dipacking-demos-header p {
  margin: 0;
  color: #687085;
  font-size: 17px;
  line-height: 1.7;
}

.dipacking-mobile-description {
  display: none;
}

/* GRILLE */

.dipacking-demos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* CARTES */

.dipacking-demo-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe3ea;
  border-radius: 14px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.dipacking-demo-card:hover {
  transform: translateY(-4px);
  border-color: #d8d0ff;
  box-shadow: 0 18px 45px rgba(36, 24, 95, 0.09);
}

.dipacking-demo-image {
  width: 100%;
  aspect-ratio: 1.27 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}

.dipacking-demo-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Caché sur ordinateur */

.dipacking-demo-mobile-content {
  display: none;
}

/* ==================================================
   TABLETTE
================================================== */

@media (max-width: 991px) {
  .dipacking-demos-header h2 {
    font-size: 40px;
  }

  .dipacking-demos-grid {
    gap: 18px;
  }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 767px) {
  .dipacking-demos {
    padding: 50px 15px;
  }

  .dipacking-demos-header {
    margin-bottom: 30px;
  }

  .dipacking-demos-label {
    margin-bottom: 13px;
    padding: 5px 13px;
    font-size: 12px;
  }

  .dipacking-demos-header h2 {
    margin-bottom: 15px;
    font-size: 31px;
    line-height: 1.15;
    letter-spacing: -0.8px;
  }

  .dipacking-desktop-description {
    display: none;
  }

  .dipacking-mobile-description {
    display: block;
    max-width: 360px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.6;
  }

  .dipacking-demos-grid {
    max-width: 430px;
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dipacking-demo-card {
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(36, 24, 95, 0.06);
  }

  .dipacking-demo-card:hover {
    transform: none;
  }

  .dipacking-demo-image {
    aspect-ratio: 1.35 / 1;
    border-bottom: 1px solid #edf0f5;
  }

  .dipacking-demo-mobile-content {
    display: block;
    padding: 20px;
    text-align: left;
  }

  .dipacking-demo-mobile-content h3 {
    margin: 0 0 4px;
    color: #0b0d20;
    font-size: 19px;
    font-weight: 700;
  }

  .dipacking-demo-mobile-content p {
    margin: 0 0 17px;
    color: #8c95a8;
    font-size: 14px;
  }

  .dipacking-demo-button {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    color: #ffffff;
    background: #7857ff;
    border: 1px solid #7857ff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition:
      background 0.2s ease,
      transform 0.2s ease;
  }

  .dipacking-demo-button:hover {
    color: #ffffff;
    background: #6542f5;
    text-decoration: none;
  }

  .dipacking-demo-button:active {
    transform: scale(0.98);
  }

  .dipacking-demo-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
