/*
Theme Name: Bibliothèque Rouge
Theme URI: https://mediatheque2.museedelamagie.com
Description: Thème enfant de La Bibliothèque Rouge — Musée de la Magie
Author: Musée de la Magie
Template: blocksy
Version: 1.0.0
Text Domain: bibliotheque-rouge
*/

/* ── Variables palette ── */
:root {
  --rouge:       #730000;
  --rouge-fonce: #5A0000;
  --rouge-clair: #8B1A1A;
  --or:          #D4A857;
  --or-clair:    #E8C078;
  --beige:       #DCC39C;
  --beige-pale:  #F5E8D5;
  --texte-clair: #FFF5E5;
}

/* ── Reset global ── */
html, body {
  background-color: var(--rouge) !important;
  color: var(--texte-clair) !important;
  font-family: 'Lora', Georgia, serif !important;
  font-size: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Masquer header et footer Blocksy sur les pages full-width ── */
body.page-template-full-width .site-header,
body.page-template-full-width .site-footer,
body.page-template-full-width .entry-header,
body.page-template-full-width .post-navigation { display: none !important; }

/* ── Header WordPress minimal (pages normales) ── */
.site-header {
  background: var(--rouge-fonce) !important;
  border-bottom: 1px solid rgba(212,168,87,.3) !important;
}

.site-header a, .site-header .site-title {
  color: var(--or-clair) !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}

/* ── Menu de navigation ── */
.header-menu a {
  color: var(--beige-pale) !important;
  font-family: 'Cormorant SC', serif !important;
  font-size: .82rem !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
}

.header-menu a:hover { color: var(--or-clair) !important; }

/* ── Footer WordPress minimal ── */
.site-footer {
  background: var(--rouge-fonce) !important;
  color: var(--beige) !important;
  border-top: 1px solid rgba(212,168,87,.3) !important;
  padding: 2rem !important;
  text-align: center !important;
  font-family: 'Cormorant SC', serif !important;
  font-size: .72rem !important;
  letter-spacing: .25em !important;
}

/* ── Contenu des pages (shortcodes plugin) ── */
.entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* ── WooCommerce boutons ── */
.woocommerce a.button, .woocommerce button.button {
  background: var(--or) !important;
  color: var(--rouge) !important;
  font-family: 'Cormorant SC', serif !important;
  font-weight: 600 !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
}

.woocommerce a.button:hover, .woocommerce button.button:hover {
  background: var(--or-clair) !important;
}

/* ── Police Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=Cormorant+SC:wght@400;500;600&display=swap');
