@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;600;700&family=Nunito:wght@300;400;600;700&display=swap');

:root {
  --c-primary: #2d5016;
  --c-primary-dark: #1a2e0c;
  --c-accent: #b54a30;
  --c-bg: #f8f7f2;
  --c-bg-alt: #e8ece0;
  --c-text: #1c2820;
  --c-muted: #556b50;
  --c-border: #d8dcc8;
  --radius: 10px;
  --shadow: 0 4px 12px rgba(45,80,22,0.10);
  --shadow-lg: 0 4px 12px rgba(45,80,22,0.10);
  --font-head: 'Merriweather', serif;
  --font-body: 'Nunito', sans-serif;
}

html, body {
  background: #f8f7f2 !important;
  color: #1c2820 !important;
  font-family: 'Nunito', -apple-system, sans-serif !important;
}

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

h1 { color: #1a2e0c !important; }

a, a:visited { color: #2d5016 !important; }
a:hover { color: #b54a30 !important; }

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

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

.hero h1, .hero-section h1, .hero-title {
  color: #1a2e0c !important;
}

button, .btn, .button, .cta, input[type=submit], a.btn-primary {
  background: #2d5016 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: 'Nunito', sans-serif !important;
  font-weight: 600 !important;
}
button:hover, .btn:hover, .button:hover, .cta:hover {
  background: #b54a30 !important;
  color: #fff !important;
}

.card, article, .item, .listing-item, .article-card {
  background: #f8f7f2 !important;
  border: 1px solid #d8dcc8 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(45,80,22,0.10) !important;
}

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

footer, .site-footer {
  background: #1a2e0c !important;
  color: #fff !important;
}
footer a, .site-footer a { color: #b54a30 !important; }

blockquote {
  border-left: 4px solid #b54a30 !important;
  background: #e8ece0 !important;
}

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

img, figure img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 10px !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, #1a2e0ccc 0%, #2d501699 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 */
