/* ===================================================================
   CHEZ NIKITA — custom child theme stylesheet
   Design System: Hygge Cheminée Hiver (fonts) × Papilles et Pupilles palette (couleurs)
   Préfixe anti-empreinte: .chz-*
   =================================================================== */

:root {
  /* Couleurs — héritées du concurrent papillesetpupilles.fr (navy + raspberry) */
  --chz-primary:     #0b2138;
  --chz-accent:      #f12d70;
  --chz-warm:        #a2865e;
  --chz-text:        #0b2138;
  --chz-text-soft:   #5d6b7d;
  --chz-bg:          #ffffff;
  --chz-surface:     #faf7f3;
  --chz-line:        #e8e2d8;
  --chz-cream:       #faf4e5;
  --chz-shadow:      0 4px 24px rgba(11, 33, 56, 0.08);
  --chz-shadow-md:   0 8px 32px rgba(11, 33, 56, 0.12);

  /* Typographie — DB Hygge Cheminée Hiver */
  --chz-font-h:      'Petrona', 'Playfair Display', Georgia, serif;
  --chz-font-b:      'Lora', 'Source Serif Pro', Georgia, serif;

  /* Espacements */
  --chz-radius-sm:   6px;
  --chz-radius-md:   12px;
  --chz-radius-lg:   20px;
  --chz-container:   1240px;
  --chz-gutter:      clamp(1rem, 2.5vw, 2rem);
}

/* ===== RESET / BASE ===== */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.chz-body {
  margin: 0;
  font-family: var(--chz-font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--chz-text);
  background: var(--chz-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--chz-primary);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--chz-accent); }

h1, h2, h3, h4 {
  font-family: var(--chz-font-h);
  color: var(--chz-primary);
  font-weight: 600;
  margin: 0 0 .6em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; }
p { margin: 0 0 1em; }

main, .chz-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.chz-container {
  max-width: var(--chz-container);
  margin-inline: auto;
  padding-inline: var(--chz-gutter);
}

/* ===== BOUTONS ===== */
.chz-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  font-family: var(--chz-font-h);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--chz-radius-sm);
  border: 1.5px solid var(--chz-primary);
  background: var(--chz-primary);
  color: #fff !important;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.chz-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 33, 56, 0.22);
  color: #fff !important;
}
.chz-btn--cta {
  background: var(--chz-accent);
  border-color: var(--chz-accent);
}
.chz-btn--cta:hover {
  background: #d6225e;
  border-color: #d6225e;
}
.chz-btn--ghost {
  background: transparent;
  color: var(--chz-primary) !important;
}
.chz-btn--ghost:hover {
  background: var(--chz-primary);
  color: #fff !important;
}

/* ===== HEADER — sticky-minimal ===== */
.chz-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--chz-line);
}
.chz-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  padding-block: .6rem;
}
.chz-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--chz-primary);
  flex-shrink: 0;
}
.chz-brand-logo {
  width: auto;
  display: block;
}
.chz-brand-name {
  font-family: var(--chz-font-h);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--chz-primary);
  letter-spacing: -.005em;
  /* Style B — Title Case, pas de text-transform */
}
.chz-brand-tagline {
  display: block;
  font-family: var(--chz-font-b);
  font-style: italic;
  font-size: .82rem;
  color: var(--chz-text-soft);
  margin-top: 2px;
  font-weight: 400;
}

/* Nav desktop — visible ≥1024px */
.chz-nav-desktop { display: none; }
.chz-nav-desktop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.chz-nav-desktop-list a {
  display: inline-block;
  padding: .35rem .15rem;
  font-family: var(--chz-font-h);
  font-weight: 500;
  font-size: .96rem;
  color: var(--chz-primary);
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.chz-nav-desktop-list a:hover,
.chz-nav-desktop-list .current-cat > a {
  color: var(--chz-accent);
  border-bottom-color: var(--chz-accent);
}

/* Burger mobile */
.chz-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid rgba(11, 33, 56, 0.22);
  border-radius: 8px;
  color: var(--chz-primary);
  cursor: pointer;
  z-index: 10000;
  flex-shrink: 0;
  position: relative;
}
.chz-burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
  height: 16px;
}
.chz-burger-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.chz-burger[aria-expanded="true"] .chz-burger-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.chz-burger[aria-expanded="true"] .chz-burger-bars span:nth-child(2) {
  opacity: 0;
}
.chz-burger[aria-expanded="true"] .chz-burger-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Drawer mobile — hidden by default */
.chz-nav-mobile { display: none; }
.chz-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 33, 56, 0.55);
  z-index: 9998;
}
.chz-nav-overlay.is-open { display: block; }

@media (max-width: 1023px) {
  .chz-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 86%; max-width: 380px;
    background: #fff;
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(11, 33, 56, 0.25);
  }
  .chz-nav-mobile-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column;
  }
  .chz-nav-mobile-list li {
    border-bottom: 1px solid var(--chz-line);
  }
  .chz-nav-mobile-list a {
    display: block;
    padding: 1rem .25rem;
    font-family: var(--chz-font-h);
    font-size: 1.05rem;
    font-weight: 500;
    color: #0a0a0a;
    text-decoration: none;
  }
  .chz-nav-mobile-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 36px; height: 36px;
    border: none; background: transparent;
    cursor: pointer; color: var(--chz-primary);
    font-size: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .chz-nav-desktop { display: flex; flex: 1; justify-content: center; margin: 0 1.5rem; }
  .chz-burger { display: none !important; }
  .chz-nav-mobile { display: none !important; }
  .chz-nav-overlay { display: none !important; }
}

/* ===== HERO — zoom-on-scroll ===== */
.chz-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--chz-cream);
}
.chz-hero-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.chz-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* zoom-on-scroll: enlarged via JS via --chz-zoom transform */
  transform: scale(var(--chz-zoom, 1));
  transition: transform .15s ease-out;
  transform-origin: center center;
  will-change: transform;
}
.chz-hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--chz-container);
  margin-inline: auto;
  padding: clamp(3rem, 9vw, 6rem) var(--chz-gutter);
  width: 100%;
  color: var(--chz-primary);
}
.chz-hero-eyebrow {
  display: inline-block;
  font-family: var(--chz-font-b);
  font-style: italic;
  font-size: .95rem;
  color: var(--chz-accent);
  background: rgba(255, 255, 255, 0.88);
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.chz-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin: 0 0 1rem;
  color: var(--chz-primary);
  max-width: 18ch;
  background: rgba(255, 255, 255, 0.78);
  display: inline;
  padding: 0 .35rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.chz-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 56ch;
  margin: 1.4rem 0 2rem;
  color: var(--chz-text);
  background: rgba(255, 255, 255, 0.82);
  padding: .5rem .75rem;
  display: inline-block;
  border-radius: var(--chz-radius-sm);
}
.chz-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .5rem;
}

/* ===== ÉDITORIAL BLOCK (after-hero, SEO 400-700 words) ===== */
.chz-editorial {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--chz-bg);
}
.chz-editorial-inner {
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--chz-gutter);
}
.chz-editorial h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--chz-primary);
  margin-top: 2rem;
  margin-bottom: .8rem;
}
.chz-editorial h2:first-child { margin-top: 0; }
.chz-editorial h3 {
  font-size: 1.2rem;
  color: var(--chz-primary);
  margin-top: 1.6rem;
}
.chz-editorial p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--chz-text);
}
.chz-editorial a {
  color: var(--chz-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.chz-editorial-pull {
  margin: 2.5rem 0;
  padding: 1.5rem 1.8rem;
  border-left: 4px solid var(--chz-accent);
  background: var(--chz-surface);
  border-radius: 0 var(--chz-radius-md) var(--chz-radius-md) 0;
}
.chz-editorial-pull p {
  margin: 0;
  font-family: var(--chz-font-h);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--chz-primary);
}

/* ===== CATEGORIES GRID (Rubriques) ===== */
.chz-categories {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--chz-cream);
}
.chz-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.chz-section-head h2 {
  margin-bottom: .5rem;
}
.chz-section-head .chz-section-kicker {
  display: inline-block;
  font-family: var(--chz-font-b);
  font-style: italic;
  font-size: .92rem;
  color: var(--chz-accent);
  margin-bottom: .6rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.chz-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.chz-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--chz-radius-md);
  overflow: hidden;
  background: var(--chz-surface);
  box-shadow: var(--chz-shadow);
  text-decoration: none;
  color: var(--chz-text);
  transition: transform .3s ease, box-shadow .3s ease;
  min-height: 280px;
}
.chz-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--chz-shadow-md);
}
.chz-cat-card-img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--chz-warm);
}
.chz-cat-card-fallback {
  display: block;
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--chz-primary) 0%, var(--chz-warm) 100%);
}
.chz-cat-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.chz-cat-card-title {
  font-family: var(--chz-font-h);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--chz-primary);
  margin: 0 0 .35rem;
}
.chz-cat-card-desc {
  font-size: .92rem;
  color: var(--chz-text-soft);
  margin: 0 0 .8rem;
  line-height: 1.55;
}
.chz-cat-card-more {
  display: inline-block;
  margin-top: auto;
  font-size: .88rem;
  font-weight: 600;
  color: var(--chz-accent);
}

/* ===== LATEST POSTS GRID ===== */
.chz-latest {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--chz-bg);
}
.chz-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 980px) {
  .chz-latest-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .chz-latest-grid { grid-template-columns: 1fr; }
}
.chz-post-card {
  display: flex;
  flex-direction: column;
  background: var(--chz-bg);
  border: 1px solid var(--chz-line);
  border-radius: var(--chz-radius-md);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.chz-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--chz-shadow);
  border-color: var(--chz-accent);
}
.chz-post-card-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--chz-cream);
  overflow: hidden;
}
.chz-post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.chz-post-card:hover .chz-post-card-thumb img {
  transform: scale(1.06);
}
.chz-post-card-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex; flex-direction: column; flex: 1;
}
.chz-post-card-cat {
  display: inline-block;
  font-family: var(--chz-font-b);
  font-style: italic;
  font-size: .82rem;
  color: var(--chz-accent);
  margin-bottom: .35rem;
  text-decoration: none;
}
.chz-post-card-title {
  font-family: var(--chz-font-h);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  line-height: 1.3;
}
.chz-post-card-title a {
  color: var(--chz-primary);
  text-decoration: none;
}
.chz-post-card-title a:hover { color: var(--chz-accent); }
.chz-post-card-excerpt {
  font-size: .92rem;
  color: var(--chz-text-soft);
  margin: 0 0 .8rem;
}
.chz-post-card-meta {
  font-size: .8rem;
  color: var(--chz-text-soft);
  margin-top: auto;
  font-style: italic;
}

/* ===== EMPTY STATE ===== */
.chz-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--chz-text-soft);
  font-style: italic;
}

/* ===== METRICS LINKS BLOCK (front-page injected) ===== */
.chz-metrics {
  padding: 2rem 0;
  background: var(--chz-surface);
  border-block: 1px solid var(--chz-line);
}
.chz-metrics-inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: center; align-items: center;
}
.chz-metrics a {
  font-size: .92rem;
  color: var(--chz-text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== ABOUT TEASER (home) ===== */
.chz-about-teaser {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--chz-cream);
}
.chz-about-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
  max-width: var(--chz-container);
  margin-inline: auto;
  padding-inline: var(--chz-gutter);
}
.chz-about-teaser-photo {
  border-radius: var(--chz-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--chz-warm);
  box-shadow: var(--chz-shadow-md);
}
.chz-about-teaser-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.chz-about-teaser-text h2 {
  margin-bottom: .8rem;
}
.chz-about-teaser-text p {
  color: var(--chz-text);
  font-size: 1.02rem;
  line-height: 1.7;
}
@media (max-width: 820px) {
  .chz-about-teaser-inner { grid-template-columns: 1fr; }
  .chz-about-teaser-photo { max-width: 340px; margin-inline: auto; }
}

/* ===== CATEGORY ARCHIVE (tldr-detailed) ===== */
.chz-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--chz-primary) 0%, var(--chz-warm) 100%);
}
.chz-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.chz-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem var(--chz-gutter);
  max-width: var(--chz-container);
  margin-inline: auto;
  background: linear-gradient(180deg, transparent 30%, rgba(11, 33, 56, 0.78) 100%);
}
.chz-cat-hero-eyebrow {
  font-family: var(--chz-font-b);
  font-style: italic;
  font-size: .9rem;
  color: #ffd8a8;
  margin-bottom: .35rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.chz-cat-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.chz-cat-intro {
  padding: clamp(2.5rem, 5vw, 4rem) 0 1rem;
  background: var(--chz-bg);
}
.chz-cat-intro-inner {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: var(--chz-gutter);
}
.chz-cat-intro p {
  font-size: 1.05rem;
  color: var(--chz-text);
  line-height: 1.75;
}
.chz-cat-tldr {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--chz-surface);
  border-left: 4px solid var(--chz-accent);
  border-radius: 0 var(--chz-radius-md) var(--chz-radius-md) 0;
}
.chz-cat-tldr h2 {
  font-size: 1.1rem;
  margin: 0 0 .6rem;
  color: var(--chz-primary);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.chz-cat-tldr ul {
  margin: 0; padding-left: 1.2rem;
}
.chz-cat-tldr li {
  margin-bottom: .35rem;
  font-size: .98rem;
}

.chz-cat-posts {
  padding: 1rem 0 clamp(3rem, 6vw, 5rem);
  background: var(--chz-bg);
}
.chz-cat-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 980px) {
  .chz-cat-posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .chz-cat-posts-grid { grid-template-columns: 1fr; }
}

/* ===== SINGLE POST ===== */
.chz-single {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: var(--chz-bg);
}
.chz-single-inner {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: var(--chz-gutter);
}
.chz-single-meta {
  font-style: italic;
  color: var(--chz-text-soft);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.chz-single-thumb {
  border-radius: var(--chz-radius-md);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}
.chz-single-content {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--chz-text);
}
.chz-single-content h2, .chz-single-content h3 {
  margin-top: 2rem;
}
.chz-single-content a {
  color: var(--chz-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.chz-single-content blockquote {
  border-left: 4px solid var(--chz-accent);
  margin: 2rem 0;
  padding: .5rem 0 .5rem 1.6rem;
  font-family: var(--chz-font-h);
  font-style: italic;
  color: var(--chz-primary);
  font-size: 1.15rem;
}

/* ===== PAGE TEMPLATE (Contact, A-propos, Tool) ===== */
.chz-page {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--chz-bg);
}
.chz-page-inner {
  max-width: 880px;
  margin-inline: auto;
  padding-inline: var(--chz-gutter);
}
.chz-page h1 {
  margin-bottom: 1.5rem;
}
.chz-page p, .chz-page li {
  font-size: 1.04rem;
  line-height: 1.75;
}
.chz-page img.chz-persona-photo {
  float: right;
  width: 240px;
  margin: 0 0 1.5rem 1.5rem;
  border-radius: var(--chz-radius-md);
  box-shadow: var(--chz-shadow);
}
@media (max-width: 600px) {
  .chz-page img.chz-persona-photo {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem;
  }
}

.chz-contact-form {
  margin-top: 2rem;
}

/* ===== TOOL PAGES ===== */
.chz-tool-intro {
  margin-bottom: 2rem;
}
.chz-tool-faq {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--chz-surface);
  border-radius: var(--chz-radius-md);
}
.chz-tool-faq h2 {
  margin-top: 0;
}
.chz-tool-faq details {
  border-bottom: 1px solid var(--chz-line);
  padding: 1rem 0;
}
.chz-tool-faq details:last-child { border-bottom: none; }
.chz-tool-faq summary {
  cursor: pointer;
  font-family: var(--chz-font-h);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--chz-primary);
  padding: .3rem 0;
}
.chz-tool-faq summary::-webkit-details-marker { display: none; }
.chz-tool-faq summary::after {
  content: "+";
  float: right;
  font-size: 1.4rem;
  color: var(--chz-accent);
  font-weight: 300;
}
.chz-tool-faq details[open] summary::after { content: "−"; }
.chz-tool-faq details > p {
  margin-top: .8rem;
  color: var(--chz-text);
}

/* ===== FOOTER ===== */
.chz-footer {
  background: var(--chz-primary);
  color: #e8ecf3;
  padding-top: 3.5rem;
  margin-top: 4rem;
}
.chz-footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--chz-container);
  margin-inline: auto;
  padding: 0 var(--chz-gutter) 2.5rem;
}
@media (max-width: 900px) {
  .chz-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .chz-footer-cols { grid-template-columns: 1fr; }
}
.chz-footer-col h3,
.chz-footer-title {
  font-family: var(--chz-font-h);
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.chz-footer-logo {
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
  max-width: 140px;
  height: auto;
  display: block;
}
.chz-footer-brand-name {
  font-family: var(--chz-font-h);
  font-size: 1.4rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: .35rem;
  display: block;
}
.chz-footer-brand-pitch {
  font-size: .95rem;
  line-height: 1.65;
  color: #d0d8e3;
  margin-bottom: 1.2rem;
}
.chz-footer-brand-cta {
  display: inline-block;
  font-family: var(--chz-font-h);
  font-weight: 600;
  color: #ffd8a8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .95rem;
}
.chz-footer-brand-cta:hover { color: var(--chz-accent); }

.chz-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chz-footer-links li {
  margin-bottom: .55rem;
}
.chz-footer-links a {
  color: #d0d8e3;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
  font-size: .95rem;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.chz-footer-links a:hover {
  color: #fff;
  text-decoration-color: var(--chz-accent);
}

.chz-footer-social {
  display: flex;
  gap: .65rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.chz-footer-social a {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background .2s ease;
}
.chz-footer-social a:hover {
  background: var(--chz-accent);
}
.chz-footer-social svg {
  width: 18px; height: 18px;
}

.chz-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem var(--chz-gutter);
  text-align: center;
  font-size: .85rem;
  color: #b9c4d2;
  font-style: italic;
}
.chz-footer-bottom a {
  color: #d0d8e3;
  text-decoration: underline;
}

/* Drawer CTA — bottom of mobile drawer */
.chz-drawer-cta {
  display: block !important;
  margin: 2rem 0 0;
  padding: 1rem 1.5rem;
  text-align: center;
  background: var(--chz-accent);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}
@media (min-width: 1024px) {
  .chz-drawer-cta { display: none !important; }
}

/* ===== ANIMATIONS — CTA (sticky_side_button) ===== */
@keyframes chz-cta-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(241, 45, 112, 0.35); }
  50% { box-shadow: 0 6px 28px rgba(241, 45, 112, 0.65); }
}
.chz-sticky-cta {
  position: fixed;
  right: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right bottom;
  background: var(--chz-accent);
  color: #fff !important;
  padding: .7rem 1.2rem;
  border-radius: 8px 8px 0 0;
  font-family: var(--chz-font-h);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  z-index: 999;
  animation: chz-cta-pulse 2.4s ease-in-out infinite;
}
@media (max-width: 980px) { .chz-sticky-cta { display: none; } }

/* ===== ANIMATIONS — CTR (carousel_cards) ===== */
@keyframes chz-ctr-slide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.chz-cat-card { animation: chz-ctr-slide .55s ease-out backwards; }
.chz-cat-card:nth-child(1) { animation-delay: .05s; }
.chz-cat-card:nth-child(2) { animation-delay: .15s; }
.chz-cat-card:nth-child(3) { animation-delay: .25s; }
.chz-cat-card:nth-child(4) { animation-delay: .35s; }
.chz-cat-card:nth-child(5) { animation-delay: .45s; }
.chz-cat-card:nth-child(6) { animation-delay: .55s; }

/* ===== ANIMATIONS — CTO (instant_quote_form) ===== */
@keyframes chz-cto-glow {
  from { box-shadow: 0 0 0 0 rgba(241, 45, 112, 0); }
  to { box-shadow: 0 0 0 8px rgba(241, 45, 112, 0.12); }
}
.chz-contact-form iframe {
  border-radius: var(--chz-radius-md);
  animation: chz-cto-glow 2s ease-in-out infinite alternate;
}

/* ===== SCREEN-READER ONLY ===== */
.screen-reader-text,
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== ALIGNMENT helpers ===== */
.chz-mt-0 { margin-top: 0 !important; }
.chz-mt-1 { margin-top: 1rem; }
.chz-text-center { text-align: center; }

/* 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. */
/* [2026-06-06] Broadening : ajout patterns supplementaires (X-nav sans 'mobile', X-side, X-menu-drawer, etc.) sinon le validator manque les sites comme artois-moto.com qui utilise fe8-nav (sans 'mobile' dans le nom). */
@media (max-width: 1023px) {
  [class*="-nav-mobile"].is-open, [id*="-nav-mobile"].is-open, [class*="-drawer"].is-open, [class*="-burger-menu"].is-open, [class*="-mobile-menu"].is-open, [class*="-side-nav"].is-open, [class*="-side-menu"].is-open, [class*="-offcanvas"].is-open, nav[aria-label*="mobile" i].is-open, nav[aria-label*="Menu mobile" i].is-open, nav[id*="nav"].is-open[class*="-nav"]:not([class*="desktop"]) { 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+clickable v2 */
/* === Burger button : VISIBLE + CLIQUABLE garanti === */
[class*="-burger"], [class*="burger-menu"], [class*="menu-toggle"], button[aria-controls*="nav"], button[aria-label*="menu" i] { color: #1a1a1a !important; pointer-events: auto !important; cursor: pointer !important; z-index: 100 !important; position: relative !important; user-select: none !important; -webkit-tap-highlight-color: transparent !important; background: rgba(255,255,255,0.92) !important; border-radius: 8px !important; border: 1.5px solid rgba(0,0,0,0.15) !important; box-shadow: 0 1px 3px rgba(0,0,0,0.12) !important; padding: 8px !important; }
[class*="-burger"] svg, [class*="burger-menu"] svg, [class*="menu-toggle"] svg, button[aria-controls*="nav"] svg { stroke: #1a1a1a !important; fill: none !important; pointer-events: none !important; stroke-width: 2.5 !important; width: 22px !important; height: 22px !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"]:hover, [class*="-burger"]:focus { background: rgba(255,255,255,1) !important; border-color: rgba(0,0,0,0.3) !important; outline: 2px solid rgba(0,0,0,0.15) !important; outline-offset: 1px !important; }
/* Si le header est sombre : inverse en clair (detection elargie) */
[class*="-header"][style*="background:#0"] [class*="-burger"], [class*="-header"][style*="background:#1"] [class*="-burger"], [class*="-header"][style*="background:#2"] [class*="-burger"], [class*="-header"][style*="background-color:#0"] [class*="-burger"], [class*="-header"][style*="background-color:#1"] [class*="-burger"], [class*="-header"][style*="background-color:#2"] [class*="-burger"], [class*="-header"][class*="dark"] [class*="-burger"], [class*="-header"][class*="black"] [class*="-burger"], [class*="-header"][class*="--dark"] [class*="-burger"], [class*="-header"][class*="-night"] [class*="-burger"] { color: #f5f5f5 !important; background: rgba(0,0,0,0.55) !important; border-color: rgba(255,255,255,0.4) !important; box-shadow: 0 1px 3px rgba(0,0,0,0.4) !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: 1023px) {
  [class*="-burger"], button[aria-controls*="nav"] { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 44px !important; min-height: 44px !important; }
}
@media (min-width: 1024px) {
  [class*="-burger"], button[aria-controls*="nav"] { display: none !important; }
}

/* Validator: nav-mobile-list visible inside open drawer v1 */
/* Burger drawer ouvert : la UL des liens DOIT etre visible. */
[class*="-nav-mobile"].is-open ul, [id*="-nav-mobile"].is-open ul, [class*="-nav-mobile"].is-open [class*="-nav-mobile-list"], [class*="-drawer"].is-open ul, [class*="-burger-menu"].is-open ul { display: block !important; visibility: visible !important; height: auto !important; max-height: none !important; overflow: visible !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
[class*="-nav-mobile"].is-open ul li, [id*="-nav-mobile"].is-open ul li, [class*="-drawer"].is-open ul li, [class*="-burger-menu"].is-open ul li { display: list-item !important; height: auto !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
[class*="-nav-mobile"].is-open ul li a, [id*="-nav-mobile"].is-open ul li a, [class*="-drawer"].is-open ul li a, [class*="-burger-menu"].is-open ul li a { display: block !important; padding: 0.9rem 0 !important; text-decoration: none !important; border-bottom: 1px solid rgba(0,0,0,0.08) !important; font-size: 1rem !important; }
