/* =============================================================
   Perdre du Poids Rapidement — style.css custom
   Design: Asiatique Thaï Temple + couleurs concurrent (pink)
   Hero: mosaic-categories | Header: logo-center-menu-split
   Category: single-top
   ============================================================= */

:root {
  --dcf-primary: #f01545;
  --dcf-primary-dark: #c3113a;
  --dcf-accent: #FFD700;
  --dcf-accent-dark: #d4af00;
  --dcf-text: #2A1810;
  --dcf-text-soft: #6B5040;
  --dcf-bg: #FFFDF8;
  --dcf-surface: #FFFFFF;
  --dcf-line: #E5D095;
  --dcf-line-soft: #f1e6c4;
  --dcf-shadow-sm: 0 2px 8px rgba(42, 24, 16, 0.06);
  --dcf-shadow-md: 0 6px 24px rgba(240, 21, 69, 0.08);
  --dcf-shadow-lg: 0 12px 40px rgba(240, 21, 69, 0.12);
  --dcf-radius-sm: 8px;
  --dcf-radius-md: 14px;
  --dcf-radius-lg: 22px;
  --dcf-font-headings: 'Mali', 'Playfair Display', Georgia, serif;
  --dcf-font-body: 'Sarabun', 'Helvetica Neue', Arial, sans-serif;
  --dcf-container: 1240px;
  --dcf-container-narrow: 880px;
}

/* === RESET BASE === */
html { scroll-behavior: smooth; }
body.dcf-body {
  margin: 0;
  font-family: var(--dcf-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--dcf-text);
  background: var(--dcf-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main, .dcf-main { padding-top: 0 !important; margin-top: 0 !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dcf-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--dcf-primary-dark); }
h1, h2, h3, h4 {
  font-family: var(--dcf-font-headings);
  font-weight: 600;
  color: var(--dcf-text);
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1rem; }
.dcf-container { max-width: var(--dcf-container); margin: 0 auto; padding: 0 1.5rem; }
.dcf-container-narrow { max-width: var(--dcf-container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.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;
}

/* === BUTTONS === */
.dcf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--dcf-font-body);
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.dcf-btn--primary {
  background: var(--dcf-primary);
  color: #fff;
  border-color: var(--dcf-primary);
}
.dcf-btn--primary:hover {
  background: var(--dcf-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--dcf-shadow-md);
}
.dcf-btn--outline {
  background: transparent;
  color: var(--dcf-primary);
  border-color: var(--dcf-primary);
}
.dcf-btn--outline:hover {
  background: var(--dcf-primary);
  color: #fff;
}
.dcf-btn--gold {
  background: linear-gradient(135deg, var(--dcf-accent), var(--dcf-accent-dark));
  color: var(--dcf-text);
  border-color: var(--dcf-accent-dark);
}

/* === Glassmorphism CTA animation === */
@keyframes dcf-glass-shine {
  0% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%) skewX(-20deg); }
}
.dcf-btn--cta {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(135deg, rgba(240,21,69,0.92), rgba(255,215,0,0.85));
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 24px rgba(240,21,69,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.dcf-btn--cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  animation: dcf-glass-shine 3.5s ease-in-out infinite;
}
.dcf-btn--cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(240,21,69,0.4), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* === HEADER : logo-center-menu-split === */
.dcf-header {
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dcf-line-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.dcf-header-inner {
  max-width: var(--dcf-container);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}
.dcf-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-left: auto;
}
.dcf-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}
.dcf-brand-logo {
  width: auto;
  max-width: 200px;
}
.dcf-brand-name {
  font-family: var(--dcf-font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dcf-text);
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Nav DESKTOP : 2 halves split, center brand */
.dcf-nav-desktop, .dcf-nav-desktop-right { display: none; }
.dcf-nav-desktop-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.4rem;
  align-items: center;
}
.dcf-nav-desktop-list a {
  color: var(--dcf-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: var(--dcf-font-body);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  transition: color .25s ease;
}

/* --- Nav HOVER pill effect (mouse_effect: nav_hover_background_pill) --- */
.dcf-nav-desktop-list a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,21,69,0.12), rgba(255,215,0,0.18));
  border-radius: 999px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
  z-index: -1;
}
.dcf-nav-desktop-list a:hover::before,
.dcf-nav-desktop-list a:focus-visible::before {
  transform: scale(1);
  opacity: 1;
}
.dcf-nav-desktop-list a:hover,
.dcf-nav-desktop-list a:focus-visible {
  color: var(--dcf-primary);
}
@media (hover: none) {
  .dcf-nav-desktop-list a::before { display: none; }
}

/* === BURGER (mobile) === */
.dcf-burger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1.5px solid rgba(42, 24, 16, 0.18) !important;
  border-radius: 8px !important;
  color: var(--dcf-text) !important;
  cursor: pointer !important;
  z-index: 10000 !important;
  flex-shrink: 0 !important;
  position: relative !important;
}
.dcf-burger-bars {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  width: 24px !important;
  height: 16px !important;
}
.dcf-burger-bars span {
  display: block;
  height: 2.5px;
  background: var(--dcf-text);
  border-radius: 999px;
  width: 100%;
  transition: transform .25s ease, opacity .2s ease;
}

/* === DRAWER MOBILE === */
.dcf-nav-mobile {
  display: none;
}
.dcf-nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.dcf-nav-mobile-list li { border-bottom: 1px solid var(--dcf-line-soft); }
.dcf-nav-mobile-list a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--dcf-text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  font-family: var(--dcf-font-headings);
}
.dcf-nav-mobile-list a:hover {
  background: rgba(240, 21, 69, 0.06);
  color: var(--dcf-primary);
}
.dcf-drawer-cta {
  display: block !important;
  margin: 2rem 1.5rem 1.5rem !important;
  padding: 1rem 1.5rem !important;
  text-align: center !important;
  background: linear-gradient(135deg, var(--dcf-primary), var(--dcf-primary-dark)) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 1.05rem !important;
}
.dcf-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dcf-bg);
  border: 1px solid var(--dcf-line);
  color: var(--dcf-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 10001;
}
.dcf-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 24, 16, 0.55);
  z-index: 9998;
  backdrop-filter: blur(2px);
}
.dcf-drawer-overlay.is-open { display: block; }

/* === HEADER RESPONSIVE === */
@media (max-width: 1023px) {
  .dcf-header-cta-desktop { display: none !important; }
  .dcf-header-inner { padding: 0.65rem 1rem; min-height: 64px; }
  .dcf-brand-name { font-size: 1rem; }
}
@media (min-width: 1024px) {
  .dcf-burger, .dcf-drawer-overlay { display: none !important; }
  .dcf-drawer-cta { display: none !important; }
  .dcf-nav-desktop, .dcf-nav-desktop-right {
    display: flex;
    flex: 1;
    align-items: center;
  }
  .dcf-nav-desktop { justify-content: flex-end; }
  .dcf-nav-desktop-right { justify-content: flex-start; }
  .dcf-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
  .dcf-header-actions { margin-left: 0; }
}
@media (max-width: 1023px) {
  .dcf-nav-mobile.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #fff;
    padding: 4.5rem 0 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }
}

/* === HERO mosaic-categories === */
.dcf-hero {
  position: relative;
  background: linear-gradient(180deg, var(--dcf-bg) 0%, #fbeec9 100%);
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}
.dcf-hero-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}
.dcf-hero-title {
  font-family: var(--dcf-font-headings);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--dcf-text);
  margin: 0 0 1rem;
  line-height: 1.15;
}
.dcf-hero-title em {
  color: var(--dcf-primary);
  font-style: normal;
  position: relative;
}
.dcf-hero-title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 8px;
  background: linear-gradient(90deg, var(--dcf-accent), transparent);
  opacity: 0.6;
  border-radius: 999px;
}
.dcf-hero-tagline {
  font-size: 1.15rem;
  color: var(--dcf-text-soft);
  line-height: 1.55;
  margin: 0;
}
.dcf-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dcf-mosaic-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--dcf-radius-md);
  display: block;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--dcf-shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.dcf-mosaic-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--dcf-shadow-lg);
  color: #fff;
}
.dcf-mosaic-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.dcf-mosaic-tile:hover img { transform: scale(1.06); }
.dcf-mosaic-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,24,16,0) 35%, rgba(42,24,16,0.78) 100%);
}
.dcf-mosaic-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1rem 1.2rem;
}
.dcf-mosaic-content h3 {
  color: #fff;
  font-family: var(--dcf-font-headings);
  font-size: 1.4rem;
  margin: 0 0 0.3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.dcf-mosaic-fallback {
  background: linear-gradient(135deg, var(--dcf-primary), var(--dcf-accent-dark));
}
/* Mosaic tile sizing variants (anti-empreinte: tile #1 large) */
.dcf-mosaic-tile--big {
  grid-column: span 2;
  grid-row: span 2;
}
.dcf-mosaic-tile--big .dcf-mosaic-content h3 { font-size: 1.8rem; }
.dcf-mosaic-tile--wide { grid-column: span 2; }
.dcf-mosaic-tile--tall { grid-row: span 2; }

@media (max-width: 980px) {
  .dcf-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .dcf-mosaic-tile--big { grid-column: span 2; grid-row: span 2; }
  .dcf-mosaic-tile--tall { grid-row: span 1; }
  .dcf-mosaic-tile--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .dcf-mosaic { grid-auto-rows: 160px; gap: 10px; }
  .dcf-hero { padding: 2rem 0 2.5rem; }
}

/* === EDITORIAL BLOCK (after hero) === */
.dcf-editorial-block {
  padding: 3.5rem 0;
  background: var(--dcf-bg);
}
.dcf-editorial-block .dcf-container-narrow { padding: 0 1.5rem; }
.dcf-editorial-eyebrow {
  display: inline-block;
  font-family: var(--dcf-font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dcf-primary);
  margin-bottom: 0.6rem;
}
.dcf-editorial-block h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin: 0 0 1.4rem;
  color: var(--dcf-text);
}
.dcf-editorial-block h3 {
  margin-top: 2rem;
  color: var(--dcf-text);
  font-size: 1.35rem;
}
.dcf-editorial-block p {
  font-size: 1.05rem;
  color: var(--dcf-text);
  line-height: 1.75;
}
.dcf-editorial-block .dcf-editorial-callout {
  margin: 2rem 0;
  padding: 1.5rem 1.7rem;
  border-left: 4px solid var(--dcf-primary);
  background: rgba(240, 21, 69, 0.045);
  border-radius: 0 var(--dcf-radius-md) var(--dcf-radius-md) 0;
}
.dcf-editorial-callout strong { color: var(--dcf-primary); }

/* === MISSION SECTION (avec hero-43631a.avif) === */
.dcf-mission {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #fbeec9 0%, var(--dcf-bg) 100%);
}
.dcf-mission-grid {
  max-width: var(--dcf-container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.dcf-mission-img {
  border-radius: var(--dcf-radius-lg);
  overflow: hidden;
  box-shadow: var(--dcf-shadow-lg);
  aspect-ratio: 4 / 3;
}
.dcf-mission-img img { width: 100%; height: 100%; object-fit: cover; }
.dcf-mission-text h2 { margin-bottom: 1rem; }
.dcf-mission-text p { color: var(--dcf-text); font-size: 1.05rem; }
@media (max-width: 880px) {
  .dcf-mission-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* === LATEST ARTICLES === */
.dcf-latest {
  padding: 3.5rem 0;
  background: var(--dcf-bg);
}
.dcf-latest-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.dcf-latest-head h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.3rem);
  margin: 0;
}
.dcf-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
@media (min-width: 1100px) {
  .dcf-latest-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .dcf-latest-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
}
@media (max-width: 560px) {
  .dcf-latest-grid { grid-template-columns: 1fr; }
}
.dcf-card {
  background: var(--dcf-surface);
  border-radius: var(--dcf-radius-md);
  overflow: hidden;
  box-shadow: var(--dcf-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--dcf-line-soft);
}
.dcf-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dcf-shadow-md);
}
.dcf-card-img {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dcf-accent), var(--dcf-primary));
}
.dcf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.dcf-card:hover .dcf-card-img img { transform: scale(1.04); }
.dcf-card-body {
  padding: 1.2rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.dcf-card-meta {
  font-size: 0.78rem;
  color: var(--dcf-primary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}
.dcf-card-title {
  font-family: var(--dcf-font-headings);
  font-size: 1.18rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.dcf-card-title a { color: var(--dcf-text); text-decoration: none; }
.dcf-card-title a:hover { color: var(--dcf-primary); }
.dcf-card-excerpt {
  color: var(--dcf-text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.dcf-card-foot {
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--dcf-text-soft);
}

/* === EMPTY STATE === */
.dcf-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--dcf-text-soft);
  font-style: italic;
}

/* === CATEGORY PAGE (single-top) === */
.dcf-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dcf-primary), var(--dcf-accent-dark));
}
.dcf-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.dcf-cat-hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 25%, rgba(42, 24, 16, 0.75) 100%);
  padding: 0 1.5rem 2rem;
}
.dcf-cat-hero-overlay .dcf-container { max-width: var(--dcf-container); margin: 0 auto; width: 100%; }
.dcf-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
}
.dcf-cat-intro {
  background: var(--dcf-bg);
  padding: 2.5rem 0 1rem;
}
.dcf-cat-intro .dcf-container-narrow { padding: 0 1.5rem; }
.dcf-cat-intro p {
  font-size: 1.05rem;
  color: var(--dcf-text);
  line-height: 1.7;
}
.dcf-cat-articles {
  padding: 1.5rem 0 3.5rem;
}

/* === FOOTER === */
.dcf-footer {
  background: #2A1810;
  color: #fdf6e8;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.dcf-footer .dcf-container { padding: 0 1.5rem; }
.dcf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.dcf-footer-col h3.dcf-footer-title {
  font-family: var(--dcf-font-headings);
  color: var(--dcf-accent);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.2rem;
}
.dcf-footer-brand .dcf-footer-logo {
  margin-bottom: 1rem;
  filter: brightness(1.1);
}
.dcf-footer-brand-pitch {
  color: #f5e8d5;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}
.dcf-footer-brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 215, 0, 0.12);
  color: var(--dcf-accent);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background .25s ease;
}
.dcf-footer-brand-cta:hover {
  background: rgba(255, 215, 0, 0.22);
  color: var(--dcf-accent);
}
.dcf-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.dcf-footer-links a {
  color: #f5e8d5;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color .2s;
}
.dcf-footer-links a:hover {
  color: var(--dcf-accent);
  text-decoration: underline;
}
.dcf-footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.dcf-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 232, 213, 0.08);
  border: 1px solid rgba(245, 232, 213, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f5e8d5;
  transition: all .25s;
}
.dcf-footer-social a:hover {
  background: var(--dcf-accent);
  color: #2A1810;
  border-color: var(--dcf-accent);
  transform: translateY(-2px);
}
.dcf-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 232, 213, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: #c9b994;
}
.dcf-footer-bottom a { color: #f5e8d5; text-decoration: underline; }
.dcf-footer-bottom a:hover { color: var(--dcf-accent); }
@media (max-width: 900px) {
  .dcf-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .dcf-footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .dcf-footer-bottom { flex-direction: column; text-align: center; }
}

/* === PERSONA PHOTO (page A-propos) === */
.dcf-persona-photo {
  width: 100%;
  max-width: 280px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
  box-shadow: 0 8px 30px rgba(240, 21, 69, 0.18);
  border: 4px solid var(--dcf-accent);
}

/* === CONTACT FORM WRAPPER === */
.dcf-contact-form {
  margin: 2rem 0;
  background: var(--dcf-surface);
  border-radius: var(--dcf-radius-md);
  padding: 1rem;
  box-shadow: var(--dcf-shadow-md);
  border: 1px solid var(--dcf-line-soft);
}
.dcf-contact-form iframe {
  width: 100%;
  border-radius: var(--dcf-radius-sm);
}

/* === PAGE CONTENT (a-propos / contact / outils) === */
.dcf-page-wrap {
  padding: 3rem 0 4rem;
  background: var(--dcf-bg);
}
.dcf-page-wrap .dcf-container-narrow {
  background: var(--dcf-surface);
  border-radius: var(--dcf-radius-lg);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--dcf-shadow-sm);
  border: 1px solid var(--dcf-line-soft);
}
.dcf-page-wrap h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.dcf-page-wrap h2 { margin-top: 2rem; }
.dcf-page-wrap p { line-height: 1.75; }

/* === TOOLS PAGE === */
.dcf-tool-page-wrap {
  padding: 3rem 0;
}
.dcf-tool-page-wrap h1 {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.5rem;
}
.dcf-tool-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--dcf-text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}
.dcf-tool-faq {
  max-width: 760px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}
.dcf-tool-faq h2 {
  text-align: center;
  margin-bottom: 1.4rem;
}
.dcf-tool-faq details {
  background: var(--dcf-surface);
  border: 1px solid var(--dcf-line-soft);
  border-radius: var(--dcf-radius-md);
  padding: 1rem 1.3rem;
  margin-bottom: 0.7rem;
  cursor: pointer;
}
.dcf-tool-faq summary {
  font-family: var(--dcf-font-headings);
  font-weight: 600;
  color: var(--dcf-text);
  font-size: 1.05rem;
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem;
}
.dcf-tool-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--dcf-primary);
  font-weight: 700;
  transition: transform .25s ease;
}
.dcf-tool-faq details[open] summary::after { content: '\2212'; }
.dcf-tool-faq details[open] { background: rgba(255, 215, 0, 0.05); }
.dcf-tool-faq details p {
  margin-top: 0.8rem;
  color: var(--dcf-text-soft);
  line-height: 1.65;
}

/* === METRICS LINKS BLOCK === */
.dcf-metrics-block {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(240,21,69,0.04), rgba(255,215,0,0.07));
}
.dcf-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: var(--dcf-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.dcf-metrics-block h2 {
  text-align: center;
  margin-bottom: 1.8rem;
}

/* === FADE-IN INFO BOX (CTR animation) === */
@keyframes dcf-fade-in-info {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
.dcf-editorial-block, .dcf-cat-intro, .dcf-info-box {
  opacity: 0;
  animation: dcf-fade-in-info 0.9s ease-out forwards;
  animation-delay: 0.15s;
}
@media (prefers-reduced-motion: reduce) {
  .dcf-editorial-block, .dcf-cat-intro, .dcf-info-box {
    opacity: 1; animation: none;
  }
  .dcf-btn--cta::before { animation: none; }
}

/* === TESTIMONIAL ROTATOR (CTO animation) === */
@keyframes dcf-testimonial-rotate {
  0%, 28% { opacity: 1; transform: translateY(0); }
  33%, 66% { opacity: 0; transform: translateY(-12px); }
  71%, 100% { opacity: 1; transform: translateY(0); }
}
.dcf-testimonial-rotator {
  position: relative;
  min-height: 130px;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.dcf-testimonial-rotator > blockquote {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 1rem 1.5rem;
  opacity: 0;
  font-family: var(--dcf-font-headings);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dcf-text);
  text-align: center;
  animation: dcf-testimonial-rotate 12s ease-in-out infinite;
}
.dcf-testimonial-rotator > blockquote:nth-child(1) { animation-delay: 0s; }
.dcf-testimonial-rotator > blockquote:nth-child(2) { animation-delay: 4s; }
.dcf-testimonial-rotator > blockquote:nth-child(3) { animation-delay: 8s; }
.dcf-testimonial-rotator cite {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--dcf-primary);
  font-weight: 600;
}

/* === BURGER WRAP fallback rules === */
@media (max-width: 1023px) {
  .dcf-header-cta-wrap, .dcf-header-actions, .dcf-burger-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
}


/* Mouse effect : nav_hover_background_pill */
.dcf-nav-desktop-list a { position: relative; padding: 0.5rem 0.95rem; border-radius: 999px; transition: color 0.25s ease; z-index: 1; } .dcf-nav-desktop-list a::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(240,21,69,0.12), rgba(255,215,0,0.18)); border-radius: 999px; transform: scale(0.6); opacity: 0; transition: transform 0.35s cubic-bezier(.34,1.56,.64,1), opacity 0.25s ease; z-index: -1; } .dcf-nav-desktop-list a:hover::before, .dcf-nav-desktop-list a:focus-visible::before { transform: scale(1); opacity: 1; } .dcf-nav-desktop-list a:hover, .dcf-nav-desktop-list a:focus-visible { color: var(--dcf-primary, #f01545); border-bottom-color: transparent !important; } @media (hover: none) { .dcf-nav-desktop-list a::before { 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 PPR-CUSTOM 2026-07-10 */
.dcf-mosaic-content h2, .dcf-mosaic-content h3, .dcf-mosaic-content h4 { color: #ffffff !important; }

