@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --c-primary: #1e4d6b;
  --c-primary-dark: #0f2d44;
  --c-accent: #f4a261;
  --c-bg: #fefcf9;
  --c-bg-alt: #eef4f7;
  --c-text: #1a2030;
  --c-muted: #5a6478;
  --c-border: #dde6ec;
  --radius: 6px;
  --shadow: 0 4px 14px rgba(30,77,107,0.08);
  --shadow-lg: 0 4px 14px rgba(30,77,107,0.08);
  --font-head: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

html, body {
  background: #fefcf9 !important;
  color: #1a2030 !important;
  font-family: 'Source Sans 3', -apple-system, sans-serif !important;
}

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

h1 { color: #0f2d44 !important; }

a, a:visited { color: #1e4d6b !important; }
a:hover { color: #f4a261 !important; }

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

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

.hero h1, .hero-section h1, .hero-title {
  color: #0f2d44 !important;
}

button, .btn, .button, .cta, input[type=submit], a.btn-primary {
  background: #1e4d6b !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: 'Source Sans 3', sans-serif !important;
  font-weight: 600 !important;
}
button:hover, .btn:hover, .button:hover, .cta:hover {
  background: #f4a261 !important;
  color: #fff !important;
}

.card, article, .item, .listing-item, .article-card {
  background: #fefcf9 !important;
  border: 1px solid #dde6ec !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 14px rgba(30,77,107,0.08) !important;
}

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

footer, .site-footer {
  background: #0f2d44 !important;
  color: #fff !important;
}
footer a, .site-footer a { color: #f4a261 !important; }

blockquote {
  border-left: 4px solid #f4a261 !important;
  background: #eef4f7 !important;
}

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

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