@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue:wght@400;600;700&family=Crimson+Text:wght@300;400;600;700&display=swap');

:root {
  --c-primary: #92400e;
  --c-primary-dark: #451a03;
  --c-accent: #166534;
  --c-bg: #fafaf3;
  --c-bg-alt: #f0ede0;
  --c-text: #1c1917;
  --c-muted: #78716c;
  --c-border: #e7e5d6;
  --radius: 4px;
  --shadow: 0 3px 10px rgba(146,64,14,0.10);
  --shadow-lg: 0 3px 10px rgba(146,64,14,0.10);
  --font-head: 'Bebas Neue', serif;
  --font-body: 'Crimson Text', sans-serif;
}

html, body {
  background: #fafaf3 !important;
  color: #1c1917 !important;
  font-family: 'Crimson Text', -apple-system, sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .hero-title, .page-title, header .logo, .site-title {
  font-family: 'Bebas Neue', serif !important;
  color: #92400e !important;
  letter-spacing: -0.01em;
}

h1 { color: #451a03 !important; }

a, a:visited { color: #92400e !important; }
a:hover { color: #166534 !important; }

header, .site-header, nav, .navbar {
  background: #fafaf3 !important;
  border-bottom: 1px solid #e7e5d6 !important;
}

.hero, .hero-section, section.hero, .home-hero, .page-hero {
  background: linear-gradient(135deg, #f0ede0 0%, #fafaf3 100%) !important;
  border-radius: 4px !important;
}

.hero h1, .hero-section h1, .hero-title {
  color: #451a03 !important;
}

button, .btn, .button, .cta, input[type=submit], a.btn-primary {
  background: #92400e !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: 'Crimson Text', sans-serif !important;
  font-weight: 600 !important;
}
button:hover, .btn:hover, .button:hover, .cta:hover {
  background: #166534 !important;
  color: #fff !important;
}

.card, article, .item, .listing-item, .article-card {
  background: #fafaf3 !important;
  border: 1px solid #e7e5d6 !important;
  border-radius: 4px !important;
  box-shadow: 0 3px 10px rgba(146,64,14,0.10) !important;
}

.tag, .badge, .pill, .chip {
  background: #166534 !important;
  color: #fff !important;
  border-radius: 4px !important;
}

footer, .site-footer {
  background: #451a03 !important;
  color: #fff !important;
}
footer a, .site-footer a { color: #166534 !important; }

blockquote {
  border-left: 4px solid #166534 !important;
  background: #f0ede0 !important;
}

/* Selection */
::selection { background: #166534; color: #fff; }

img, figure img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 4px !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Override des gradients hero hardcodés du template d'origine */
.hero::before, .hero-image::before, .page-hero::before, .home-hero::before, section.hero::before {
  background: linear-gradient(135deg, #451a03cc 0%, #92400e99 100%) !important;
  opacity: 1 !important;
}

/* Pas de teinte verte ou autre filtre sur l'image hero */
.hero img, .hero-image img, section.hero img, .page-hero img, .home-hero img,
.article-body img, article img, figure img, .hero figure img {
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}

/* Liens en footer claire pour thèmes foncés */
