﻿/* =====================================================
   UNIVERS DIGITAL — Aurora directrice artistique
   Pinapp Studio · Avril 2026
   ===================================================== */

.univers-section {
  padding: var(--space-10, 120px) 24px;
  max-width: 720px;
  margin: 0 auto;
}

.univers-intro {
  font-size: 16px;
  color: var(--text-3, rgba(238, 248, 255, 0.5));
  margin-bottom: 48px;
  max-width: 480px;
}

.univers-interface {
  padding: 40px;
  position: relative;
}

/* Questions */
.univers-question {
  font-family: var(--font-apple-serif);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.3;
}

/* Steps */
.univers-step {
  transition:
    opacity 400ms cubic-bezier(0.45, 0.05, 0.55, 0.95),
    transform 400ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.univers-step.hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  transform: translateY(16px);
}
.univers-step.entering {
  animation: step-enter 400ms cubic-bezier(0.45, 0.05, 0.55, 0.95) forwards;
}
@keyframes step-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pills */
.univers-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.univers-pill {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 180, 216, 0.14);
  border-radius: 100px;
  color: var(--text-2, rgba(238, 248, 255, 0.7));
  font-size: 14px;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: translateZ(0);
  white-space: nowrap;
}
.univers-pill:hover {
  border-color: rgba(0, 229, 204, 0.4);
  color: var(--text);
  transform: translateY(-2px) translateZ(0);
}
.univers-pill.selected {
  background: rgba(0, 160, 210, 0.15);
  border-color: rgba(0, 229, 204, 0.55);
  color: var(--teal, #00e5cc);
  box-shadow: 0 0 12px rgba(0, 229, 204, 0.2);
}
.univers-pill:active {
  transform: scale(0.96) translateZ(0);
}

/* Mode jour */
body.mode-jour .univers-pill {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 160, 210, 0.2);
  color: var(--text-2);
}
body.mode-jour .univers-pill.selected {
  background: rgba(0, 160, 210, 0.1);
  border-color: rgba(0, 150, 180, 0.45);
  color: var(--teal);
}

/* Input référence */
#input-reference {
  width: 100%;
  margin-bottom: 24px;
  font-size: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 12px;
  color: var(--text);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  outline: none;
  transition: border-color 200ms ease;
  box-sizing: border-box;
}
#input-reference:focus {
  border-color: rgba(0, 229, 204, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.08);
}
#input-reference::placeholder {
  color: var(--text-3, rgba(238, 248, 255, 0.35));
}
body.mode-jour #input-reference {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 160, 210, 0.25);
  color: var(--text);
}

/* Texte libre — brief pour orienter Claude (page Univers + accueil) */
.univers-brief-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2, rgba(238, 248, 255, 0.72));
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
#input-brief-claude {
  width: 100%;
  min-height: 140px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.55;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.28);
  border-radius: 14px;
  color: var(--text);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  outline: none;
  resize: vertical;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
  box-sizing: border-box;
  font-family: inherit;
}
#input-brief-claude:focus {
  border-color: rgba(0, 229, 204, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.1);
}
#input-brief-claude::placeholder {
  color: var(--text-3, rgba(238, 248, 255, 0.38));
}
body.mode-jour #input-brief-claude {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 160, 210, 0.28);
  color: var(--text);
}

/* Barre de progression */
.univers-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}
.univers-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #39e075, #00e5cc);
  border-radius: 100px;
  transition: width 400ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
  box-shadow: 0 0 8px rgba(0, 229, 204, 0.4);
}

/* Résultat */
.univers-resultat {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 180, 216, 0.12);
}
.univers-resultat.hidden {
  display: none;
}

/* Nom de l'univers */
.univers-nom {
  font-family: var(--font-apple-serif);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 32px;
}
.univers-nom .univers-spark {
  color: var(--teal, #00e5cc);
}

/* Swatches palette */
.univers-palette {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}
.univers-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 300ms ease;
}
.univers-swatch:hover {
  transform: scale(1.15);
}
.univers-palette-label {
  font-size: 12px;
  color: var(--text-3, rgba(238, 248, 255, 0.5));
  margin-left: 4px;
}

/* Description atmosphère */
.univers-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-2, rgba(238, 248, 255, 0.7));
  margin-bottom: 24px;
  font-style: italic;
  font-family: var(--font-apple-serif);
}

/* Signature visuelle */
.univers-signature {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: rgba(0, 160, 210, 0.08);
  border-left: 2px solid var(--teal, #00e5cc);
  border-radius: 0 12px 12px 0;
}

/* CTA résultat */
.univers-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--violet, #7b4fe8);
  color: #ffffff;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 0 24px rgba(123, 79, 232, 0.35);
  animation: kiri-soar 5.5s ease-in-out infinite;
  margin-right: 12px;
  transition: opacity 200ms ease;
}
.univers-cta:hover {
  opacity: 0.88;
}

.univers-recommencer {
  font-size: 13px;
  color: var(--text-3, rgba(238, 248, 255, 0.5));
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 200ms ease;
}
.univers-recommencer:hover {
  color: var(--text-2, rgba(238, 248, 255, 0.7));
}

/* Teinte dynamique du bloc selon l'univers généré */
.univers-interface.tinted {
  transition:
    background 1s ease,
    border-color 1s ease;
}

/* Loader Aurora */
.univers-loader {
  color: var(--teal, #00e5cc);
  font-size: 14px;
  font-style: italic;
  animation: kiri-soar 5.5s ease-in-out infinite;
}

/* Mobile */
@media (max-width: 768px) {
  .univers-interface {
    padding: 24px;
  }
  .univers-pills {
    gap: 8px;
  }
  .univers-pill {
    padding: 12px 16px;
    font-size: 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .univers-nom {
    font-size: clamp(22px, 6vw, 32px);
  }
  .univers-cta {
    padding: 12px 22px;
    font-size: 13px;
  }
}

/* =====================================================
   AURORA ANALYSE — Textarea + résultat IA
   ===================================================== */

.aurora-section {
  text-align: center;
  padding: var(--space-9, 100px) 24px;
}

.aurora-interface {
  max-width: 640px;
  margin: 48px auto 0;
  padding: 32px;
  text-align: left;
}

.aurora-interface textarea {
  width: 100%;
  box-sizing: border-box;
  resize: none;
  margin-bottom: 16px;
  border-radius: 14px;
  min-height: 88px;
  font-size: 16px;
  line-height: 1.7;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 180, 216, 0.2);
  color: var(--text);
  outline: none;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease;
  font-family: inherit;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.aurora-interface textarea:focus {
  border-color: rgba(0, 229, 204, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 229, 204, 0.08);
}
.aurora-interface textarea::placeholder {
  color: var(--text-3, rgba(238, 248, 255, 0.35));
  transition: opacity 400ms ease;
}
body.mode-jour .aurora-interface textarea {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 160, 210, 0.25);
  color: var(--text);
}

/* Résultat */
.aurora-result {
  margin-top: 24px;
  padding: 20px 0 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  min-height: 60px;
  border-top: 1px solid rgba(0, 180, 216, 0.1);
}

/* Numéros circled ①②③ */
.aurora-num {
  color: var(--teal, #00e5cc);
  font-weight: 500;
}

/* Loader "●●●" */
.aurora-typing {
  color: var(--teal, #00e5cc);
  font-size: 20px;
  letter-spacing: 4px;
  animation: aurora-dots 1s ease-in-out infinite;
}
@keyframes aurora-dots {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* CTA inline dans le résultat */
.aurora-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--violet, #7b4fe8);
  color: #fff !important;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  box-shadow: 0 0 20px rgba(123, 79, 232, 0.3);
  transition: opacity 200ms ease;
}
.aurora-cta:hover {
  opacity: 0.88;
}

/* Mobile */
@media (max-width: 768px) {
  .aurora-interface {
    padding: 20px;
  }
  .aurora-interface textarea {
    font-size: 15px;
    min-height: 72px;
  }
}
/* =====================================================
   CALCULATEUR LIVE — Configurez. Le prix s'adapte.
   ===================================================== */

.calculateur-section {
  padding: var(--space-9, 100px) 24px;
  text-align: center;
}

.calculateur-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 900px;
  margin: 48px auto 0;
  align-items: flex-start;
  text-align: left;
}

/* Colonne config — gauche */
.calculateur-config {
  flex: 1;
  min-width: 260px;
}
.config-question {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
  margin-top: var(--space-5);
}
.calculateur-config .config-question:first-child {
  margin-top: 0;
}

.pills-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-3);
}

/* Pills config */
.pill-choice {
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 180, 216, 0.16);
  border-radius: 100px;
  color: var(--text-2, rgba(238, 248, 255, 0.7));
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.25, 0.1, 0.25, 1);
}
.pill-choice:hover {
  border-color: rgba(0, 229, 204, 0.35);
  color: var(--text);
}
.pill-choice.active {
  background: rgba(57, 224, 117, 0.14);
  border-color: rgba(57, 224, 117, 0.5);
  color: #39e075;
  box-shadow: 0 0 10px rgba(57, 224, 117, 0.15);
}
.pill-choice:active {
  transform: scale(0.96);
}

body.mode-jour .pill-choice {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 160, 210, 0.2);
  color: var(--text-2);
}
body.mode-jour .pill-choice.active {
  background: rgba(0, 170, 100, 0.1);
  border-color: rgba(0, 170, 100, 0.4);
  color: #009966;
}

/* Colonne résultat — droite / sticky */
.calculateur-result {
  flex: 0 0 260px;
  min-width: 240px;
  padding: 32px 28px;
  position: sticky;
  top: 96px;
  text-align: center;
}

.result-prix {
  font-size: clamp(40px, 7vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 8px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.result-prix span {
  display: inline;
}

.result-delai-line {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 20px;
}

.result-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  font-size: 13px;
  line-height: 2;
  opacity: 0.75;
}
.result-includes li::before {
  content: '✓  ';
  color: #39e075;
  font-weight: 600;
}

.result-note {
  font-size: 11px;
  opacity: 0.4;
  margin-top: 12px;
  line-height: 1.5;
}

/* Badge urgence */
#result-urgence {
  display: none;
  font-size: 11px;
  background: rgba(255, 150, 50, 0.15);
  border: 1px solid rgba(255, 150, 50, 0.35);
  border-radius: 100px;
  padding: 4px 12px;
  color: #ffaa44;
  margin-bottom: 12px;
  text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
  .calculateur-layout {
    flex-direction: column;
  }
  .calculateur-config {
    min-width: 0;
    width: 100%;
  }
  .calculateur-result {
    position: static;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .result-prix {
    font-size: clamp(36px, 12vw, 48px);
  }
  .calculateur-section {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  .pills-group {
    gap: 8px;
  }
}
/* =====================================================
   GRAPHIQUES — SVG animés au scroll
   ===================================================== */

.graphiques-section {
  padding: var(--space-9, 100px) 24px;
  text-align: center;
}

.graphiques-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 960px;
  margin: 48px auto 0;
  align-items: flex-start;
}

.graphique-card {
  flex: 1;
  min-width: 240px;
  padding: 24px;
  text-align: left;
}

@media (max-width: 767px) {
  .graphiques-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .graphique-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .graphiques-section {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
}

.graphique-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 20px;
}

/* =====================================================
   PIPELINE SIMULATION
   ===================================================== */

.pipeline-section {
  padding: var(--space-9, 100px) 0;
  text-align: center;
  overflow: hidden;
}

.pipeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 48px 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: center;
}
.pipeline-track::-webkit-scrollbar {
  display: none;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
}

.pipeline-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 180, 216, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  transition: all 400ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
  cursor: help;
}
.pipeline-circle.active {
  background: rgba(0, 160, 210, 0.15);
  border-color: rgba(0, 229, 204, 0.55);
  box-shadow:
    0 0 20px rgba(0, 229, 204, 0.25),
    0 0 40px rgba(0, 229, 204, 0.1);
  transform: scale(1.12);
}

/* Tooltip */
.pipeline-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass-nav, rgba(2, 15, 28, 0.85));
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 180, 216, 0.16);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--text-2, rgba(238, 248, 255, 0.7));
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 20;
}
.pipeline-circle:hover .pipeline-tooltip {
  opacity: 1;
}

.pipeline-label {
  font-size: 10px;
  color: var(--text-3, rgba(238, 248, 255, 0.45));
  text-align: center;
  max-width: 60px;
  line-height: 1.3;
}

.pipeline-line {
  width: 40px;
  height: 2px;
  background: rgba(0, 180, 216, 0.1);
  margin-top: -28px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.pipeline-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #00e5cc, transparent);
  transition: left 500ms cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.pipeline-line.active::after {
  left: 100%;
}

.pipeline-tagline {
  margin-top: 32px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.65;
  line-height: 1.6;
  font-family: var(--font-apple-serif);
  font-style: italic;
}

/* Mobile — vertical */
@media (max-width: 767px) {
  .pipeline-track {
    flex-direction: column;
    align-items: center;
    overflow-x: visible;
    padding: 32px 24px;
    gap: 0;
  }
  .pipeline-line {
    width: 2px;
    height: 28px;
    margin-top: 0;
    margin-left: 0;
  }
  .pipeline-line::after {
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, #00e5cc, transparent);
    transition: top 500ms ease;
  }
  .pipeline-line.active::after {
    top: 100%;
  }
  .pipeline-tooltip {
    display: none;
  }
}
/* =====================================================
   CAROUSEL 3D — /realisations/
   ===================================================== */

.carousel-section {
  padding: var(--space-9, 100px) 0 var(--space-7);
  text-align: center;
  overflow: hidden;
}

/* Filtres carrousel — même logique que pills Apple */
.carousel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 24px auto 8px;
  max-width: 720px;
  padding: 0 16px;
}
.carousel-filter-btn {
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid rgba(0, 180, 216, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2, rgba(238, 248, 255, 0.78));
  cursor: pointer;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.carousel-filter-btn:hover {
  border-color: rgba(0, 229, 204, 0.45);
  background: rgba(0, 229, 204, 0.08);
  color: var(--text, #eef8ff);
}
.carousel-filter-btn.active {
  border-color: rgba(0, 229, 204, 0.55);
  background: rgba(0, 229, 204, 0.14);
  color: var(--text, #eef8ff);
  box-shadow: 0 0 20px rgba(0, 229, 204, 0.12);
}
html[data-theme='light'] .carousel-filter-btn,
body.mode-jour .carousel-filter-btn {
  border-color: rgba(15, 23, 41, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(15, 23, 41, 0.65);
}
html[data-theme='light'] .carousel-filter-btn:hover,
body.mode-jour .carousel-filter-btn:hover {
  border-color: rgba(15, 118, 110, 0.35);
  background: rgba(15, 118, 110, 0.06);
  color: #0f1729;
}
html[data-theme='light'] .carousel-filter-btn.active,
body.mode-jour .carousel-filter-btn.active {
  border-color: rgba(15, 118, 110, 0.4);
  background: rgba(15, 118, 110, 0.1);
  color: #0f1729;
  box-shadow: 0 2px 16px rgba(15, 118, 110, 0.12);
}

.carousel-filter-hidden {
  display: none !important;
}

.carousel-scroll-hint {
  font-size: 12px;
  opacity: 0.45;
  margin: 8px auto 0;
  max-width: 420px;
  padding: 0 16px;
  line-height: 1.5;
}

/* Scène 3D — preserve-3d pour translateZ des cartes */
.carousel-3d {
  position: relative;
  height: 380px;
  perspective: 1400px;
  perspective-origin: 50% 42%;
  margin: 32px auto 48px;
  max-width: 100%;
  user-select: none;
  transform-style: preserve-3d;
  touch-action: pan-y pinch-zoom;
}

/* Cartes — facette 3D (rotateX/Y gérés en JS) */
.demo-card-3d {
  width: 280px;
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 180, 216, 0.14);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 -20px 60px rgba(0, 200, 180, 0.06);
  background: rgba(5, 15, 30, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.demo-card-3d[data-tier='creative'] {
  border-color: rgba(123, 79, 232, 0.35);
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(123, 79, 232, 0.2) inset,
    0 0 40px rgba(123, 79, 232, 0.12);
}
.demo-card-3d:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.demo-card-preview {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.demo-card-preview-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 400ms ease;
}
.demo-card-3d:hover .demo-card-preview-bg {
  transform: scale(1.04);
}
.demo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 8, 16, 0.85) 0%, transparent 55%);
}
.demo-card-footer {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.demo-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.demo-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  color: #050a14;
  white-space: nowrap;
  flex-shrink: 0;
}
.demo-card-meta {
  position: absolute;
  bottom: 52px;
  left: 16px;
  right: 16px;
}
.demo-card-secteur {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 4px;
}
.demo-card-style {
  font-size: 12px;
  opacity: 0.55;
}

/* Contrôles flèches */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}
.carousel-prev,
.carousel-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 180, 216, 0.18);
  color: var(--text);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
}
.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0, 229, 204, 0.12);
  border-color: rgba(0, 229, 204, 0.4);
}

/* Dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 300ms ease;
  padding: 0;
}
.carousel-dot.active {
  width: 24px;
  border-radius: 100px;
  background: var(--teal, #00e5cc);
  box-shadow: 0 0 8px rgba(0, 229, 204, 0.5);
}

/* Info sous le carousel */
.carousel-info {
  margin-top: 32px;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
  min-height: 80px;
}
.info-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0, 229, 204, 0.12);
  color: var(--teal, #00e5cc);
  margin-bottom: 12px;
}
.info-name {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--text);
}
.info-style {
  font-size: 13px;
  opacity: 0.5;
  margin-bottom: 16px;
  font-style: italic;
}
.info-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--violet, #7b4fe8);
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 0 20px rgba(123, 79, 232, 0.3);
  transition: opacity 200ms ease;
}
.info-cta:hover {
  opacity: 0.88;
}

/* Ligne honnêteté */
.carousel-honesty {
  font-size: 12px;
  opacity: 0.4;
  margin-top: 24px;
  line-height: 1.6;
  font-style: italic;
}

/* Mobile */
@media (max-width: 767px) {
  .carousel-3d {
    height: 300px;
  }
  .demo-card-3d {
    width: 220px;
    height: 270px;
  }
}
