/* ==========================================================================
   EKOA STUDIO - DESIGN SYSTEM V2 : CLASSIQUE, ÉPURÉ & ULTRA-SMOOTH
   Charte graphique officielle Ekoa :
   - Fond Crème doux : #FFFBEF
   - Noir profond : #242424
   - Violet Signature : #A68FFC
   - Lilas Doux : #E0ACFC
   - Bleu Ciel : #A6C7FC
   - Bleu Électrique : #6470FC
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Palette officielle Ekoa */
  --ekoa-cream: #FFFBEF;
  --ekoa-dark: #242424;
  --ekoa-lavender: #A68FFC;
  --ekoa-lilac: #E0ACFC;
  --ekoa-sky: #A6C7FC;
  --ekoa-indigo: #6470FC;

  /* Statuts */
  --status-available: #10B981;
  --status-available-bg: rgba(16, 185, 129, 0.1);
  --status-busy: #9CA3AF;
  --status-busy-bg: rgba(156, 163, 175, 0.12);

  /* Thème Clair par défaut (Inspiré de l'artwork 6.png et #FFFBEF) */
  --bg-body: #FFFBEF;
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F7F5EC;
  --bg-card: #FFFFFF;
  --border-subtle: rgba(166, 143, 252, 0.18);
  --border-card: rgba(0, 0, 0, 0.06);

  --text-main: #1D1D22;
  --text-secondary: #575768;
  --text-muted: #8E8EA0;

  --nav-bg: rgba(255, 251, 239, 0.88);
  --card-shadow: 0 10px 30px -10px rgba(70, 50, 120, 0.08);
  --card-hover-shadow: 0 18px 40px -12px rgba(166, 143, 252, 0.22);

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

[data-theme="dark"] {
  --bg-body: #242424;
  --bg-surface: #1C1C1F;
  --bg-surface-subtle: #2A2A2E;
  --bg-card: #202024;
  --border-subtle: rgba(166, 199, 252, 0.16);
  --border-card: rgba(255, 255, 255, 0.07);

  --text-main: #F7F7FA;
  --text-secondary: #B5B5C4;
  --text-muted: #7E7E92;

  --nav-bg: rgba(36, 36, 36, 0.90);
  --card-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.45);
  --card-hover-shadow: 0 20px 45px -12px rgba(166, 143, 252, 0.25);
}

/* Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: thin;
  scrollbar-color: rgba(166, 143, 252, 0.25) transparent;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(166, 143, 252, 0.25);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(166, 143, 252, 0.55);
}

::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  transition: background-color 0.35s var(--ease-smooth), color 0.35s var(--ease-smooth);
  position: relative;
  overflow-x: hidden;
}

/* Lueur d'ambiance ultra douce aux couleurs officielles Ekoa */
.brand-glow-background {
  position: fixed;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 172, 252, 0.18) 0%, rgba(166, 143, 252, 0.12) 40%, rgba(166, 199, 252, 0.05) 70%, transparent 80%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.8rem;
  position: relative;
  z-index: 2;
}

/* Typographie Classique & Élégante */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   NAVIGATION ÉPURÉE AVEC LOGOS OFFICIELS
   ========================================================================== */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-card);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  gap: 1.2rem;
  padding: 0 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s var(--ease-smooth);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-menu li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-link-item {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-smooth);
  cursor: pointer;
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.nav-link-item:hover {
  color: var(--text-main);
  background: var(--bg-surface-subtle);
}

.nav-link-item.active {
  color: var(--text-main);
  background: rgba(100, 112, 252, 0.12);
  font-weight: 600;
}

[data-theme="dark"] .nav-link-item.active {
  color: #FFFFFF;
  background: rgba(166, 143, 252, 0.20);
  box-shadow: inset 0 0 0 1px rgba(166, 143, 252, 0.25);
}

.nav-actions-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-actions-divider {
  width: 1px;
  height: 22px;
  background: var(--border-card);
  margin: 0 4px;
}

/* ==========================================================================
   COMPOSANT UIVERSE : SLIDER DE VOLUME (blue-lion-57)
   ========================================================================== */
.volume-control-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider {
  --slider-width: 80px;
  --slider-height: 6px;
  --slider-bg: rgba(166, 143, 252, 0.25);
  --slider-border-radius: 9999px;
  --level-color: var(--ekoa-lavender);
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.slider .volume {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  margin-right: 8px;
  transition: color 0.2s ease;
}

.slider .level {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: var(--slider-width);
  height: var(--slider-height);
  background: var(--slider-bg);
  border-radius: var(--slider-border-radius);
  outline: none;
  cursor: pointer;
  transition: all 0.2s;
}

.slider .level::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--level-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.slider .level::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* ==========================================================================
   COMPOSANT UIVERSE : SWITCH DARK/LIGHT (fresh-fireant-15)
   ========================================================================== */
.toggle-switch {
  position: relative;
  width: 64px;
  height: 32px;
  --light: #FFFBEF;
  --dark: #242424;
}

.switch-label {
  position: absolute;
  width: 100%;
  height: 32px;
  background-color: var(--dark);
  border-radius: 16px;
  cursor: pointer;
  border: 2px solid rgba(166, 143, 252, 0.35);
  transition: background-color 0.3s;
}

.toggle-switch .checkbox {
  position: absolute;
  display: none;
}

.toggle-switch .slider-switch {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transition: 0.3s;
}

.toggle-switch .checkbox:checked ~ .slider-switch {
  background-color: var(--light);
}

.toggle-switch .slider-switch::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 8px -3px 0px 0px var(--light);
  background-color: var(--dark);
  transition: 0.3s var(--ease-smooth);
}

.toggle-switch .checkbox:checked ~ .slider-switch::before {
  transform: translateX(32px);
  background-color: var(--dark);
  box-shadow: none;
}

/* ==========================================================================
   BOUTONS ÉLÉGANTS & ULTRA-SMOOTH
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
}

.btn-primary {
  background: var(--ekoa-lavender);
  color: #FFFFFF;
  box-shadow: 0 6px 20px -4px rgba(166, 143, 252, 0.45);
}

.btn-primary:hover {
  background: #9578FA;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(166, 143, 252, 0.6);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--border-subtle);
  transform: translateY(-1px);
}

/* ==========================================================================
   COMPOSANT UIVERSE : BOUTONS RIPPLE ACOUSTIQUE (mi-series)
   Aux couleurs du O d'Eko (#6470FC, #A68FFC, #D8A5FC, #76B4FB)
   ========================================================================== */
.btn-eko-ripple {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  padding: 16px 20px;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-eko-ripple:hover {
  opacity: .95;
  transform: translateY(-2px);
}

.btn-eko-ripple .animation {
  display: inline-block;
  width: 0;
  height: 0;
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
  flex-shrink: 0;
}

.btn-eko-ripple span {
  flex: 1;
  text-align: center;
  margin: 0 10px;
  white-space: nowrap;
}

/* Bouton 1 : Dégradé Signature du O d'Eko (Indigo -> Violet -> Lilas) */
.btn-eko-primary {
  background: linear-gradient(135deg, #6470FC 0%, #9B82FC 50%, #D8A5FC 100%);
  box-shadow: 0 4px 16px rgba(100, 112, 252, 0.35);
}

.btn-eko-primary:hover {
  box-shadow: 0 8px 24px rgba(155, 130, 252, 0.5);
}

/* Bouton 2 : Dégradé Bleu Océan & Ciel du O d'Eko (Bleu Profond -> Indigo -> Ciel Lumineux) */
.btn-eko-secondary {
  background: linear-gradient(135deg, #4351DE 0%, #5E72FA 50%, #76B4FB 100%);
  box-shadow: 0 4px 16px rgba(67, 81, 222, 0.32);
}

.btn-eko-secondary:hover {
  box-shadow: 0 8px 24px rgba(118, 180, 251, 0.45);
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
  }
}

/* ==========================================================================
   STRUCTURE DES ONGLETS & SECTIONS
   ========================================================================== */
main {
  padding-top: 110px;
  padding-bottom: 80px;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(166, 143, 252, 0.15);
  color: var(--ekoa-lavender);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

/* ==========================================================================
   SECTION 1 : ACCUEIL CLASSIQUE AVEC L'ARTWORK 6.PNG
   ========================================================================== */
.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 3.5rem;
  padding: 2rem 0 5rem 0;
}

.hero-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
}

.live-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-available);
  box-shadow: 0 0 8px var(--status-available);
}

.hero-headline {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.2rem;
}

.hero-buttons-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SCÈNE 3D ORGANIQUE : EKO L'ANNEAU ACOUSTIQUE & ONDES SONORES RAYONNANTES
   Sans aucun cadre ni texte parasite : pure onde sonore vivante
   ========================================================================== */
.hero-eko-stage-frameless {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  cursor: pointer;
  user-select: none;
  overflow: visible;
}

.hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.3s ease;
  mask-image: radial-gradient(circle at center, #000000 50%, rgba(0, 0, 0, 0.8) 65%, rgba(0, 0, 0, 0.2) 80%, transparent 92%);
  -webkit-mask-image: radial-gradient(circle at center, #000000 50%, rgba(0, 0, 0, 0.8) 65%, rgba(0, 0, 0, 0.2) 80%, transparent 92%);
}

/* ==========================================================================
   BADGE D'INVITATION SOUS L'ANNEAU 3D ("Clique sur moi")
   Design Studio Sonore Épuré, Net & Haut de Gamme
   ========================================================================== */
.hero-ring-popup-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.04) inset;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease,
              box-shadow 0.22s ease,
              background-color 0.22s ease,
              opacity 0.25s ease;
  animation: badgeGentleFloat 4s ease-in-out infinite;
}

@keyframes badgeGentleFloat {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -4px);
  }
}

.hero-ring-popup-badge:hover {
  transform: translate(-50%, -3px);
  background: #FFFFFF;
  border-color: rgba(100, 112, 252, 0.4);
  box-shadow: 0 12px 28px -4px rgba(100, 112, 252, 0.15);
}

.hero-ring-popup-badge:active {
  transform: translate(-50%, -1px) scale(0.98);
}

/* 3 barres equalizer audio animées */
.hero-ring-popup-badge .popup-audio-bars {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
}

.hero-ring-popup-badge .popup-audio-bars .bar {
  display: block;
  width: 2.5px;
  height: 100%;
  background: #6470FC;
  border-radius: 2px;
  transform-origin: bottom center;
}

.hero-ring-popup-badge .popup-audio-bars .bar:nth-child(1) {
  animation: studioBarAnim1 1.1s ease-in-out infinite alternate;
}

.hero-ring-popup-badge .popup-audio-bars .bar:nth-child(2) {
  animation: studioBarAnim2 0.85s ease-in-out infinite alternate;
}

.hero-ring-popup-badge .popup-audio-bars .bar:nth-child(3) {
  animation: studioBarAnim3 1.25s ease-in-out infinite alternate;
}

@keyframes studioBarAnim1 {
  0% { transform: scaleY(0.35); }
  100% { transform: scaleY(0.95); }
}

@keyframes studioBarAnim2 {
  0% { transform: scaleY(0.85); }
  100% { transform: scaleY(0.30); }
}

@keyframes studioBarAnim3 {
  0% { transform: scaleY(0.45); }
  100% { transform: scaleY(1.0); }
}

/* Texte net et contrasté (pas d'effet de flou ni dégradé illisible) */
.hero-ring-popup-badge .popup-badge-text {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1D1D22;
  white-space: nowrap;
  line-height: 1;
}

/* Micro-bouton play circulaire épuré */
.hero-ring-popup-badge .popup-badge-action {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(100, 112, 252, 0.12);
  color: #6470FC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-ring-popup-badge .popup-badge-action svg {
  margin-left: 1px;
}

.hero-ring-popup-badge:hover .popup-badge-action {
  background: #6470FC;
  color: #FFFFFF;
  transform: scale(1.08);
}

/* Thème Sombre */
[data-theme="dark"] .hero-ring-popup-badge {
  background: rgba(18, 19, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5), 0 1px 1px rgba(255, 255, 255, 0.08) inset;
}

[data-theme="dark"] .hero-ring-popup-badge:hover {
  background: rgba(24, 25, 32, 0.94);
  border-color: rgba(166, 143, 252, 0.45);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.65), 0 0 20px rgba(166, 143, 252, 0.18);
}

[data-theme="dark"] .hero-ring-popup-badge .popup-badge-text {
  color: #FFFFFF;
}

[data-theme="dark"] .hero-ring-popup-badge .popup-audio-bars .bar {
  background: #A68FFC;
}

[data-theme="dark"] .hero-ring-popup-badge .popup-badge-action {
  background: rgba(166, 143, 252, 0.15);
  color: #A68FFC;
}

[data-theme="dark"] .hero-ring-popup-badge:hover .popup-badge-action {
  background: #A68FFC;
  color: #0C0D12;
}

/* Masquage quand Eko parle */
.hero-eko-stage-frameless.speaking .hero-ring-popup-badge {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, 10px) scale(0.95);
}

/* Bulle vocale éphémère lors de la parole */
.eko-speech-bubble-pop {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 35px -8px rgba(100, 112, 252, 0.35);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  z-index: 10;
  animation: bubblePopIn 0.3s var(--ease-smooth);
  white-space: nowrap;
}

@keyframes bubblePopIn {
  from { opacity: 0; transform: translate(-50%, 10px) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

.eko-pop-wave-anim {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.eko-pop-wave-anim .p-bar {
  width: 3px;
  height: 100%;
  background: var(--ekoa-indigo);
  border-radius: 2px;
  animation: pBarPulse 0.7s infinite ease-in-out alternate;
}

.eko-pop-wave-anim .p-bar:nth-child(2) { animation-delay: 0.2s; }
.eko-pop-wave-anim .p-bar:nth-child(3) { animation-delay: 0.4s; }

@keyframes pBarPulse {
  0% { height: 4px; }
  100% { height: 14px; }
}


/* ==========================================================================
   WIDGET FLOTTANT EN BAS À DROITE & CHATBOT EKO
   ========================================================================== */
.eko-floating-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  top: auto;
  z-index: 9999;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  user-select: none;
}

.eko-floating-widget:hover {
  transform: scale(1.08) translateY(-2px);
}

.eko-dock-pulse-ring {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid var(--ekoa-indigo);
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  animation: dockRingPulse 2.4s infinite ease-out;
  pointer-events: none;
}

@keyframes dockRingPulse {
  0% { transform: translateY(-50%) scale(0.85); opacity: 0.9; }
  100% { transform: translateY(-50%) scale(1.45); opacity: 0; }
}

.eko-dock-bubble-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(24, 24, 34, 0.95), rgba(38, 38, 52, 0.95));
  border: 2px solid var(--ekoa-indigo);
  box-shadow: 0 10px 28px rgba(100, 112, 252, 0.5), inset 0 0 12px rgba(166, 143, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.eko-dock-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(166, 143, 252, 0.6));
  animation: miniRingFloat 3.5s infinite ease-in-out;
}

@keyframes miniRingFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2px) rotate(4deg); }
}

.eko-header-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(166, 143, 252, 0.5));
}

.eko-live-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  background: var(--status-available);
  border: 2px solid #181822;
  border-radius: 50%;
  box-shadow: 0 0 8px var(--status-available);
}

.eko-dock-label-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

/* Proxy d'animation de vol : départ du Hero vers le bas à droite */
.eko-flight-proxy {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  filter: drop-shadow(0 0 25px rgba(100, 112, 252, 0.85)) drop-shadow(0 0 45px rgba(166, 143, 252, 0.45));
  will-change: transform, left, top, width, height, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eko-flight-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(166, 143, 252, 0.6));
}

/* FENÊTRE DU CHATBOT EKO (DOCKÉE EN BAS À DROITE) */
.eko-chatbot-window {
  position: fixed;
  bottom: 96px;
  right: 28px;
  top: auto;
  width: 420px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 110px);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border-card);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: chatWindowPopBottom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

@keyframes chatWindowPopBottom {
  from { opacity: 0; transform: translateY(16px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.eko-chat-header {
  padding: 0.9rem 1.2rem;
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.eko-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eko-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ekoa-indigo), var(--ekoa-lilac));
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(100, 112, 252, 0.4);
}

.mini-orb-glow {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px #FFFFFF;
}

.eko-header-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.eko-header-status {
  font-size: 0.72rem;
  color: var(--status-available);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

.status-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-available);
}

.eko-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.eko-voice-toggle-btn,
.eko-close-chat-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.eko-voice-toggle-btn:hover,
.eko-close-chat-btn:hover {
  color: var(--text-main);
  border-color: var(--ekoa-lavender);
  background: rgba(166, 143, 252, 0.12);
}

/* Zone des messages avec scrollbar Obsidian fluide et sans flèches Windows */
.eko-chat-messages-body {
  flex: 1;
  padding: 1.1rem 1rem 0.85rem 1.1rem;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(166, 143, 252, 0.3) transparent;
}

.eko-chat-messages-body::-webkit-scrollbar {
  width: 5px;
}

.eko-chat-messages-body::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.eko-chat-messages-body::-webkit-scrollbar-track {
  background: transparent;
}

.eko-chat-messages-body::-webkit-scrollbar-thumb {
  background: rgba(166, 143, 252, 0.28);
  border-radius: 10px;
}

.eko-chat-messages-body::-webkit-scrollbar-thumb:hover {
  background: var(--ekoa-lilac);
}

.eko-chat-bubble {
  max-width: 90%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  position: relative;
  word-break: break-word;
}

.eko-chat-bubble.incoming {
  align-self: flex-start;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.eko-chat-bubble.outgoing {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--ekoa-indigo), #3B82F6);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(100, 112, 252, 0.22);
}

.bubble-sender {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ekoa-indigo);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bubble-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.eko-chat-bubble.outgoing .bubble-time {
  color: rgba(255, 255, 255, 0.75);
}

/* Boutons d'actions dans les bulles */
.eko-chat-action-btn-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.eko-chat-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--ekoa-indigo);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.eko-chat-action-btn:hover {
  background: var(--ekoa-indigo);
  color: #FFFFFF;
  border-color: var(--ekoa-indigo);
  transform: translateY(-1px);
}

/* ============================================================================
   ARBORESCENCE & CARTES DE PROPOSITIONS INTERACTIVES EN SVG (PAS D'EMOJIS)
   ============================================================================ */
.eko-chat-quick-prompts {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 4px;
}

.eko-prompts-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 0 4px;
  margin-bottom: 2px;
}

.eko-prompts-label span.active-tag {
  color: var(--ekoa-lavender);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.eko-prompt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: all 0.22s var(--ease-smooth);
}

.eko-prompt-btn:hover {
  background: rgba(166, 143, 252, 0.08);
  border-color: var(--ekoa-lavender);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(100, 112, 252, 0.12);
}

.eko-prompt-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(166, 143, 252, 0.12);
  border: 1px solid rgba(166, 143, 252, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ekoa-lilac);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.eko-prompt-btn:hover .eko-prompt-icon {
  background: var(--ekoa-indigo);
  border-color: var(--ekoa-indigo);
  color: #FFFFFF;
  transform: scale(1.05);
}

.eko-prompt-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eko-prompt-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eko-prompt-desc {
  font-size: 0.70rem;
  color: var(--text-muted);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eko-prompt-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.eko-prompt-btn:hover .eko-prompt-arrow {
  transform: translateX(2px);
  color: var(--ekoa-lilac);
}

.eko-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(166, 143, 252, 0.08);
  border: 1px dashed rgba(166, 143, 252, 0.35);
  color: var(--ekoa-lavender);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}

.eko-back-btn:hover {
  background: rgba(166, 143, 252, 0.18);
  border-color: var(--ekoa-lavender);
  color: #FFFFFF;
  transform: translateX(-2px);
}

.msg-icon-inline {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 6px;
  color: var(--ekoa-lilac);
}

.eko-chat-input-bar {
  padding: 0.8rem 1rem;
  background: var(--bg-surface-subtle);
  border-top: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.eko-chat-input-bar input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 0.6rem 1rem;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
}

.eko-chat-input-bar input:focus {
  border-color: var(--ekoa-lavender);
}

.eko-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ekoa-indigo), #3B82F6);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.eko-send-btn:hover {
  transform: scale(1.08);
}

/* Grille d'atouts du studio */
.features-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s var(--ease-smooth);
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-subtle);
  box-shadow: var(--card-hover-shadow);
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(166, 143, 252, 0.15);
  color: var(--ekoa-lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 2 : CATALOGUE DES VOIX & CASTING
   ========================================================================== */
.casting-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.filter-pill:hover {
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.filter-pill.active {
  background: var(--ekoa-lavender);
  color: #FFFFFF;
  border-color: var(--ekoa-lavender);
  font-weight: 600;
}

.search-input-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  min-width: 280px;
}

.search-input-field input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.92rem;
  width: 100%;
}

/* Grille des comédiens */
.actors-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.actor-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all 0.3s var(--ease-smooth);
}

.actor-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--border-subtle);
}

.actor-card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.actor-avatar-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ekoa-lavender), var(--ekoa-lilac));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}

.actor-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.actor-details-col {
  flex: 1;
}

.actor-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.actor-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.status-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge-pill.disponible {
  background: var(--status-available-bg);
  color: var(--status-available);
}

.status-badge-pill.indisponible {
  background: var(--status-busy-bg);
  color: var(--text-muted);
}

.actor-tessitura-txt {
  font-size: 0.88rem;
  color: var(--ekoa-lavender);
  font-weight: 600;
  margin-top: 2px;
}

.actor-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.actor-tag-item {
  font-size: 0.76rem;
  padding: 2px 10px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* Lecteur audio de la carte */
.actor-demo-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
}

.demo-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ekoa-lavender);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-smooth);
}

.demo-play-btn:hover {
  transform: scale(1.08);
}

.demo-track-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.demo-track-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION 3 : CALCULATEUR DE DEVIS & CHECKBOX UIVERSE
   ========================================================================== */
.devis-main-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.8rem;
  align-items: start;
}

.devis-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--card-shadow);
}

.devis-step-section {
  margin-bottom: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--border-card);
}

.devis-step-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.step-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ekoa-lavender);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-heading {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Grille des types de projets */
.project-formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.format-option-card {
  padding: 16px 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.format-option-card:hover {
  border-color: var(--border-subtle);
  background: var(--bg-surface);
}

.format-option-card.selected {
  background: rgba(166, 143, 252, 0.12);
  border-color: var(--ekoa-lavender);
  font-weight: 600;
}

.format-title {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.format-base {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Slider de mots */
.slider-words-box {
  background: var(--bg-surface-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.slider-words-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.words-number-display {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ekoa-lavender);
}

.duration-calc-display {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.custom-range-bar {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: rgba(166, 143, 252, 0.25);
  outline: none;
  cursor: pointer;
}

.custom-range-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ekoa-lavender);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.custom-range-bar::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* ==========================================================================
   COMPOSANT UIVERSE : CHECKBOX (PriyanshuGupta28 / spicy-starfish-71)
   ========================================================================== */
.options-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.devis-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease-smooth);
}

.devis-option-row:hover {
  border-color: var(--border-subtle);
}

.option-text-info {
  flex: 1;
  padding-right: 14px;
}

.option-main-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.option-sub-details {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.option-rate-pill {
  font-weight: 700;
  color: var(--ekoa-lavender);
  margin-right: 14px;
  font-size: 0.92rem;
}

/* Style exact de la checkbox Uiverse */
.checkbox-wrapper * {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.checkbox-wrapper input[type="checkbox"] {
  display: none;
}

.checkbox-wrapper label {
  --size: 34px;
  --shadow: calc(var(--size) * .07) calc(var(--size) * .1);
  position: relative;
  display: block;
  width: var(--size);
  height: var(--size);
  background-color: var(--ekoa-lavender);
  background-image: linear-gradient(43deg, var(--ekoa-indigo) 0%, var(--ekoa-lavender) 46%, var(--ekoa-lilac) 100%);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s ease transform, 0.2s ease background-color;
  overflow: hidden;
  z-index: 1;
}

.checkbox-wrapper label:before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  width: calc(var(--size) * .7);
  height: calc(var(--size) * .7);
  margin: 0 auto;
  background-color: var(--bg-surface);
  transform: translateY(-50%);
  border-radius: 50%;
  transition: 0.2s ease width, 0.2s ease height;
}

.checkbox-wrapper label:hover:before {
  width: calc(var(--size) * .55);
  height: calc(var(--size) * .55);
}

.checkbox-wrapper .tick_mark {
  position: absolute;
  top: -1px;
  right: 0;
  left: calc(var(--size) * -.05);
  width: calc(var(--size) * .6);
  height: calc(var(--size) * .6);
  margin: 0 auto;
  margin-left: calc(var(--size) * .14);
  transform: rotateZ(-40deg);
}

.checkbox-wrapper .tick_mark:before,
.checkbox-wrapper .tick_mark:after {
  content: "";
  position: absolute;
  background-color: #fff;
  border-radius: 2px;
  opacity: 0;
  transition: 0.2s ease transform, 0.2s ease opacity;
}

.checkbox-wrapper .tick_mark:before {
  left: 0;
  bottom: 0;
  width: calc(var(--size) * .1);
  height: calc(var(--size) * .3);
  transform: translateY(calc(var(--size) * -.68));
}

.checkbox-wrapper .tick_mark:after {
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(var(--size) * .1);
  transform: translateX(calc(var(--size) * .78));
}

.checkbox-wrapper input[type="checkbox"]:checked + label:before {
  width: 0;
  height: 0;
}

.checkbox-wrapper input[type="checkbox"]:checked + label .tick_mark:before,
.checkbox-wrapper input[type="checkbox"]:checked + label .tick_mark:after {
  transform: translate(0);
  opacity: 1;
}

/* ==========================================================================
   CARTE RÉCAPITULATIF DU DEVIS
   ========================================================================== */
.devis-summary-panel {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--card-shadow);
}

.summary-heading {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.summary-ref-tag {
  font-size: 0.78rem;
  color: var(--ekoa-lavender);
  font-weight: 700;
  text-transform: uppercase;
}

.summary-breakdown-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 1.8rem 0;
  padding: 1.2rem 0;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.summary-row.total-line {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 10px;
}

.total-price-large {
  font-size: 1.8rem;
  color: var(--ekoa-lavender);
}

/* ==========================================================================
   COMPOSANT UIVERSE : LOADER 3D (gogo_3618 / slimy-gecko-94)
   ========================================================================== */
.loader-overlay-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}

.loader-overlay-modal.active {
  display: flex;
}

.loader {
  position: relative;
  width: 140px;
  overflow: hidden;
  height: 140px;
  background: #c9d5e0;
  border-radius: 35px;
  transform-style: preserve-3d;
  mix-blend-mode: hard-light;
  box-shadow:
    20px 20px 25px -5px rgba(0, 0, 0, 0.15),
    inset 12px 12px 10px rgba(255, 255, 255, 0.75),
    -12px -12px 25px rgba(255, 255, 255, 0.55),
    inset -1px -1px 10px rgba(0, 0, 0, 0.2);
}

.circle {
  position: absolute;
  inset: 24px;
  background: #acbaca;
  border-radius: 50%;
  transform-style: preserve-3d;
  box-shadow:
    5px 5px 15px 0 #152b4a66,
    inset 5px 5px 5px rgba(255, 255, 255, 0.55),
    -6px -6px 10px rgba(255, 255, 255, 1);
}

.circle::before {
  content: "";
  position: absolute;
  inset: 3px;
  background: linear-gradient(var(--ekoa-indigo), var(--ekoa-lilac));
  mix-blend-mode: color-burn;
  border-radius: 50%;
  animation: animLoader 2s linear infinite;
}

.circle::after {
  content: "";
  position: absolute;
  inset: 18px;
  filter: blur(0.9px);
  background: #acbaca;
  border-radius: 50%;
  z-index: 1000;
}

@keyframes animLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-caption {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* ==========================================================================
   ESPACE DOUBLEUR & WHITELIST
   ========================================================================== */
.actor-portal-box {
  max-width: 720px;
  margin: 0 auto;
}

.whitelist-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(166, 143, 252, 0.12);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control,
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus,
.form-input:focus {
  border-color: var(--ekoa-lavender);
}

.admin-footer-link:hover {
  border-color: var(--ekoa-lavender) !important;
  color: var(--text-main) !important;
  background: rgba(100, 112, 252, 0.12) !important;
  transform: translateY(-1px);
}

.actor-profile-edit-section {
  animation: fadeIn 0.25s ease;
}

/* ==========================================================================
   BARRE DE RECHERCHE DYNAMIQUE SPOTLIGHT (SUPER ÉPURÉE & ULTRA CLEAN)
   ========================================================================== */
.spotlight-search-hero-zone {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 3.5rem auto;
  width: 100%;
}

/* ==========================================================================
   BARRE DE RECHERCHE CASTING STUDIO & ANNUAIRE ÉPURÉ (DESIGN SOBRE, ZÉRO EFFET IA)
   Finition studio professionnel : structure nette 12px, zéro halo néon arc-en-ciel
   ========================================================================== */
.hero-spotlight-wrapper {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 1.6rem auto 2.2rem auto;
  z-index: 20;
}

.studio-search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 6px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.studio-search-bar:focus-within {
  border-color: rgba(0, 0, 0, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .studio-search-bar {
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .studio-search-bar:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
}

.studio-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-right: 10px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.studio-search-bar:focus-within .studio-search-icon {
  color: var(--text-main);
}

.studio-search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 7px 0;
}

.studio-search-input::placeholder {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.studio-search-clear-btn {
  background: rgba(0, 0, 0, 0.06);
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

[data-theme="dark"] .studio-search-clear-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.studio-search-clear-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

/* Filtres directs sous la barre de recherche (Colorés dégradé Ekoa avec transparence / faible opacité) */
.studio-search-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0.95rem;
  flex-wrap: wrap;
}

.studio-search-hints .hint-tag {
  position: relative;
  background: linear-gradient(135deg, rgba(67, 81, 222, 0.14) 0%, rgba(100, 112, 252, 0.15) 35%, rgba(155, 130, 252, 0.16) 70%, rgba(216, 165, 252, 0.14) 100%);
  border: 1px solid rgba(100, 112, 252, 0.28);
  color: #3730A3;
  font-family: inherit;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  cursor: pointer;
  padding: 5px 13px;
  border-radius: 9999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px -2px rgba(100, 112, 252, 0.12);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.22s ease,
              border-color 0.22s ease,
              box-shadow 0.22s ease,
              color 0.22s ease;
  user-select: none;
  white-space: nowrap;
}

.studio-search-hints .hint-tag:hover {
  background: linear-gradient(135deg, rgba(67, 81, 222, 0.26) 0%, rgba(100, 112, 252, 0.28) 35%, rgba(155, 130, 252, 0.30) 70%, rgba(216, 165, 252, 0.25) 100%);
  border-color: rgba(100, 112, 252, 0.55);
  color: #1E1B4B;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(100, 112, 252, 0.25);
}

.studio-search-hints .hint-tag:active {
  transform: translateY(0) scale(0.97);
}

/* Thème Sombre : dégradé Ekoa semi-transparent lumineux et contrasté */
[data-theme="dark"] .studio-search-hints .hint-tag {
  background: linear-gradient(135deg, rgba(67, 81, 222, 0.28) 0%, rgba(94, 114, 250, 0.30) 35%, rgba(155, 130, 252, 0.32) 70%, rgba(216, 165, 252, 0.28) 100%);
  border: 1px solid rgba(166, 143, 252, 0.38);
  color: #FFFFFF;
  box-shadow: 0 3px 12px -2px rgba(0, 0, 0, 0.4), 0 0 12px -4px rgba(100, 112, 252, 0.3);
}

[data-theme="dark"] .studio-search-hints .hint-tag:hover {
  background: linear-gradient(135deg, rgba(67, 81, 222, 0.44) 0%, rgba(94, 114, 250, 0.46) 35%, rgba(155, 130, 252, 0.48) 70%, rgba(216, 165, 252, 0.42) 100%);
  border-color: rgba(166, 143, 252, 0.75);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -3px rgba(0, 0, 0, 0.55), 0 0 20px rgba(166, 143, 252, 0.45);
}

[data-theme="dark"] .studio-search-hints .hint-tag:active {
  transform: translateY(0) scale(0.97);
  background: linear-gradient(135deg, rgba(67, 81, 222, 0.55) 0%, rgba(94, 114, 250, 0.55) 35%, rgba(155, 130, 252, 0.58) 70%, rgba(216, 165, 252, 0.50) 100%);
}

/* ==========================================================================
   VOLET DE RÉSULTATS ÉPURÉ (DESIGN SOBRE, ZÉRO EFFET IA, EXPÉRIENCE FLUIDE)
   ========================================================================== */
.studio-results-panel {
  position: relative;
  width: 100%;
  margin-top: 7px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: searchPanelFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
}

@keyframes searchPanelFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-theme="dark"] .studio-results-panel {
  background: #141518;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}

.search-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-card);
}

.search-panel-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.search-panel-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 3px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.search-panel-close-btn:hover {
  color: var(--text-main);
}

/* Liste des comédiens */
.search-actors-list {
  display: flex;
  flex-direction: column;
  padding: 5px;
  gap: 2px;
}

.search-actor-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  gap: 12px;
}

.search-actor-item:hover {
  background: rgba(0, 0, 0, 0.035);
}

[data-theme="dark"] .search-actor-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.search-actor-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.search-actor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #EEF0F4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-main);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .search-actor-avatar {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
}

.search-actor-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.search-actor-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-actor-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
}

.search-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--status-available);
}

.search-status-badge .search-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.search-status-badge.busy {
  color: var(--text-muted);
}

.search-actor-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.search-actor-meta .meta-sep {
  opacity: 0.5;
}

.search-actor-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  background: #F0F2F6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-listen-btn:hover {
  background: #E2E5EB;
  color: var(--text-main);
}

[data-theme="dark"] .search-listen-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-secondary);
}

[data-theme="dark"] .search-listen-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
}

.search-arrow-icon {
  color: var(--text-muted);
  opacity: 0.5;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.search-actor-item:hover .search-arrow-icon {
  opacity: 1;
  transform: translateX(2px);
}

/* État vide */
.search-empty-state {
  padding: 1.6rem 1rem;
  text-align: center;
}

.search-empty-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.search-empty-action {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Pied du volet de recherche */
.search-panel-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid var(--border-card);
  background: rgba(0, 0, 0, 0.015);
  font-size: 0.75rem;
}

[data-theme="dark"] .search-panel-bottom {
  background: rgba(255, 255, 255, 0.015);
}

.search-view-all-link {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.search-view-all-link:hover {
  color: var(--text-main);
}

.search-esc-shortcut {
  color: var(--text-muted);
  font-size: 0.70rem;
}

/* ==========================================================================
   FILTRES AVANCÉS MULTI-CRITÈRES ("NOS VOIX")
   ========================================================================== */
.casting-filter-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.filter-primary-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-secondary-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-card);
  padding-top: 1rem;
}

.filter-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-label-prefix {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.filter-live-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-indicator-dot.small {
  width: 8px;
  height: 8px;
  background-color: var(--status-available);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--status-available);
}

.search-input-integrated {
  flex: 1;
  min-width: 250px;
}

/* ==========================================================================
   SECTION PROFIL COMÉDIEN (STYLE GAMING / VPICTURES)
   Inspiré directement des 4 captures de l'utilisateur
   ========================================================================== */
.profile-return-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-return-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-return-link:hover {
  color: var(--ekoa-indigo);
  border-color: var(--ekoa-lavender);
  transform: translateX(-3px);
}

.profile-breadcrumb-path {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.profile-breadcrumb-path .sep {
  margin: 0 6px;
}

.profile-breadcrumb-path #breadcrumbActorName {
  color: var(--text-main);
  font-weight: 600;
}

/* BANNER HEADER DU PROFIL (Capture 1) */
.profile-header-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.profile-header-left {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}

/* Avatar avec bordure néon / lueur lumineuse (Capture 1) */
.profile-avatar-glow-box {
  width: 110px;
  height: 110px;
  border-radius: 22px;
  background: linear-gradient(135deg, #181820, #0F0F14);
  border: 2px solid var(--ekoa-indigo);
  box-shadow: 0 0 25px rgba(100, 112, 252, 0.45), inset 0 0 15px rgba(100, 112, 252, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.profile-avatar-glow-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.profile-avatar-letter {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #A6C7FC, #6470FC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.profile-header-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-stage-name {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
}

.profile-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.profile-pill-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}

.profile-pill-badge.highlight {
  background: rgba(100, 112, 252, 0.12);
  color: var(--ekoa-indigo);
  border-color: rgba(100, 112, 252, 0.3);
}

.profile-pill-badge.whitelist {
  background: rgba(16, 185, 129, 0.12);
  color: var(--status-available);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Mini cercles de rôles (Capture 1) */
.profile-universe-dots-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.profile-role-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.profile-role-dot:hover {
  transform: scale(1.15);
  border-color: var(--ekoa-lavender);
}

.profile-rating-trophies-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.trophies-icons {
  color: #F59E0B;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 1rem;
}

/* Bloc d'actions et compteur droit (Capture 1) */
.profile-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  flex-shrink: 0;
}

.profile-stat-counter-box {
  text-align: right;
}

.profile-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-trend-arrow {
  color: var(--ekoa-indigo);
  font-size: 1.4rem;
  font-weight: 700;
  vertical-align: super;
}

.profile-stat-sublabel {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-book-actor-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--ekoa-indigo), #3B82F6);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px -6px rgba(59, 130, 246, 0.4);
  transition: all 0.25s var(--ease-smooth);
  width: 100%;
}

.btn-book-actor-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(59, 130, 246, 0.55);
}

.profile-subactions-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-subaction-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.profile-subaction-btn:hover {
  background: var(--bg-surface);
  border-color: var(--ekoa-lavender);
  color: var(--text-main);
}

.profile-subaction-btn.active-fav {
  color: #EF4444;
  border-color: #EF4444;
}

/* LAYOUT 2 COLONNES DU PROFIL */
.profile-two-columns-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.profile-main-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profile-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--card-shadow);
}

.profile-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* SHOWCASE VIDÉO / AUDIO (Captures 1 & 2) */
.showcase-player-box {
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  color: #FFFFFF;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.showcase-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.showcase-badge-studio {
  background: rgba(100, 112, 252, 0.25);
  color: #A6C7FC;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.showcase-track-headline {
  font-size: 1.05rem;
  font-weight: 700;
}

.showcase-visualizer-container {
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 1rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.showcase-v-bar {
  width: 4px;
  height: 15px;
  background: #4B5563;
  border-radius: 2px;
  transition: height 0.15s ease, background-color 0.2s ease;
}

.showcase-player-box.playing .showcase-v-bar {
  background: linear-gradient(180deg, var(--ekoa-lilac), var(--ekoa-indigo));
  animation: waveDance 1.2s infinite ease-in-out alternate;
}

.showcase-player-box.playing .showcase-v-bar:nth-child(2n) { animation-delay: 0.15s; }
.showcase-player-box.playing .showcase-v-bar:nth-child(3n) { animation-delay: 0.3s; }
.showcase-player-box.playing .showcase-v-bar:nth-child(4n) { animation-delay: 0.45s; }

@keyframes waveDance {
  0% { height: 8px; }
  50% { height: 48px; }
  100% { height: 16px; }
}

.showcase-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.showcase-play-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ekoa-indigo), #3B82F6);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transition: transform 0.2s ease;
}

.showcase-play-btn:hover {
  transform: scale(1.08);
}

.showcase-time-info {
  font-size: 0.85rem;
  color: #9CA3AF;
  font-family: monospace;
}

/* GALERIE DE RÔLES & PROJETS (Capture 2) */
.roles-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.role-gallery-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.role-gallery-card:hover {
  border-color: var(--ekoa-lavender);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -8px rgba(100, 112, 252, 0.18);
}

.role-tag-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ekoa-indigo);
  background: rgba(100, 112, 252, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.role-project-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.3;
}

.role-character-name {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* SECTION AVIS & TÉMOIGNAGES (Captures 3 & 4) */
.reviews-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.share-links-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-link-chip {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-link-chip:hover {
  border-color: var(--ekoa-lavender);
  color: var(--text-main);
}

/* FORMULAIRE DE NOTATION (Capture 3) */
.review-compose-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-bottom: 2rem;
}

.review-compose-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.review-compose-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.rate-stars-picker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  cursor: pointer;
}

.rate-trophy-star {
  color: var(--text-muted);
  transition: color 0.15s ease, transform 0.15s ease;
}

.rate-trophy-star.active,
.rate-trophy-star:hover {
  color: #F59E0B;
  transform: scale(1.15);
}

.review-textarea-field {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
  resize: vertical;
  min-height: 90px;
  outline: none;
  margin-bottom: 0.8rem;
}

.review-textarea-field:focus {
  border-color: var(--ekoa-lavender);
}

.review-actions-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.review-security-mention {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* LISTE DES AVIS (Capture 4) */
.reviews-feed-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.review-single-item {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  transition: border-color 0.2s ease;
}

.review-single-item.pinned-official {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.03);
}

.review-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.review-author-badge.official-label {
  color: #EA580C;
}

.review-date-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-text-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* RÉPONSE DU COMÉDIEN / PROPRIÉTAIRE (Capture 4) */
.review-owner-reply-box {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border-left: 3px solid var(--ekoa-indigo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.reply-header-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ekoa-indigo);
  margin-bottom: 4px;
}

.reply-body-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* SIDEBAR DU PROFIL (Captures 1 & 2) */
.sidebar-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.9rem;
}

.sidebar-stat-row:last-child {
  border-bottom: none;
}

.sidebar-stat-label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-stat-value {
  font-weight: 700;
  color: var(--text-main);
}

/* SCORE DE CRÉDIBILITÉ (Capture 1) */
.credibility-lock-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.8rem;
}

.credibility-lock-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(100, 112, 252, 0.12);
  border: 1px solid var(--ekoa-indigo);
  color: var(--ekoa-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credibility-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-surface-subtle);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 6px;
}

.credibility-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--ekoa-indigo), #10B981);
}

/* LIENS SIDEBAR (Capture 1 & 2) */
.sidebar-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}

.sidebar-link-item:hover {
  border-color: var(--ekoa-lavender);
  background: var(--bg-surface);
  transform: translateX(3px);
}

.sidebar-link-item:last-child {
  margin-bottom: 0;
}

/* TOP SUPPORTERS (Capture 2) */
.top-supporters-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(100, 112, 252, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.top-supporters-medal {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.top-supporters-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.top-supporters-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SUPPORT & CONTACT
   ========================================================================== */
.support-grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: start;
}

/* ============================================================================
   BOUTON D'ENVOI ANIMÉ DU MAIL (UIVERSE.IO PAR ADAM GIEBL)
   ============================================================================ */
.btn-uiverse-send {
  font-family: inherit;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #4F46E5, #3B82F6);
  color: #FFFFFF;
  padding: 0.8em 1.7em;
  padding-left: 1.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s var(--ease-smooth);
  cursor: pointer;
  box-shadow: 0 8px 24px -6px rgba(99, 102, 241, 0.45);
  position: relative;
  min-width: 190px;
}

.btn-uiverse-send span {
  display: block;
  margin-left: 0.45em;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

.btn-uiverse-send svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
  flex-shrink: 0;
}

.btn-uiverse-send:hover,
.btn-uiverse-send:focus-visible {
  box-shadow: 0 12px 30px -4px rgba(99, 102, 241, 0.6);
  background: linear-gradient(135deg, #4338CA, #2563EB);
}

.btn-uiverse-send:hover .svg-wrapper,
.btn-uiverse-send:focus-visible .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.btn-uiverse-send:hover svg,
.btn-uiverse-send:focus-visible svg {
  transform: translateX(2.6em) rotate(45deg) scale(1.15);
}

.btn-uiverse-send:hover span,
.btn-uiverse-send:focus-visible span {
  transform: translateX(9em);
  opacity: 0;
}

.btn-uiverse-send:active {
  transform: scale(0.95);
}

@keyframes fly-1 {
  from {
    transform: translateY(0.12em);
  }
  to {
    transform: translateY(-0.12em);
  }
}

/* FOOTER ÉPURÉ */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-card);
  margin-top: 4rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons-row {
    justify-content: center;
  }
  .features-trio-grid {
    grid-template-columns: 1fr;
  }
  .devis-main-layout {
    grid-template-columns: 1fr;
  }
  .support-grid-two-cols {
    grid-template-columns: 1fr;
  }
  .profile-two-columns-grid {
    grid-template-columns: 1fr;
  }
  .profile-header-banner-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-header-right {
    align-items: flex-start;
    width: 100%;
  }
  .profile-stat-counter-box {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .project-formats-grid {
    grid-template-columns: 1fr;
  }
  .filter-primary-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .search-input-integrated {
    width: 100%;
  }
}

/* ==============================================================================
   SECTION ACTUALITÉS & SORTIES DE PROJETS (STYLE OBSIDIAN / LAVANDE)
   ============================================================================== */
.news-section-container {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.news-filter-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.news-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9999px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease-smooth);
}

.news-filter-pill:hover {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  color: var(--text-main);
  transform: translateY(-1px);
}

.news-filter-pill.active {
  background: rgba(100, 112, 252, 0.14);
  border-color: rgba(100, 112, 252, 0.4);
  color: var(--ekoa-lavender);
  box-shadow: 0 0 16px rgba(100, 112, 252, 0.15);
}

.news-filter-pill .pill-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.news-filter-pill:hover .pill-svg-icon {
  color: var(--ekoa-lilac);
  transform: scale(1.1);
}

.news-filter-pill.active .pill-svg-icon {
  color: var(--ekoa-lavender);
}

.studio-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 1.8rem;
}

@media (max-width: 640px) {
  .studio-news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.news-card:hover {
  border-color: rgba(100, 112, 252, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.news-card-studio {
  background: linear-gradient(180deg, rgba(100, 112, 252, 0.05) 0%, var(--bg-card) 100%);
  border-color: rgba(100, 112, 252, 0.25);
}

.news-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  gap: 12px;
}

.news-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--ekoa-lavender), var(--ekoa-lilac));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1.5px solid var(--border-subtle);
}

.news-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-avatar-placeholder {
  font-weight: 700;
  color: #FFFFFF;
  font-size: 1.1rem;
}

.news-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.news-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  text-decoration: none;
}

.news-author-name.actor-link {
  transition: color 0.18s;
}

.news-author-name.actor-link:hover {
  color: var(--ekoa-lavender);
}

.news-author-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.news-author-badge.studio {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #F59E0B;
}

.news-author-badge.actor {
  background: rgba(100, 112, 252, 0.12);
  border: 1px solid rgba(100, 112, 252, 0.3);
  color: var(--ekoa-lavender);
}

.news-date-txt {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.news-category-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.news-card-media {
  width: calc(100% + 3.6rem);
  margin: 0 -1.8rem 1.4rem -1.8rem;
  max-height: 240px;
  overflow: hidden;
  background: #000;
}

.news-card-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}

.news-card:hover .news-card-media img {
  transform: scale(1.03);
}

.news-card-body {
  flex: 1;
  margin-bottom: 1.4rem;
}

.news-title {
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.news-content-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.news-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-card);
  display: flex;
  justify-content: flex-end;
}

.news-action-btn {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   RÉSEAUX SOCIAUX & LIENS PUBLICS DES COMÉDIENS (V2)
   ========================================================================== */
.actor-socials-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.actor-social-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  transition: border-color 0.2s ease;
}

.actor-social-input-row:focus-within {
  border-color: var(--ekoa-lavender);
}

.social-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.social-check-custom {
  width: 17px;
  height: 17px;
  accent-color: var(--ekoa-indigo);
  cursor: pointer;
}

.social-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 115px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--bg-surface-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  white-space: nowrap;
}

.social-brand-badge svg {
  flex-shrink: 0;
}

.social-brand-badge.instagram { color: #E1306C; }
.social-brand-badge.twitter { color: var(--text-main); }
.social-brand-badge.youtube { color: #EF4444; }
.social-brand-badge.tiktok { color: #22D3EE; }
.social-brand-badge.discord { color: #818CF8; }
.social-brand-badge.linkedin { color: #38BDF8; }
.social-brand-badge.website { color: var(--ekoa-lavender); }

/* Rangée de badges sociaux sur le profil public (Capture 1) */
.profile-socials-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.profile-social-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.profile-social-chip svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.profile-social-chip:hover {
  transform: translateY(-2px);
  background: var(--bg-card);
  color: var(--text-main);
}

.profile-social-chip:hover svg {
  transform: scale(1.15);
}

.profile-social-chip.instagram:hover {
  border-color: rgba(225, 48, 108, 0.45);
  color: #E1306C;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.2);
}

.profile-social-chip.twitter:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.12);
}

.profile-social-chip.youtube:hover {
  border-color: rgba(239, 68, 68, 0.45);
  color: #EF4444;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.2);
}

.profile-social-chip.tiktok:hover {
  border-color: rgba(34, 211, 238, 0.45);
  color: #22D3EE;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.2);
}

.profile-social-chip.discord:hover {
  border-color: rgba(129, 140, 248, 0.45);
  color: #818CF8;
  box-shadow: 0 4px 14px rgba(129, 140, 248, 0.2);
}

.profile-social-chip.linkedin:hover {
  border-color: rgba(56, 189, 248, 0.45);
  color: #38BDF8;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.2);
}

.profile-social-chip.website:hover {
  border-color: var(--ekoa-lavender);
  color: var(--ekoa-lavender);
  box-shadow: 0 4px 14px rgba(100, 112, 252, 0.2);
}

/* ==========================================================================
   SYSTÈME D'AUTHENTIFICATION UTILISATEUR, OAUTH (GOOGLE) & DOUBLE AUTH (2FA)
   ========================================================================== */

/* Bouton Connexion dans la barre de navigation */
.btn-nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 7px 15px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease-smooth);
}

.btn-nav-auth:hover {
  background: var(--bg-surface);
  border-color: var(--ekoa-lavender);
  color: var(--accent-lavender);
  box-shadow: 0 0 14px rgba(100, 112, 252, 0.18);
  transform: translateY(-1px);
}

/* Menu Profil Utilisateur Connecté dans la navbar */
.nav-user-menu-container {
  position: relative;
  display: inline-block;
}

.nav-user-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  padding: 4px 12px 4px 5px;
  border-radius: var(--radius-full);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-user-profile-btn:hover {
  background: var(--bg-surface);
  border-color: var(--ekoa-lavender);
  box-shadow: 0 0 14px rgba(100, 112, 252, 0.16);
}

.nav-user-avatar-circle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ekoa-lavender), var(--ekoa-lilac));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-user-name-display,
.nav-user-display-name {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap !important;
  line-height: 1;
  display: inline-block;
}

.nav-2fa-status-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
  flex-shrink: 0;
  display: inline-block;
}

.nav-2fa-status-dot.active {
  background: #22C55E;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.nav-user-chevron-svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-user-dropdown-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

/* Carte Dropdown du menu utilisateur */
.nav-user-dropdown-card {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(100, 112, 252, 0.12);
  display: none;
  flex-direction: column;
  z-index: 1000;
  animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-dropdown-header,
.nav-user-dropdown-header {
  padding: 8px 8px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-full-name,
.dropdown-header-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.2;
}

.dropdown-user-email,
.dropdown-header-email {
  font-size: 0.76rem;
  color: var(--text-muted);
  word-break: break-all;
  line-height: 1.2;
}

.dropdown-security-badge,
.dropdown-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
  width: fit-content;
}

.nav-dropdown-divider,
.dropdown-divider {
  height: 1px;
  background: var(--border-card);
  margin: 6px 0;
  border: none;
}

.nav-dropdown-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-item,
.dropdown-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.nav-dropdown-item:hover,
.dropdown-menu-item:hover {
  background: var(--bg-surface-subtle);
  color: var(--text-main);
}

.nav-dropdown-item svg,
.dropdown-menu-item svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  min-height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.nav-dropdown-item:hover svg,
.dropdown-menu-item:hover svg {
  color: var(--accent-lavender);
}

.nav-dropdown-item.danger,
.dropdown-logout-btn {
  color: #EF4444;
}

.nav-dropdown-item.danger:hover,
.dropdown-logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.nav-dropdown-item.danger svg,
.dropdown-logout-btn svg {
  color: #EF4444;
}

.badge-2fa-pill {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.badge-2fa-pill.active {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
}

/* Modales d'Authentification & Profil */
.global-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 9, 14, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.global-modal-overlay.open {
  display: flex;
}

.global-modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(100, 112, 252, 0.15);
  overflow: hidden;
  animation: modalScaleUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.global-modal-header {
  padding: 1.4rem 1.6rem 1rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-card);
}

.global-modal-body {
  padding: 1.6rem;
  overflow-y: auto;
}

/* Bouton Social Google Officiel */
.btn-social-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  margin-bottom: 1.2rem;
}

.btn-social-google:hover {
  background: var(--bg-surface);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.auth-separator-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 1.2rem 0;
}

.auth-separator-divider::before,
.auth-separator-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-card);
}

.auth-separator-divider span {
  padding: 0 10px;
}

/* Onglets d'authentification */
.auth-switch-tabs {
  display: flex;
  background: var(--bg-surface-subtle);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 1.4rem;
}

.auth-switch-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer !important;
  pointer-events: auto !important;
  user-select: none;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
}

.auth-switch-tab-btn:hover {
  color: var(--text-main);
}

.auth-switch-tab-btn.active {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Sélection de compte Google fluide et élégante */
.google-account-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  margin-bottom: 6px;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.google-account-choice:hover {
  background: rgba(100, 112, 252, 0.14);
  border-color: rgba(100, 112, 252, 0.3);
}

.google-avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #6470FC;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Boîte 2FA TOTP */
.two-factor-setup-box {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-top: 1rem;
}

.two-factor-qr-wrap {
  width: 170px;
  height: 170px;
  margin: 1rem auto;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.two-factor-qr-wrap img {
  width: 100%;
  height: 100%;
  display: block;
}

.secret-key-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--accent-lavender);
  margin: 10px 0;
}

.backup-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.backup-code-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  text-align: center;
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   TOAST NOTIFICATION MODERNE (EKOA NOTIFIER)
   ========================================================================== */
.ekoa-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.ekoa-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ekoa-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ekoa-toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

.ekoa-toast.success .ekoa-toast-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.ekoa-toast-body {
  flex: 1;
}

.ekoa-toast-title {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 2px;
  color: #f8fafc;
}

.ekoa-toast-desc {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* ==============================================================================
   MENU HAMBURGER MOBILE & TIROIR DE NAVIGATION (RESPONSIVE)
   ============================================================================== */
.mobile-hamburger-btn {
  display: none;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  transition: all 0.2s ease;
  z-index: 101;
}

.mobile-hamburger-btn:hover {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
}

.mobile-nav-drawer.open {
  visibility: visible;
  opacity: 1;
}

.mobile-nav-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-nav-content {
  position: relative;
  z-index: 2;
  width: 82%;
  max-width: 340px;
  height: 100%;
  background: #0E1017;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

.mobile-nav-drawer.open .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-logo {
  height: 32px;
  width: auto;
}

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: #CBD5E1;
  text-decoration: none;
  font-family: var(--font-outfit);
  font-size: 1.05rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-lavender);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.mobile-nav-footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==============================================================================
   CALENDRIER INTERACTIF DU DOUBLEUR & CLIENT (DASHBOARD & FICHE COMÉDIEN)
   ============================================================================== */
.actor-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 1rem;
}

.calendar-header-day {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 8px 4px;
}

.calendar-day-cell {
  position: relative;
  min-height: 72px;
  padding: 8px 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.calendar-day-cell:hover:not(.disabled):not(.empty) {
  border-color: var(--accent-lavender);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.calendar-day-cell.empty {
  background: transparent;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
}

.calendar-day-cell.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.2);
}

.calendar-day-number {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.calendar-day-cell.today .calendar-day-number {
  color: var(--accent-lavender);
  text-decoration: underline;
}

.calendar-day-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Statuts disponibles */
.calendar-day-cell.available {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.2);
}
.calendar-day-cell.available .calendar-day-status {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}

/* Statuts indisponibles */
.calendar-day-cell.unavailable {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}
.calendar-day-cell.unavailable .calendar-day-status {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
}

/* Statuts réservés Stripe */
.calendar-day-cell.booked {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.4);
}
.calendar-day-cell.booked .calendar-day-status {
  background: rgba(139, 92, 246, 0.25);
  color: #C4B5FD;
}

/* Sélection Client */
.calendar-day-cell.selected {
  border-color: #8B5CF6 !important;
  background: rgba(139, 92, 246, 0.25) !important;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}

/* ==============================================================================
   SECTION DE RÉSERVATION STRIPE SUR LA FICHE DU COMÉDIEN
   ============================================================================== */
.booking-studio-card {
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, var(--bg-card) 100%) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.booking-formula-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 1.25rem 0;
}

.booking-formula-card {
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-card);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.booking-formula-card:hover {
  border-color: var(--accent-lavender);
  transform: translateY(-2px);
}

.booking-formula-card.selected {
  background: rgba(139, 92, 246, 0.15);
  border-color: #8B5CF6;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
}

.booking-formula-card .formula-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.booking-formula-card .formula-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.booking-formula-card .formula-price {
  font-family: var(--font-outfit);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-lavender);
}

/* ==============================================================================
   OVERRIDE RESPONSIVE GLOBAL MOBILE (360px - 768px)
   ============================================================================== */
@media (max-width: 860px) {
  .mobile-hamburger-btn {
    display: flex !important;
  }
  .nav-menu {
    display: none !important;
  }
  .volume-control-box {
    display: none !important;
  }
  .actor-calendar-grid {
    gap: 4px;
  }
  .calendar-day-cell {
    min-height: 56px;
    padding: 4px 2px;
  }
  .calendar-day-number {
    font-size: 0.82rem;
  }
  .calendar-day-status {
    font-size: 0.58rem;
    padding: 1px 2px;
  }
}

@media (max-width: 640px) {
  .profile-two-columns-grid {
    grid-template-columns: 1fr !important;
  }
  .actor-portal-box {
    padding: 1.25rem !important;
  }
  .auth-card {
    padding: 1.25rem !important;
  }
  .actor-card-actions {
    flex-direction: column !important;
  }
  .actor-card-actions .btn {
    width: 100% !important;
  }
  .booking-formula-picker {
    grid-template-columns: 1fr;
  }
  .hero-buttons-row {
    flex-direction: column !important;
    width: 100%;
  }
  .hero-buttons-row .btn {
    width: 100% !important;
  }
  .profile-header-banner-card {
    padding: 1.25rem !important;
  }
  .profile-subactions-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
  }
  .profile-subaction-btn {
    justify-content: center !important;
  }
}

/* ==============================================================================
   BOUTONS DE STATUT RAPIDE & GESTION DES JOURS OFF (ESPACE DOUBLEUR)
   ============================================================================== */
.dash-status-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dash-status-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent-lavender);
  color: var(--text-main);
}
.dash-status-btn.active.status-disponible {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10B981;
  color: #34D399;
}
.dash-status-btn.active.status-indisponible {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #F87171;
}
.dash-status-btn.active.status-en_conges {
  background: rgba(245, 158, 11, 0.2);
  border-color: #F59E0B;
  color: #FBBF24;
}
.dash-status-btn.active.status-en_session {
  background: rgba(139, 92, 246, 0.2);
  border-color: #8B5CF6;
  color: #C4B5FD;
}

.scheduled-off-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  gap: 10px;
  flex-wrap: wrap;
}
.scheduled-off-item .btn-unblock {
  padding: 4px 10px;
  font-size: 0.76rem;
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.scheduled-off-item .btn-unblock:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #EF4444;
}
