/* GNAMIEN · Univers de luxe par page
   Une feuille, un thème par page (attribut data-theme sur <body>).
   Polices : Cormorant Garamond (titres) et Montserrat (texte). Repli : Georgia / Arial. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,500&family=Montserrat:wght@300;400;600&display=swap');

:root {
  --or: #C9A24A; --or-clair: #F1DCA0; --or-profond: #8C6A2A;
  --ivoire: #F7F1E3; --ivoire-2: #EADFC6; --brun: #2A170F; --nuit: #0C0806;
  --titre: 'Cormorant Garamond', Georgia, serif; --texte: 'Montserrat', Arial, sans-serif;
}

/* Base commune */
body { font-family: var(--texte); font-weight: 300; letter-spacing: .02em; }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; text-transform: uppercase; letter-spacing: .18em; }
a { transition: color .3s ease; }
button, input[type=submit] { font-family: var(--texte); font-weight: 600; text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; }

/* 1. Catalogue : OR NOIR — fond noir profond, filets dorés, titres en or */
body[data-theme="or-noir"] { background: radial-gradient(ellipse at 50% 0%, #2A1B10 0%, var(--nuit) 65%) !important; color: #E9DCC0 !important; }
body[data-theme="or-noir"] h1, body[data-theme="or-noir"] h2 { color: var(--or-clair) !important; font-size: clamp(1.6rem, 3vw, 2.6rem); }
body[data-theme="or-noir"] section, body[data-theme="or-noir"] main { border: 1px solid transparent; border-image: linear-gradient(135deg, var(--or-profond), var(--or-clair), var(--or-profond)) 1; background: rgba(12,8,6,.6) !important; }

/* 2. Panier : VELOURS IVOIRE — blocs ivoire, texte brun, liserés dorés */
body[data-theme="velours"] { background: linear-gradient(170deg, var(--brun), #4A2C1F 60%, var(--ivoire-2)) fixed !important; color: var(--brun) !important; }
body[data-theme="velours"] h1, body[data-theme="velours"] h2 { color: var(--brun) !important; }
body[data-theme="velours"] main, body[data-theme="velours"] section, body[data-theme="velours"] .panier, body[data-theme="velours"] table, body[data-theme="velours"] form {
  background: linear-gradient(160deg, var(--ivoire), var(--ivoire-2)) !important; color: var(--brun) !important;
  box-shadow: inset 0 0 0 1px var(--or), 0 24px 60px rgba(0,0,0,.35) !important; border-radius: 2px !important; padding: 28px !important; }
body[data-theme="velours"] th { background: var(--brun) !important; color: var(--or-clair) !important; }
body[data-theme="velours"] td { color: var(--brun) !important; }

/* 3. Commande : MARBRE NOIR — veines subtiles, très sobre */
body[data-theme="marbre"] { background:
  linear-gradient(115deg, transparent 40%, rgba(241,220,160,.06) 42%, transparent 44%),
  linear-gradient(60deg, transparent 55%, rgba(241,220,160,.05) 57%, transparent 59%),
  linear-gradient(180deg, #171009, #0C0806) !important; color: #E9DCC0 !important; }
body[data-theme="marbre"] h1, body[data-theme="marbre"] h2 { color: var(--or) !important; }
body[data-theme="marbre"] form, body[data-theme="marbre"] main, body[data-theme="marbre"] section { background: rgba(20,13,9,.85) !important; border-top: 2px solid var(--or) !important; padding: 28px !important; }
body[data-theme="marbre"] label, body[data-theme="marbre"] p, body[data-theme="marbre"] span { color: #E9DCC0 !important; }

/* 4. Admin : NOIR SOBRE — austère, lisible */
body[data-theme="sobre"] { background: var(--nuit) !important; color: #D9CCAE !important; }
body[data-theme="sobre"] h1, body[data-theme="sobre"] h2 { color: var(--or) !important; }
body[data-theme="sobre"] main, body[data-theme="sobre"] section, body[data-theme="sobre"] table { background: #14100B !important; border: 1px solid #2A2016 !important; }

/* 5. Vitrine : NUIT DORÉE — la signature, or et ivoire */
body[data-theme="nuit-doree"] { background: radial-gradient(ellipse at 50% 30%, #3A2418 0%, #120B07 70%) !important; color: var(--ivoire) !important; }
body[data-theme="nuit-doree"] h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); color: var(--or-clair) !important; text-shadow: 0 0 30px rgba(201,162,74,.45); }
body[data-theme="nuit-doree"] h2 { color: var(--or) !important; }
body[data-theme="nuit-doree"] .card { background: linear-gradient(160deg, rgba(247,241,227,.06), rgba(247,241,227,.02)) !important; border: 1px solid rgba(201,162,74,.5) !important; color: var(--ivoire) !important; }

/* 6. Assistant : IVOIRE DE SOIE — clair, élégant */
body[data-theme="soie"] { background: linear-gradient(160deg, var(--ivoire), var(--ivoire-2)) !important; color: var(--brun) !important; }
body[data-theme="soie"] .boite { background: #FFFDF8 !important; border: 1px solid var(--or) !important; color: var(--brun) !important; box-shadow: 0 30px 60px rgba(42,23,15,.18) !important; }
body[data-theme="soie"] h1 { color: var(--brun) !important; }
body[data-theme="soie"] .bot { background: #F1E7CF !important; color: var(--brun) !important; }
body[data-theme="soie"] .vous { background: #3A2418 !important; color: var(--or-clair) !important; }

/* Filet doré signature sous chaque titre de page */
h1::after { content: ""; display: block; width: 64px; height: 1px; margin: 14px auto 0; background: linear-gradient(90deg, transparent, var(--or), transparent); }
