/* =========================================================
 * PARFUM DE COUTURE — Design System "Gothique Victorien Deuil"
 * Site : parfumdecouture.com
 * Palette : #0A0A0A (primary) · #5A3F60 (plum accent) · #E5DCC5 (parchment) · #1A1A1A (bg)
 * Fonts : UnifrakturMaguntia (titres blackletter) + Cormorant (corps serif)
 * Préfixe classes : .pdc-*
 * ========================================================= */

/* ─── VARIABLES ────────────────────────────────────────── */
:root {
  --pdc-primary: #0A0A0A;
  --pdc-accent: #5A3F60;
  --pdc-accent-hover: #7A5F80;
  --pdc-text: #E5DCC5;
  --pdc-text-soft: #9A8F7D;
  --pdc-bg: #1A1A1A;
  --pdc-surface: #0F0F0F;
  --pdc-line: #3A2A40;
  --pdc-line-soft: #2A1F30;
  --pdc-font-h: 'UnifrakturMaguntia', 'Cormorant', Georgia, serif;
  --pdc-font-b: 'Cormorant', Georgia, 'Times New Roman', serif;
  --pdc-container: 1200px;
  --pdc-gap: 1.5rem;
  --pdc-radius: 4px;
}

/* ─── RESET / BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.pdc-body,
body {
  margin: 0;
  padding: 0;
  background: var(--pdc-bg);
  color: var(--pdc-text);
  font-family: var(--pdc-font-b);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--pdc-font-h);
  font-weight: 400;
  color: var(--pdc-text);
  margin: 0 0 .8em;
  line-height: 1.2;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
p { margin: 0 0 1.2em; }
a { color: var(--pdc-text); text-decoration: none; transition: color .2s ease; }
a:hover { color: #FFF4D6; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--pdc-font-b); cursor: pointer; }

main, .pdc-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
  min-height: 60vh;
}

.pdc-container {
  max-width: var(--pdc-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── BUTTONS ──────────────────────────────────────────── */
.pdc-btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  background: transparent;
  color: var(--pdc-text);
  border: 1px solid var(--pdc-text);
  border-radius: var(--pdc-radius);
  font-family: var(--pdc-font-b);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
  letter-spacing: .02em;
}
.pdc-btn:hover {
  background: var(--pdc-text);
  color: var(--pdc-primary);
}
.pdc-btn--cta {
  padding: .85rem 1.8rem;
  background: var(--pdc-accent);
  color: var(--pdc-text);
  border: 1px solid var(--pdc-line);
  font-weight: 600;
  font-size: 1.05rem;
}
.pdc-btn--cta:hover {
  background: var(--pdc-accent-hover);
  color: var(--pdc-text);
}

/* ─── HEADER : logo-left-menu-center-cta-right ─────────── */
.pdc-header {
  background: var(--pdc-primary);
  border-bottom: 1px solid var(--pdc-line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.pdc-header-inner {
  max-width: var(--pdc-container);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.pdc-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-shrink: 0;
}
.pdc-brand-logo {
  height: auto;
  width: auto;
  max-height: 56px;
  display: block;
}
.pdc-brand-name {
  font-family: var(--pdc-font-h);
  font-size: 1.5rem;
  color: var(--pdc-text);
  letter-spacing: .01em;
  line-height: 1;
}

/* NAV DESKTOP : centre horizontal, dense */
.pdc-nav-desktop {
  display: none;
}
.pdc-nav-desktop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.pdc-nav-desktop-list a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--pdc-text);
  font-family: var(--pdc-font-b);
  font-size: .98rem;
  font-weight: 500;
  padding: .4rem .1rem;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  letter-spacing: .02em;
}
.pdc-nav-desktop-list a:hover {
  color: #FFF4D6;
  border-bottom-color: var(--pdc-accent);
}
.pdc-nav-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  vertical-align: middle;
  flex-shrink: 0;
}

/* CTA header desktop */
.pdc-header-cta-desktop {
  flex-shrink: 0;
}

/* Burger mobile */
.pdc-burger {
  background: transparent;
  border: 1px solid var(--pdc-line);
  color: var(--pdc-text);
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--pdc-radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.pdc-burger svg { width: 22px; height: 22px; stroke: currentColor; }
.pdc-burger:hover { background: var(--pdc-line-soft); }

/* Drawer mobile : hidden par défaut */
.pdc-nav-mobile { display: none; }
.pdc-drawer-overlay { display: none; }

@media (max-width: 1023px) {
  .pdc-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 380px;
    background: var(--pdc-surface);
    padding: 4.5rem 1.5rem 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -12px 0 30px rgba(0,0,0,.5);
    border-left: 1px solid var(--pdc-line);
  }
  .pdc-drawer-overlay.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 9998;
  }
  .pdc-drawer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 1px solid var(--pdc-line);
    color: var(--pdc-text);
    width: 40px;
    height: 40px;
    border-radius: var(--pdc-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
  }
  .pdc-nav-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .pdc-nav-mobile-list li { border-bottom: 1px solid var(--pdc-line-soft); }
  .pdc-nav-mobile-list a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 1rem .3rem;
    color: var(--pdc-text);
    font-size: 1.1rem;
    font-weight: 500;
  }
  .pdc-nav-mobile-list a:hover { color: #FFF4D6; }
  .pdc-drawer-cta {
    display: block !important;
    margin: 2rem 0 1rem;
    padding: 1rem 1.5rem;
    text-align: center;
    background: var(--pdc-accent);
    color: var(--pdc-text);
    border-radius: var(--pdc-radius);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.05rem;
    border: 1px solid var(--pdc-line);
  }
  .pdc-header-cta-desktop { display: none !important; }
}

@media (min-width: 1024px) {
  .pdc-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1rem;
  }
  .pdc-burger { display: none !important; }
  .pdc-drawer-cta { display: none !important; }
}

/* ─── HERO : zoom-on-scroll ────────────────────────────── */
.pdc-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pdc-primary);
}
.pdc-hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
  transform: scale(1);
}
.pdc-hero.is-zoomed .pdc-hero-bg { transform: scale(1.15); }
.pdc-hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}
.pdc-hero-title {
  font-family: var(--pdc-font-h);
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--pdc-text);
  margin: 0 0 1rem;
  text-shadow: 0 3px 20px rgba(0,0,0,.8);
  line-height: 1.05;
}
.pdc-hero-tagline {
  font-family: var(--pdc-font-b);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--pdc-text);
  font-style: italic;
  margin: 0 0 2rem;
  letter-spacing: .05em;
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.pdc-hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* Overlay UNIQUEMENT pour vidéo YouTube — pas pour image hero */
.pdc-hero.pdc-hero--has-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.65) 100%);
  z-index: 2;
}

/* ─── ÉDITORIAL HOME (after-hero) ──────────────────────── */
.pdc-editorial {
  padding: 4rem 0 3rem;
  background: var(--pdc-bg);
  border-bottom: 1px solid var(--pdc-line-soft);
}
.pdc-editorial-intro {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}
.pdc-editorial-intro h2 {
  color: var(--pdc-text);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}
.pdc-editorial-intro p {
  font-size: 1.15rem;
  color: var(--pdc-text-soft);
  line-height: 1.75;
}
.pdc-editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.pdc-editorial-block h3 {
  color: var(--pdc-accent);
  font-size: 1.5rem;
  margin-bottom: .8rem;
}
.pdc-editorial-block p {
  color: var(--pdc-text-soft);
  font-size: 1rem;
  line-height: 1.7;
}
.pdc-editorial-manifest {
  margin: 3rem auto 0;
  padding: 2rem;
  max-width: 720px;
  border-top: 1px solid var(--pdc-line);
  border-bottom: 1px solid var(--pdc-line);
  text-align: center;
  font-style: italic;
  color: var(--pdc-text);
}

/* ─── RUBRIQUES (grille catégories home) ───────────────── */
.pdc-categories {
  padding: 4rem 0;
  background: var(--pdc-surface);
}
.pdc-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.pdc-section-head h2 {
  color: var(--pdc-text);
  font-size: clamp(2rem, 4vw, 2.6rem);
}
.pdc-section-head p {
  color: var(--pdc-text-soft);
  font-size: 1.1rem;
}
.pdc-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: var(--pdc-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.pdc-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--pdc-line);
  border-radius: var(--pdc-radius);
  background: var(--pdc-primary);
  transition: transform .3s ease, border-color .3s ease;
  text-decoration: none;
}
.pdc-cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--pdc-accent);
}
.pdc-cat-card-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .3s ease;
  filter: brightness(.75) saturate(.85);
}
.pdc-cat-card:hover .pdc-cat-card-img {
  transform: scale(1.05);
  filter: brightness(.85) saturate(1);
}
.pdc-cat-card-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pdc-primary) 0%, var(--pdc-accent) 100%);
}
.pdc-cat-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,.9) 100%);
  z-index: 2;
}
.pdc-cat-card-body h3 {
  color: var(--pdc-text);
  margin: 0;
  font-family: var(--pdc-font-h);
  font-size: 1.6rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
}

/* ─── DERNIERS ARTICLES (home) ─────────────────────────── */
.pdc-latest {
  padding: 4rem 0;
  background: var(--pdc-bg);
}
.pdc-latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  max-width: var(--pdc-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .pdc-latest-grid { grid-template-columns: repeat(3, 1fr); }
}
.pdc-article-card {
  background: var(--pdc-surface);
  border: 1px solid var(--pdc-line-soft);
  border-radius: var(--pdc-radius);
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
  display: flex;
  flex-direction: column;
}
.pdc-article-card:hover {
  border-color: var(--pdc-accent);
  transform: translateY(-4px);
}
.pdc-article-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--pdc-primary);
}
.pdc-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.pdc-article-card:hover .pdc-article-thumb img { transform: scale(1.06); }
.pdc-article-body {
  padding: 1.4rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pdc-article-cat {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pdc-accent);
  margin-bottom: .8rem;
  font-weight: 600;
}
.pdc-article-title {
  font-family: var(--pdc-font-h);
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0 0 .8rem;
}
.pdc-article-title a { color: var(--pdc-text); }
.pdc-article-excerpt {
  color: var(--pdc-text-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.2rem;
}
.pdc-article-meta {
  margin-top: auto;
  font-size: .85rem;
  color: var(--pdc-text-soft);
  letter-spacing: .04em;
}
.pdc-empty-state {
  text-align: center;
  color: var(--pdc-text-soft);
  padding: 3rem;
  font-style: italic;
}

/* ─── CATEGORY PAGE : hero + intro-faq ─────────────────── */
.pdc-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--pdc-primary);
}
.pdc-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(.65);
}
.pdc-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.5rem;
  max-width: var(--pdc-container);
  margin: 0 auto;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.8) 100%);
}
.pdc-cat-hero-inner h1 {
  color: var(--pdc-text);
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
  margin: 0;
}
.pdc-cat-body {
  padding: 3rem 0;
  max-width: 860px;
  margin: 0 auto;
}
.pdc-cat-body .pdc-cat-intro {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--pdc-text);
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}
.pdc-cat-articles {
  padding: 2rem 1.5rem 0;
}
.pdc-faq {
  padding: 3rem 1.5rem;
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--pdc-line-soft);
}
.pdc-faq h2 { text-align: center; margin-bottom: 2rem; }
.pdc-faq details {
  padding: 1rem 1.2rem;
  background: var(--pdc-surface);
  border-left: 3px solid var(--pdc-accent);
  border-radius: var(--pdc-radius);
  margin-bottom: .8rem;
}
.pdc-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pdc-text);
}
.pdc-faq details p {
  color: var(--pdc-text-soft);
  margin-top: .6rem;
}

/* ─── PERSONA PHOTO (page à-propos) ────────────────────── */
.pdc-persona-photo {
  max-width: 380px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 2rem;
  border: 1px solid var(--pdc-line);
  border-radius: var(--pdc-radius);
  filter: sepia(.15) saturate(.9);
}

/* ─── CONTACT / JOTFORM WRAPPER ────────────────────────── */
.b97-contact-form {
  margin: 3rem 0;
  padding: 1.5rem;
  background: var(--pdc-surface);
  border: 1px solid var(--pdc-line);
  border-radius: var(--pdc-radius);
}
.b97-contact-form iframe { background: transparent; }

/* Content default : page interne */
.entry-content, .pdc-page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  color: var(--pdc-text);
  font-size: 1.1rem;
  line-height: 1.75;
}
.entry-content h2, .pdc-page-content h2 { margin-top: 2rem; color: var(--pdc-text); }
.entry-content a, .pdc-page-content a {
  color: var(--pdc-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:hover, .pdc-page-content a:hover { color: #B08FC0; }

/* ─── FOOTER : 4 colonnes ──────────────────────────────── */
.pdc-footer {
  background: var(--pdc-primary);
  border-top: 1px solid var(--pdc-line);
  padding: 3.5rem 0 0;
  margin-top: 4rem;
  color: var(--pdc-text-soft);
}
.pdc-footer-inner {
  max-width: var(--pdc-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2.5rem;
}
.pdc-footer-col h3 {
  color: var(--pdc-text);
  font-family: var(--pdc-font-h);
  font-size: 1.3rem;
  margin: 0 0 1rem;
  letter-spacing: .01em;
}
.pdc-footer-logo {
  display: block;
  margin-bottom: 1rem;
  max-width: 140px;
  height: auto;
  filter: brightness(1);
}
.pdc-footer-brand-pitch {
  color: var(--pdc-text-soft);
  font-size: .98rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.pdc-footer-brand-cta {
  display: inline-block;
  color: var(--pdc-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--pdc-accent);
  padding-bottom: 2px;
  transition: color .2s ease;
}
.pdc-footer-brand-cta:hover { color: #B08FC0; }
.pdc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pdc-footer-links li { margin-bottom: .5rem; }
.pdc-footer-links a {
  color: var(--pdc-text-soft);
  font-size: .98rem;
  text-decoration: none;
  transition: color .2s ease;
  border-bottom: 1px solid transparent;
}
.pdc-footer-links a:hover {
  color: var(--pdc-text);
  border-bottom-color: var(--pdc-accent);
}
.pdc-footer-social {
  display: flex;
  gap: .8rem;
  margin-top: 1rem;
}
.pdc-footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--pdc-line);
  border-radius: var(--pdc-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--pdc-text-soft);
  transition: color .2s ease, border-color .2s ease;
}
.pdc-footer-social a:hover { color: var(--pdc-text); border-color: var(--pdc-accent); }
.pdc-footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.pdc-footer-copy {
  border-top: 1px solid var(--pdc-line-soft);
  margin-top: 3rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--pdc-text-soft);
  font-size: .88rem;
  letter-spacing: .04em;
}
.pdc-footer-copy em {
  font-style: italic;
  color: var(--pdc-accent);
}

/* ─── ANIMATIONS (CTA/CTR/CTO) ─────────────────────────── */
@keyframes pdc-cta-float {
  0%, 100% { transform: translateY(0); box-shadow: 0 4px 14px rgba(90,63,96,.35); }
  50%      { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(90,63,96,.55); }
}
.pdc-btn--cta { animation: pdc-cta-float 3s ease-in-out infinite; }
.pdc-btn--cta:hover { animation-play-state: paused; }

@keyframes pdc-ctr-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.pdc-ctr-wrap {
  overflow: hidden;
  padding: 2rem 0;
  background: var(--pdc-surface);
  border-top: 1px solid var(--pdc-line);
  border-bottom: 1px solid var(--pdc-line);
}
.pdc-ctr-track {
  display: flex;
  gap: 3rem;
  animation: pdc-ctr-slide 40s linear infinite;
  width: max-content;
}
.pdc-ctr-track:hover { animation-play-state: paused; }
.pdc-ctr-track img {
  height: 44px;
  filter: brightness(.85) sepia(.3) opacity(.7);
  flex-shrink: 0;
}

@keyframes pdc-cto-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.pdc-cto-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.2rem;
  background: linear-gradient(90deg, var(--pdc-surface) 0%, var(--pdc-accent) 50%, var(--pdc-surface) 100%);
  background-size: 200% 100%;
  animation: pdc-cto-shimmer 3s linear infinite;
  color: var(--pdc-text);
  border: 1px solid var(--pdc-line);
  border-radius: var(--pdc-radius);
  font-size: .95rem;
}
.pdc-cto-badge svg { width: 18px; height: 18px; fill: currentColor; }

/* ─── MOUSE EFFECT : button_hover_icon_slide ───────────── */
.pdc-btn, .pdc-btn--cta,
a.pdc-btn, button.pdc-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: padding .3s ease, background .2s ease, color .2s ease;
}
.pdc-btn::after, .pdc-btn--cta::after {
  content: '→';
  display: inline-block;
  margin-left: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: transform .3s ease, opacity .3s ease, margin-left .3s ease;
  color: currentColor;
  font-weight: 400;
}
.pdc-btn:hover::after, .pdc-btn--cta:hover::after {
  opacity: 1;
  transform: translateX(4px);
  margin-left: .4rem;
}
@media (hover: none) {
  .pdc-btn::after, .pdc-btn--cta::after { display: none; }
}

/* ─── PAGE OUTIL (single tool template) ────────────────── */
.pdc-tool-page {
  padding: 3rem 0;
  min-height: 70vh;
}
.pdc-tool-page-header {
  max-width: 820px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
  text-align: center;
}
.pdc-tool-page-header h1 { margin-bottom: 1rem; }
.pdc-tool-page-intro {
  font-size: 1.05rem;
  color: var(--pdc-text-soft);
  line-height: 1.75;
  max-width: 780px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

/* ─── RESPONSIVE ADJUSTMENTS ───────────────────────────── */
@media (max-width: 768px) {
  body { font-size: 17px; }
  .pdc-hero { min-height: 66vh; }
  .pdc-header-inner { padding: .8rem 1.2rem; gap: 1rem; }
  .pdc-brand-logo { max-height: 44px; }
  .pdc-brand-name { font-size: 1.2rem; }
  .pdc-editorial-grid { grid-template-columns: 1fr; }
  .pdc-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .pdc-latest-grid { grid-template-columns: 1fr; }
  .pdc-footer-inner { gap: 2rem; }
}

/* ─── LARGER SCREENS OPTIM ─────────────────────────────── */
@media (min-width: 1440px) {
  .pdc-hero { min-height: 82vh; }
  .pdc-hero-title { font-size: 5.2rem; }
}

/* ─── ACCESSIBILITY & UTILITIES ────────────────────────── */
:focus-visible { outline: 2px solid var(--pdc-accent); outline-offset: 2px; }
.pdc-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Fin du style.css — Parfum de Couture */


/* Theme overrides */
body section[class*="cat-hero"], body div[class*="cat-hero"] {
  position: relative !important;
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
  left: 0 !important; right: 0 !important;
  height: 360px !important; min-height: 360px !important; max-height: 360px !important;
  padding: 0 !important; overflow: hidden !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  border: none !important; box-shadow: none !important; outline: none !important;
  box-sizing: border-box !important;
}
/* Aussi force le parent <main> a etre full-width pour eviter cap a 1024 */
body main, body, body, body [class*="b97-main"], body #content {
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
body [class*="cat-hero"] > img, body [class*="cat-hero-bg"], body [class*="cat-hero"] img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  max-height: 360px !important;
  object-fit: cover !important; z-index: 0 !important;
  border: none !important;
}
body [class*="cat-hero"]::before, body [class*="cat-hero"]::after {
  content: none !important; display: none !important;
}
/* Overlay : absolute par-dessus l'image, juste pour le gradient sombre */
body [class*="cat-hero-overlay"], body [class*="cat-hero"] > [class*="overlay"] {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  max-width: none !important;
  display: block !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 100%) !important;
  pointer-events: none !important;
  border: none !important;
}
/* Container / inner du titre : centré au-dessus de l'overlay (z-index 2) */
body [class*="cat-hero"] > [class*="container"],
body [class*="cat-hero"] > [class*="cat-hero-inner"],
body [class*="cat-hero"] > [class*="hero-inner"]:not([class*="overlay"]),
body [class*="cat-hero"] > div:not([class*="overlay"]):not([class*="-bg"]) {
  position: relative !important; z-index: 2 !important;
  text-align: center !important;
  max-width: 900px !important; margin: 0 auto !important;
  padding: 1.5rem 2rem !important;
  border: none !important; background: transparent !important;
}
body [class*="cat-hero"] h1 {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 6vw, 4rem) !important;
  text-align: center !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;
  border: none !important; display: block !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;
}



body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
  max-width: 280px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto !important;
}
@media (min-width: 768px) {
  body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
    max-width: 320px !important;
  }
}


@media (max-width: 1023px) {
  /* FIX width:auto -> ne plus l'imposer (laisse child theme définir width).
     Sinon écrase le child et le burger devient 0 de large -> invisible. */
  body [class*="burger"], body button[class*="burger"] {
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 100 !important;
  }
}
@media (min-width: 1024px) {
  body [class*="burger"], body button[class*="burger"] {
    display: none !important;
  }
}



body footer, body [class*="footer"]:not([class*="logo"]):not([class*="brand-logo"]) {
  color: inherit !important;
}


body footer ul li a, body footer ol li a,
body [class*="footer"] ul li a:not([class*="btn"]):not([class*="cta"]),
body footer [class*="link"]:not([class*="brand"]):not([class*="btn"]) {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: currentColor !important;
  opacity: 0.85 !important;
  transition: opacity .2s ease !important;
}
body footer ul li a:hover, body footer ol li a:hover,
body [class*="footer"] ul li a:hover {
  opacity: 1 !important;
  text-decoration-thickness: 2px !important;
}


body [class*="burger"] {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
  cursor: pointer !important;
  padding: 8px;
  color: inherit;
  transition: background .2s ease, border-color .2s ease !important;
}
body [class*="burger"]:hover, body [class*="burger"]:focus-visible {
  background: rgba(0,0,0,0.06);
  border-color: var(--b97-accent, currentColor);
}
/* Container des 3 barres (peut s'appeler "bars", "lines", etc.) */
body [class*="burger"] > [class*="bar"],
body [class*="burger"] > [class*="line"],
body [class*="burger"] > span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 16px;
  gap: 0;
}
/* Les 3 barres elles-mêmes */
body [class*="burger"] [class*="bar"] > span,
body [class*="burger"] [class*="line"] > span,
body [class*="burger"] > span > span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  margin: 2px 0;
  transition: transform .25s ease, opacity .25s ease !important;
}
/* Etat ouvert : transforme en X */
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(1),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(1),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg) !important;
}
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(2),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(2),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(2) {
  opacity: 0 !important;
}
body [class*="burger"][aria-expanded="true"] [class*="bar"] > span:nth-child(3),
body [class*="burger"][aria-expanded="true"] [class*="line"] > span:nth-child(3),
body [class*="burger"][aria-expanded="true"] > span > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg) !important;
}

@media (max-width: 1023px) {
  body header [class*="cta-wrap"]:has([class*="burger"]),
  body header > div:has([class*="burger"]),
  body [class*="header"] [class*="-wrap"]:has([class*="burger"]),
  body [class*="header-inner"] > div:has([class*="burger"]) {
    display: flex;
    align-items: center;
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* Mobile : 1 SEUL CTA visible (dans le burger).
   Sur mobile le CTA original du header est masque ; sur desktop le clone est hidden. */
@media (max-width: 1023px) {
  body [class*="header-cta"] [class*="btn--cta"],
  body [class*="header__cta"] [class*="btn--cta"],
  body [class*="header-cta"] > [class*="cta"],
  body [class*="header__cta"] > a {
    display: none !important;
  }
}


/* ============================================================
   Section 'On parle de nous' (media press)
   Logos grayscale par defaut, couleur au hover.
   Grid responsive 2-6 colonnes, gap auto.
============================================================ */
.b97-media-press {
  padding: 2.5rem 0;
  background: var(--b97-bg-soft, var(--b97-color-surface, #f9fafb));
  margin: 2rem 0;
}
.b97-media-press > .b97-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.b97-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--b97-color-text-soft, var(--b97-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.b97-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.b97-media-press-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 160px;
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
  opacity: .65;
  filter: grayscale(100%);
}
.b97-media-press-item:hover,
.b97-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.b97-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .b97-media-press { padding: 1.8rem 0; }
  .b97-media-press-grid { gap: 1.4rem; }
  .b97-media-press-item { max-width: 110px; min-height: 36px; }
  .b97-media-press-item img { max-height: 36px; }
}


/* FIX gap header->hero (parent theme override) + media-press compact centre */
body main, body.home main, body.archive main, body.single main,
body, body, body main[class*="-main"] {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* MEDIA PRESS : layout horizontal compact CENTRE (titre + logos cote a cote au centre) */
.b97-media-press section[class*="media-press"] {
  padding: 24px 0 !important;
  margin: 0 !important;
  background: #fafafa;
  border-block: 1px solid rgba(0,0,0,0.06);
}
.b97-media-press .b97-container,
section[class*="media-press"] [class*="container"] {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  flex-wrap: wrap;
  text-align: center;
}
.b97-media-press-title,
section[class*="media-press"] [class*="title"] {
  margin: 0 !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--b97-muted, #666);
  flex: 0 0 auto;
}
.b97-media-press-grid,
section[class*="media-press"] [class*="grid"] {
  display: flex !important;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  flex: 0 1 auto;
  justify-content: center;
}
.b97-media-press-item,
section[class*="media-press"] [class*="item"] {
  display: inline-flex !important;
  align-items: center;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.b97-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.b97-media-press imgimg,
section[class*="media-press"] img {
  max-height: 48px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}
.b97-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .b97-media-press .b97-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.b97-cat-hero--align-left .b97-cat-hero-inner
section[class*="cat-hero--align-left"] [class*="cat-hero-inner"] {
  text-align: left !important;
  align-items: flex-start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  padding-left: 24px;
}
.b97-cat-hero--align-center .b97-cat-hero-inner
section[class*="cat-hero--align-center"] [class*="cat-hero-inner"] {
  text-align: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}


@media (max-width: 1023.98px) {  [class*="-header-cta-wrap"],
  [class*="-header-actions"],
  [class*="-burger-wrap"],
  [class*="-header-right"],
  [class*="-header-actions-mobile"] {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex-shrink: 0 !important;
    z-index: 9999;
    pointer-events: auto !important;
    cursor: pointer !important;
  }  [class*="-burger"] > span,
  [class*="-burger-bars"] {
    display: flex !important;
    flex-direction: column !important;
    min-width: 24px !important;
    min-height: 16px !important;
  }  [class*="-burger-bars"] > *,
  [class*="-burger"] > span > * {
    display: block !important;
    min-width: 24px !important;
    min-height: 2px !important;
  }  [class*="-header-cta-desktop"] {
    display: none !important;
  }  [class*="-burger-label"] {
    display: none !important;
  }
}
@media (min-width: 1024px) {  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: none !important;
  }
}


/* Burger style */
@media (max-width: 1023.98px) {
  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    width: 42px !important; height: 42px !important;
    border-radius: 6px !important; padding: 8px !important;
    background: transparent !important; border: 1.5px solid currentColor !important;
  }
  [class*="-burger"] > span, [class*="-burger-bars"] {
    gap: 5px !important; width: 24px !important; height: 16px !important;
    align-items: center !important;
  }
  [class*="-burger-bars"] > *, [class*="-burger"] > span > * {
    height: 2px !important; border-radius: 1px !important;
  }
  [class*="-burger-bars"] > *:nth-child(1), [class*="-burger"] > span > *:nth-child(1) { width: 24px !important; }
  [class*="-burger-bars"] > *:nth-child(2), [class*="-burger"] > span > *:nth-child(2) { width: 24px !important; }
  [class*="-burger-bars"] > *:nth-child(3), [class*="-burger"] > span > *:nth-child(3) { width: 24px !important; }
}


/* Mouse effect : button_hover_icon_slide */
.pdc-btn,.pdc-btn--cta,a.pdc-btn,button.pdc-btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:.5rem;transition:padding .3s ease}.pdc-btn::after,.pdc-btn--cta::after{content:'→';display:inline-block;margin-left:0;opacity:0;transform:translateX(-8px);transition:transform .3s ease,opacity .3s ease,margin-left .3s ease;color:#E5DCC5;font-weight:400}.pdc-btn:hover::after,.pdc-btn--cta:hover::after{opacity:1;transform:translateX(4px);margin-left:.4rem}@media (hover:none){.pdc-btn::after,.pdc-btn--cta::after{display:none}}

/* 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; }


/* RANKO HOME-HEADINGS+FOOTER-WHITE 2026-07-24 START */
/* H1 et H2 en blanc sur TOUTES les pages du site (home, catégories, single, pages statiques) */
body h1,
body h2,
body .pdc-hero-title,
body section.pdc-editorial h2,
body section.pdc-categories h2,
body .pdc-section-head h2,
body .pdc-cat-hero h1,
body .pdc-page-inner h1,
body .pdc-page-inner h2,
body .pdc-tool-page-header h1,
body article h1,
body article h2,
body main h1,
body main h2 { color: #ffffff !important; }

/* Footer : TOUT en blanc */
body footer.pdc-footer,
body footer.pdc-footer *,
body footer.pdc-footer h1,
body footer.pdc-footer h2,
body footer.pdc-footer h3,
body footer.pdc-footer h4,
body footer.pdc-footer h5,
body footer.pdc-footer p,
body footer.pdc-footer span,
body footer.pdc-footer li,
body footer.pdc-footer em,
body footer.pdc-footer strong,
body footer.pdc-footer a { color: #ffffff !important; }
body footer.pdc-footer a { text-decoration-color: rgba(255,255,255,.55) !important; }
body footer.pdc-footer a:hover { color: #ffffff !important; opacity: .8 !important; }
body footer.pdc-footer svg { fill: #ffffff !important; color: #ffffff !important; }
body footer.pdc-footer svg * { fill: currentColor !important; stroke: currentColor !important; }
/* RANKO HOME-HEADINGS+FOOTER-WHITE 2026-07-24 END */

/* RANKO BURGER-WHITE 2026-07-24 START */
/* Burger mobile en blanc : traits, stroke SVG, bordure, avec léger fond sombre pour lisibilité sur backgrounds clairs */
@media (max-width: 1023.98px) {
  body .pdc-burger,
  body button.pdc-burger,
  body #pdc-burger {
    color: #ffffff !important;
    background: rgba(0,0,0,0.25) !important;
    border: 1.5px solid rgba(255,255,255,0.6) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.25) !important;
  }
  body .pdc-burger:hover,
  body .pdc-burger:focus,
  body #pdc-burger:hover {
    background: rgba(0,0,0,0.4) !important;
    border-color: #ffffff !important;
  }
  body .pdc-burger svg,
  body #pdc-burger svg {
    stroke: #ffffff !important;
    color: #ffffff !important;
    fill: none !important;
  }
  body .pdc-burger svg *,
  body .pdc-burger svg path,
  body .pdc-burger svg line,
  body .pdc-burger svg rect,
  body .pdc-burger svg polyline,
  body #pdc-burger svg path,
  body #pdc-burger svg line {
    stroke: #ffffff !important;
    fill: none !important;
  }
  /* Fallback si le burger utilise des <span> au lieu de SVG */
  body .pdc-burger > span,
  body #pdc-burger > span {
    background: #ffffff !important;
    color: #ffffff !important;
  }
}
/* RANKO BURGER-WHITE 2026-07-24 END */
