/* Charte commune Peexels Studio. Aucun effet sur les dimensions des canvas. */
:root {
  --studio-bg: #070912;
  --studio-text: #eaf0ff;
  --studio-muted: #aab5cf;
  --studio-cyan: #61e6ef;
  --studio-purple: #b28bfb;
  --studio-pink: #f697d9;
  --studio-line: #b9c8ff24;
  --studio-glass: #141a2ab3;
  --studio-radius: 22px;
  --studio-font: "Segoe UI", system-ui, sans-serif;
  --studio-shadow: 0 24px 80px #00000035, inset 0 1px 0 #ffffff0c;
}
.studio-app {
  margin: 0;
  color: var(--studio-text);
  font: 16px/1.65 var(--studio-font);
  color-scheme: dark;
  background:
    radial-gradient(ellipse at 8% 0%, #173a4b38, transparent 36rem),
    radial-gradient(ellipse at 95% 22%, #45306832, transparent 48rem),
    var(--studio-bg);
  -webkit-font-smoothing: antialiased;
}
.studio-app *,
.studio-app *::before,
.studio-app *::after {
  box-sizing: border-box;
}
.studio-shell {
  max-width: 1280px;
  margin-inline: auto;
  padding: 1.5rem 2rem 4rem;
}
.studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--studio-line);
  border-radius: 999px;
  background: #0e1422c4;
  backdrop-filter: blur(24px) saturate(125%);
  box-shadow: var(--studio-shadow);
}
.studio-brand {
  color: var(--studio-text);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-decoration: none;
}
.studio-brand::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.75rem;
  background: var(--studio-cyan);
  box-shadow: 0 0 16px #61e6ef88;
}
.studio-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}
.studio-nav a {
  color: var(--studio-muted);
  text-decoration: none;
  font-size: 0.88rem;
}
.studio-nav a:hover,
.studio-nav a[aria-current="page"] {
  color: var(--studio-text);
}
.studio-main {
  padding-top: 3rem;
}
.studio-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius);
  background:
    linear-gradient(145deg, #ffffff08, #ffffff00 60%), var(--studio-glass);
  backdrop-filter: blur(22px) saturate(115%);
  box-shadow: var(--studio-shadow);
}
.studio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border: 1px solid #defbff;
  border-radius: 999px;
  background: #eaf6ff;
  color: #0a1120;
  font: 650 0.92rem/1.35 var(--studio-font);
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background-color 0.18s;
}
.studio-button:hover {
  background: #dbfbff;
  border-color: var(--studio-cyan);
  box-shadow:
    0 0 0 4px #61e6ef0c,
    0 0 25px #61e6ef15;
  text-decoration: none;
}
.studio-button-secondary {
  color: var(--studio-text);
  background: #ffffff05;
  border-color: #b9c8ff38;
}
.studio-button-secondary:hover {
  color: var(--studio-text);
  background: #61e6ef0c;
}
.studio-button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.studio-field {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}
.studio-field label,
label.studio-field {
  color: var(--studio-muted);
  font-size: 0.87rem;
}
.studio-field input,
.studio-field select,
.studio-field textarea,
input.studio-field,
select.studio-field,
textarea.studio-field {
  width: 100%;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border: 1px solid #b9c8ff38;
  border-radius: 12px;
  background: #080d19c4;
  color: var(--studio-text);
  font: inherit;
}
.studio-field input:hover,
.studio-field select:hover,
.studio-field textarea:hover {
  border-color: #b9c8ff60;
}
.studio-eyebrow {
  color: var(--studio-cyan);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.studio-muted {
  color: var(--studio-muted);
}
.studio-error {
  color: #ffc1ce;
}
.studio-app :focus-visible,
.studio-pleeage :focus-visible {
  outline: 2px solid var(--studio-cyan);
  outline-offset: 4px;
}
.studio-app [hidden] {
  display: none !important;
}
/* Pleeage : le moteur et le cadre de sa scène restent intacts. */
.studio-pleeage {
  --panneau: #101626eb;
  --panneau-bord: #b9c8ff30;
  --texte: var(--studio-text);
  --texte-2: #d5def4;
  --texte-3: #afbcd9;
  --violet-clair: #b7b9ff;
  --magenta-clair: var(--studio-pink);
  --trait: var(--studio-line);
  --police: var(--studio-font);
}
.studio-pleeage .panneau {
  background: linear-gradient(150deg, #ffffff06, #ffffff00 70%), var(--panneau);
  border-color: var(--panneau-bord);
  box-shadow: var(--studio-shadow);
  backdrop-filter: blur(24px) saturate(120%);
}
.studio-pleeage .panneau .entete {
  border-bottom-color: #61e6ef29;
}
.studio-pleeage .bouton:hover,
.studio-pleeage .icone:hover {
  border-color: #61e6ef55;
  box-shadow: 0 0 18px #61e6ef0c;
}
@media (max-width: 700px) {
  .studio-shell {
    padding: 1rem 1rem 2rem;
  }
  .studio-header {
    border-radius: 20px;
    padding: 1rem;
  }
  .studio-nav {
    gap: 1rem;
  }
  .studio-main {
    padding-top: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .studio-app *,
  .studio-app *::before,
  .studio-app *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
