/* =========================================================================
   OBJECTIF EQUESTRE — FEUILLE DE STYLE COMPLÈTE
   Média par Avignon & Moi
   Charte officielle issue du logo :
     - Magenta / rose   : #C80048
     - Bleu nuit        : #001848
   Un seul :root, charte unifiée sur TOUTES les pages
   (accueil, catégories, articles, galeries, lightbox).
   ========================================================================= */

:root {
    /* --- Couleurs de marque (extraites du logo) --- */
    --primary: #99683e;          /* magenta / rose Avignon & Moi */
    --primary-dark: #99683e;     /* magenta foncé pour dégradés */
    --navy: #2f5d50;             /* bleu nuit du logo */
    --navy-soft: #2f5d50;        /* bleu nuit éclairci */
    --accent: #C80048;           /* accent = magenta (cohérence marque) */

    /* --- Neutres --- */
    --text-main: #121212;
    --text-muted: #6b6b78;
    --bg-site: #ffffff;
    --bg-alt: #f7f7fa;
    --border-color: #ececf1;
    --line: #ececf1;
    --bg-soft: #f7f7fa;

    /* --- Système --- */
    --sidebar-width: 300px;
    --radius: 12px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Georgia', serif;          /* corps de texte "presse" */
    background-color: var(--bg-site);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

h1, h2, h3, .logo { font-family: 'Helvetica Neue', Arial, sans-serif; font-weight: 900; }
p, a, span, div, button, input, label { font-family: 'Helvetica Neue', Arial, sans-serif; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
.article-content a, .chapo-content a, .category-text a { text-decoration: underline; font-weight: bold; color: var(--primary); }

/* --- Accessibilité --- */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* --- UTILS --- */
.container { width: 95%; max-width: 1200px; margin: 0 auto; }
.flex { display: flex; align-items: center; }
.grid { display: grid; gap: 20px; }

/* =========================================================================
   TOP BAR
   ========================================================================= */
.top-bar {
    background: var(--navy);
    border-bottom: 1px solid var(--navy-soft);
    padding: 8px 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c5cbe0;
}
.top-bar a { color: #c5cbe0; }
.top-bar a:hover { color: #fff; }
.top-bar-flex { display: flex; justify-content: space-between; align-items: center; }

/* =========================================================================
   MAIN HEADER
   ========================================================================= */
header {
    padding: 15px 0;
    border-bottom: 4px solid var(--primary);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.logo { display: flex; justify-content: center; align-items: center; }

/* Logo : ratio 1174/284 = 4.134 ; fichier servi en 440x106, affiché à 220x53 */
.logo img {
    width: 220px;
    height: 53px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.menu-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    background: none;
    border: none;
    color: var(--navy);
    transition: var(--transition);
}
.menu-trigger:hover { color: var(--primary); }

.burger-icon { width: 20px; height: 2px; background: var(--navy); position: relative; }
.burger-icon::before, .burger-icon::after {
    content: ""; position: absolute; width: 100%; height: 2px; background: var(--navy); left: 0;
}
.burger-icon::before { top: -6px; }
.burger-icon::after { top: 6px; }
.menu-trigger:hover .burger-icon,
.menu-trigger:hover .burger-icon::before,
.menu-trigger:hover .burger-icon::after { background: var(--primary); }

.btn-subscribe {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 50px;
}
.btn-subscribe:hover { background: var(--navy); }

/* =========================================================================
   SIDEBAR ACCORDION MENU
   ========================================================================= */
.side-menu {
    position: fixed;
    top: 0; left: -100%;
    width: var(--sidebar-width); height: 100vh;
    background: #fff;
    z-index: 1001;
    box-shadow: 20px 0 50px rgba(0,0,0,0.1);
    transition: var(--transition);
    overflow-y: auto;
    padding: 40px 20px;
}
.side-menu.active { left: 0; }

.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 24, 72, 0.45);
    z-index: 1000; display: none; backdrop-filter: blur(4px);
}
.overlay.active { display: block; }

.menu-close {
    position: absolute; top: 15px; right: 15px;
    font-size: 24px; cursor: pointer; color: var(--primary);
    background: none; border: none;
}

/* Accordion */
.nav-list { margin-top: 30px; }
.nav-item { border-bottom: 1px solid var(--border-color); }
.nav-btn {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 15px 0;
    background: none; border: none; text-align: left;
    font-size: 16px; font-weight: bold; color: var(--navy);
    cursor: pointer; text-transform: uppercase;
}
.nav-btn:hover { color: var(--primary); }
.nav-btn .icon { font-size: 12px; transition: transform 0.3s; }
.nav-btn.active .icon { transform: rotate(180deg); color: var(--primary); }

.nav-collapse {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease-out; background: var(--bg-alt);
}
.nav-collapse.open { max-height: 500px; }
.nav-collapse a { display: block; padding: 10px 20px; font-size: 14px; color: var(--text-muted); }
.nav-collapse a:hover { color: var(--primary); background: #eee; }

/* =========================================================================
   FIL D'ARIANE (accueil)
   ========================================================================= */
.breadcrumb { margin: 18px 0 6px; font-size: 12px; }
.breadcrumb ol { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.breadcrumb a:hover { color: var(--primary); }

.home-title { margin: 14px 0 24px; color: var(--navy); font-size: clamp(26px, 4vw, 40px); line-height: 1.1; }

/* =========================================================================
   ZONES PROMOTIONNELLES (vocabulaire neutre, anti-blocage)
   N'apparaissent que si une campagne active existe (sinon rien n'est rendu).
   ========================================================================= */
.pz {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 24px 0;
}
.pz .pz-tag {
    position: absolute; top: 6px; left: 8px;
    font-size: 9px; font-weight: 800; letter-spacing: .12em;
    text-transform: uppercase; color: #b3b3bf;
    background: rgba(255,255,255,.7); padding: 2px 6px; border-radius: 4px;
}
.pz img { display: block; max-width: 100%; height: auto; }

.pz--htb { width: 100%; }
.pz--hbf { width: 100%; }
.pz--hfr { width: 100%; margin: 16px 0; }

/* =========================================================================
   HERO ÉDITORIAL (accueil)
   ========================================================================= */
.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 0 40px;
}
.hero--editorial { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: start; padding: 20px 0 40px; }

.main-article--featured {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 40px -18px rgba(0, 24, 72, .35);
    border: 1px solid var(--line);
}
.main-article__media { position: relative; display: block; }
.main-article__media .main-img {
    width: 100%; height: auto; aspect-ratio: 1200 / 675; object-fit: cover; display: block; margin: 0;
}
.hero-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--primary); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 50px;
}
.main-article__body { padding: 22px 26px 28px; }

.category--hero {
    display: inline-block;
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 10px;
}
.titlearth { display: block; margin: 4px 0 12px; line-height: 1.15; }
.titlearth a {
    color: var(--navy); font-size: clamp(24px, 3vw, 36px); font-weight: 900;
    line-height: 1.15; text-decoration: none;
}
.titlearth a:hover { color: var(--primary); }
.hero-excerpt { color: #555; font-size: 16px; line-height: 1.6; margin: 0 0 18px; font-family: 'Georgia', serif; }

.meta {
    font-size: 12px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .03em;
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.meta--hero { margin-bottom: 20px; }
.meta strong { color: var(--navy); }
.meta-sep { margin: 0 4px; color: #ccc; }

.btn-cta {
    display: inline-block;
    background: var(--navy); color: #fff;
    font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    padding: 12px 22px; border-radius: 50px; text-decoration: none;
    transition: background .2s, transform .2s;
    border: none; cursor: pointer;
}
.btn-cta:hover { background: var(--primary); transform: translateY(-2px); }
.btn-cta--small { padding: 9px 16px; font-size: 11px; }
.btn-cta--ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-cta--ghost:hover { background: #fff; color: var(--primary); }

/* --- Fil "En direct" (accueil) --- */
.feed-card {
    background: var(--bg-alt);
    padding: 25px;
}
.feed-card h2 {
    font-size: 18px; margin-bottom: 20px;
    border-bottom: 2px solid var(--primary); display: inline-block;
    color: var(--navy);
}
.feed-card.live-feed {
    background: #fff; border-radius: var(--radius);
    padding: 22px 22px 18px; border: 1px solid var(--line);
    box-shadow: 0 8px 30px -22px rgba(0, 24, 72, .4);
}
.live-feed h2 {
    display: block; font-size: 16px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--navy); margin: 0 0 16px; padding-bottom: 12px;
    border-bottom: 2px solid var(--primary); position: relative;
}
.live-feed h2::before {
    content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary); margin-right: 8px; vertical-align: middle;
    animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.feed-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.feed-item:last-of-type, .feed-item:last-child { border-bottom: none; }
.feed-time { font-size: 11px; font-weight: 700; color: var(--primary); }
.feed-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); margin-left: 8px; }
.feed-title { font-size: 14px; font-weight: 600; margin-top: 5px; }
.feed-title a { color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1.35; text-decoration: none; display: block; margin-top: 4px; }
.feed-title a:hover, .feed-title:hover { color: var(--primary); }
.view-all { display: block; margin-top: 18px; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--primary); text-decoration: none; }

/* =========================================================================
   BLOC PARTENAIRE (accueil)
   ========================================================================= */
.partner-highlight {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: #fff; border-radius: var(--radius);
    padding: 22px 26px; margin: 32px 0;
}
.partner-label {
    background: var(--primary); color: #fff;
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
    padding: 6px 14px; border-radius: 50px;
}
.partner-highlight p { margin: 0; flex: 1; min-width: 200px; font-size: 15px; }
.partner-cta { color: #fff; font-weight: 800; text-decoration: none; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.partner-cta:hover { text-decoration: underline; color: #fff; }

/* =========================================================================
   SECTION HEADER + GRILLE D'ARTICLES (accueil + catégories)
   ========================================================================= */
.section-header {
    display: flex; align-items: baseline; justify-content: space-between;
    margin: 38px 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--navy);
}
.section-header h2 { color: var(--navy); margin: 0; font-size: 24px; text-transform: uppercase; letter-spacing: .02em; }
.section-header__link { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--primary); text-decoration: none; }

.article-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.card-article {
    display: flex; flex-direction: column;
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s;
}
.card-article:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -20px rgba(0, 24, 72, .4); }
.card-article__media { display: block; overflow: hidden; }
.card-img {
    width: 100%; height: auto; aspect-ratio: 500 / 282; object-fit: cover; display: block;
    background: #eee; transition: transform .4s;
}
.card-article:hover .card-img { transform: scale(1.05); opacity: 1; }
.card-article .category {
    display: inline-block; padding: 14px 16px 0;
    font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: var(--primary);
}
.card-article h3, .card-article .titlehd { font-size: 18px; line-height: 1.3; }
.titlehd { display: block; padding: 4px 16px 0; }
.titlehd a { color: var(--navy); font-size: 18px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.titlehd a:hover { color: var(--primary); }
.card-excerpt, .card-article .excerpt { padding: 8px 16px 0; font-size: 13px; color: #777; line-height: 1.5; font-family: 'Helvetica Neue', sans-serif; }
.card-article .meta { padding: 12px 16px 16px; margin-top: auto; font-size: 11px; }

/* --- Carte promotionnelle native dans la grille --- */
.pz-card {
    display: flex; flex-direction: column; justify-content: center;
    background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px; position: relative;
}
.pz-card .pz-tag {
    font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 10px;
}
.pz-card p { font-size: 13px; color: #666; line-height: 1.5; margin: 0 0 16px; font-family: 'Helvetica Neue', sans-serif; }

/* =========================================================================
   BLOC THÉMATIQUE (Cheval Passion)
   ========================================================================= */
.theme-block {
    border-radius: var(--radius); overflow: hidden; margin: 40px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.theme-block__inner { padding: 40px 36px; max-width: 640px; }
.theme-block__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.theme-block h2 { font-size: clamp(24px, 3vw, 32px); margin: 8px 0 12px; color: #fff; }
.theme-block p { font-size: 16px; line-height: 1.6; margin: 0 0 22px; opacity: .95; }

/* =========================================================================
   NEWSLETTER (accueil)
   ========================================================================= */
.newsletter-block {
    background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 40px; margin: 8px 0 40px; text-align: center;
}
.newsletter-block__inner { max-width: 560px; margin: 0 auto; }
.newsletter-block h2 { color: var(--navy); margin: 0 0 10px; font-size: 24px; }
.newsletter-block p { color: #666; margin: 0 0 22px; font-size: 15px; line-height: 1.6; font-family: 'Helvetica Neue', sans-serif; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.newsletter-form input[type="email"] {
    flex: 1; min-width: 240px; padding: 13px 18px; border: 1px solid #d5d5de;
    border-radius: 50px; font-size: 14px;
}
.newsletter-consent { flex-basis: 100%; font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 6px; }
.newsletter-consent a { color: var(--primary); }

/* =========================================================================
   PAGINATION (catégories / archives)
   ========================================================================= */
.pagination { display: flex; justify-content: center; gap: 10px; margin-bottom: 60px; }
.page-link {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-color); font-weight: bold; border-radius: 6px; color: var(--navy);
}
.page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-link:hover:not(.active) { background: var(--bg-alt); border-color: var(--primary); color: var(--primary); }

/* =========================================================================
   EN-TÊTE DE CATÉGORIE
   ========================================================================= */
.category-header { padding: 40px 0; background: var(--bg-alt); border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
.breadcrumbs { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 15px; }
.breadcrumbs a:hover { color: var(--primary); }
.category-header h1 { font-size: 48px; margin-bottom: 15px; letter-spacing: -1px; color: var(--navy); }
.category-description { max-width: 700px; font-size: 18px; color: var(--text-muted); font-family: 'Georgia', serif; font-style: italic; }

/* =========================================================================
   GALERIES PHOTO
   ========================================================================= */
.gallery-intro { padding: 60px 0 40px; background: var(--bg-alt); border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
.gallery-intro h1 { font-size: 42px; margin-bottom: 10px; color: var(--primary); letter-spacing: -1px; }
.gallery-intro p { font-family: 'Georgia', serif; font-size: 18px; color: var(--text-muted); font-style: italic; max-width: 800px; }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.photo-card {
    background: #fff; border: 1px solid var(--border-color);
    border-radius: var(--radius); overflow: hidden; transition: var(--transition);
}
.photo-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 24, 72, 0.12); }

.photo-wrapper {
    position: relative; width: 100%; aspect-ratio: 3 / 2;
    overflow: hidden; background: #eee; cursor: pointer;
}
.photo-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease; user-select: none; pointer-events: auto;
}
.photo-card:hover .photo-wrapper img { transform: scale(1.05); }

/* Filigrane */
.watermark {
    position: absolute; bottom: 10px; right: 10px; width: 80px;
    opacity: 0.4; pointer-events: none; user-select: none; z-index: 5;
}

.photo-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(200, 0, 72, 0.20);            /* teinte magenta de marque */
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease; z-index: 10;
}
.photo-card:hover .photo-overlay { opacity: 1; }

.photo-info { padding: 20px; }
.photo-title { font-size: 16px; font-weight: 800; margin-bottom: 5px; color: var(--navy); }
.photo-ref { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }

.buy-action {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--border-color); padding-top: 15px;
}
.photo-price { font-size: 18px; font-weight: 900; color: var(--primary); }
.btn-buy {
    background: var(--primary); color: white;
    padding: 8px 16px; font-size: 12px; font-weight: 800;
    border-radius: 50px; text-transform: uppercase;
}
.btn-buy:hover { background: var(--navy); }

/* =========================================================================
   LIGHTBOX (Visionneuse)
   ========================================================================= */
.lightbox {
    display: none; position: fixed; z-index: 5000; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0, 24, 72, 0.95);
    backdrop-filter: blur(5px);
    justify-content: center; align-items: center; flex-direction: column;
    padding: 20px; cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox-container {
    position: relative; max-width: 90%; max-height: 80vh;
    display: flex; justify-content: center; align-items: center;
}
.lightbox-img {
    max-width: 100%; max-height: 100%; object-fit: contain;
    border: 4px solid #fff; box-shadow: 0 0 30px rgba(0,0,0,0.5); cursor: default;
}
.lightbox-watermark { position: absolute; bottom: 20px; right: 20px; width: 120px; opacity: 0.3; pointer-events: none; }
.lightbox-close { position: absolute; top: -40px; right: 0; color: #fff; font-size: 30px; font-weight: bold; cursor: pointer; }
.lightbox-caption { color: #fff; margin-top: 20px; font-size: 18px; font-weight: bold; text-align: center; font-family: 'Helvetica Neue', sans-serif; }

/* =========================================================================
   ARTICLE (page article complète)
   ========================================================================= */
.article-header { padding: 40px 0 20px; position: relative; z-index: 10; }
.article-header .breadcrumbs { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--primary); font-weight: 800; margin-bottom: 20px; }
.article-header h1 { font-family: 'Helvetica Neue', Arial, sans-serif; font-size: clamp(32px, 5vw, 54px); line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 30px; color: var(--navy); }

/* Chapeau */
.chapo {
    font-family: 'Georgia', serif; font-size: 22px; line-height: 1.5;
    color: var(--text-main); font-weight: 400; font-style: italic;
    margin-bottom: 40px; border-left: 4px solid var(--primary); padding-left: 25px;
}

/* Bloc Auteur */
.author-box {
    display: flex; align-items: center; gap: 15px; padding: 25px 0;
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}
.author-avatar { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-color); }
.author-info { display: flex; flex-direction: column; }
.author-name { font-weight: 800; font-size: 14px; text-transform: uppercase; color: var(--primary); }
.article-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Image principale 16/9 */
.main-photo-wrapper { margin-bottom: 15px; max-width: 1200px; margin-left: auto; margin-right: auto; }
.main-photo {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
    background: #eee; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 24, 72, 0.08);
}
.photo-caption { font-size: 13px; color: var(--text-muted); margin-top: 12px; font-family: 'Helvetica Neue', sans-serif; text-align: left; border-left: 2px solid var(--border-color); padding-left: 10px; }

/* Contenu */
.article-content { font-family: 'Georgia', serif; font-size: 20px; color: #222; line-height: 1.7; text-align: justify; }
.article-content p { margin-bottom: 30px; }
.article-content h2 { font-family: 'Helvetica Neue', sans-serif; font-size: 32px; margin: 50px 0 25px; color: var(--primary); letter-spacing: -0.5px; }
.article-content h3 { font-family: 'Helvetica Neue', sans-serif; font-size: 24px; margin: 35px 0 15px; color: var(--navy); }

/* Bloc Citation */
.quote-block { margin: 45px 0; padding: 30px; background: var(--bg-alt); border-radius: 8px; text-align: center; border-left: 4px solid var(--primary); }
.quote-text { font-family: 'Georgia', serif; font-style: italic; font-size: 24px; color: var(--primary); display: block; margin-bottom: 15px; }
.quote-author { font-size: 13px; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; color: var(--navy); }

/* Badge "sponsorisé" article (cahier des charges 27.4) */
.sponsored-badge {
    display: inline-block; background: var(--primary); color: #fff;
    font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 50px; margin-bottom: 12px;
}

/* =========================================================================
   FOOTER ENRICHI
   ========================================================================= */
footer { background: var(--navy); color: #fff; margin-top: 50px; }
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
    padding: 48px 0 36px;
}
.footer-logo { font-size: 22px; font-weight: 900; letter-spacing: .04em; color: #fff; margin-bottom: 0; }
.footer-baseline { font-size: 13px; color: #b9c0d4; line-height: 1.6; margin: 12px 0 16px; }
.footer-baseline strong { color: var(--primary); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--primary); font-size: 13px; font-weight: 700; text-decoration: none; }
.footer-social a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links__title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 4px; }
.footer-links a { display: block; margin-bottom: 0; color: #b9c0d4; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.footer-bottom p { font-size: 12px; color: #8a93ad; margin: 0; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
    .logo img { width: 190px; height: 46px; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .hero--editorial { grid-template-columns: 1.6fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-main { grid-template-columns: auto 1fr; }
    .btn-subscribe { display: none; }
    .logo img { width: 160px; height: 39px; }

    .hero--editorial { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .partner-highlight { flex-direction: column; align-items: flex-start; }
    .theme-block__inner { padding: 30px 24px; }
    .newsletter-block { padding: 28px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

    .titlearth a { font-size: 28px; }
    .article-header h1 { font-size: 34px; }
    .chapo { font-size: 19px; }
    .article-content { font-size: 18px; }
    .gallery-intro h1 { font-size: 32px; }
    .photo-grid { grid-template-columns: 1fr; gap: 20px; }
    .category-header h1 { font-size: 34px; }
    .lightbox-container { max-width: 100%; }
}

@media (max-width: 480px) {
    .logo img { width: 150px; height: 36px; }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter-form input[type="email"] { min-width: 100%; }
}

/* =========================================================================
   BANDEAU RGPD / COOKIES
   ========================================================================= */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed; bottom: 16px; left: 16px; right: 16px;
    max-width: 760px; margin: 0 auto;
    background: var(--navy); color: #fff;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px -12px rgba(0,24,72,.6);
    padding: 20px 24px; z-index: 4000;
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; min-width: 240px; }
.cookie-banner__text strong { display: block; font-size: 14px; margin-bottom: 4px; }
.cookie-banner__text p { font-size: 13px; line-height: 1.5; color: #c5cbe0; margin: 0; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-btn {
    border: none; cursor: pointer; padding: 11px 22px; border-radius: 50px;
    font-size: 13px; font-weight: 800; text-transform: uppercase;
    background: var(--primary); color: #fff;
}
.cookie-btn:hover { opacity: .9; }
.cookie-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; }
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-banner__actions { justify-content: center; }
}

/* Feedback newsletter */
.nl-feedback { font-size: 14px; font-weight: 600; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.nl-feedback--ok { background: #d4edda; color: #155724; }
.nl-feedback--err { background: #f8d7da; color: #721c24; }