/* =========================================================================
   CUISINER MIEUX — child theme custom stylesheet
   Design system: Vintage Pin-Up Rétro (cherry red on cream paper)
   Header: sticky-minimal · Hero: zoom-on-scroll (YouTube video bg)
   Category layout: single-bottom
   ========================================================================= */

:root {
  --e80-primary:   #C8102E;
  --e80-accent:    #F8E6D0;
  --e80-text:      #3A1A1A;
  --e80-text-soft: #7A4A50;
  --e80-bg:        #FFFAF2;
  --e80-surface:   #FFFFFF;
  --e80-line:      #F0D5C5;

  --e80-font-headings: "Lobster", "Georgia", serif;
  --e80-font-body:     "Quattrocento", Georgia, "Times New Roman", serif;

  --e80-radius:   10px;
  --e80-radius-lg: 18px;
  --e80-shadow:   0 4px 14px rgba(58, 26, 26, .08);
  --e80-shadow-lg: 0 10px 30px rgba(58, 26, 26, .15);

  --e80-container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.e80-body {
  margin: 0;
  background: var(--e80-bg);
  color: var(--e80-text);
  font-family: var(--e80-font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--e80-font-headings);
  color: var(--e80-text);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: .01em;
}

h1 { font-size: 2.8rem; color: var(--e80-primary); }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a {
  color: var(--e80-primary);
  text-decoration: none;
  transition: color .2s;
}
a:hover { color: var(--e80-text); text-decoration: underline; }

.e80-container { max-width: var(--e80-container); margin: 0 auto; padding: 0 1.2rem; }

/* =========================================================================
   HEADER — sticky-minimal
   ========================================================================= */
.e80-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--e80-surface);
  border-bottom: 1px solid var(--e80-line);
  box-shadow: 0 2px 10px rgba(58, 26, 26, .04);
  transition: box-shadow .3s, padding .3s;
}

.e80-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(58, 26, 26, .08);
}

.e80-header-inner {
  max-width: var(--e80-container);
  margin: 0 auto;
  padding: .85rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.e80-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--e80-text);
  flex-shrink: 0;
}

.e80-brand:hover { color: var(--e80-primary); text-decoration: none; }

.e80-brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.e80-brand-name {
  font-family: var(--e80-font-headings);
  font-size: 1.65rem;
  color: var(--e80-primary);
  line-height: 1;
  /* Title Case — no text-transform */
  letter-spacing: 0;
}

.e80-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.e80-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.e80-nav-list a {
  font-family: var(--e80-font-body);
  font-weight: 700;
  color: var(--e80-text);
  text-decoration: none;
  font-size: 1rem;
  padding: .4rem 0;
  position: relative;
  transition: color .2s;
}

.e80-nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--e80-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.e80-nav-list a:hover,
.e80-nav-list a.current {
  color: var(--e80-primary);
}

.e80-nav-list a:hover::after,
.e80-nav-list a.current::after {
  transform: scaleX(1);
}

/* Burger button (mobile) */
.e80-burger {
  display: none;
  background: transparent;
  border: 2px solid var(--e80-line);
  border-radius: 8px;
  padding: .55rem;
  cursor: pointer;
  color: var(--e80-primary);
}

.e80-burger svg { width: 22px; height: 22px; }

/* Mobile drawer — HIDDEN by default (cf rule 2026-06-04) */
.e80-nav-mobile { display: none; }

@media (max-width: 900px) {
  .e80-header-inner {
    justify-content: space-between;
    gap: 1rem;
  }
  .e80-nav { display: none; }
  .e80-burger { display: inline-flex; align-items: center; justify-content: center; }

  .e80-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, .3);
  }
  .e80-nav-mobile.is-open ul {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
  }
  .e80-nav-mobile.is-open li {
    border-bottom: 1px solid #e5e5e5;
  }
  .e80-nav-mobile.is-open a {
    display: block;
    padding: 1rem 0;
    color: #0a0a0a;
    font-family: var(--e80-font-body);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
  }
  .e80-nav-mobile.is-open a:hover { color: var(--e80-primary); }
  .e80-nav-mobile-close {
    position: absolute;
    top: 1rem; right: 1rem;
    background: transparent;
    border: none;
    color: #0a0a0a;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
  }
  .e80-nav-mobile-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 9998;
  }
  .e80-nav-mobile-backdrop.is-open { display: block; }
}

/* =========================================================================
   HERO — zoom-on-scroll (YouTube video bg)
   ========================================================================= */
.e80-hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.e80-hero-video-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.e80-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
}

/* Dark gradient overlay — ONLY when video is present (rule 2026-06-04) */
.e80-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.e80-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .3s ease-out;
  will-change: transform;
}

/* zoom-on-scroll: JS adds a scale transform to .e80-hero-bg via scroll */

.e80-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 1.5rem;
  max-width: 900px;
}

.e80-hero--has-video .e80-hero-title,
.e80-hero--has-video .e80-hero-subtitle {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.e80-hero-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  color: var(--e80-primary);
  margin: 0 0 1rem;
  line-height: 1.1;
}

.e80-hero-subtitle {
  font-family: var(--e80-font-body);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--e80-text);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.e80-hero-eyebrow {
  display: inline-block;
  font-family: var(--e80-font-body);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--e80-accent);
  background: rgba(200, 16, 46, .85);
  padding: .35rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.4rem;
}

/* =========================================================================
   BUTTONS — cherry pinup style + CTA ripple animation
   ========================================================================= */
.e80-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  background: var(--e80-primary);
  color: #ffffff;
  font-family: var(--e80-font-body);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid var(--e80-primary);
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 12px rgba(200, 16, 46, .2);
}

.e80-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(200, 16, 46, .35);
  background: #a30d24;
  color: #ffffff;
  text-decoration: none;
}

.e80-btn--ghost {
  background: transparent;
  color: var(--e80-primary);
  border-color: var(--e80-primary);
  box-shadow: none;
}

.e80-btn--ghost:hover {
  background: var(--e80-primary);
  color: #ffffff;
}

/* CTA ripple_click animation */
@keyframes e80-ripple-effect {
  0%   { transform: scale(0); opacity: .6; }
  100% { transform: scale(4); opacity: 0; }
}
.e80-btn--cta { position: relative; overflow: hidden; isolation: isolate; }
.e80-btn--cta .e80-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  pointer-events: none;
  transform: scale(0);
  animation: e80-ripple-effect .6s linear;
}

/* =========================================================================
   HOME — editorial block
   ========================================================================= */
.e80-editorial {
  padding: 4rem 0 3rem;
  background: var(--e80-bg);
}
.e80-editorial-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.e80-editorial-intro {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--e80-text);
  margin-bottom: 2rem;
  font-style: italic;
}
.e80-editorial h2 {
  font-size: 2rem;
  color: var(--e80-primary);
  margin-top: 2rem;
  position: relative;
  padding-left: 1.2rem;
}
.e80-editorial h2::before {
  content: "❦";
  position: absolute;
  left: 0;
  color: var(--e80-primary);
  font-size: 1.2rem;
  top: .35rem;
}
.e80-editorial h3 {
  color: var(--e80-text);
  margin-top: 1.6rem;
}
.e80-editorial-callout {
  background: var(--e80-accent);
  border-left: 5px solid var(--e80-primary);
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--e80-radius) var(--e80-radius) 0;
  margin: 2rem 0;
}
.e80-editorial-callout strong { font-family: var(--e80-font-headings); color: var(--e80-primary); font-size: 1.3rem; }

/* =========================================================================
   CATEGORIES section
   ========================================================================= */
.e80-categories {
  padding: 4rem 0;
  background: var(--e80-surface);
  border-top: 1px solid var(--e80-line);
  border-bottom: 1px solid var(--e80-line);
}
.e80-categories .e80-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.e80-categories .e80-section-head h2 {
  font-size: 2.4rem;
  color: var(--e80-primary);
  margin-bottom: .6rem;
}
.e80-categories .e80-section-head p {
  color: var(--e80-text-soft);
  font-style: italic;
}

.e80-cat-grid {
  max-width: var(--e80-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.e80-cat-card {
  position: relative;
  display: block;
  background: var(--e80-surface);
  border: 2px solid var(--e80-line);
  border-radius: var(--e80-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--e80-text);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  min-height: 280px;
}
.e80-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--e80-shadow-lg);
  border-color: var(--e80-primary);
  text-decoration: none;
}
.e80-cat-card-img {
  display: block;
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--e80-primary); /* fallback if image missing */
}
.e80-cat-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
}
.e80-cat-card-body h3 {
  font-size: 1.55rem;
  color: var(--e80-primary);
  margin-bottom: .4rem;
}
.e80-cat-card-body p {
  font-size: .95rem;
  color: var(--e80-text-soft);
  margin: 0;
  line-height: 1.5;
}

/* =========================================================================
   LATEST ARTICLES — grid
   ========================================================================= */
.e80-latest {
  padding: 4rem 0;
  background: var(--e80-bg);
}
.e80-latest .e80-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.e80-latest .e80-section-head h2 {
  font-size: 2.4rem;
  color: var(--e80-primary);
  margin-bottom: .6rem;
}
.e80-latest .e80-section-head p {
  color: var(--e80-text-soft);
  font-style: italic;
}

.e80-articles-grid {
  max-width: var(--e80-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

@media (min-width: 1100px) {
  /* 18 articles → 3 col x 6 rows OR 4 col x 4-5 rows. We pick 3 cols on desktop. */
  .e80-articles-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .e80-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .e80-articles-grid { grid-template-columns: 1fr; }
}

.e80-card {
  background: var(--e80-surface);
  border: 1px solid var(--e80-line);
  border-radius: var(--e80-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.e80-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--e80-shadow-lg);
  border-color: var(--e80-primary);
}
.e80-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--e80-accent);
}
.e80-card-body { padding: 1.2rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.e80-card-cat {
  display: inline-block;
  font-family: var(--e80-font-body);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--e80-primary);
  margin-bottom: .5rem;
}
.e80-card-title {
  font-family: var(--e80-font-headings);
  font-size: 1.4rem;
  line-height: 1.25;
  margin: 0 0 .5rem;
}
.e80-card-title a {
  color: var(--e80-text);
  text-decoration: none;
}
.e80-card-title a:hover { color: var(--e80-primary); text-decoration: none; }
.e80-card-excerpt {
  font-size: .98rem;
  color: var(--e80-text-soft);
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}
.e80-card-meta {
  font-size: .85rem;
  color: var(--e80-text-soft);
  font-style: italic;
}

/* =========================================================================
   METRICS LINKS BLOCK (e80_render_metrics_links)
   ========================================================================= */
.e80-metrics {
  padding: 3rem 1.5rem;
  background: var(--e80-accent);
  text-align: center;
}
.e80-metrics-inner { max-width: 900px; margin: 0 auto; }
.e80-metrics h2 { color: var(--e80-primary); margin-bottom: 1.4rem; }
.e80-metrics-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.e80-metrics-list a {
  display: inline-block;
  padding: .65rem 1.2rem;
  background: var(--e80-surface);
  border: 2px solid var(--e80-primary);
  border-radius: 30px;
  font-weight: 700;
  color: var(--e80-primary);
  text-decoration: none;
}
.e80-metrics-list a:hover { background: var(--e80-primary); color: #ffffff; }

/* =========================================================================
   CATEGORY page (single-bottom layout)
   ========================================================================= */
.e80-cat-header {
  background: var(--e80-accent);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--e80-line);
}
.e80-cat-header h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--e80-primary);
  margin-bottom: 0;
}

.e80-cat-bottom {
  max-width: 900px;
  margin: 3rem auto 4rem;
  padding: 2rem 1.5rem;
  background: var(--e80-surface);
  border: 1px solid var(--e80-line);
  border-radius: var(--e80-radius-lg);
  color: var(--e80-text-soft);
  font-style: italic;
  line-height: 1.65;
}

/* =========================================================================
   FOOTER — retro pin columns
   ========================================================================= */
.e80-footer {
  background: #ffffff;
  border-top: 4px solid var(--e80-primary);
  padding: 4rem 0 1.5rem;
  color: #1a1a1a;
}
.e80-footer-inner {
  max-width: var(--e80-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.2rem;
}
@media (max-width: 900px) {
  .e80-footer-inner { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}
@media (max-width: 560px) {
  .e80-footer-inner { grid-template-columns: 1fr; }
}

.e80-footer-col h3.e80-footer-title {
  font-family: var(--e80-font-headings);
  color: var(--e80-primary);
  font-size: 1.45rem;
  margin: 0 0 1rem;
}
.e80-footer-col p,
.e80-footer-col li,
.e80-footer-col a {
  font-family: var(--e80-font-body);
  font-size: .96rem;
  color: #1a1a1a;
  line-height: 1.55;
}
.e80-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.e80-footer-links li { margin-bottom: .5rem; }
.e80-footer-links a {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-color: var(--e80-line);
  text-underline-offset: 3px;
}
.e80-footer-links a:hover {
  color: var(--e80-primary);
  text-decoration-color: var(--e80-primary);
}

.e80-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
}
.e80-footer-brand-pitch {
  font-size: .96rem;
  color: #333333;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.e80-footer-brand-cta {
  display: inline-block;
  margin-top: .4rem;
  padding: .55rem 1rem;
  border: 2px solid var(--e80-primary);
  border-radius: 30px;
  color: var(--e80-primary);
  font-weight: 700;
  text-decoration: none;
  font-size: .92rem;
}
.e80-footer-brand-cta:hover {
  background: var(--e80-primary);
  color: #ffffff;
  text-decoration: none;
}

.e80-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}
.e80-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--e80-accent);
  color: var(--e80-primary);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.e80-footer-social a:hover {
  background: var(--e80-primary);
  color: #ffffff;
}
.e80-footer-social svg { width: 18px; height: 18px; }

.e80-footer-bottom {
  max-width: var(--e80-container);
  margin: 2.5rem auto 0;
  padding: 1.4rem 1.5rem 0;
  border-top: 1px solid var(--e80-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .9rem;
  color: var(--e80-text-soft);
}

.e80-footer-bottom p { margin: 0; }

/* =========================================================================
   PERSONA photo (About page)
   ========================================================================= */
.e80-persona-photo {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--e80-primary);
  box-shadow: var(--e80-shadow-lg);
  margin: 1.5rem auto 2.5rem;
}

/* =========================================================================
   CTR animated_stats_grid + CTO secure_payment_badge
   ========================================================================= */
@keyframes e80-stat-count {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.e80-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
  margin: 2rem 0;
}
.e80-stats-grid .e80-stat {
  text-align: center;
  padding: 1.6rem 1rem;
  background: var(--e80-accent);
  border: 2px solid var(--e80-primary);
  border-radius: var(--e80-radius);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
}
.e80-stats-grid .e80-stat.is-visible {
  animation: e80-stat-count .8s ease-out forwards;
}
.e80-stats-grid .e80-stat-number {
  font-family: var(--e80-font-headings);
  font-size: 2.6rem;
  color: var(--e80-primary);
  display: block;
  line-height: 1;
}
.e80-stats-grid .e80-stat-label {
  font-size: .95rem;
  color: var(--e80-text-soft);
  margin-top: .4rem;
}

@keyframes e80-badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .4); }
  50%      { box-shadow: 0 0 0 8px rgba(200, 16, 46, 0); }
}
.e80-secure-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.2rem;
  background: var(--e80-surface);
  border: 2px solid var(--e80-primary);
  border-radius: 30px;
  color: var(--e80-primary);
  font-weight: 700;
  font-size: .92rem;
  animation: e80-badge-glow 2.5s ease-in-out infinite;
}
.e80-secure-badge svg { width: 18px; height: 18px; }

/* =========================================================================
   CONTACT page — JotForm
   ========================================================================= */
.e80-contact-form {
  max-width: 800px;
  margin: 2rem auto;
  background: var(--e80-surface);
  border: 1px solid var(--e80-line);
  border-radius: var(--e80-radius-lg);
  overflow: hidden;
  box-shadow: var(--e80-shadow);
}
.e80-contact-form iframe { display: block; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.3rem; }
  .e80-hero { min-height: 60vh; }
  .e80-hero-inner { padding: 3rem 1rem; }
  .e80-editorial { padding: 3rem 0 2rem; }
  .e80-categories, .e80-latest { padding: 3rem 0; }
}

/* Article single layout */
.e80-article {
  max-width: 760px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.e80-article h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}
.e80-article-meta {
  color: var(--e80-text-soft);
  font-style: italic;
  margin-bottom: 2rem;
  font-size: .95rem;
}
.e80-article-thumb {
  width: 100%;
  height: auto;
  border-radius: var(--e80-radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--e80-shadow);
}
.e80-article-content p,
.e80-article-content li {
  font-size: 1.08rem;
  line-height: 1.75;
}
.e80-article-content h2 {
  color: var(--e80-primary);
  margin-top: 2.5rem;
}

/* 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; }

/* Validator: burger button always visible (dark on light) v1 */
/* Bouton burger mobile : couleur SOMBRE forcee + leger fond pour qu'il soit toujours distinguable du header (fond clair ou sombre indifferent). */
[class*="-burger"], [class*="-burger"] * { color: #1a1a1a !important; }
[class*="-burger"] svg { stroke: #1a1a1a !important; fill: none !important; }
[class*="-burger"] svg path, [class*="-burger"] svg line, [class*="-burger"] svg rect, [class*="-burger"] svg polyline { stroke: #1a1a1a !important; stroke-width: 2.5 !important; fill: none !important; }
[class*="-burger"] { background: rgba(0,0,0,0.05) !important; border-radius: 6px !important; border: 1px solid rgba(0,0,0,0.1) !important; padding: 6px !important; }
/* Si le header a un fond sombre (defini en inline ou via classe), on inverse en blanc */
[class*="-header"][style*="background:#0"] [class*="-burger"], [class*="-header"][style*="background:#1"] [class*="-burger"], [class*="-header"][style*="background:#2"] [class*="-burger"], [class*="-header"][class*="dark"] [class*="-burger"], [class*="-header"][class*="black"] [class*="-burger"] { color: #f5f5f5 !important; background: rgba(255,255,255,0.1) !important; border-color: rgba(255,255,255,0.2) !important; }
[class*="-header"][style*="background:#0"] [class*="-burger"] svg, [class*="-header"][style*="background:#1"] [class*="-burger"] svg, [class*="-header"][class*="dark"] [class*="-burger"] svg, [class*="-header"][class*="black"] [class*="-burger"] svg { stroke: #f5f5f5 !important; }
@media (max-width: 980px) {
  [class*="-burger"] { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 44px !important; height: 44px !important; }
}


/* === RP2G SSH PATCH drawer-text-dark v1 2026-06-05 === */
[class*="-nav-mobile"], [id*="-nav-mobile"], [class*="-drawer"] {
  background: #ffffff !important;
}
[class*="-nav-mobile"] *, [id*="-nav-mobile"] *, [class*="-drawer"] *,
[class*="-nav-mobile"] a, [class*="-nav-mobile"] li, [class*="-nav-mobile"] span,
[id*="-nav-mobile"] a, [id*="-nav-mobile"] li, [id*="-nav-mobile"] span {
  color: #0a0a0a !important;
  background: transparent !important;
}
[class*="-nav-mobile"] a, [id*="-nav-mobile"] a {
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: .85rem 1rem !important;
  display: block !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}
[class*="-nav-mobile"] a:hover, [id*="-nav-mobile"] a:hover {
  background: rgba(0,0,0,0.04) !important;
  color: #000 !important;
}
/* Annule les attributs style inline qui mettent color:white sur les enfants */
[class*="-nav-mobile"] [style*="color:#fff"],
[class*="-nav-mobile"] [style*="color: #fff"],
[class*="-nav-mobile"] [style*="color:white"],
[class*="-nav-mobile"] [style*="color: white"],
[class*="-nav-mobile"] [style*="color:rgb(255"] {
  color: #0a0a0a !important;
}
/* === FIN === */


/* === RP2G SSH PATCH drawer-force-visible v2 2026-06-05 === */
/* Force visibilite TOTALE du drawer mobile quand .is-open. */
@media (max-width: 980px) {
  [class*="-nav-mobile"].is-open, [id*="-nav-mobile"].is-open, [class*="-drawer"].is-open {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    position: fixed !important;
    top: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 86% !important; max-width: 380px !important;
    background: #ffffff !important;
    padding: 4.5rem 1.25rem 2rem !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    box-shadow: -10px 0 30px rgba(0,0,0,0.35) !important;
  }
  [class*="-nav-mobile"].is-open ul, [id*="-nav-mobile"].is-open ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
  }
  [class*="-nav-mobile"].is-open li, [id*="-nav-mobile"].is-open li {
    list-style: none !important;
    display: block !important;
    border-bottom: 1px solid #e5e5e5 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  [class*="-nav-mobile"].is-open a, [id*="-nav-mobile"].is-open a {
    display: block !important;
    padding: 1rem .25rem !important;
    color: #0a0a0a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
/* === FIN drawer-force-visible v2 === */


/* === RP2G SSH PATCH persona-photo v1 2026-06-05 === */
.e80-persona-photo, [class*="-persona-photo"] {
  display: block !important;
  width: 220px !important;
  height: 220px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  margin: 1rem auto 1.5rem !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}
/* === FIN === */


/* === RP2G SSH PATCH drawer-ultra-visible v3 2026-06-05 (sans media query) === */
body .e80-nav-mobile.is-open, body #e80-nav-mobile.is-open,
body [class*="-nav-mobile"].is-open, body [id*="-nav-mobile"].is-open {
  display: flex !important;
  flex-direction: column !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: fixed !important;
  top: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 86% !important; max-width: 380px !important;
  background: #ffffff !important;
  padding: 4rem 1rem 2rem !important;
  z-index: 999999 !important;
  overflow-y: auto !important;
  box-shadow: -10px 0 30px rgba(0,0,0,0.35) !important;
  transform: none !important;
}
body .e80-nav-mobile.is-open ul, body #e80-nav-mobile.is-open ul,
body .e80-nav-mobile-list, body #menu-menu-principal-1 {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  visibility: visible !important;
}
body .e80-nav-mobile.is-open li, body #e80-nav-mobile.is-open li,
body .e80-nav-mobile-list li, body #menu-menu-principal-1 li,
body .e80-nav-mobile.is-open .menu-item, body #e80-nav-mobile.is-open .menu-item {
  display: list-item !important;
  list-style: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
}
body .e80-nav-mobile.is-open a, body #e80-nav-mobile.is-open a,
body .e80-nav-mobile-list a, body #menu-menu-principal-1 a,
body .e80-nav-mobile.is-open .menu-item a, body #e80-nav-mobile.is-open .menu-item a {
  display: block !important;
  padding: 1rem .5rem !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
  background: transparent !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-family: inherit !important;
}
body .e80-nav-mobile.is-open a:hover, body #e80-nav-mobile.is-open a:hover {
  color: #000 !important;
  background: rgba(0,0,0,0.04) !important;
}
/* === FIN drawer-ultra-visible v3 === */
