:root {
  --bg: #ffffff;
  --light: #f5f5f5;
  --text: #111;
  --muted: #555;
  --brand: #0f172a; /* bleu nuit premium */
  --accent: #c7a558; /* or discret */
  --radius: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);

  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light);
}
.header-inner {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}
.main-nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width .3s ease;
}
.main-nav a:hover::after { width: 100%; }

/* Hero */
.hero {
  padding: 5rem 1rem;
  text-align: center;
  background: var(--light);
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero p {
  max-width: 700px;
  margin: auto;
  color: var(--muted);
  font-size: 1.2rem;
}

/* Articles */
.featured {
  padding: 3rem 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
#articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); }
.card img {
  width: 100%;
  display: block;
}
.card-content {
  padding: 1rem;
}
.card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 0 0 .5rem;
}
.card-content p {
  color: var(--muted);
  font-size: .95rem;
}

/* Newsletter */
.newsletter-block {
  background: var(--light);
  padding: 3rem 1rem;
  text-align: center;
}
.newsletter-block h2 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
}
.newsletter-block form {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.newsletter-block input {
  padding: .8rem 1rem;
  border: 1px solid var(--light);
  border-radius: var(--radius);
  font-size: 1rem;
}
.newsletter-block button {
  padding: .8rem 1.5rem;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  border-radius: var(--radius);
  cursor: pointer;
}
.newsletter-block button:hover { background: var(--brand); }

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: .9rem;
  color: var(--muted);
  border-top: 1px solid var(--light);
}
/* --- Cartes premium --- */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  display: block;
  transition: transform .5s ease;
}

.card-content {
  padding: 1rem;
  flex: 1;
}

.card-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 .5rem;
  transition: color .3s ease;
}

.card-content p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
}

/* Effet premium au hover */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
}
.card:hover img {
  transform: scale(1.08);
}
.card:hover h3 {
  color: var(--accent);
}
/* --- Newsletter Premium --- */
.newsletter-block {
  background: var(--light);
  padding: 4rem 1rem;
  text-align: center;
}

.newsletter-block h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.newsletter-block form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 600px;
  margin: auto;
}

.newsletter-block input {
  flex: 1;
  min-width: 260px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: border .3s ease, box-shadow .3s ease;
}

.newsletter-block input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(199,165,88,.3);
  outline: none;
}

.newsletter-block button {
  padding: 1rem 1.6rem;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-family: var(--sans);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s ease, transform .2s ease;
}

.newsletter-block button:hover {
  background: var(--brand);
  transform: translateY(-2px);
}
/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--light);
  font-size: .9rem;
  padding: .5rem 0;
}
.breadcrumb a { color: var(--brand); }
.breadcrumb span { color: var(--muted); }

/* --- Article --- */
.post { padding: 3rem 1rem; }
.post-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: .5rem;
}
.post-meta {
  font-size: .9rem;
  color: var(--muted);
}
.post-cover {
  width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.post-content h2 {
  font-family: var(--font-serif);
  margin: 1.5rem 0 .8rem;
  font-size: 1.4rem;
}
.post-content p, .post-content ul {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.post-content ul { padding-left: 1.2rem; }
.post-nav {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.post-nav a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.post-nav a:hover { color: var(--accent); }

/* --------- Reset & Base --------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.7;
}

/* Liens */
a {
  color: #0056b3;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #e63946;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --------- Header --------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
}

.main-nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  color: #333;
}

.main-nav a.active {
  color: #e63946;
  font-weight: 600;
}

/* --------- Hero --------- */
.hero {
  background: #fff;
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
}

/* --------- Sections --------- */
section {
  padding: 3rem 0;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* --------- Grid & Cards --------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

/* Category cards */
.cat-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.cat-card:hover {
  transform: translateY(-5px);
}

.cat-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cat-card h3 {
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
}

/* Articles cards */
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  font-size: 1.2rem;
  margin: 0.8rem;
  font-family: 'Playfair Display', serif;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0 0.8rem 1rem;
}

/* --------- Newsletter --------- */
.newsletter {
  background: #fff;
  text-align: center;
  border-top: 1px solid #eee;
}

.newsletter h2 {
  margin-bottom: 0.5rem;
}

.newsletter p {
  margin-bottom: 1rem;
  color: #444;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 0.7rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 250px;
}

.newsletter-form button {
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 4px;
  background: #e63946;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #c62828;
}

/* --------- Footer --------- */
.site-footer {
  background: #222;
  color: #ddd;
  padding: 3rem 1rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #fff;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer ul li a {
  color: #ddd;
}

.site-footer ul li a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #444;
  padding-top: 1rem;
}

/* --------- Responsive --------- */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav a {
    margin: 0.5rem 1rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }
}
