:root {
    --bg: #f3f5f7;
    --surface: #ffffff;
    --surface-soft: #eef2f6;
    --text: #111827;
    --muted: #5b6472;
    --line: #d8dee6;
    --brand: #2f6f9f;
    --brand-soft: #dbeaf5;
    --orange-soft: #f4e4d6;
    --shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.site-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}



.site-brand strong {
    font-size: 1.1rem;
    line-height: 1.1;
}

.site-brand span {
    font-size: 0.95rem;
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    font-weight: 600;
    color: var(--text);
}

.site-nav a:hover {
    color: var(--brand);
}

/* Hero */
.home-hero {
    padding: 56px 0 24px;
}

.hero-intro {
    max-width: 760px;
}

.home-hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-image: url('/images/hero/raynans-village.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(15, 23, 42, 0.72) 0%,
        rgba(15, 23, 42, 0.55) 38%,
        rgba(15, 23, 42, 0.28) 100%
    );
}

.home-hero-visual-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 760px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-kicker {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.82);
}

.home-hero-visual h1 {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: white;
}

.hero-visual-text {
    margin: 0 0 24px;
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.88);
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #ffffff;
    color: #0f172a;
}

.btn-primary:hover {
    opacity: 0.95;
}

.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(6px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.18);
}

@media (max-width: 760px) {
    .home-hero-visual {
        min-height: 430px;
    }

    .home-hero-visual-content {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .hero-visual-text {
        font-size: 1rem;
    }
}

.eyebrow {
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand);
}

.home-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero-text {
    margin: 0;
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 700px;
}

/* Sections */
.featured-section,
.latest-section,
.editorial-section {
    padding: 22px 0 34px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.2;
}

.section-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand);
}

/* Featured */
.featured-card {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.featured-content {
    padding: 34px;
}

.featured-content h3 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.featured-content h3 a:hover {
    color: var(--brand);
}

.featured-summary {
    margin: 0 0 20px;
    font-size: 1.06rem;
    color: var(--muted);
    max-width: 800px;
}

/* Grid cards */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.news-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.1);
}

.news-card h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    line-height: 1.25;
}

.news-card h3 a:hover {
    color: var(--brand);
}

.news-card p {
    margin: 0 0 16px;
    color: var(--muted);
}

/* Meta */
.meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.post-date {
    font-size: 0.9rem;
    color: var(--muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: capitalize;
    border: 1px solid transparent;
}

.badge.information {
    background: #dceeff;
    color: #1d4f7a;
}

.badge.vigilance {
    background: #f8e6d5;
    color: #9a5b20;
}

.badge.analyse {
    background: #ebe4fb;
    color: #5f3eb1;
}

.read-more {
    font-weight: 700;
    color: var(--brand);
}

/* Editorial */
.editorial-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.editorial-box h2 {
    margin: 0 0 18px;
    font-size: 1.5rem;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.editorial-grid > div {
    border-radius: 16px;
    padding: 18px;
}

.editorial-grid h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.editorial-grid p {
    margin: 0;
    color: var(--muted);
}

/* Generic content pages */
.page-block,
.list-block,
.single-block {
    padding: 40px 0 60px;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.panel h1 {
    margin-top: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.panel .lead {
    color: var(--muted);
    font-size: 1.05rem;
}

/* Footer */
.site-footer {
    padding: 28px 0 40px;
    color: var(--muted);
    font-size: 0.95rem;
}

.article {
    max-width: 900px;
    margin: auto;
}

.article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

.article-lead {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.article-content {
    font-size: 1.08rem;
    line-height: 1.2;
}

.article-content h2 {
    margin-top: 32px;
}

.article-content ul {
    padding-left: 18px;
}

.list-grid-spaced {
    margin-top: 28px;
}

.news-card-title {
    margin: 0 0 12px;
    font-size: 1.28rem;
    line-height: 1.25;
}

.news-card-title a:hover {
    color: var(--brand);
}

.card-image {
    margin: -24px -24px 16px;
    overflow: hidden;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}



/* HERO ARTICLE */
.article-hero {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 30px 0 10px;
}

.article-header {
    max-width: 900px;
}

.article-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 10px 0 12px;
}

.article-lead {
    font-size: 1.15rem;
    color: #475569;
    max-width: 700px;
}

/* IMAGE */
.article-image {
    margin: 20px 0 28px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.article-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* CONTENU */
.article-main {
    padding-top: 10px;
}

article ul {
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  padding-left: 1.2rem;
}

article ul li {
  margin-bottom: 0.3rem;
  line-height: 1;
}

.article-content {
    max-width: 860px;
    margin: auto;
    line-height: 1.1;
}

.article-content blockquote {
    border-left: 4px solid #2f6f9f;
    padding-left: 12px;
    color: #475569;
    font-style: italic;
    margin: 15px 0;
}

.article-content h2 {
    margin-top: 24px;
    margin-bottom: 8px;
    position: relative;
}

.article-content h2::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 8px;
    width: 5px;
    height: 20px;
    background: #2f6f9f;
    border-radius: 2px;
}

.article-header {
    max-width: 900px;
    padding: 20px 0 10px;
}

.article-hero {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 40px 0 20px;
    border-bottom: 1px solid #e2e8f0;
}

/* RELATED */
.related-posts {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.related-posts h3 {
    margin-bottom: 16px;
}

.featured-image {
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.featured-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.key-points-title {
    margin-top: 32px;
}

.key-points-box {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--brand);
    border-radius: 12px;
    padding: 18px 20px 18px 48px;
    margin: 16px 0 28px;
}

.key-points-box::before {
    content: "✔";
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 16px;
    color: var(--brand);
    font-weight: bold;
}

.key-points-box ul {
    margin: 0;
    padding-left: 18px;
}

.key-points-box li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.key-points-box.vigilance {
    border-left-color: #f59e0b;
}

.key-points-box.analyse {
    border-left-color: #8b5cf6;
}

.key-points-box.information {
    border-left-color: #3b82f6;
}

.btn-pdf {
  display: inline-block;
  padding: 10px 16px;
  background-color: #1f3a5f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
}

.btn-pdf:hover {
  background-color: #2a4d7a;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.site-logo {
  height: 40px; /* ajuste selon ton logo */
  width: auto;
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.editorial-guidelines {
  margin-top: 40px;
}

.editorial-guidelines h2 {
  margin-bottom: 10px;
}

.editorial-intro {
  margin-bottom: 25px;
  color: #555;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.editorial-card {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s ease;
}

.editorial-card:hover {
  transform: translateY(-3px);
}

.editorial-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.editorial-card p {
  font-size: 0.95rem;
  color: #555;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Couleurs cohérentes avec ton site */
.editorial-card.info .badge {
  background: #e0edff;
  color: #1f3a5f;
}

.editorial-card.vigilance .badge {
  background: #fff4e5;
  color: #d97706;
}

.editorial-card.analyse .badge {
  background: #eef2f7;
  color: #334155;
}

/* Responsive */
@media (max-width: 980px) {
    .articles-grid,
    .editorial-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 0;
    }

    .site-nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .home-hero {
        padding-top: 36px;
    }

    .featured-content {
        padding: 24px;
    }

    .articles-grid,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
}