/* =============================================================================
   QUOTIDIEN ÉCONOMIQUE — Intégration Figma
   Typo : Instrument Serif (titres) · Jost (corps)
   Couleur principale : #ED1C24
   ============================================================================= */

/* ─── Variables ─────────────────────────────────────────────────────────────── */
:root {
    --red:        #ED1C24;
    --red-dark:   #c5101a;
    --black:      #0d0d0d;
    --white:      #ffffff;
    --text:       #111111;
    --text-light: #4a4a4a;
    --text-muted: #888888;
    --border:     #dedede;
    --border-dark:#b0b0b0;
    --bg:         #ffffff;
    --bg-light:   #f4f4f4;

    --font-head: 'Instrument Serif', Georgia, serif;
    --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

    --max-w: 1240px;
    --pad:   1.5rem;
    --gap:   2rem;
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; }
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: var(--font-body); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── Container ─────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ═══════════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════════ */

.site-header { background: var(--white); }

/* ── Illustration bannière ── */
.header-illustration {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-illustration img { width: 100%; max-height: 200px; object-fit: cover; }

/* ── Logo / Nom du site ── */
.header__brand {
    text-align: center;
    padding: 22px var(--pad) 18px;
    border-bottom: 1px solid var(--border);
}
.custom-logo { display: inline-block; max-height: 72px; width: auto; }
.site-title {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--black);
    letter-spacing: -.02em;
    line-height: 1;
}
.logo-q { color: var(--red); }

/* ── Navigation principale ── */
.nav-main {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}
.nav-main .container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 46px;
    position: relative;
}
.nav-main__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}
.nav-main__list > li { position: relative; }
.nav-main__list > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .01em;
    color: var(--text);
    padding: 0 13px;
    white-space: nowrap;
    transition: color .15s;
    line-height: 46px;
}
.nav-main__list > li > a:hover,
.nav-main__list > .current-menu-item > a,
.nav-main__list > .current-menu-ancestor > a { color: var(--red); }

/* Sous-menu */
.nav-main__list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 2px solid var(--red);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 300;
}
.nav-main__list > li:hover > .sub-menu { display: block; }
.nav-main__list .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: .82rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}
.nav-main__list .sub-menu a:hover { color: var(--red); background: var(--bg-light); }

/* Icône recherche */
.nav-search-btn {
    position: absolute;
    right: var(--pad);
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 6px;
    display: flex;
    align-items: center;
    transition: color .15s;
}
.nav-search-btn:hover { color: var(--red); }

/* Mobile toggle */
.nav-main__toggle {
    display: none;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 0 4px;
    margin-right: auto;
}

/* ── Overlay recherche ── */
.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 900;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}
.search-overlay.is-open { display: flex; }
.search-overlay__box {
    background: var(--white);
    width: 100%;
    max-width: 560px;
    padding: 24px;
    position: relative;
}
.search-overlay__form { display: flex; }
.search-overlay__input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-right: none;
    font-size: .95rem;
    outline: none;
}
.search-overlay__input:focus { border-color: var(--red); }
.search-overlay__btn {
    background: var(--red);
    border: none;
    color: var(--white);
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.search-overlay__close {
    position: absolute;
    top: -42px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   COMPOSANTS PARTAGÉS
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Badges ── */
.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.7;
    font-family: var(--font-body);
}
.badge--une       { background: #F5A623; color: #fff; }
.badge--breaking  { background: var(--red); color: #fff; }
.badge--inedit    { background: #21A179; color: #fff; }
.badge--exclusif  { background: #21A179; color: #fff; }
.badge--dark      { background: #222;    color: #fff; }
.badge--default   { background: #555;    color: #fff; }
.badge--sponsored { background: #6366F1; color: #fff; }

/* ── Boutons ── */
.btn-red {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--red);
    color: var(--white);
    font-size: .875rem;
    font-weight: 500;
    padding: 11px 22px;
    border: none;
    cursor: pointer;
    transition: background .15s;
}
.btn-red:hover { background: var(--red-dark); color: var(--white); }

.btn-outline {
    display: inline-block;
    border: 1px solid var(--border-dark);
    color: var(--text-light);
    font-size: .78rem;
    font-weight: 400;
    padding: 5px 14px;
    background: var(--white);
    cursor: pointer;
    transition: border-color .15s, color .15s;
    align-self: flex-start;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ── En-tête de section ── */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1.5px solid var(--black);
    padding-bottom: 8px;
    margin-bottom: 20px;
}
.section-head__title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--black);
    letter-spacing: -.01em;
}
.section-head__link {
    font-size: .75rem;
    color: var(--text-muted);
    transition: color .15s;
}
.section-head__link:hover { color: var(--red); }

/* Séparateur horizontal */
.section-sep { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* Conteneurs d'images (peuvent être des <a>) */
.article-une__img,
.article-mini__img,
.article-rub-featured__img,
.sidebar-article__img,
.article-cat-featured__img,
.article-list-item__img,
.article-card__img { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE D'ACCUEIL
   ═══════════════════════════════════════════════════════════════════════════════ */

.main-content { padding: 36px 0 64px; }

.home-layout {
    display: grid;
    grid-template-columns: 1fr 288px;
    gap: 48px;
    align-items: start;
}
.home-main  { min-width: 0; }
.home-sidebar { min-width: 0; }
.section-home { margin-bottom: 32px; }

/* ── Article À la Une (featured principal) ── */
.article-une {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.article-une__img {
    width: 42%;
    aspect-ratio: 3/2;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-light);
    transition: opacity .2s;
}
.article-une__img img { width: 100%; height: 100%; object-fit: cover; }
.article-une__img:hover img { opacity: .92; }

.article-une__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.article-une__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.article-une__time { font-size: .74rem; color: var(--text-muted); }
.article-une__title {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--black);
}
.article-une__title a { transition: color .15s; }
.article-une__title a:hover { color: var(--red); }
.article-une__desc {
    font-size: .875rem;
    color: var(--text-light);
    line-height: 1.55;
}
.article-une__read {
    font-size: .74rem;
    color: var(--text-muted);
    margin-top: auto;
}

/* ── Grille 2 mini articles (sous le featured) ── */
.articles-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.article-mini {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}
.article-mini__img {
    width: 92px;
    aspect-ratio: 3/2;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-light);
}
.article-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.article-mini__body { flex: 1; min-width: 0; }
.article-mini__title {
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-mini__title a { transition: color .15s; }
.article-mini__title a:hover { color: var(--red); }
.article-mini__read { font-size: .72rem; color: var(--text-muted); }

/* ── Grille 2 colonnes (Top stories / rubriques) ── */
.articles-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Featured section rubrique (homepage) ── */
.article-rub-featured {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.article-rub-featured__img {
    width: 240px;
    aspect-ratio: 3/2;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-light);
}
.article-rub-featured__img img { width: 100%; height: 100%; object-fit: cover; }
.article-rub-featured__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.article-rub-featured__meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.article-rub-featured__time { font-size: .74rem; color: var(--text-muted); }
.article-rub-featured__title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.35;
    color: var(--black);
}
.article-rub-featured__title a { transition: color .15s; }
.article-rub-featured__title a:hover { color: var(--red); }
.article-rub-featured__desc {
    font-size: .835rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-rub-featured__read { font-size: .72rem; color: var(--text-muted); margin-top: auto; }

/* ── Sidebar « Les plus lus » ── */
.sidebar-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--black);
    border-bottom: 1.5px solid var(--black);
    padding-bottom: 8px;
    margin-bottom: 18px;
}
.sidebar-article { margin-bottom: 20px; }
.sidebar-article + .sidebar-article { padding-top: 20px; border-top: 1px solid var(--border); }
.sidebar-article__img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: 9px;
}
.sidebar-article__img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-article__title {
    font-size: .84rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--black);
}
.sidebar-article__title a { transition: color .15s; }
.sidebar-article__title a:hover { color: var(--red); }

/* ═══════════════════════════════════════════════════════════════════════════════
   LISTE D'ARTICLES (archive · catégorie · recherche)
   ═══════════════════════════════════════════════════════════════════════════════ */

.articles-list {}
.article-list-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.article-list-item__img {
    width: 130px;
    height: 88px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-light);
}
.article-list-item__img img { width: 100%; height: 100%; object-fit: cover; }
.article-list-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.article-list-item__title {
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--black);
}
.article-list-item__title a { transition: color .15s; }
.article-list-item__title a:hover { color: var(--red); }
.article-list-item__date { font-size: .76rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════════
   ARTICLES RÉCENTS (grille 3 colonnes — bas de page)
   ═══════════════════════════════════════════════════════════════════════════════ */

.recents-section {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.recents-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 16px;
}
.recents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.article-card { display: flex; flex-direction: column; }
.article-card__img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: 10px;
}
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__title {
    font-size: .83rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--black);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card__title a { transition: color .15s; }
.article-card__title a:hover { color: var(--red); }

/* ─── Publicité ──────────────────────────────────────────────────────────────── */
.ad-header {
    text-align: center;
    padding: 10px var(--pad);
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}
.ad-inline {
    margin: 28px 0;
    text-align: center;
}
.sidebar-ad {
    margin-top: 24px;
    text-align: center;
}

/* ─── Journal numéro ─────────────────────────────────────────────────────────── */
.journal-number {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ─── Pagination ─────────────────────────────────────────────────────────────── */
.pagination-wrap {
    text-align: center;
    padding: 28px 0 0;
    font-size: .84rem;
    color: var(--text-muted);
}
.nav-links { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--border);
    font-size: .84rem;
    color: var(--text);
    transition: background .15s, color .15s, border-color .15s;
}
.page-numbers.current,
.page-numbers:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.page-numbers.dots { border: none; color: var(--text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════════
   EN-TÊTES DE PAGE (archive · catégorie · recherche)
   ═══════════════════════════════════════════════════════════════════════════════ */

.page-header { margin-bottom: 24px; }
.page-header__title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--black);
    display: inline-block;
    border-bottom: 1.5px solid var(--black);
    padding-bottom: 6px;
    margin-bottom: 4px;
}
.page-header__desc { font-size: .88rem; color: var(--text-light); margin-top: 8px; }

/* ─── Filtres archive ──────────────────────────────────────────────────────── */
.archive-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.archive-filters__label {
    font-size: .84rem;
    font-weight: 500;
    color: var(--text);
}
.archive-filters select,
.search-filters select {
    appearance: none;
    -webkit-appearance: none;
    padding: 7px 32px 7px 12px;
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: .82rem;
    color: var(--text);
    background: var(--white)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23777'/%3E%3C/svg%3E")
        no-repeat right 10px center;
    cursor: pointer;
    outline: none;
    transition: border-color .15s;
}
.archive-filters select:focus,
.search-filters select:focus { border-color: var(--red); }

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE CATÉGORIE (featured + liste)
   ═══════════════════════════════════════════════════════════════════════════════ */

.article-cat-featured {
    display: flex;
    gap: 22px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.article-cat-featured__img {
    width: 340px;
    aspect-ratio: 3/2;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-light);
}
.article-cat-featured__img img { width: 100%; height: 100%; object-fit: cover; }
.article-cat-featured__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.article-cat-featured__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.article-cat-featured__time { font-size: .74rem; color: var(--text-muted); }
.article-cat-featured__title {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--black);
}
.article-cat-featured__title a { transition: color .15s; }
.article-cat-featured__title a:hover { color: var(--red); }
.article-cat-featured__excerpt {
    font-size: .875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ARTICLE SINGLE
   ═══════════════════════════════════════════════════════════════════════════════ */

.single-wrap {
    max-width: 740px;
    margin: 0 auto;
    padding: 36px var(--pad) 64px;
}
.single-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.single-title {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.22;
    color: var(--black);
    margin-bottom: 14px;
    letter-spacing: -.02em;
}
.single-chapeau {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 12px;
}
.single-byline {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.single-byline strong { color: var(--text); font-weight: 600; }

.single-featured-image { margin-bottom: 26px; overflow: hidden; background: var(--bg-light); }
.single-featured-image img { width: 100%; }
.single-photo-credit { font-size: .72rem; color: var(--text-muted); text-align: right; margin-top: 5px; }

/* Corps de l'article */
.single-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
}
.single-body > * + * { margin-top: 1.3rem; }
.single-body p { margin-bottom: 0; }
.single-body h2 {
    font-family: var(--font-head);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--black);
    margin: 2rem 0 .8rem;
    line-height: 1.3;
}
.single-body h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--black);
    margin: 1.6rem 0 .6rem;
}
.single-body blockquote {
    border-left: 3px solid var(--black);
    margin: 1.8rem 0;
    padding: .4rem 0 .4rem 1.4rem;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-light);
}
.single-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.single-body img, .single-body figure { margin: 1.5rem 0; }
.single-body figcaption { font-size: .74rem; color: var(--text-muted); margin-top: 5px; }
.single-body ul { list-style: disc; padding-left: 1.4rem; }
.single-body ol { list-style: decimal; padding-left: 1.4rem; }
.single-body ul li, .single-body ol li { margin-bottom: .4rem; }

/* Partage */
.single-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.single-share__label { font-size: .84rem; font-weight: 600; color: var(--black); }
.share-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: opacity .15s;
    flex-shrink: 0;
}
.share-icon:hover { opacity: .8; color: var(--white); }
.share-icon--twitter  { background: #000; }
.share-icon--linkedin { background: #0A66C2; }
.share-icon--facebook { background: #1877F2; }

/* Articles similaires */
.similaires { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--border); }
.similaires__title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 18px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE RECHERCHE
   ═══════════════════════════════════════════════════════════════════════════════ */

.search-bar-wrap { margin-bottom: 16px; }
.search-bar-form { display: flex; }
.search-bar-form__input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-right: none;
    font-size: .95rem;
    color: var(--text);
    outline: none;
    background: var(--white);
}
.search-bar-form__input:focus { border-color: var(--red); }
.search-bar-form__btn {
    background: var(--red);
    border: none;
    color: var(--white);
    padding: 0 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s;
}
.search-bar-form__btn:hover { background: var(--red-dark); }
.search-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE JOURNAL DU JOUR
   ═══════════════════════════════════════════════════════════════════════════════ */

.journal-header { margin-bottom: 22px; }
.journal-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 8px;
}
.journal-header-desc {
    font-size: .875rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 12px;
    max-width: 620px;
}
.journal-date {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 26px;
}
.journal-download {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 44px;
}
.journal-download__cover {
    width: 180px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.14);
}
.journal-download__cover img { width: 100%; }
.journal-download__body { flex: 1; }
.journal-download__text {
    font-size: .875rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE NEWSLETTER
   ═══════════════════════════════════════════════════════════════════════════════ */

.newsletter-header { margin-bottom: 20px; }
.newsletter-title {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--black);
    display: inline-block;
    border-bottom: 1.5px solid var(--black);
    padding-bottom: 6px;
    margin-bottom: 14px;
}
.newsletter-desc {
    font-size: .875rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 580px;
}
.newsletter-image { margin-bottom: 14px; }
.newsletter-image img { max-width: 480px; width: 100%; }
.newsletter-schedule {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .84rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* Formulaire newsletter */
.nl-form { max-width: 460px; }
.nl-form__field { margin-bottom: 20px; }
.nl-form__label {
    display: block;
    font-size: .84rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}
.nl-form__input {
    width: 100%;
    padding: 10px 2px;
    border: none;
    border-bottom: 1px solid var(--border-dark);
    font-family: var(--font-body);
    font-size: .92rem;
    color: var(--text);
    outline: none;
    background: transparent;
    transition: border-color .15s;
}
.nl-form__input:focus { border-bottom-color: var(--red); }
.nl-form__input::placeholder { color: var(--text-muted); }
.nl-form__helper {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nl-form__submit { margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */

.site-footer {
    background: var(--black);
    color: var(--white);
    padding-top: 52px;
    margin-top: 60px;
}
.footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    padding-bottom: 44px;
}
.footer__col-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    border-bottom: 1px solid var(--white);
    padding-bottom: 10px;
    margin-bottom: 14px;
    letter-spacing: -.01em;
}
.footer__col ul { display: flex; flex-direction: column; gap: 9px; }
.footer__col ul a {
    font-size: .82rem;
    color: #999;
    display: block;
    transition: color .15s;
}
.footer__col ul a:hover { color: var(--white); }

/* Réseaux sociaux */
.footer__social {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid #282828;
}
.footer__social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #555;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: border-color .15s, color .15s;
}
.footer__social-link:hover { border-color: var(--red); color: var(--red); }

/* Copyright */
.footer__copyright {
    border-top: 1px solid #1e1e1e;
    text-align: center;
    padding: 14px var(--pad);
    font-size: .76rem;
    color: #555;
}
.footer__copyright a { color: #777; transition: color .15s; }
.footer__copyright a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════════════════════════════════
   PAGE STATIQUE (page.php)
   ═══════════════════════════════════════════════════════════════════════════════ */

.page-content { padding: 40px 0 64px; }
.page-article { max-width: 820px; margin: 0 auto; }
.page-article__header { margin-bottom: 24px; }
.page-article__title {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--black);
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--black);
    letter-spacing: -.02em;
    line-height: 1.2;
}
.page-article__image {
    margin-bottom: 28px;
    overflow: hidden;
    background: var(--bg-light);
}
.page-article__image img { width: 100%; }
.page-article__content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text);
}
.page-article__content > * + * { margin-top: 1.2rem; }
.page-article__content h2 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--black);
    margin: 2rem 0 .7rem;
    line-height: 1.3;
}
.page-article__content h3 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--black);
    margin: 1.5rem 0 .5rem;
}
.page-article__content a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.page-article__content ul { list-style: disc; padding-left: 1.4rem; }
.page-article__content ol { list-style: decimal; padding-left: 1.4rem; }
.page-article__content ul li,
.page-article__content ol li { margin-bottom: .4rem; }
.page-article__content blockquote {
    border-left: 3px solid var(--black);
    margin: 1.8rem 0;
    padding: .4rem 0 .4rem 1.4rem;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-light);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .home-layout { grid-template-columns: 1fr 260px; gap: 36px; }
    .article-rub-featured__img { width: 200px; }
}

@media (max-width: 900px) {
    .home-layout { grid-template-columns: 1fr; }
    .home-sidebar { display: none; }
    .article-cat-featured { flex-direction: column; }
    .article-cat-featured__img { width: 100%; aspect-ratio: 16/9; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .recents-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    :root { --pad: 1rem; }

    .site-title { font-size: 1.9rem; }
    .header-illustration { max-height: 130px; }

    /* Nav mobile */
    .nav-main .container { justify-content: flex-end; align-items: center; min-height: 48px; }
    .nav-main__list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        border-top: 2px solid var(--red);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
        z-index: 200;
        flex-wrap: nowrap;
    }
    .nav-main__list.is-open { display: flex; }
    .nav-main__list > li { width: 100%; }
    .nav-main__list > li > a { padding: 12px var(--pad); line-height: 1.4; font-size: .9rem; }
    .nav-main__list .sub-menu { position: static; border: none; box-shadow: none; border-top: none; border-left: 3px solid var(--red); margin-left: 1rem; }
    .nav-main__toggle { display: flex; }
    .nav-search-btn { position: static; transform: none; margin-right: 6px; }

    /* Articles */
    .article-une { flex-direction: column; }
    .article-une__img { width: 100%; aspect-ratio: 16/9; }
    .articles-mini { grid-template-columns: 1fr; }
    .articles-2col { grid-template-columns: 1fr; }
    .article-rub-featured { flex-direction: column; }
    .article-rub-featured__img { width: 100%; aspect-ratio: 16/9; }
    .article-list-item { flex-direction: column; }
    .article-list-item__img { width: 100%; height: 180px; }

    /* Single */
    .single-title { font-size: 1.55rem; }
    .single-wrap { padding: 24px var(--pad) 40px; }

    /* Footer */
    .footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .recents-grid { grid-template-columns: 1fr; }

    /* Journal */
    .journal-download { flex-direction: column; }
    .journal-download__cover { width: 140px; }

    /* Page statique */
    .page-article__title { font-size: 1.4rem; }
}

@media (max-width: 420px) {
    .site-title { font-size: 1.5rem; }
    .articles-mini { grid-template-columns: 1fr; }
}
