/* ============================================================
   ma-logistique.fr — Éditorial Monocle Briefing
   Palette deep navy + rust orange — fonts Plus Jakarta Sans + Newsreader
   ============================================================ */

:root {
  --e04-primary:    #1F4F7C;
  --e04-accent:     #C2410C;
  --e04-bg:         #F7F4EE;
  --e04-surface:    #FFFFFF;
  --e04-text:       #1F2D3D;
  --e04-text-soft:  #5E6F80;
  --e04-line:       #D4CFC4;
  --e04-line-soft:  #E6E1D5;
  --e04-shadow:     0 1px 2px rgba(31,45,61,.06), 0 8px 24px rgba(31,45,61,.05);
  --e04-radius:     2px;
  --e04-radius-lg:  4px;
  --e04-font-h:     'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --e04-font-b:     'Newsreader', Georgia, 'Times New Roman', serif;
  --e04-max:        1280px;
  --e04-gap:        clamp(1rem, 2vw, 1.5rem);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.e04-body {
  margin: 0;
  font-family: var(--e04-font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--e04-text);
  background: var(--e04-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--e04-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--e04-accent); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--e04-font-h);
  color: var(--e04-text);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.4rem); }
p { margin: 0 0 1em; }
main, .e04-main { padding-top: 0 !important; margin-top: 0 !important; }

.e04-container {
  width: 100%; max-width: var(--e04-max);
  margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem);
}

/* ============================================================
   HEADER — logo-left-menu-center (CTA disabled by config)
   Briefing compact style — top eyebrow bar + main row
   ============================================================ */
.e04-header {
  background: var(--e04-surface);
  border-bottom: 1px solid var(--e04-line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 var(--e04-line-soft);
}
.e04-header-eyebrow {
  background: var(--e04-primary);
  color: #F0E9DD;
  font-family: var(--e04-font-h);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .35rem 0;
}
.e04-header-eyebrow-inner {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--e04-max); margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  gap: 1rem;
}
.e04-header-eyebrow-dot {
  display: inline-block; width: 7px; height: 7px;
  background: var(--e04-accent); border-radius: 50%; margin-right: .5rem;
  vertical-align: middle;
}
.e04-header-inner {
  display: flex; align-items: center;
  gap: 1.75rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  max-width: var(--e04-max); margin: 0 auto;
}
.e04-brand-link { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.e04-brand-logo { width: auto; }
.e04-brand-name {
  font-family: var(--e04-font-h);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--e04-text);
  text-transform: lowercase;
  letter-spacing: 0;
  line-height: 1;
}

.e04-nav-desktop { display: none; flex: 1; justify-content: center; margin: 0 1rem; }
.e04-nav-desktop-list {
  display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0;
  align-items: center; flex-wrap: wrap; justify-content: center;
}
.e04-nav-desktop-list a {
  color: var(--e04-text); text-decoration: none;
  font-family: var(--e04-font-h);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
  padding: .4rem .25rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.e04-nav-desktop-list a:hover,
.e04-nav-desktop-list .current-cat > a,
.e04-nav-desktop-list .current-menu-item > a {
  color: var(--e04-accent);
  border-bottom-color: var(--e04-accent);
}

.e04-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--e04-line);
  border-radius: var(--e04-radius);
  cursor: pointer; margin-left: auto;
  padding: 0; color: var(--e04-text);
}
.e04-burger svg { width: 22px; height: 22px; }
.e04-burger:hover { background: var(--e04-bg); }

/* MOBILE DRAWER — hidden by default (rule 2026-06-04) */
.e04-nav-mobile { display: none; }
.e04-nav-mobile-overlay { display: none; }

@media (max-width: 1023px) {
  .e04-nav-mobile.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 86%; max-width: 380px;
    background: #FFFFFF;
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999; overflow-y: auto;
    box-shadow: -10px 0 30px rgba(31,45,61,0.3);
  }
  .e04-nav-mobile.is-open .e04-nav-mobile-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column;
  }
  .e04-nav-mobile.is-open .e04-nav-mobile-list a {
    display: block;
    padding: 1rem .25rem;
    color: #0A0A0A;
    font-family: var(--e04-font-h);
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 1px solid #E6E1D5;
    text-decoration: none;
  }
  .e04-nav-mobile.is-open .e04-nav-mobile-list a:hover { color: var(--e04-accent); }
  .e04-nav-mobile-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--e04-line);
    border-radius: var(--e04-radius); cursor: pointer; color: #0A0A0A;
  }
  .e04-nav-mobile-overlay.is-open {
    display: block;
    position: fixed; inset: 0;
    background: rgba(31,45,61,0.55);
    z-index: 9998;
  }
}

@media (min-width: 1024px) {
  .e04-nav-desktop { display: flex; }
  .e04-burger { display: none !important; }
}

/* ============================================================
   HERO — parallax-scroll
   ============================================================ */
.e04-hero {
  position: relative; overflow: hidden;
  min-height: 78vh;
  display: flex; align-items: center;
  background: #0F1F2E;
}
.e04-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  will-change: transform;
  transition: transform .1s linear;
}
.e04-hero-veil {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(15,31,46,.30) 0%, rgba(15,31,46,.78) 100%);
}
.e04-hero-inner {
  position: relative; z-index: 3;
  max-width: var(--e04-max); margin: 0 auto;
  padding: 5rem clamp(1rem, 3vw, 2rem) 4rem;
  width: 100%;
  color: #FFFFFF;
}
.e04-hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--e04-font-h);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #F0E9DD;
  font-weight: 600;
  padding: .35rem .75rem;
  background: rgba(194,65,12,.92);
  border-radius: var(--e04-radius);
  margin-bottom: 1.25rem;
}
.e04-hero-title {
  font-family: var(--e04-font-h);
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #FFFFFF !important;
  margin: 0 0 1rem;
  max-width: 880px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.e04-hero .e04-hero-title,
.e04-hero h1.e04-hero-title { color: #FFFFFF !important; }
.e04-hero-subtitle {
  font-family: var(--e04-font-b);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  max-width: 720px;
  color: #EBE5D8;
  margin: 0 0 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.e04-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   BUTTONS — rust_squared
   ============================================================ */
.e04-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.6rem;
  font-family: var(--e04-font-h);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  text-decoration: none;
  border-radius: var(--e04-radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.e04-btn--primary {
  background: var(--e04-accent); color: #FFFFFF;
  border-color: var(--e04-accent);
}
.e04-btn--primary:hover {
  background: #9B340A; border-color: #9B340A; color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(194,65,12,.30);
}
.e04-btn--ghost {
  background: transparent; color: #FFFFFF;
  border-color: rgba(255,255,255,.6);
}
.e04-btn--ghost:hover {
  background: rgba(255,255,255,.1); border-color: #FFFFFF; color: #FFFFFF;
}
.e04-btn--dark {
  background: var(--e04-primary); color: #FFFFFF; border-color: var(--e04-primary);
}
.e04-btn--dark:hover { background: #133552; border-color: #133552; color: #FFFFFF; }

/* CTA animation : timer_reveal_button */
.e04-btn--cta {
  position: relative; overflow: hidden;
  background: var(--e04-accent); color: #FFFFFF;
  border-color: var(--e04-accent);
}
.e04-btn--cta::before {
  content: "";
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  animation: e04-cta-timer-reveal 4s ease-in-out infinite;
}
@keyframes e04-cta-timer-reveal {
  0%, 65% { left: -100%; }
  85%, 100% { left: 100%; }
}
.e04-btn--cta:hover { background: #9B340A; border-color: #9B340A; transform: translateY(-1px); }

/* ============================================================
   EDITORIAL INTRO BLOCK (SEO 400-700 words on home)
   ============================================================ */
.e04-editorial {
  background: var(--e04-bg);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--e04-line);
}
.e04-editorial-inner {
  max-width: 920px; margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.e04-editorial-kicker {
  font-family: var(--e04-font-h);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--e04-accent);
  font-weight: 700;
  margin-bottom: .8rem;
}
.e04-editorial h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--e04-text);
}
.e04-editorial h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 2rem 0 .8rem;
  color: var(--e04-text);
}
.e04-editorial p {
  font-size: 1.08rem; line-height: 1.7;
  color: var(--e04-text);
}
.e04-editorial p strong { color: var(--e04-primary); }
.e04-editorial .e04-editorial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.e04-editorial .e04-editorial-card {
  background: var(--e04-surface);
  border: 1px solid var(--e04-line);
  padding: 1.25rem 1.5rem;
  border-radius: var(--e04-radius-lg);
}
.e04-editorial .e04-editorial-card h4 {
  font-family: var(--e04-font-h);
  font-size: 1rem;
  margin: 0 0 .5rem;
  color: var(--e04-primary);
  letter-spacing: .02em;
}
.e04-editorial .e04-editorial-card p {
  font-size: .95rem; line-height: 1.55;
  color: var(--e04-text-soft); margin: 0;
}
.e04-editorial-ligne {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--e04-primary);
  color: #F0E9DD;
  border-left: 4px solid var(--e04-accent);
  border-radius: var(--e04-radius);
}
.e04-editorial-ligne h3 {
  color: #FFFFFF;
  font-size: 1.1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.e04-editorial-ligne p { color: #EBE5D8; margin: 0; font-size: 1rem; }

/* ============================================================
   CATEGORIES GRID
   ============================================================ */
.e04-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.e04-section-head {
  max-width: var(--e04-max); margin: 0 auto 2rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; flex-wrap: wrap;
}
.e04-section-eyebrow {
  font-family: var(--e04-font-h);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--e04-accent);
  font-weight: 700;
  margin-bottom: .5rem;
}
.e04-section-title {
  font-family: var(--e04-font-h);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  color: var(--e04-text);
}
.e04-section-link {
  font-family: var(--e04-font-h);
  font-weight: 700; font-size: .92rem;
  color: var(--e04-primary);
  letter-spacing: .02em;
}
.e04-section-link:hover { color: var(--e04-accent); }

.e04-categories-grid {
  max-width: var(--e04-max); margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.e04-cat-card {
  background: var(--e04-surface);
  border: 1px solid var(--e04-line);
  border-radius: var(--e04-radius-lg);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.e04-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--e04-shadow);
  border-color: var(--e04-primary);
}
.e04-cat-card-img {
  display: block;
  width: 100%; height: 180px;
  object-fit: cover;
  background: var(--e04-primary);
}
.e04-cat-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.e04-cat-card-kicker {
  font-family: var(--e04-font-h);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--e04-accent);
  font-weight: 700; margin-bottom: .4rem;
}
.e04-cat-card h3 {
  font-size: 1.15rem;
  margin: 0 0 .5rem;
  color: var(--e04-text);
}
.e04-cat-card h3 a { color: inherit; }
.e04-cat-card h3 a:hover { color: var(--e04-primary); }
.e04-cat-card p {
  font-size: .94rem; line-height: 1.55;
  color: var(--e04-text-soft); margin: 0 0 .85rem;
}
.e04-cat-card-link {
  font-family: var(--e04-font-h);
  font-weight: 700; font-size: .85rem;
  color: var(--e04-primary);
  letter-spacing: .02em;
}
.e04-cat-card-link:hover { color: var(--e04-accent); }

/* ============================================================
   LATEST ARTICLES (15 grid)
   ============================================================ */
.e04-latest { background: var(--e04-surface); border-top: 1px solid var(--e04-line); }
.e04-latest-grid {
  max-width: var(--e04-max); margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
@media (min-width: 1024px) {
  .e04-latest-grid { grid-template-columns: repeat(3, 1fr); }
}
.e04-article-card {
  display: flex; flex-direction: column;
  background: var(--e04-surface);
  border-bottom: 2px solid var(--e04-line);
  padding-bottom: 1.25rem;
  transition: border-color .25s;
}
.e04-article-card:hover { border-bottom-color: var(--e04-accent); }
.e04-article-card-img {
  display: block; width: 100%; height: 200px;
  object-fit: cover; background: var(--e04-line-soft);
  margin-bottom: 1rem;
  border-radius: var(--e04-radius);
}
.e04-article-card-meta {
  font-family: var(--e04-font-h);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--e04-accent);
  font-weight: 700;
  margin-bottom: .4rem;
  display: flex; align-items: center; gap: .5rem;
}
.e04-article-card-meta a { color: inherit; }
.e04-article-card-meta a:hover { color: var(--e04-primary); }
.e04-article-card-meta .e04-dot {
  display: inline-block; width: 4px; height: 4px;
  background: var(--e04-line); border-radius: 50%;
}
.e04-article-card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0 0 .5rem;
  color: var(--e04-text);
}
.e04-article-card h3 a { color: inherit; }
.e04-article-card h3 a:hover { color: var(--e04-primary); }
.e04-article-card p {
  font-size: .98rem; line-height: 1.55;
  color: var(--e04-text-soft); margin: 0;
}

/* ============================================================
   CTR — trust_badges_row
   ============================================================ */
.e04-trust {
  background: var(--e04-primary);
  color: #F0E9DD;
  padding: 2.5rem 0;
  border-top: 1px solid #133552;
  border-bottom: 1px solid #133552;
}
.e04-trust-inner {
  max-width: var(--e04-max); margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; align-items: center;
}
.e04-trust-badge {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: .25rem;
  opacity: 0; transform: translateY(10px);
  animation: e04-trust-fade .8s ease forwards;
}
.e04-trust-badge:nth-child(1) { animation-delay: .1s; }
.e04-trust-badge:nth-child(2) { animation-delay: .25s; }
.e04-trust-badge:nth-child(3) { animation-delay: .4s; }
.e04-trust-badge:nth-child(4) { animation-delay: .55s; }
@keyframes e04-trust-fade {
  to { opacity: 1; transform: translateY(0); }
}
.e04-trust-badge svg { width: 32px; height: 32px; color: var(--e04-accent); margin-bottom: .25rem; }
.e04-trust-badge strong {
  font-family: var(--e04-font-h);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: .04em;
}
.e04-trust-badge span {
  font-family: var(--e04-font-h);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #C9C3B6;
}

/* ============================================================
   TOOL EMBED ON HOME
   ============================================================ */
.e04-tool-section {
  background: var(--e04-bg);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--e04-line);
}
.e04-tool-section-inner {
  max-width: 920px; margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.e04-tool-section-head { text-align: center; margin-bottom: 2rem; }
.e04-tool-section-head .e04-section-eyebrow { color: var(--e04-accent); }
.e04-tool-section-head h2 { margin: 0; }
.e04-tool-section-intro {
  font-size: 1.05rem; color: var(--e04-text-soft);
  text-align: center; max-width: 680px; margin: 0 auto 2rem;
}
.e04-tool-wrap {
  background: var(--e04-surface);
  border: 1px solid var(--e04-line);
  border-radius: var(--e04-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.e04-cat-hero {
  position: relative;
  height: 360px; max-height: 420px;
  overflow: hidden;
  background: var(--e04-primary);
}
.e04-cat-hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15,31,46,.45) 0%, rgba(15,31,46,.55) 100%);
  pointer-events: none;
}
.e04-cat-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.e04-cat-hero-inner {
  position: relative; z-index: 3;
  height: 100%;
  max-width: var(--e04-max); margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.e04-cat-hero h1,
.e04-cat-hero .e04-cat-hero-inner h1 {
  color: #FFFFFF !important;
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0,0,0,0.75), 0 0 32px rgba(0,0,0,0.45);
}
.e04-cat-hero-count {
  color: #FFFFFF !important;
  font-family: var(--e04-font-h);
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  margin-bottom: .9rem;
}
.e04-cat-intro {
  background: var(--e04-surface);
  padding: 3rem 0;
  border-bottom: 1px solid var(--e04-line);
}
.e04-cat-intro-inner {
  max-width: 860px; margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.e04-cat-intro p {
  font-size: 1.05rem; line-height: 1.7;
  color: var(--e04-text);
}

/* ============================================================
   FOOTER — intl_columns (4 cols)
   ============================================================ */
.e04-footer {
  background: #F4EFE4;
  color: #000000 !important;
  padding: 3.5rem 0 0;
  margin-top: 3rem;
  border-top: 3px solid var(--e04-accent);
}
.e04-footer,
.e04-footer *,
.e04-footer a,
.e04-footer a:link,
.e04-footer a:visited,
.e04-footer p,
.e04-footer span,
.e04-footer h1,
.e04-footer h2,
.e04-footer h3,
.e04-footer h4,
.e04-footer li,
.e04-footer strong,
.e04-footer em { color: #000000 !important; }
.e04-footer-inner {
  max-width: var(--e04-max); margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.e04-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.e04-footer-col {}
.e04-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  max-width: 130px;
}
.e04-footer-brand-name {
  font-family: var(--e04-font-h);
  font-weight: 800;
  font-size: 1.15rem;
  color: #000000 !important;
  text-transform: lowercase;
  letter-spacing: 0;
  margin-bottom: .5rem;
  display: block;
}
.e04-footer-brand-pitch {
  font-size: .95rem;
  line-height: 1.6;
  color: #000000 !important;
  margin: 0 0 1.25rem;
}
.e04-footer-brand-cta {
  display: inline-block;
  font-family: var(--e04-font-h);
  font-weight: 700; font-size: .85rem;
  color: #000000 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  letter-spacing: .02em;
}
.e04-footer-brand-cta:hover { color: var(--e04-accent) !important; }

.e04-footer-title {
  font-family: var(--e04-font-h);
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #000000 !important;
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.e04-footer-links {
  list-style: none; margin: 0; padding: 0;
}
.e04-footer-links li { margin: 0; }
.e04-footer-links a {
  display: block;
  padding: .35rem 0;
  font-size: .95rem;
  color: #000000 !important;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: color .2s, padding-left .2s;
}
.e04-footer-links a:hover {
  color: var(--e04-accent) !important;
  padding-left: .35rem;
}

.e04-footer-social {
  display: flex; gap: .5rem;
  margin-top: 1rem;
}
.e04-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.15);
  border-radius: var(--e04-radius);
  color: #000000 !important;
  transition: background .2s, color .2s, border-color .2s;
}
.e04-footer-social a:hover {
  background: var(--e04-accent);
  border-color: var(--e04-accent);
  color: #FFFFFF !important;
}
.e04-footer-social svg { width: 18px; height: 18px; }

.e04-footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.2);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-size: .85rem;
  color: #000000;
}
.e04-footer-bottom a {
  color: #000000 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0 .5rem;
}
.e04-footer-bottom a:hover { color: var(--e04-accent) !important; }

/* ============================================================
   METRICS LINKS BLOCK (between sections, optional)
   ============================================================ */
.e04-metrics-links {
  max-width: var(--e04-max); margin: 0 auto;
  padding: 2.5rem clamp(1rem, 3vw, 2rem);
}

/* ============================================================
   CONTACT FORM WRAPPER
   ============================================================ */
.e04-contact-form {
  max-width: 920px;
  margin: 2rem auto;
}
.e04-contact-form iframe {
  display: block;
  border-radius: var(--e04-radius-lg);
  box-shadow: var(--e04-shadow);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.e04-persona-photo {
  float: right;
  width: 240px;
  height: auto;
  margin: 0 0 1.5rem 2rem;
  border-radius: var(--e04-radius-lg);
  box-shadow: var(--e04-shadow);
}
@media (max-width: 720px) {
  .e04-persona-photo { float: none; display: block; margin: 0 auto 1.5rem; width: 75%; max-width: 280px; }
}

/* ============================================================
   CTO — newsletter_slide_popup
   ============================================================ */
@keyframes e04-cto-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.e04-cto-popup {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 9000;
  width: min(360px, calc(100% - 2rem));
  background: var(--e04-surface);
  border: 1px solid var(--e04-line);
  border-top: 4px solid var(--e04-accent);
  border-radius: var(--e04-radius-lg);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 20px 50px rgba(15,31,46,.20);
  animation: e04-cto-slide-in .55s cubic-bezier(.2,.8,.2,1) forwards;
  display: none;
}
.e04-cto-popup.is-visible { display: block; }
.e04-cto-popup-close {
  position: absolute; top: .5rem; right: .5rem;
  background: transparent; border: 0; cursor: pointer;
  color: var(--e04-text-soft); padding: .25rem;
}
.e04-cto-popup h4 {
  font-family: var(--e04-font-h);
  font-size: 1.05rem;
  color: var(--e04-text);
  margin: 0 0 .35rem;
}
.e04-cto-popup p {
  font-size: .92rem;
  color: var(--e04-text-soft);
  margin: 0 0 .85rem;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .e04-hero-inner { padding: 3rem 1rem 2.5rem; }
  .e04-hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .e04-section-head { flex-direction: column; align-items: flex-start; }
  .e04-footer-bottom { flex-direction: column; text-align: center; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
