/* ========================================
   Design System – Sorcière Blanche Éditions
   ======================================== */

:root {
  /* Palette officielle */
  --creme: #F5E8D3;
  --emeraude: #2A4B3D;
  --cuivre: #B87333;
  --amethyste: #6B3E75;

  /* Variations utiles */
  --creme-dark: #EDE0C8;
  --texte: #2A4B3D;
  --texte-clair: #F5E8D3;
}

/* Reset léger */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background-color: var(--creme);
  color: var(--texte);
  line-height: 1.6;
  min-height: 100vh;
}

/* Typographies */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--amethyste);
}

.subtitle {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.04em;
}

/* Liens */
a {
  color: var(--cuivre);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--amethyste);
}

/* Utilitaires */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}
/* ========================================
   lite-youtube-embed – Intégration légère
   ======================================== */
lite-youtube {
  background-color: #2A4B3D;
  position: relative;
  display: block;
  contain: content;
  background-position: center center;
  background-size: cover;
  cursor: pointer;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 8px;
  border: 2px solid #B87333;
}

/* Dégradé pour le bouton play */
lite-youtube::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5OmbwAAAABJRU5ErkJggg==);
  background-position: top;
  background-repeat: repeat-x;
  height: 60px;
  padding-bottom: 50px;
  width: 100%;
  transition: all 0.2s ease;
}

/* Play button */
lite-youtube::after {
  content: '';
  display: block;
  padding-bottom: calc(100% / (16 / 9));
}

lite-youtube > iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
}

/* Bouton play en CSS */
lite-youtube > .lty-playbtn {
  width: 70px;
  height: 46px;
  background-color: #6B3E75;
  z-index: 1;
  opacity: 0.9;
  border-radius: 14% / 20%;
  border: 2px solid #B87333;
  transition: all 0.2s ease;
}

lite-youtube > .lty-playbtn::before {
  content: '';
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #F5E8D3;
}

lite-youtube:hover > .lty-playbtn {
  background-color: #B87333;
  transform: scale(1.1);
}

lite-youtube.lyt-activated {
  cursor: unset;
}

lite-youtube.lyt-activated::before,
lite-youtube.lyt-activated > .lty-playbtn {
  opacity: 0;
  pointer-events: none;
}