/* Julie — Editorial Design System (faithful to Julie_Concept_produit_et_strategie_FR.pdf) */

:root {
  /* Core Palette */
  --bg-dark: #2D1E38;
  --bg-dark-elevated: #3B2444;
  --bg-dark-soft: #432B4F;
  --bg-cream: #FFF9F2;
  --bg-cream-alt: #FAF2EA;
  --bg-blush: #F6D7DF;
  --bg-blush-soft: #FBE9EE;
  --bg-lavender: #DDD1F2;
  --bg-lavender-soft: #EAE1F8;
  --bg-mauve-soft: #F3EAF5;
  --bg-peach: #F2CDB2;
  --bg-peach-soft: #F8E3D3;

  /* Accents */
  --accent-rose: #D98A9E;
  --accent-rose-deep: #B56078;
  --accent-violet: #674680;
  --accent-lilac: #B9A0DC;
  --accent-teal-link: #2E6A75;

  /* Ink */
  --ink-dark: #23182B;
  --ink-body: #4E4059;
  --ink-muted: #6C5D78;
  --ink-light: #FFF9F2;
  --ink-light-body: #DDD2E6;
  --ink-light-muted: #B6A6C4;

  /* Hairlines & Borders */
  --rule-light: rgba(59, 36, 68, 0.14);
  --rule-strong: rgba(59, 36, 68, 0.24);
  --rule-dark: rgba(255, 249, 242, 0.18);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 12px 36px rgba(35, 24, 43, 0.08);
  --shadow-phone: 0 24px 60px rgba(20, 12, 28, 0.34);
  --shadow-card: 0 4px 18px rgba(45, 30, 56, 0.06);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-mid: 280ms;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-cream);
  color: var(--ink-dark);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-rose);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-violet);
}

.dark-section .eyebrow,
.eyebrow-light {
  color: var(--ink-light-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--bg-dark-elevated);
  color: var(--ink-light);
}

.btn-primary:hover {
  background: #4C3057;
}

.btn-light {
  background: var(--bg-cream);
  color: var(--ink-dark);
}

.btn-light:hover {
  background: var(--bg-blush);
}

.btn-blush {
  background: var(--bg-blush);
  color: var(--ink-dark);
}

.btn-blush:hover {
  background: #F0C4D0;
}

.btn-lavender {
  background: var(--bg-lavender);
  color: var(--ink-dark);
}

.btn-lavender:hover {
  background: #D0C0EC;
}

.btn-ghost {
  background: transparent;
  border-color: var(--rule-strong);
  color: var(--ink-dark);
}

.btn-ghost:hover {
  background: rgba(59, 36, 68, 0.06);
}

.btn-ghost-light {
  background: transparent;
  border-color: var(--rule-dark);
  color: var(--ink-light);
}

.btn-ghost-light:hover {
  background: rgba(255, 249, 242, 0.09);
}

.btn-danger {
  background: #8B2F4A;
  color: var(--ink-light);
}

.btn-danger:hover {
  background: #A03655;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-xs {
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 7px;
}

.btn-full {
  width: 100%;
}

/* Pills & Badges */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
}

.pill-blush {
  background: var(--bg-blush);
  color: var(--ink-dark);
}

.pill-lavender {
  background: var(--bg-lavender);
  color: var(--ink-dark);
}

.pill-dark {
  background: var(--bg-dark-elevated);
  color: var(--ink-light);
}

.pill-peach {
  background: var(--bg-peach);
  color: var(--ink-dark);
}

.pill-mauve {
  background: var(--bg-mauve-soft);
  color: var(--ink-dark);
}

.pill-rose {
  background: var(--accent-rose);
  color: var(--ink-dark);
}

.pill-outline {
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink-body);
}

/* Geometric Photo Art (matching slides 3, 5, 8, 11) */
.scene-art {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-blush);
}

.scene-art.variant-lavender { background: var(--bg-lavender); }
.scene-art.variant-peach { background: var(--bg-peach); }
.scene-art.variant-mauve { background: var(--bg-mauve-soft); }

.scene-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}

.toast {
  background: var(--bg-dark);
  color: var(--ink-light);
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 14px 36px rgba(25, 14, 34, 0.32);
  border: 1px solid rgba(255, 249, 242, 0.12);
  animation: toastIn 220ms var(--ease);
}

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

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .toast-container { left: 16px; right: 16px; bottom: 82px; max-width: none; }
}
