/* ===================================================================
   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: #ffffff;
  padding-top: 3.5rem;
  margin-top: 4rem;
}
.chz-footer * { color: #ffffff; }
.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: #ffffff;
  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: #ffffff;
  font-weight: 600;
  margin-bottom: .35rem;
  display: block;
}
.chz-footer-brand-pitch {
  font-size: .95rem;
  line-height: 1.65;
  color: #ffffff;
  margin-bottom: 1.2rem;
}
.chz-footer-brand-cta {
  display: inline-block;
  font-family: var(--chz-font-h);
  font-weight: 600;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .95rem;
}
.chz-footer-brand-cta:hover { color: #ffffff; text-decoration-color: var(--chz-accent); }

.chz-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.chz-footer-links li {
  margin-bottom: .55rem;
  color: #ffffff;
}
.chz-footer-links a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  font-size: .95rem;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.chz-footer-links a:hover {
  color: #ffffff;
  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.12);
  color: #ffffff;
  transition: background .2s ease;
}
.chz-footer-social a:hover {
  background: var(--chz-accent);
  color: #ffffff;
}
.chz-footer-social svg {
  width: 18px; height: 18px;
  fill: #ffffff;
  color: #ffffff;
}

.chz-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 1.5rem var(--chz-gutter);
  text-align: center;
  font-size: .85rem;
  color: #ffffff;
  font-style: italic;
}
.chz-footer-bottom a {
  color: #ffffff;
  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; }
/* RANKO CN-CUSTOM 2026-07-10 */
body .chz-footer-title { color: #ffffff !important; }

