/* ==========================================================================
   LePixel Blanc — Minimaliste Grille Architecte
   Palette concurrent webandseo.fr (vert sombre + vert vif) + blueprint
   ========================================================================== */

:root {
  --ea1-primary:    #12302e;
  --ea1-accent:     #00d084;
  --ea1-text:       #232525;
  --ea1-text-soft:  #5b5e5e;
  --ea1-bg:         #ffffff;
  --ea1-surface:    #f5f5f5;
  --ea1-line:       #d8d8d8;

  --ea1-font-h:     'Encode Sans', -apple-system, system-ui, sans-serif;
  --ea1-font-b:     'Encode Sans', -apple-system, system-ui, sans-serif;

  --ea1-radius:     6px;
  --ea1-shadow:     0 4px 14px rgba(18,48,46,.08);
  --ea1-shadow-md:  0 10px 28px rgba(18,48,46,.14);

  --ea1-maxw:       1240px;
  --ea1-grid:       24px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ea1-font-b);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ea1-text);
  background: var(--ea1-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ea1-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ea1-accent); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ea1-font-h);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .6rem;
  color: var(--ea1-primary);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { margin: 0 0 1rem; }

.ea1-container {
  max-width: var(--ea1-maxw);
  margin: 0 auto;
  padding: 0 var(--ea1-grid);
}

/* === BLUEPRINT GRID BACKGROUND (subtil) === */
.ea1-body {
  background-image:
    linear-gradient(to right, rgba(18,48,46,.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18,48,46,.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* === BUTTONS — blueprint outlined === */
.ea1-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  font-family: var(--ea1-font-h);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  border-radius: var(--ea1-radius);
  text-decoration: none;
  cursor: pointer;
  transition: all .22s ease;
  border: 2px solid var(--ea1-primary);
  background: var(--ea1-primary);
  color: #fff;
}
.ea1-btn:hover {
  background: var(--ea1-accent);
  color: var(--ea1-primary);
  border-color: var(--ea1-accent);
  transform: translateY(-2px);
}
.ea1-btn--outline {
  background: transparent;
  color: var(--ea1-primary);
}
.ea1-btn--outline:hover {
  background: var(--ea1-primary);
  color: #fff;
}
.ea1-btn--ghost {
  background: transparent;
  border-color: var(--ea1-line);
  color: var(--ea1-text-soft);
}
.ea1-btn--cta {
  background: var(--ea1-accent);
  color: var(--ea1-primary);
  border-color: var(--ea1-accent);
}

/* === HEADER — logo-center-menu-split (blueprint grid bordering) === */
.ea1-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ea1-bg);
  border-bottom: 1px solid var(--ea1-line);
  box-shadow: var(--ea1-shadow);
}
.ea1-header-inner {
  max-width: var(--ea1-maxw);
  margin: 0 auto;
  padding: 1rem var(--ea1-grid);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.ea1-nav-left,
.ea1-nav-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.ea1-nav-right { justify-content: flex-end; }
.ea1-nav-left { justify-content: flex-start; }

.ea1-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.4rem;
}
.ea1-nav-list a,
.ea1-nav-list li > a {
  font-family: var(--ea1-font-h);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ea1-primary);
  letter-spacing: .015em;
  position: relative;
  padding: .5rem 0;
}
.ea1-nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--ea1-accent);
  transition: width .25s ease;
}
.ea1-nav-list a:hover::after,
.ea1-nav-list a:focus::after {
  width: 100%;
}

.ea1-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .25rem;
}
.ea1-brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  text-decoration: none;
}
.ea1-brand-logo {
  height: 56px;
  width: auto;
  display: block;
}
.ea1-brand-name {
  font-family: var(--ea1-font-h);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ea1-primary);
  line-height: 1;
}

.ea1-header-cta {
  font-family: var(--ea1-font-h);
  font-weight: 600;
  font-size: .9rem;
  padding: .6rem 1.2rem;
  background: var(--ea1-accent);
  color: var(--ea1-primary);
  border-radius: var(--ea1-radius);
  border: 2px solid var(--ea1-accent);
  transition: all .22s;
}
.ea1-header-cta:hover {
  background: var(--ea1-primary);
  color: var(--ea1-accent);
  border-color: var(--ea1-primary);
}

/* Burger button (mobile) */
.ea1-burger {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.ea1-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ea1-primary);
  transition: transform .2s, opacity .2s;
}

/* === HERO — parallax-scroll === */
.ea1-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--ea1-primary);
  color: #fff;
}
.ea1-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  z-index: 1;
}
.ea1-hero--parallax-scroll .ea1-hero-bg {
  transform: translateZ(0);
}
.ea1-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--ea1-maxw);
  margin: 0 auto;
  padding: 5rem var(--ea1-grid);
  width: 100%;
}
.ea1-hero-content {
  max-width: 720px;
}
.ea1-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}
.ea1-hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
  max-width: 580px;
}
.ea1-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.ea1-hero-ctas .ea1-btn {
  background: var(--ea1-accent);
  color: var(--ea1-primary);
  border-color: var(--ea1-accent);
}
.ea1-hero-ctas .ea1-btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.ea1-hero-ctas .ea1-btn--outline:hover {
  background: #fff;
  color: var(--ea1-primary);
}

/* === EYEBROW (no date allowed in header) === */
.ea1-eyebrow {
  display: inline-block;
  font-family: var(--ea1-font-h);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ea1-accent);
  margin-bottom: .8rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid var(--ea1-accent);
}

/* === EDITORIAL BLOCK (anti-footprint home SEO 400-700 words) === */
.ea1-editorial {
  background: var(--ea1-bg);
  padding: 4rem 0 3.5rem;
  border-bottom: 1px solid var(--ea1-line);
}
.ea1-editorial-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.ea1-editorial-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  max-width: 700px;
  margin: 0 auto;
}
.ea1-editorial-intro {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  font-size: 1.08rem;
  text-align: center;
  color: var(--ea1-text);
}
.ea1-editorial-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0 2.5rem;
}
.ea1-edit-col {
  padding: 1.5rem;
  background: var(--ea1-surface);
  border-left: 3px solid var(--ea1-accent);
  border-radius: var(--ea1-radius);
}
.ea1-edit-col h3 {
  font-size: 1.1rem;
  margin-bottom: .6rem;
  color: var(--ea1-primary);
}
.ea1-edit-col p {
  font-size: .95rem;
  color: var(--ea1-text-soft);
  margin: 0;
}
.ea1-editorial-note {
  background: var(--ea1-primary);
  color: #fff;
  border-radius: var(--ea1-radius);
  padding: 1.8rem 2rem;
  border-left: 4px solid var(--ea1-accent);
  max-width: 880px;
  margin: 0 auto;
}
.ea1-editorial-note strong {
  display: block;
  color: var(--ea1-accent);
  font-family: var(--ea1-font-h);
  letter-spacing: .05em;
  margin-bottom: .5rem;
  font-size: .85rem;
  text-transform: uppercase;
}
.ea1-editorial-note p { margin: 0; color: rgba(255,255,255,.92); }
.ea1-editorial-note a { color: var(--ea1-accent); text-decoration: underline; }

/* === SECTION GRILLE (rubriques / catégories) === */
.ea1-section {
  padding: 4rem 0;
}
.ea1-section--alt { background: var(--ea1-surface); }
.ea1-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.ea1-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.ea1-section-head p {
  color: var(--ea1-text-soft);
  max-width: 640px;
  margin: .5rem auto 0;
}

/* === CATEGORIES GRID === */
.ea1-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
@media (max-width: 1024px) {
  .ea1-categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .ea1-categories-grid { grid-template-columns: repeat(2, 1fr); }
}

.ea1-cat-card {
  position: relative;
  display: block;
  border-radius: var(--ea1-radius);
  overflow: hidden;
  border: 1px solid var(--ea1-line);
  background: var(--ea1-bg);
  transition: transform .25s, box-shadow .25s;
  height: 200px;
  color: #fff;
  text-decoration: none;
}
.ea1-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ea1-shadow-md);
}
.ea1-cat-card-img {
  display: block;
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.6);
  transition: filter .25s, transform .35s;
}
.ea1-cat-card:hover .ea1-cat-card-img {
  filter: brightness(.55);
  transform: scale(1.05);
}
.ea1-cat-card-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--ea1-primary), #1c4844);
}
.ea1-cat-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.3rem;
  z-index: 2;
}
.ea1-cat-card-name {
  font-family: var(--ea1-font-h);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  margin-bottom: .2rem;
}
.ea1-cat-card-meta {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* === LATEST ARTICLES GRID === */
.ea1-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 980px) {
  .ea1-latest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ea1-latest-grid { grid-template-columns: 1fr; }
}

.ea1-card {
  background: var(--ea1-bg);
  border: 1px solid var(--ea1-line);
  border-radius: var(--ea1-radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.ea1-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ea1-shadow-md);
  border-color: var(--ea1-accent);
}
.ea1-card-img-wrap {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ea1-surface);
}
.ea1-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.ea1-card:hover .ea1-card-img { transform: scale(1.04); }
.ea1-card-body {
  padding: 1.1rem 1.2rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ea1-card-cat {
  font-family: var(--ea1-font-h);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ea1-accent);
  margin-bottom: .4rem;
  font-weight: 600;
}
.ea1-card-title {
  font-family: var(--ea1-font-h);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .6rem;
  color: var(--ea1-primary);
}
.ea1-card-title a {
  color: inherit;
  text-decoration: none;
}
.ea1-card-title a:hover { color: var(--ea1-accent); }
.ea1-card-excerpt {
  font-size: .92rem;
  color: var(--ea1-text-soft);
  margin-bottom: .8rem;
  flex: 1;
}
.ea1-card-meta {
  font-size: .8rem;
  color: var(--ea1-text-soft);
  border-top: 1px solid var(--ea1-line);
  padding-top: .6rem;
}

/* === EMPTY STATE (catégorie sans articles) === */
.ea1-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ea1-text-soft);
  background: var(--ea1-surface);
  border-radius: var(--ea1-radius);
  border: 1px dashed var(--ea1-line);
}
.ea1-empty p { margin-bottom: 1rem; }

/* === HOME TOOL EMBED (anti-empreinte 1/3) === */
.ea1-home-tool {
  background: var(--ea1-surface);
  padding: 4rem 0;
  border-top: 1px solid var(--ea1-line);
  border-bottom: 1px solid var(--ea1-line);
}
.ea1-home-tool-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.ea1-home-tool-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .8rem;
}
.ea1-home-tool-head p {
  color: var(--ea1-text-soft);
  font-size: 1.05rem;
}
.ea1-home-tool-wrap {
  background: var(--ea1-bg);
  border-radius: var(--ea1-radius);
  border: 1px solid var(--ea1-line);
  padding: 1rem;
  box-shadow: var(--ea1-shadow);
}

/* === FOOTER — technical columns === */
.ea1-footer {
  background: var(--ea1-primary);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 2rem;
  border-top: 4px solid var(--ea1-accent);
}
.ea1-footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.ea1-footer-col h3,
.ea1-footer-title {
  font-family: var(--ea1-font-h);
  color: var(--ea1-accent);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 1rem;
  font-weight: 700;
}
.ea1-footer-brand-pitch {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.ea1-footer-brand-cta {
  color: var(--ea1-accent);
  font-weight: 600;
  font-size: .92rem;
  display: inline-block;
  margin-top: .5rem;
  border-bottom: 1px solid var(--ea1-accent);
  padding-bottom: 2px;
  text-decoration: none;
}
.ea1-footer-brand-cta:hover {
  color: #fff;
  border-color: #fff;
}
.ea1-footer-logo {
  background: #fff;
  padding: .5rem .8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.ea1-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.ea1-footer-links a {
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.2);
  text-underline-offset: 4px;
  transition: color .2s, text-decoration-color .2s;
}
.ea1-footer-links a:hover {
  color: var(--ea1-accent);
  text-decoration-color: var(--ea1-accent);
}
.ea1-footer-social {
  display: flex;
  gap: .8rem;
  margin-top: 1rem;
}
.ea1-footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  transition: all .2s;
}
.ea1-footer-social a:hover {
  background: var(--ea1-accent);
  color: var(--ea1-primary);
  border-color: var(--ea1-accent);
}

.ea1-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.ea1-footer-legal {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.ea1-footer-legal a {
  color: rgba(255,255,255,.7);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.2);
  text-underline-offset: 3px;
}
.ea1-footer-legal a:hover { color: var(--ea1-accent); }

/* === METRICS LINKS BLOCK (rendered by functions.php helper) === */
.ea1-metrics-links {
  background: var(--ea1-surface);
  padding: 3rem 0;
  border-top: 1px solid var(--ea1-line);
  border-bottom: 1px solid var(--ea1-line);
}
.ea1-metrics-links h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}
.ea1-metrics-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.ea1-metrics-links-grid a {
  background: var(--ea1-bg);
  padding: 1rem 1.2rem;
  border-radius: var(--ea1-radius);
  border: 1px solid var(--ea1-line);
  text-decoration: none;
  color: var(--ea1-primary);
  font-weight: 600;
  transition: all .2s;
  text-align: center;
}
.ea1-metrics-links-grid a:hover {
  border-color: var(--ea1-accent);
  color: var(--ea1-accent);
  transform: translateY(-2px);
}

/* === PERSONA PHOTO === */
.ea1-persona-photo {
  width: 220px;
  height: auto;
  border-radius: var(--ea1-radius);
  float: right;
  margin: 0 0 1rem 1.4rem;
  box-shadow: var(--ea1-shadow);
}
@media (max-width: 600px) {
  .ea1-persona-photo { float: none; margin: 0 0 1rem; width: 100%; }
}

/* === CONTACT FORM === */
.ea1-contact-form {
  background: var(--ea1-surface);
  padding: 1rem;
  border-radius: var(--ea1-radius);
  margin-top: 2rem;
}

/* === MOBILE NAV DRAWER === */
.ea1-nav-mobile {
  display: none;
}
@media (max-width: 980px) {
  .ea1-nav-list { display: none; }
  .ea1-burger { display: flex; }
  .ea1-header-cta { display: none; }
  .ea1-header-inner { grid-template-columns: auto 1fr auto; }
  .ea1-nav-left { display: none; }
  .ea1-nav-right { display: none; }
  .ea1-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(0,0,0,.25);
    gap: 0;
  }
  .ea1-nav-mobile.is-open a {
    color: #0a0a0a;
    font-size: 1.05rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none;
  }
  .ea1-nav-mobile.is-open a:hover { color: var(--ea1-accent); }
  .ea1-nav-mobile .ea1-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: none;
    border: 0;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--ea1-primary);
    line-height: 1;
  }
}

@media (max-width: 980px) {
  .ea1-hero-inner { padding: 3.5rem var(--ea1-grid); }
  .ea1-editorial-cols { grid-template-columns: 1fr; gap: 1rem; }
  .ea1-footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .ea1-footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .ea1-footer-cols { grid-template-columns: 1fr; }
  .ea1-categories-grid { grid-template-columns: 1fr; }
  .ea1-hero { min-height: 60vh; }
}

/* === CATEGORY PAGE (sandwich layout) === */
.ea1-cat-hero {
  background: var(--ea1-primary);
  color: #fff;
  padding: 4rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.ea1-cat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .5;
  pointer-events: none;
}
.ea1-cat-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}
.ea1-cat-hero p {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  max-width: 720px;
  position: relative;
  z-index: 1;
  margin-top: 1rem;
}
.ea1-cat-intro {
  padding: 3rem 0 1rem;
  font-size: 1.05rem;
  color: var(--ea1-text);
}
.ea1-cat-intro .ea1-container { max-width: 820px; }

/* === SINGLE POST === */
.ea1-single {
  padding: 3rem 0;
  max-width: 820px;
  margin: 0 auto;
}
.ea1-single h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}
.ea1-single .ea1-meta {
  color: var(--ea1-text-soft);
  font-size: .9rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--ea1-line);
  padding-bottom: 1rem;
}
.ea1-single .ea1-thumb {
  margin-bottom: 2rem;
  border-radius: var(--ea1-radius);
  overflow: hidden;
}

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 3px solid var(--ea1-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

/* === ANIMATIONS (CTA / CTR / CTO) === */
/* CTA: floating_quote_button */
@keyframes ea1-cta-floating-quote {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 16px rgba(18,48,46,.22); }
  50%      { transform: translateY(-6px); box-shadow: 0 14px 26px rgba(18,48,46,.32); }
}
.ea1-btn--cta {
  animation: ea1-cta-floating-quote 3.4s ease-in-out infinite;
  position: relative;
}
.ea1-btn--cta::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: -10px;
  width: 22px; height: 22px;
  background: var(--ea1-accent);
  color: var(--ea1-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: serif; font-weight: 700; font-size: 18px;
  line-height: 1;
}

/* CTR: hotspot_image_marker */
@keyframes ea1-ctr-hotspot {
  0%   { box-shadow: 0 0 0 0 rgba(0,208,132,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(0,208,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,208,132,0); }
}
.ea1-card::after {
  content: '';
  position: absolute; top: 14px; right: 14px;
  width: 12px; height: 12px;
  background: var(--ea1-accent);
  border-radius: 50%;
  border: 2px solid #fff;
  animation: ea1-ctr-hotspot 2.4s ease-out infinite;
  z-index: 3;
  pointer-events: none;
}

/* CTO: lead_magnet_box */
@keyframes ea1-cto-slidein {
  0%   { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.ea1-cto-box {
  position: fixed; right: 24px; bottom: 24px;
  max-width: 340px;
  background: var(--ea1-primary); color: #fff;
  padding: 1.1rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  z-index: 9999;
  animation: ea1-cto-slidein 0.6s ease-out 4s both;
  border-left: 4px solid var(--ea1-accent);
}
.ea1-cto-box[hidden] { display: none; }
.ea1-cto-box .ea1-cto-title { font-weight: 700; margin-bottom: .35rem; color: var(--ea1-accent); }
.ea1-cto-box .ea1-cto-text { font-size: .9rem; line-height: 1.45; margin-bottom: .8rem; }
.ea1-cto-box .ea1-cto-btn {
  display: inline-block; background: var(--ea1-accent); color: var(--ea1-primary);
  padding: .55rem 1rem; border-radius: 4px; text-decoration: none; font-weight: 600;
}
.ea1-cto-box .ea1-cto-close {
  position: absolute; top: 8px; right: 10px; background: none; border: 0;
  color: #fff; opacity: .65; font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.ea1-cto-box .ea1-cto-close:hover { opacity: 1; }
@media (max-width: 640px) {
  .ea1-cto-box { right: 12px; bottom: 12px; left: 12px; max-width: none; }
}

/* === MOUSE EFFECT (cursor_click_scale) === */
.ea1-cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px;
  background: var(--ea1-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background .15s;
  mix-blend-mode: difference;
  will-change: transform;
  opacity: 0;
}
.ea1-cursor-dot.is-active { opacity: 1; }
@media (hover: none) { .ea1-cursor-dot { display: none !important; } }

/* === BY-CATEGORY MODE (if used) === */
.ea1-cat-section {
  margin-bottom: 3rem;
}
.ea1-cat-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--ea1-primary);
  padding-bottom: .8rem;
}
.ea1-cat-section-head h2 {
  margin: 0;
  font-size: 1.6rem;
}
.ea1-cat-section-head a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--ea1-accent);
}

/* === UTILS === */
.ea1-mt-0  { margin-top: 0; }
.ea1-mb-0  { margin-bottom: 0; }
.ea1-hidden { display: none !important; }


/* Mouse effect : cursor_click_scale */
/* Cursor click scale: pastille suit la souris, grossit au clic */
.ea1-cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px;
  background: #00d084;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .12s ease-out, opacity .2s, background .15s;
  mix-blend-mode: difference;
  will-change: transform;
  opacity: 0;
}
.ea1-cursor-dot.is-active { opacity: 1; }
.ea1-cursor-dot.is-pressed {
  transform: translate(-50%, -50%) scale(2.4);
  background: #ffffff;
}
@media (hover: none) { .ea1-cursor-dot { display: none !important; } }

/* Validator: cap hauteur hero cat v2 */
body section[class*="cat-hero"], body div[class*="cat-hero"], body section[class*="category-hero"], body div[class*="category-hero"] { position: relative !important; height: 320px !important; max-height: 320px !important; min-height: 200px !important; padding: 0 !important; overflow: hidden !important; display: flex !important; align-items: center !important; border: none !important; box-shadow: none !important; }
body [class*="cat-hero"] > img, body [class*="cat-hero-bg"], body [class*="cat-hero"] img, body [class*="category-hero"] img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-height: 320px !important; object-fit: cover !important; z-index: 0 !important; border: none !important; }
body [class*="cat-hero"] > [class*="container"], body [class*="cat-hero"] > [class*="wrap"], body [class*="cat-hero"] > [class*="inner"], body [class*="cat-hero"] > div { position: relative !important; z-index: 2 !important; max-width: 900px !important; margin: 0 auto !important; padding: 1.5rem 2rem !important; background: transparent !important; }
body [class*="cat-hero"] h1, body [class*="category-hero"] h1 { color: #ffffff !important; font-size: clamp(2rem, 5vw, 3.5rem) !important; margin: 0 !important; font-weight: 800 !important; text-shadow: 0 3px 12px rgba(0,0,0,.85), 0 0 30px rgba(0,0,0,.5) !important; }
body [class*="cat-hero"][style*="background-image"] { background-size: cover !important; background-position: center !important; }
body [class*="cat-hero"] [class*="breadcrumb"], body [class*="cat-hero"] nav[aria-label*="riane"], body [class*="cat-hero"] nav[aria-label*="readcrumb"] { display: none !important; }

/* Validator: nav-mobile drawer hidden by default v2 */
/* Drawer/burger menu mobile : hidden par defaut, visible mobile+is-open */
[class*="-nav-mobile"]:not(.is-open), [id*="-nav-mobile"]:not(.is-open), [class*="-drawer"]:not(.is-open), [class*="-burger-menu"]:not(.is-open), [class*="-mobile-menu"]:not(.is-open) { display: none !important; }
@media (max-width: 980px) {
  [class*="-nav-mobile"].is-open, [id*="-nav-mobile"].is-open, [class*="-drawer"].is-open, [class*="-burger-menu"].is-open, [class*="-mobile-menu"].is-open { display: flex !important; flex-direction: column !important; position: fixed !important; top: 0 !important; right: 0 !important; bottom: 0 !important; width: 86% !important; max-width: 380px !important; background: #fff !important; padding: 4.5rem 1.5rem 2rem !important; z-index: 9999 !important; overflow-y: auto !important; box-shadow: -10px 0 30px rgba(0,0,0,0.3) !important; }
}

/* Validator: drawer-mobile height fix v1 */
/* Force height:100vh sur le drawer ouvert : top:0;bottom:0 sans !important peut etre overrides par Claude → on impose 100vh. */
@media (max-width: 980px) {
  [class*="-nav-mobile"].is-open, [id*="-nav-mobile"].is-open, [class*="-drawer"].is-open, [class*="-burger-menu"].is-open, [class*="-mobile-menu"].is-open { height: 100vh !important; min-height: 100vh !important; max-height: 100vh !important; }
}

/* Validator: footer logo no-filter v1 */
footer img, [class*="-footer"] img, [role="contentinfo"] img, footer [class*="logo"], [class*="-footer"] [class*="logo"] { filter: none !important; mix-blend-mode: normal !important; opacity: 1 !important; }
footer[class*="dark"] img, footer[class*="black"] img, [class*="-footer"][class*="dark"] img, [class*="-footer"][class*="black"] img { filter: brightness(0) invert(1) !important; }

/* Validator: header-hero gap fix v1 */
/* Bug recurrent : <main class="X-main"> a padding-top:30px qui creait un
 * gap entre header sticky et hero/cat-hero. Force padding-top:0 sur le
 * wrapper <main> + margin-top:0 sur le 1er hero enfant. */
body > main, body > [role="main"], main[class*="-main"], [id="main"] { padding-top: 0 !important; }
main > [class*="-hero"]:first-child, main > [class*="-cat-hero"]:first-child, main > [class*="-category-hero"]:first-child { margin-top: 0 !important; }
/* Fallback : si sibling direct du header */
header + section, header + [class*="-hero"], header + [class*="-cat-hero"], header + [class*="-category-hero"], [class*="-header"] + section, [class*="-header"] + [class*="-hero"], [class*="-header"] + [class*="-cat-hero"], [class*="-header"] + [class*="-category-hero"] { margin-top: 0 !important; padding-top: 0 !important; }
section[class*="-hero"]:first-of-type, section[class*="-cat-hero"]:first-of-type, section[class*="-category-hero"]:first-of-type { margin-top: 0 !important; }

/* Validator: contraste lisible header+menu-mobile+footer v2 */
[class*="-nav-mobile"], [id*="-nav-mobile"], [class*="-drawer"], [class*="-burger-menu"], [class*="-mobile-menu"], [class*="-side-nav"] { background: #ffffff !important; }
[class*="-nav-mobile"] *, [id*="-nav-mobile"] *, [class*="-drawer"] *, [class*="-burger-menu"] *, [class*="-mobile-menu"] *, [class*="-side-nav"] * { color: #0a0a0a !important; }
[class*="-nav-mobile"] a, [id*="-nav-mobile"] a, [class*="-drawer"] a, [class*="-burger-menu"] a, [class*="-mobile-menu"] a { color: #0a0a0a !important; font-weight: 600 !important; }
[class*="-nav-mobile"] a:hover, [class*="-drawer"] a:hover, [class*="-burger-menu"] a:hover, [class*="-mobile-menu"] a:hover { color: #000 !important; opacity: 0.7 !important; }
footer *, [class*="-footer"] *, [role="contentinfo"] * { color: #1a1a1a !important; }
footer a, [class*="-footer"] a, [role="contentinfo"] a { color: #1a1a1a !important; text-decoration: underline !important; text-decoration-color: currentColor !important; text-underline-offset: 3px !important; font-weight: 600 !important; }
footer a:hover, [class*="-footer"] a:hover, [role="contentinfo"] a:hover { color: #000 !important; opacity: 1 !important; }
footer h1, footer h2, footer h3, footer h4, footer h5, [class*="-footer"] h1, [class*="-footer"] h2, [class*="-footer"] h3, [class*="-footer"] h4, [class*="-footer"] h5 { color: #0a0a0a !important; font-weight: 700 !important; }
footer p, footer span, footer li, [class*="-footer"] p, [class*="-footer"] span, [class*="-footer"] li { color: #2a2a2a !important; }
footer[class*="dark"] *, footer[class*="black"] *, [class*="-footer"][class*="dark"] *, [class*="-footer"][class*="black"] *, footer[style*="background:#0"] *, footer[style*="background: #0"] *, footer[style*="background:#1"] *, footer[style*="background: #1"] *, footer[style*="background:#2"] *, footer[style*="background: #2"] * { color: #f5f5f5 !important; }
footer[class*="dark"] a, [class*="-footer"][class*="dark"] a, footer[style*="background:#0"] a, footer[style*="background:#1"] a { color: #ffffff !important; }
header a, [class*="-header"] a, [role="banner"] a { text-shadow: none !important; }
header a:hover, [class*="-header"] a:hover { opacity: 0.7 !important; }
[class*="-nav-mobile"] [class*="-btn"], [class*="-footer"] [class*="-btn"] { border: 1.5px solid currentColor !important; }


/











/* === RP2G SSH PATCH v5 2026-06-05 : centrage menu UNIQUEMENT (CTA intouche) === */
[class*="-header-inner"] {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2.5rem !important;
  flex-wrap: nowrap !important;
}
[class*="-nav-left"], [class*="-nav-right"] {
  flex: 0 1 auto !important;
  justify-content: center !important;
}
[class*="-brand"] {
  flex: 0 0 auto !important;
}
@media (max-width: 900px) {
  [class*="-header-inner"] {
    justify-content: space-between !important;
    flex-wrap: wrap !important;
  }
}
/* === FIN PATCH v5 === */
