/*
Theme Name: Eco78
Theme URI: https://eco78.fr
Author: 21HumanCapital
Author URI: https://21humancapital.com
Description: Thème WordPress éditorial premium pour Eco78, le média de ceux qui font les Yvelines. Design presse régionale moderne avec méga-menus, rubriques Entreprises, Personnalités, Emploi, Immobilier, Territoire, Lifestyle et Agenda. Newsletter intégrée, carte interactive, contribution rédaction, annuaire entreprises.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eco78
Tags: news, editorial, business, magazine, local, custom-logo, custom-menu, featured-images, translation-ready, block-styles, wide-blocks
*/

:root {
  --eco-forest: #1d3a2b;
  --eco-forest-deep: #13271c;
  --eco-forest-soft: #2d5940;
  --eco-ochre: #b8894a;
  --eco-ochre-bright: #d4a15f;
  --eco-cream: #f6f1e7;
  --eco-cream-dark: #ebe3d1;
  --eco-paper: #fbf8f2;
  --eco-ink: #1a1a1a;
  --eco-ink-soft: #3d3d3d;
  --eco-ink-muted: #6b6b6b;
  --eco-line: #d9d2c1;
  --eco-red: #a8352a;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1320px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--eco-ink); background: var(--eco-paper); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--eco-forest-deep);
  margin: 0 0 1rem;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
p { margin: 0 0 1rem; }

.eco-container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); overflow: hidden; width: 1px; height: 1px; }

.eco-kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eco-ochre);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.eco-kicker::before { content: ""; width: 22px; height: 2px; background: var(--eco-ochre); }

/* TOPBAR */
.eco-topbar { background: var(--eco-forest-deep); color: var(--eco-cream); font-size: 0.78rem; padding: 0.6rem 0; }
.eco-topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.eco-topbar-left { display: flex; gap: 24px; align-items: center; }
.eco-dept-badge {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--eco-ochre-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.eco-dept-badge::before {
  content: "78";
  background: var(--eco-ochre);
  color: var(--eco-forest-deep);
  font-family: var(--font-body);
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  font-size: 0.7rem;
}
.eco-topbar-right { display: flex; gap: 20px; opacity: 0.8; font-variant-numeric: tabular-nums; }
.eco-topbar-right strong { color: var(--eco-ochre-bright); font-weight: 700; }

/* HEADER */
.eco-header {
  background: rgba(251, 248, 242, 0.97);
  border-bottom: 2px solid var(--eco-forest);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.eco-header::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--eco-forest) 0%, var(--eco-forest) 33%, var(--eco-ochre) 33%, var(--eco-ochre) 66%, var(--eco-red) 66%, var(--eco-red) 100%);
}
.eco-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 16px; gap: 32px; }
.eco-logo-wrap { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; text-decoration: none; }
.eco-logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.4rem;
  color: var(--eco-forest-deep);
  letter-spacing: -0.035em;
  line-height: 0.95;
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.eco-logo-num { color: var(--eco-ochre); font-weight: 600; font-style: italic; font-size: 0.9em; }
.eco-logo-tagline {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--eco-ink-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* NAV */
.eco-nav { display: flex; align-items: stretch; }
.eco-menu { list-style: none; display: flex; margin: 0; padding: 0; }
.eco-menu > li { position: relative; }
.eco-menu > li > a {
  display: flex; align-items: center; padding: 22px 14px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.78rem;
  color: var(--eco-ink); letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; cursor: pointer;
}
.eco-menu > li > a::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 2px; background: var(--eco-ochre);
  transition: all 0.3s var(--ease); transform: translateX(-50%);
}
.eco-menu > li:hover > a,
.eco-menu > li.current-menu-item > a { color: var(--eco-forest); }
.eco-menu > li:hover > a::after,
.eco-menu > li.current-menu-item > a::after { width: 60%; }

/* Méga-menu */
.eco-menu .sub-menu {
  position: absolute; top: 100%; left: 0;
  background: var(--eco-paper); min-width: 280px;
  padding: 20px 0; list-style: none; margin: 0;
  box-shadow: 0 20px 50px rgba(19, 39, 28, 0.15);
  border-top: 2px solid var(--eco-ochre);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.22s var(--ease); z-index: 200;
}
.eco-menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.eco-menu .sub-menu li a {
  display: block; padding: 10px 22px;
  font-family: var(--font-body); font-size: 0.88rem;
  color: var(--eco-ink); font-weight: 500;
  border-left: 2px solid transparent;
  transition: all 0.15s var(--ease);
}
.eco-menu .sub-menu li a:hover {
  background: var(--eco-cream); border-left-color: var(--eco-ochre);
  color: var(--eco-forest); padding-left: 26px;
}
.eco-menu .sub-menu li.menu-item-highlight a {
  margin-top: 8px; border-top: 1px solid var(--eco-line); padding-top: 14px;
  color: var(--eco-ochre); font-weight: 700;
}
.eco-menu .sub-menu li a .eco-mega-desc {
  display: block; font-family: var(--font-display); font-size: 0.72rem;
  font-style: italic; color: var(--eco-ink-muted); font-weight: 400;
  margin-top: 2px; letter-spacing: 0;
}

/* HEADER ACTIONS */
.eco-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.eco-contribute-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600; color: var(--eco-forest);
  letter-spacing: 0.05em; border: 1px dashed var(--eco-ochre);
  border-radius: 2px; transition: all 0.2s var(--ease);
}
.eco-contribute-link:hover { border-style: solid; background: var(--eco-ochre); color: var(--eco-forest-deep); }
.eco-search-btn {
  width: 38px; height: 38px; border: 1px solid var(--eco-line);
  background: transparent; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease); color: var(--eco-forest);
}
.eco-search-btn:hover { border-color: var(--eco-forest); background: var(--eco-forest); color: var(--eco-cream); }
.eco-cta-subscribe {
  background: var(--eco-forest); color: var(--eco-cream); border: none;
  padding: 12px 22px; font-family: var(--font-body);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer; border-radius: 2px;
  transition: all 0.25s var(--ease); display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.eco-cta-subscribe::before { content: "✉"; font-size: 0.95rem; }
.eco-cta-subscribe:hover { background: var(--eco-ochre); color: var(--eco-forest-deep); transform: translateY(-1px); }

/* Mobile burger */
.eco-mobile-burger {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--eco-line); background: transparent;
  border-radius: 50%; cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--eco-forest);
}

/* HERO */
.eco-hero { padding: 52px 0 72px; }
.eco-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.eco-hero-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--eco-forest-soft) 0%, var(--eco-forest-deep) 100%);
  margin-bottom: 24px; position: relative; overflow: hidden;
}
.eco-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.eco-hero-img-label {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(0,0,0,0.5); color: var(--eco-cream);
  padding: 6px 12px; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600; z-index: 2;
}
.eco-hero h1 { font-size: 3.2rem; margin-bottom: 16px; }
.eco-hero h1 a { color: var(--eco-forest-deep); }
.eco-hero h1 a:hover { color: var(--eco-ochre); }
.eco-dek {
  font-family: var(--font-display); font-style: italic;
  font-weight: 400; font-size: 1.25rem; line-height: 1.45;
  color: var(--eco-ink-soft); margin-bottom: 20px;
}
.eco-byline {
  font-size: 0.85rem; color: var(--eco-ink-muted);
  display: flex; gap: 16px; padding-top: 12px;
  border-top: 1px solid var(--eco-line);
}
.eco-byline strong { color: var(--eco-forest); font-weight: 600; }

.eco-hero-side {
  border-left: 1px solid var(--eco-line); padding-left: 32px;
  display: flex; flex-direction: column; gap: 28px;
}
.eco-hero-side-item { padding-bottom: 24px; border-bottom: 1px solid var(--eco-line); }
.eco-hero-side-item:last-child { border: none; padding: 0; }
.eco-hero-side-img { aspect-ratio: 16/10; margin-bottom: 12px; background: var(--eco-cream-dark); overflow: hidden; }
.eco-hero-side-img img { width: 100%; height: 100%; object-fit: cover; }
.eco-hero-side-item h3 { font-size: 1.15rem; margin-bottom: 6px; line-height: 1.25; }
.eco-hero-side-item .eco-byline { font-size: 0.72rem; border: none; padding: 0; }

/* SECTIONS */
.eco-section { padding: 64px 0; border-top: 1px solid var(--eco-line); }
.eco-section-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 32px; padding-bottom: 12px;
  border-bottom: 2px solid var(--eco-forest-deep);
}
.eco-section-title {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 500;
  display: inline-flex; align-items: baseline; gap: 12px; margin: 0;
}
.eco-section-title::before {
  content: ""; width: 8px; height: 8px;
  background: var(--eco-ochre); display: inline-block; border-radius: 50%;
  transform: translateY(-4px);
}
.eco-section-sub {
  font-family: var(--font-display); font-style: italic;
  font-size: 0.95rem; color: var(--eco-ink-muted); margin-left: 16px;
}
.eco-section-more {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--eco-ochre);
}

.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.eco-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }

.eco-card { display: flex; flex-direction: column; gap: 12px; }
.eco-card-img {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: var(--eco-cream-dark);
}
.eco-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.eco-card:hover .eco-card-img img { transform: scale(1.03); }
.eco-category-tag {
  position: absolute; top: 0; left: 0;
  background: var(--eco-forest); color: var(--eco-cream);
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 6px 10px;
}
.eco-category-tag.is-portrait { background: var(--eco-ochre); color: var(--eco-forest-deep); }
.eco-card h3 { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; font-weight: 500; margin: 0; }
.eco-card h3 a { color: var(--eco-forest-deep); }
.eco-card h3 a:hover { color: var(--eco-ochre); }
.eco-card p { font-size: 0.92rem; color: var(--eco-ink-soft); line-height: 1.55; margin: 0; }
.eco-card .eco-byline { font-size: 0.75rem; border: none; padding: 0; margin-top: auto; }

/* PERSONNALITÉS */
.eco-personnalites { padding: 80px 0; background: var(--eco-paper); border-top: 1px solid var(--eco-line); }
.eco-personnalites-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-bottom: 40px; }
.eco-perso-portrait { aspect-ratio: 4/3; margin-bottom: 20px; position: relative; overflow: hidden; background: linear-gradient(135deg, #6a8578 0%, #1d3a2b 70%, #13271c 100%); }
.eco-perso-portrait img { width: 100%; height: 100%; object-fit: cover; }
.eco-perso-tag {
  display: inline-block; background: var(--eco-ochre); color: var(--eco-forest-deep);
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 5px 10px; margin-bottom: 12px;
}
.eco-perso-featured h3 { font-size: 1.9rem; line-height: 1.15; margin-bottom: 14px; }
.eco-perso-featured p { font-size: 1rem; color: var(--eco-ink-soft); line-height: 1.55; margin-bottom: 14px; }
.eco-perso-meta { display: flex; gap: 10px; font-size: 0.8rem; color: var(--eco-ink-muted); }
.eco-perso-location {
  font-weight: 700; color: var(--eco-forest);
  letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.72rem;
}
.eco-perso-stack { display: grid; gap: 18px; align-content: start; }
.eco-perso-mini {
  display: grid; grid-template-columns: 100px 1fr; gap: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--eco-line); align-items: center;
}
.eco-perso-mini:last-child { border-bottom: none; padding-bottom: 0; }
.eco-perso-mini-img { width: 100px; height: 100px; border-radius: 50%; background: var(--eco-cream-dark); overflow: hidden; }
.eco-perso-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.eco-perso-tag-sm {
  font-family: var(--font-body); font-size: 0.64rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--eco-ochre); display: block; margin-bottom: 4px;
}
.eco-perso-mini h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 500; line-height: 1.25; margin: 0; }

.eco-perso-classement {
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
  align-items: center; padding: 32px 36px;
  background: linear-gradient(110deg, var(--eco-forest-deep) 0%, var(--eco-forest) 100%);
  color: var(--eco-cream); position: relative; overflow: hidden;
}
.eco-perso-classement::after {
  content: "100"; position: absolute; right: 260px; bottom: -30px;
  font-family: var(--font-display); font-style: italic;
  font-size: 14rem; font-weight: 600; color: var(--eco-forest-soft);
  opacity: 0.35; line-height: 1; pointer-events: none;
}
.eco-perso-classement-left { position: relative; z-index: 1; }
.eco-perso-classement .eco-kicker { color: var(--eco-ochre-bright); }
.eco-perso-classement h3 { color: var(--eco-cream); font-size: 1.8rem; margin-bottom: 10px; }
.eco-perso-classement p { color: rgba(246, 241, 231, 0.85); font-size: 0.95rem; max-width: 560px; }
.eco-perso-classement-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--eco-ochre); color: var(--eco-forest-deep);
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 16px 26px; border-radius: 2px;
  transition: all 0.2s var(--ease); z-index: 1; position: relative;
}
.eco-perso-classement-cta:hover { background: var(--eco-ochre-bright); transform: translateX(4px); }

/* SPONSOR */
.eco-sponsor {
  background: linear-gradient(135deg, var(--eco-forest-deep) 0%, var(--eco-forest) 100%);
  color: var(--eco-cream); padding: 32px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px; margin: 40px 0 0;
  position: relative; overflow: hidden;
}
.eco-sponsor::after {
  content: "SPONSORISÉ"; position: absolute; top: 12px; right: 12px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--eco-ochre-bright); background: rgba(0,0,0,0.3); padding: 4px 8px;
}
.eco-sponsor-logo {
  width: 70px; height: 70px; background: var(--eco-cream); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.8rem; color: var(--eco-forest-deep); font-weight: 600;
}
.eco-sponsor-title { color: var(--eco-cream); font-size: 1.3rem; margin-bottom: 4px; font-weight: 500; }
.eco-sponsor-desc { color: rgba(246, 241, 231, 0.8); font-size: 0.9rem; margin: 0; }
.eco-sponsor-cta {
  padding: 12px 24px; background: var(--eco-ochre); color: var(--eco-forest-deep);
  font-weight: 700; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.08em; border-radius: 2px; border: none; cursor: pointer;
  font-family: var(--font-body);
}

/* NEWSLETTER */
.eco-newsletter {
  background: var(--eco-forest-deep); color: var(--eco-cream);
  padding: 88px 0; position: relative; overflow: hidden;
}
.eco-newsletter::before {
  content: "78"; position: absolute; right: -3rem; top: 50%;
  transform: translateY(-50%); font-family: var(--font-display);
  font-size: 30rem; font-weight: 600; font-style: italic;
  color: var(--eco-forest); opacity: 0.4; line-height: 1; pointer-events: none;
}
.eco-newsletter-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.eco-newsletter .eco-kicker { color: var(--eco-ochre-bright); }
.eco-newsletter h2 { color: var(--eco-cream); font-size: 2.6rem; margin-bottom: 16px; }
.eco-newsletter p { color: rgba(246, 241, 231, 0.85); font-size: 1.05rem; max-width: 480px; margin-bottom: 28px; }
.eco-newsletter-form {
  display: flex; background: rgba(255,255,255,0.08);
  padding: 6px; border: 1px solid rgba(255,255,255,0.15); border-radius: 3px;
}
.eco-newsletter-form input[type="email"] {
  flex: 1; background: transparent; border: none;
  padding: 14px 16px; font-family: var(--font-body);
  font-size: 0.95rem; color: var(--eco-cream); outline: none;
}
.eco-newsletter-form input::placeholder { color: rgba(246, 241, 231, 0.5); }
.eco-newsletter-form button {
  background: var(--eco-ochre); border: none;
  color: var(--eco-forest-deep); font-family: var(--font-body);
  font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0 28px; cursor: pointer; border-radius: 2px;
}
.eco-newsletter-perks {
  list-style: none; display: grid; gap: 10px;
  font-size: 0.88rem; color: rgba(246, 241, 231, 0.75);
  margin: 24px 0 0; padding: 0;
}
.eco-newsletter-perks li { padding-left: 1.5rem; position: relative; }
.eco-newsletter-perks li::before { content: "→"; position: absolute; left: 0; color: var(--eco-ochre-bright); font-weight: 700; }
.eco-newsletter-msg { margin-top: 14px; font-size: 0.88rem; color: var(--eco-ochre-bright); }

/* LIFESTYLE */
.eco-lifestyle { padding: 80px 0; background: linear-gradient(180deg, var(--eco-paper) 0%, var(--eco-cream) 100%); }
.eco-lifestyle-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 32px; }
.eco-lifestyle-big {
  aspect-ratio: 16/11; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px; color: var(--eco-cream);
  background: linear-gradient(135deg, #b8706a 0%, #6b2019 100%);
}
.eco-lifestyle-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.eco-lifestyle-big::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(19, 39, 28, 0.85) 100%);
}
.eco-lifestyle-big > * { position: relative; z-index: 2; }
.eco-lifestyle-big .eco-category-tag { background: var(--eco-ochre); color: var(--eco-forest-deep); }
.eco-lifestyle-big h3 { color: var(--eco-cream); font-size: 2rem; font-weight: 500; line-height: 1.15; margin: 12px 0 8px; }
.eco-lifestyle-big p { color: rgba(246, 241, 231, 0.85); font-size: 0.95rem; }
.eco-lifestyle-side { display: grid; gap: 16px; }
.eco-lifestyle-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--eco-line);
}
.eco-lifestyle-item:last-child { border: none; padding: 0; }
.eco-lifestyle-item-img { aspect-ratio: 4/3; overflow: hidden; background: var(--eco-cream-dark); }
.eco-lifestyle-item-img img { width: 100%; height: 100%; object-fit: cover; }
.eco-lifestyle-item .eco-kicker { font-size: 0.65rem; margin-bottom: 4px; }
.eco-lifestyle-item h4 { font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.2; margin: 0; }

/* AGENDA */
.eco-agenda { padding: 72px 0; }
.eco-agenda-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eco-agenda-item {
  background: var(--eco-paper); border: 1px solid var(--eco-line);
  padding: 24px; display: flex; gap: 18px;
  transition: all 0.2s var(--ease);
}
.eco-agenda-item:hover { border-color: var(--eco-forest); transform: translateY(-2px); }
.eco-agenda-date {
  flex-shrink: 0; width: 64px; text-align: center; padding: 12px 0;
  background: var(--eco-forest-deep); color: var(--eco-cream); border-radius: 3px;
}
.eco-agenda-day { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; line-height: 1; color: var(--eco-ochre-bright); }
.eco-agenda-month {
  font-family: var(--font-body); font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-top: 4px; opacity: 0.8;
}
.eco-agenda-content .eco-kicker { margin-bottom: 6px; font-size: 0.68rem; }
.eco-agenda-content h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; margin-bottom: 6px; line-height: 1.25; }
.eco-agenda-meta { font-size: 0.78rem; color: var(--eco-ink-muted); display: flex; gap: 10px; flex-wrap: wrap; }

/* CONTRIBUER */
.eco-contribute { padding: 80px 0; background: var(--eco-cream); border-top: 1px solid var(--eco-line); }
.eco-contribute-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.eco-contribute-intro h2 { font-size: 2.4rem; margin-bottom: 18px; line-height: 1.1; }
.eco-contribute-intro p { color: var(--eco-ink-soft); font-size: 1.02rem; line-height: 1.6; margin-bottom: 16px; }
.eco-contribute-commit {
  padding: 14px 18px; border-left: 3px solid var(--eco-ochre);
  background: var(--eco-paper); font-style: italic;
  font-family: var(--font-display); font-size: 0.95rem; color: var(--eco-forest-deep);
}
.eco-contribute-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eco-channel {
  background: var(--eco-paper); border: 1px solid var(--eco-line);
  padding: 22px; display: grid; grid-template-columns: auto 1fr;
  gap: 16px; align-items: start; transition: all 0.22s var(--ease);
}
.eco-channel:hover { border-color: var(--eco-forest); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(19, 39, 28, 0.08); }
.eco-channel-icon {
  width: 44px; height: 44px; background: var(--eco-forest-deep);
  color: var(--eco-ochre-bright); border-radius: 3px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.eco-channel h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; margin: 0 0 4px; color: var(--eco-forest-deep); }
.eco-channel p { font-size: 0.82rem; color: var(--eco-ink-soft); line-height: 1.45; margin-bottom: 8px; }
.eco-channel-meta {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--eco-ochre);
}
.eco-channel-alert .eco-channel-icon { background: var(--eco-red); color: var(--eco-cream); }
.eco-channel-alert .eco-channel-meta { color: var(--eco-red); }

/* FOOTER */
.eco-footer { background: var(--eco-forest-deep); color: var(--eco-cream); padding: 72px 0 24px; margin-top: 64px; }
.eco-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.eco-footer h4 {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--eco-ochre-bright); margin-bottom: 16px;
}
.eco-footer-brand .eco-logo { color: var(--eco-cream); font-size: 2.4rem; }
.eco-footer-brand p { color: rgba(246, 241, 231, 0.7); font-size: 0.92rem; line-height: 1.55; max-width: 320px; margin-top: 12px; }
.eco-footer ul { list-style: none; display: grid; gap: 8px; padding: 0; margin: 0; }
.eco-footer a { color: rgba(246, 241, 231, 0.75); font-size: 0.9rem; }
.eco-footer a:hover { color: var(--eco-ochre-bright); }
.eco-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px; display: flex; justify-content: space-between;
  align-items: center; font-size: 0.8rem; color: rgba(246, 241, 231, 0.55);
}
.eco-footer-legal { display: flex; gap: 24px; }

/* SINGLE / ARTICLE */
.eco-article { padding: 48px 0; }
.eco-article-header { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.eco-article-header h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 16px 0; }
.eco-article-meta { display: flex; gap: 16px; justify-content: center; font-size: 0.85rem; color: var(--eco-ink-muted); padding-top: 16px; border-top: 1px solid var(--eco-line); max-width: 440px; margin: 24px auto 0; }
.eco-article-featured { max-width: 1440px; margin: 0 auto 32px; aspect-ratio: 21/9; overflow: hidden; }
.eco-article-featured img { width: 100%; height: 100%; object-fit: cover; }
.eco-article-content { max-width: 760px; margin: 0 auto; font-size: 1.08rem; line-height: 1.75; }
.eco-article-content p { margin-bottom: 1.2rem; }
.eco-article-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: 1.8rem; }
.eco-article-content h3 { margin-top: 2rem; margin-bottom: 0.8rem; font-size: 1.4rem; }
.eco-article-content blockquote {
  border-left: 3px solid var(--eco-ochre);
  padding: 0.5rem 1.5rem; margin: 2rem 0;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.3rem; line-height: 1.4; color: var(--eco-forest-deep);
}
.eco-article-content p:first-of-type::first-letter {
  font-family: var(--font-display); font-size: 4.5em;
  float: left; line-height: 0.85;
  margin: 0.08em 0.08em 0 -0.05em;
  color: var(--eco-ochre); font-weight: 500;
}

/* PAGINATION */
.eco-pagination { display: flex; justify-content: center; gap: 6px; margin: 48px 0; }
.eco-pagination a, .eco-pagination span {
  padding: 10px 16px; border: 1px solid var(--eco-line);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 600;
  background: var(--eco-paper); transition: all 0.15s var(--ease);
  color: var(--eco-ink); text-decoration: none;
}
.eco-pagination .current { background: var(--eco-forest); color: var(--eco-cream); border-color: var(--eco-forest); }
.eco-pagination a:hover { border-color: var(--eco-forest); }

/* ARCHIVE HEADER */
.eco-archive-header { padding: 40px 0 32px; border-bottom: 1px solid var(--eco-line); }
.eco-archive-title { font-size: 3rem; margin-bottom: 8px; }
.eco-archive-desc { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--eco-ink-soft); max-width: 720px; }

/* WORDPRESS CORE */
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 0.82rem; color: var(--eco-ink-muted); text-align: center; padding: 0.6rem 0; font-style: italic; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .eco-container { padding: 0 20px; }
  .eco-header-inner { gap: 20px; }
  .eco-menu > li > a { padding: 22px 10px; font-size: 0.72rem; letter-spacing: 0.05em; }
  .eco-contribute-link span { display: none; }
  .eco-contribute-link { padding: 9px 10px; }
  .eco-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .eco-hero-side { border-left: none; padding-left: 0; border-top: 1px solid var(--eco-line); padding-top: 32px; }
  .eco-personnalites-grid { grid-template-columns: 1fr; gap: 32px; }
  .eco-perso-classement { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  .eco-perso-classement::after { font-size: 10rem; right: -20px; bottom: -40px; }
  .eco-grid, .eco-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .eco-lifestyle-hero, .eco-newsletter-inner { grid-template-columns: 1fr; }
  .eco-newsletter::before { font-size: 18rem; right: -2rem; opacity: 0.25; }
  .eco-contribute-grid { grid-template-columns: 1fr; gap: 40px; }
  .eco-contribute-channels { grid-template-columns: 1fr 1fr; }
  .eco-agenda-list { grid-template-columns: 1fr; }
  .eco-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .eco-container { padding: 0 16px; }
  .eco-hero h1 { font-size: 2.1rem; }
  .eco-dek { font-size: 1.05rem; }
  .eco-topbar { padding: 0.5rem 0; font-size: 0.7rem; }
  .eco-topbar-inner { flex-wrap: wrap; gap: 8px; }
  .eco-topbar-right { display: none; }
  .eco-header::before { height: 3px; }
  .eco-header-inner { padding: 14px 0; gap: 12px; }
  .eco-logo { font-size: 1.8rem; }
  .eco-logo-tagline { display: none; }
  .eco-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--eco-paper); z-index: 300; padding: 80px 24px 24px; overflow-y: auto; flex-direction: column; }
  .eco-nav.is-open { display: flex; }
  .eco-nav.is-open .eco-menu { flex-direction: column; gap: 0; }
  .eco-nav.is-open .eco-menu > li { border-bottom: 1px solid var(--eco-line); }
  .eco-nav.is-open .eco-menu > li > a { padding: 16px 0; font-size: 1rem; }
  .eco-nav.is-open .eco-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 16px 16px; }
  .eco-contribute-link { display: none; }
  .eco-mobile-burger { display: flex; }
  .eco-search-btn { width: 34px; height: 34px; }
  .eco-cta-subscribe { padding: 10px 14px; font-size: 0.7rem; letter-spacing: 0.05em; }
  .eco-hero { padding: 32px 0 48px; }
  .eco-section { padding: 48px 0; }
  .eco-section-header { flex-direction: column; gap: 8px; align-items: flex-start; }
  .eco-section-title { font-size: 1.4rem; }
  .eco-section-sub { margin-left: 0; font-size: 0.85rem; display: block; margin-top: 4px; }
  .eco-grid, .eco-grid-4 { grid-template-columns: 1fr; gap: 28px; }
  .eco-personnalites { padding: 48px 0; }
  .eco-perso-featured h3 { font-size: 1.5rem; }
  .eco-perso-mini { grid-template-columns: 80px 1fr; gap: 14px; }
  .eco-perso-mini-img { width: 80px; height: 80px; }
  .eco-sponsor { grid-template-columns: 1fr; text-align: center; padding: 24px; gap: 16px; }
  .eco-newsletter { padding: 56px 0; }
  .eco-newsletter::before { font-size: 14rem; right: -3rem; top: auto; bottom: -2rem; transform: none; opacity: 0.2; }
  .eco-newsletter h2 { font-size: 1.7rem; }
  .eco-newsletter-form { flex-direction: column; padding: 6px; }
  .eco-newsletter-form input { text-align: center; }
  .eco-newsletter-form button { padding: 14px; width: 100%; }
  .eco-lifestyle, .eco-agenda, .eco-contribute { padding: 48px 0; }
  .eco-lifestyle-big { aspect-ratio: 4/3; padding: 24px; }
  .eco-lifestyle-big h3 { font-size: 1.4rem; }
  .eco-contribute-channels { grid-template-columns: 1fr; }
  .eco-footer { padding: 48px 0 20px; }
  .eco-footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .eco-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .eco-footer-legal { flex-wrap: wrap; justify-content: center; }
}
