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

/* ============================================================ */
/* SECTION 1 - HERO DEMO                                        */
/* ============================================================ */
.section-demo-hero {
  position: relative;
  width: 100%;
  height: 668px;
  overflow: hidden;
  background: #1E1E1E;
}

.demo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.demo-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.demo-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 47px;
}

.header-pill.demo-pill {
  background: rgba(30, 30, 30, 0.6);
  gap: 8px;
  padding: 8px 24px;
}

.header-pill.demo-pill nav {
  gap: 16px;
}

.header-pill.demo-pill nav a.active {
  font-weight: 900;
  font-size: 24px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.demo-hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  gap: 60px;
}

.demo-hero-taglines {
  text-align: center;
}

.demo-hero-taglines p {
  font-family: 'Geist Mono', monospace;
  font-size: 40px;
  font-weight: 400;
  color: #ffffff;
  text-shadow: -1px 2px 0px rgba(0, 0, 0, 0.25);
  line-height: 1.3;
}

.demo-hero-title {
  font-family: 'Geist Mono', monospace;
  font-size: 40px;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  text-shadow: -3px 2px 0px rgba(0, 0, 0, 0.25);
  padding: 0 40px;
}

.demo-hero-title .logo-inline {
  font-family: 'Azeret Mono', monospace;
  font-size: 64px;
  font-weight: 700;
  font-style: italic;
}

/* ============================================================ */
/* SECTION 2 - ACQUISITION 3D                                   */
/* ============================================================ */
.section-demo-acquisition {
  display: flex;
  width: 100%;
  min-height: 741px;
  background: #1E1E1E;
}

.acquisition-left {
  width: 50%;
  padding: 80px 60px 80px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.acquisition-text-top,
.acquisition-text-bottom {
  font-family: 'Geist Mono', monospace;
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  text-align: justify;
  line-height: normal;
  max-width: 612px;
}

.logo-inline-small {
  font-family: 'Azeret Mono', monospace;
  font-weight: 700;
  font-style: italic;
}

.acquisition-right {
  width: 50%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}

.acquisition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  width: 100%;
  height: 100%;
  gap: 0;
}

.acquisition-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================ */
/* SECTION 3 - MODULES TECHNIQUES                               */
/* ============================================================ */
.section-demo-modules {
  background: #1E1E1E;
  padding: 60px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.modules-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 1269px;
}

.module-top img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.module-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.module-row img {
  width: 170px;
  height: 170px;
  object-fit: contain;
}

.modules-features {
  max-width: 641px;
  width: 100%;
  padding: 20px 0;
}

.modules-features h2 {
  font-family: 'Geist Mono', monospace;
  font-size: 36px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 20px;
}

.modules-features ul {
  list-style: none;
  padding: 0;
}

.modules-features li {
  font-family: 'Geist', sans-serif;
  font-size: 23px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.8;
  position: relative;
  padding-left: 20px;
}

.modules-features li::before {
  content: '-';
  position: absolute;
  left: 0;
}

/* ============================================================ */
/* SECTION 4 - APP SCREENSHOTS                                  */
/* ============================================================ */
.section-demo-app {
  background: #1E1E1E;
  padding: 60px 40px 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
}

.app-icon {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-screenshot {
  flex: 1;
  max-width: 700px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.app-screenshot img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ============================================================ */
/* SECTION 4A - AU-DELÀ DU VISAGE (simulation mammaire)         */
/* ============================================================ */
.section-demo-poitrine {
  position: relative;
  background: #1E1E1E;
  padding: 20px 40px 90px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* Halo bleu discret, repris de la plaquette */
.section-demo-poitrine::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(64, 176, 229, 0.16), rgba(64, 176, 229, 0) 70%);
  pointer-events: none;
}

.poitrine-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
}

.poitrine-text { flex: 1; }

.poitrine-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: 'Azeret Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #cfd0d6;
}

.poitrine-badge {
  font-size: 12px;
  letter-spacing: 1px;
  color: #40b0e5;
  border: 1px solid rgba(64, 176, 229, 0.4);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}

.poitrine-title {
  font-family: 'Azeret Mono', monospace;
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 16px 0 18px;
}

.poitrine-desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #c4c4cc;
}

.poitrine-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin-top: 26px;
}

.poitrine-chips li {
  font-family: 'Azeret Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  color: #d6d6dc;
  padding: 7px 16px;
  border: 1px solid rgba(64, 176, 229, 0.35);
  border-radius: 20px;
  background: rgba(64, 176, 229, 0.07);
}

.poitrine-visual {
  flex: 1;
  max-width: 560px;
}

.poitrine-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.poitrine-visual figcaption {
  margin-top: 14px;
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: #8a8a8a;
  text-align: center;
}

/* ============================================================ */
/* SECTION 4B - ANALYSE                                         */
/* ============================================================ */
.section-demo-analysis {
  background: #ffffff;
  padding: 80px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.analysis-heading {
  text-align: center;
  margin-bottom: 36px;
}

.analysis-quote {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #131415;
  line-height: 1.3;
}

.analysis-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  color: #131415;
}

.analysis-intro {
  max-width: 900px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #131415;
  text-align: center;
  margin-bottom: 44px;
}

.analysis-intro .logo-inline-small {
  font-family: 'Azeret Mono', monospace;
  font-weight: 700;
  font-style: italic;
}

.analysis-capabilities {
  max-width: 760px;
  width: 100%;
}

.analysis-capabilities h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #131415;
  margin-bottom: 16px;
  text-align: center;
}

.analysis-capabilities ul {
  list-style: none;
  padding: 0;
}

.analysis-capabilities li {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 500;
  color: #131415;
  line-height: 1.5;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid #ececec;
  position: relative;
}

.analysis-capabilities li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 12px;
  color: #f83f42;
}

.analysis-capabilities li strong { color: #40b0e5; }

/* ============================================================ */
/* SECTION 5 - PERFORMANCE                                      */
/* ============================================================ */
.section-demo-performance {
  width: 100%;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
}

.performance-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 36px;
  color: #131415;
  text-align: center;
  max-width: 900px;
  margin: 0 0 50px;
  line-height: 1.3;
}

.performance-content {
  max-width: 800px;
  width: 100%;
  text-align: left;
}

.performance-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #131415;
  text-align: center;
  margin: 0 0 40px;
}

.performance-block-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #131415;
  margin: 30px 0 10px;
}

.performance-block-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #131415;
  margin: 0;
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 1100px) {
  .demo-hero-title { font-size: 32px; }
  .demo-hero-title .logo-inline { font-size: 48px; }
  .demo-hero-taglines p { font-size: 32px; }

  .module-row img { width: 130px; height: 130px; }
  .module-top img { width: 160px; height: 160px; }
}

@media (max-width: 900px) {
  /* Hero */
  .section-demo-hero { height: 600px; }
  .demo-hero-taglines p { font-size: 24px; }
  .demo-hero-title { font-size: 24px; }
  .demo-hero-title .logo-inline { font-size: 36px; }
  .header-pill.demo-pill nav a.active { font-size: 16px; }

  /* Acquisition */
  .section-demo-acquisition { flex-direction: column; }
  .acquisition-left,
  .acquisition-right { width: 100%; }
  .acquisition-left { padding: 40px 24px; }
  .acquisition-right { height: 500px; }
  .acquisition-text-top,
  .acquisition-text-bottom { font-size: 18px; }

  /* Modules */
  .module-row img { width: 100px; height: 100px; }
  .module-top img { width: 120px; height: 120px; }
  .modules-features h2 { font-size: 24px; }
  .modules-features li { font-size: 18px; }

  /* App */
  .app-row {
    flex-direction: column;
    gap: 20px;
  }
  .app-icon {
    width: 140px;
    height: 140px;
  }

  /* Au-delà du visage */
  .section-demo-poitrine { padding: 10px 24px 70px; }
  .poitrine-inner {
    flex-direction: column;
    gap: 34px;
  }
  .poitrine-visual { max-width: 100%; }
  .poitrine-title { font-size: 26px; }
}

@media (max-width: 600px) {
  .section-demo-hero { height: 500px; padding-bottom: 40px; }
  .demo-hero-content { padding-top: 40px; gap: 30px; }
  .demo-hero-taglines p { font-size: 18px; }
  .demo-hero-title { font-size: 18px; }
  .demo-hero-title .logo-inline { font-size: 28px; }

  .acquisition-text-top,
  .acquisition-text-bottom { font-size: 14px; }

  .module-row { gap: 10px; }
  .module-row img { width: 70px; height: 70px; }

  .modules-features h2 { font-size: 20px; }
  .modules-features li { font-size: 14px; }

  .section-demo-performance { padding: 50px 20px; }
  .performance-title { font-size: 24px; margin-bottom: 30px; }
  .performance-subtitle { font-size: 20px; margin-bottom: 25px; }
  .performance-block-title { font-size: 18px; }
  .performance-block-text { font-size: 14px; }

  .poitrine-title { font-size: 21px; }
  .poitrine-desc { font-size: 15px; }
  .poitrine-chips li { font-size: 12px; padding: 6px 12px; }

  .analysis-quote { font-size: 22px; }
  .analysis-subtitle { font-size: 19px; }
  .analysis-intro { font-size: 16px; }
  .analysis-capabilities h3 { font-size: 20px; }
  .analysis-capabilities li { font-size: 15px; }
}
