/* Thème de l'espace PhotoClub (19/11/2026), relevé sur photo-club.shop.
   Fond crème #F9F8F6, encre #1D1D1B, orange #E57D06 (hsl 32 95% 46%), gris #78756D, filets #E3E1DD.
   Titres DM Serif Text, texte Montserrat ; angles droits ; boutons en capitales espacées. Fichier propre à l'instance. */

@font-face { font-family: 'DM Serif Text'; src: url('/espace-fichiers/fonts/DMSerifText-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Serif Text'; src: url('/espace-fichiers/fonts/DMSerifText-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/espace-fichiers/fonts/Montserrat-VariableFont_wght.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }

html, body, .font-sans, button, input, textarea, select { font-family: 'Montserrat', system-ui, sans-serif; }

body[class] {
  --font-outfit: 'Montserrat', system-ui, sans-serif;
  --font-bebas-neue: 'DM Serif Text', Georgia, serif;
}

/* Sombre : encre du site */
:root {
  --bg: #1d1d1b;
  --fg: #efece6;
  --primary: #ee8a17;
  --primary-hover: #e57d06;
  --secondary: #262624;
  --secondary-hover: #30302d;
  --muted: #a8a49b;
  --border: #383733;
  --card: #252523;
  --card-hover: #2d2d2a;
  --sidebar-bg: #171715;
  --sidebar-border: #2c2b28;
  --sidebar-separator: #383733;
  --sidebar-group: #7d796f;
  --sidebar-text: #b7b3aa;
  --sidebar-text-hover: #ffffff;
  --heading-text: #ffffff;
  --selection-bg: rgba(229, 125, 6, 0.35);
}

/* Clair (par défaut) : le site */
[data-theme="light"] {
  --bg: #f9f8f6;
  --fg: #1d1d1b;
  --primary: #e57d06;
  --primary-hover: #c96d04;
  --secondary: #ffffff;
  --secondary-hover: #f1efeb;
  --muted: #78756d;
  --border: #e3e1dd;
  --card: #ffffff;
  --card-hover: #f5f3ef;
  --sidebar-bg: #ffffff;
  --sidebar-border: #e3e1dd;
  --sidebar-separator: #e3e1dd;
  --sidebar-group: #78756d;
  --sidebar-text: #4a4843;
  --sidebar-text-hover: #1d1d1b;
  --heading-text: #1d1d1b;
  --selection-bg: rgba(229, 125, 6, 0.25);
}

/* Angles droits, comme le site */
.rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl { border-radius: 0 !important; }

/* Titres en DM Serif Text */
h1, h2, .font-heading { font-family: 'DM Serif Text', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }

/* Bandeau du haut orange, comme le site (clair) ; logo blanc dans le bandeau dans les deux thèmes */
[data-theme="light"] header.sticky { background: #e57d06 !important; border-color: #e57d06 !important; }
[data-theme="light"] header.sticky h1,
[data-theme="light"] header.sticky p,
[data-theme="light"] header.sticky button,
[data-theme="light"] header.sticky a { color: #ffffff !important; }
[data-theme="light"] header.sticky .logo-on-dark { display: block !important; }
[data-theme="light"] header.sticky .logo-on-light { display: none !important; }
header.sticky h1 { font-family: 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; font-weight: 500; }

/* Boutons principaux : orange plein, capitales espacées */
.bg-primary { letter-spacing: 0.08em; }

/* Accueil : tuiles */
.accueil-tuile { box-shadow: none; }
[data-theme="light"] .accueil-tuile:hover { background: #fffaf3; }

/* Connexion et choix du mot de passe : fond orange du site, logo blanc, carte crème */
#connexion { background: #e57d06 !important; }
#connexion > div.absolute { background: #e57d06 !important; }
#connexion .blur-3xl, #connexion .opacity-\[0\.025\] { display: none !important; }
#connexion .text-primary\/60 { color: #ffffff !important; letter-spacing: 0.3em; }
#connexion .to-primary\/40, #connexion .from-transparent { background: #ffffff66 !important; }
#connexion form > div, #connexion .bg-\[\#111116\] { background: #f9f8f6 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
#connexion label, #connexion .text-\[\#8a8690\] { color: #78756d !important; }
#connexion input:not([type="checkbox"]) { background: #ffffff !important; color: #1d1d1b !important; border-color: #e3e1dd !important; border-radius: 0 !important; }
#connexion .text-white { color: #1d1d1b !important; }
#connexion > div > div > p.text-3xl, #connexion > div > div > p.text-4xl { color: #ffffff !important; }
#connexion button[type="submit"] { background: #1d1d1b !important; color: #ffffff !important; border-radius: 0 !important; box-shadow: none !important; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500; }
#connexion .text-\[\#3a3640\] { color: #ffffffb3 !important; }
