/* =====================================================================
   AUBERGE NOTRE DAME — style.css (custom child theme override)
   Design system : Asiatique Mongol Steppes
   Fonts        : Cormorant Garamond (headings) + Mulish (body)
   Palette      : brown leather #5A4A35 / terracotta #B85C2E / cream #F2EAD5
   Hero         : manifesto (texte éditorial, pas d'image hero)
   Mega menu    : layout B — grid 3 colonnes
   ===================================================================== */

:root{
  --c1f-primary:        #5A4A35;
  --c1f-primary-dark:   #3B2F22;
  --c1f-accent:         #B85C2E;
  --c1f-accent-dark:    #94491F;
  --c1f-text:           #2A1F14;
  --c1f-text-soft:      #7A6555;
  --c1f-bg:             #F2EAD5;
  --c1f-surface:        #FAF4E0;
  --c1f-line:           #D5C5A8;
  --c1f-line-soft:      #E6D9BD;
  --c1f-white:          #FFFFFF;
  --c1f-font-headings:  "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --c1f-font-body:      "Mulish", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --c1f-radius-sm:      6px;
  --c1f-radius-md:      10px;
  --c1f-radius-lg:      14px;
  --c1f-shadow-sm:      0 2px 8px rgba(42,31,20,.08);
  --c1f-shadow-md:      0 6px 20px rgba(42,31,20,.12);
  --c1f-shadow-lg:      0 18px 40px rgba(42,31,20,.18);
  --c1f-container:      1180px;
  --c1f-container-narrow: 880px;
}

/* ---------- Reset minimal ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:var(--c1f-bg); color:var(--c1f-text); font-family:var(--c1f-font-body); font-size:16px; line-height:1.62; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--c1f-accent); text-decoration:none; transition:color .2s; }
a:hover{ color:var(--c1f-accent-dark); text-decoration:underline; }
h1,h2,h3,h4{ font-family:var(--c1f-font-headings); color:var(--c1f-primary); font-weight:600; line-height:1.2; margin:0 0 .8rem; letter-spacing:.005em; }
h1{ font-size:clamp(2rem,4vw,3rem); }
h2{ font-size:clamp(1.5rem,2.6vw,2.1rem); }
h3{ font-size:1.25rem; }
p{ margin:0 0 1rem; }
hr{ border:0; height:1px; background:var(--c1f-line); margin:2.5rem 0; }
::selection{ background:var(--c1f-accent); color:#fff; }
main,.c1f-main{ padding-top:0 !important; margin-top:0 !important; }

/* ---------- Container ---------- */
.c1f-container{ max-width:var(--c1f-container); margin:0 auto; padding:0 1.25rem; }
.c1f-container--narrow{ max-width:var(--c1f-container-narrow); margin:0 auto; padding:0 1.25rem; }

/* =====================================================================
   HEADER — layout: logo-left-menu-right
   CTA header desktop only (yes), masked mobile
   ===================================================================== */
.c1f-header{
  position:sticky; top:0; z-index:200;
  background:var(--c1f-surface);
  border-bottom:1px solid var(--c1f-line);
  box-shadow:var(--c1f-shadow-sm);
}
.c1f-header-inner{
  max-width:var(--c1f-container);
  margin:0 auto;
  padding:.75rem 1.25rem;
  display:flex;
  align-items:center;
  gap:1.75rem;
  justify-content:flex-start;
}
.c1f-brand{ display:flex; align-items:center; gap:.6rem; text-decoration:none; flex-shrink:0; }
.c1f-brand:hover{ text-decoration:none; }
.c1f-brand-logo{ width:auto; max-width:200px; display:block; }
.c1f-brand-name{
  font-family:var(--c1f-font-headings);
  font-weight:600;
  font-size:1.5rem;
  color:var(--c1f-primary);
  letter-spacing:.01em;
  line-height:1;
  white-space:nowrap;
}

/* ---------- Nav desktop ---------- */
.c1f-nav-desktop{ display:none; }
.c1f-nav-list{
  list-style:none; padding:0; margin:0;
  display:flex; gap:1.4rem; align-items:center;
}
.c1f-nav-list > li{ position:relative; }
.c1f-nav-list a{
  color:var(--c1f-text);
  font-weight:500;
  font-size:.95rem;
  padding:.5rem .2rem;
  border-bottom:2px solid transparent;
  transition:border-color .2s, color .2s;
  text-decoration:none;
}
.c1f-nav-list a:hover{ color:var(--c1f-accent); border-bottom-color:var(--c1f-accent); }

/* ---------- Mega menu (layout B — grid 3 cols mini-cards) ---------- */
.c1f-mega{
  position:absolute;
  top:100%; left:50%;
  transform:translateX(-50%) translateY(8px);
  width:min(820px,92vw);
  background:#fff;
  border:1px solid var(--c1f-line);
  border-radius:var(--c1f-radius-md);
  box-shadow:var(--c1f-shadow-lg);
  padding:1.5rem;
  opacity:0; visibility:hidden;
  transition:opacity .2s, transform .2s, visibility .2s;
  z-index:300;
}
.c1f-nav-list > li:hover > .c1f-mega,
.c1f-nav-list > li:focus-within > .c1f-mega{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
}
.c1f-mega-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.1rem;
}
.c1f-mega-card{
  display:flex; flex-direction:column; gap:.5rem;
  text-decoration:none;
  border-radius:var(--c1f-radius-sm);
  overflow:hidden;
  transition:transform .2s;
}
.c1f-mega-card:hover{ transform:translateY(-3px); text-decoration:none; }
.c1f-mega-img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  background:var(--c1f-bg);
  background-size:cover;
  background-position:center;
  border-radius:var(--c1f-radius-sm);
}
.c1f-mega-img img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:var(--c1f-radius-sm); }
.c1f-mega-title{
  font-family:var(--c1f-font-headings);
  color:var(--c1f-primary);
  font-size:1rem; font-weight:600; line-height:1.25;
  margin:0;
}
.c1f-mega-date{
  font-size:.78rem; color:var(--c1f-text-soft);
  text-transform:uppercase; letter-spacing:.06em;
}
.c1f-mega-empty{
  grid-column:1/-1; padding:1rem; text-align:center;
  color:var(--c1f-text-soft);
}
.c1f-mega-empty a{
  display:inline-block; margin-top:.4rem;
  padding:.55rem 1.1rem;
  background:var(--c1f-primary); color:#fff;
  border-radius:var(--c1f-radius-sm); text-decoration:none;
  font-weight:600; font-size:.9rem;
}
.c1f-mega-empty a:hover{ background:var(--c1f-accent); }

/* ---------- CTA header desktop (HEADER_CTA_VARIANT=yes) ---------- */
.c1f-header-cta-desktop{
  background:var(--c1f-accent);
  color:#fff !important;
  padding:.7rem 1.3rem;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  font-size:.92rem;
  white-space:nowrap;
  margin-left:auto;
  transition:background .2s, transform .2s;
  flex-shrink:0;
}
.c1f-header-cta-desktop:hover{
  background:var(--c1f-accent-dark);
  color:#fff !important;
  text-decoration:none;
  transform:translateY(-1px);
}

/* ---------- Burger button (mobile only) ---------- */
.c1f-burger{
  display:none;
  margin-left:auto;
  background:transparent;
  border:0; padding:8px;
  cursor:pointer;
}
.c1f-burger-bars{
  display:flex; flex-direction:column; gap:4px;
  width:24px; height:16px;
}
.c1f-burger-bars span{
  display:block; height:2px; background:var(--c1f-primary); border-radius:2px;
}

/* ---------- Nav mobile drawer — hidden by default, opens on burger click ---------- */
.c1f-nav-mobile{ display:none; }
.c1f-drawer-overlay{
  display:none;
  position:fixed; inset:0;
  background:rgba(42,31,20,.55);
  z-index:9998;
}
.c1f-drawer-overlay.is-open{ display:block; }

/* =====================================================================
   HERO — manifesto (text-heavy editorial, no image)
   ===================================================================== */
.c1f-hero{ position:relative; padding:5rem 1.25rem 4rem; background:var(--c1f-bg); }
.c1f-hero--manifesto{
  background:
    radial-gradient(ellipse at 20% 0%, rgba(184,92,46,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(90,74,53,.10) 0%, transparent 55%),
    var(--c1f-bg);
  text-align:left;
}
.c1f-hero-inner{ max-width:880px; margin:0 auto; position:relative; z-index:2; }
.c1f-hero-kicker{
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem; font-weight:600;
  color:var(--c1f-accent);
  margin-bottom:1.2rem;
  padding-bottom:.4rem;
  border-bottom:2px solid var(--c1f-accent);
}
.c1f-hero-title{
  font-family:var(--c1f-font-headings);
  font-size:clamp(2.2rem,5vw,3.6rem);
  font-weight:500;
  line-height:1.12;
  color:var(--c1f-primary-dark);
  margin:0 0 1.2rem;
  letter-spacing:-.01em;
}
.c1f-hero-title em{ font-style:italic; color:var(--c1f-accent); }
.c1f-hero-subtitle{
  font-size:1.18rem;
  line-height:1.55;
  color:var(--c1f-text);
  margin:0 0 1.8rem;
  max-width:720px;
}
.c1f-hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; align-items:center; }
.c1f-hero-quote{
  margin-top:2.5rem;
  padding:1.4rem 1.6rem;
  border-left:4px solid var(--c1f-accent);
  background:rgba(255,255,255,.55);
  border-radius:var(--c1f-radius-sm);
  font-family:var(--c1f-font-headings);
  font-size:1.2rem;
  font-style:italic;
  color:var(--c1f-primary-dark);
  max-width:720px;
}
.c1f-hero-quote cite{
  display:block; margin-top:.4rem;
  font-style:normal; font-size:.85rem;
  font-family:var(--c1f-font-body);
  color:var(--c1f-text-soft);
  letter-spacing:.04em;
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.c1f-btn{
  display:inline-block;
  padding:.85rem 1.6rem;
  border-radius:var(--c1f-radius-sm);
  font-family:var(--c1f-font-body);
  font-size:.95rem; font-weight:600;
  text-decoration:none;
  border:0;
  cursor:pointer;
  transition:background .2s, color .2s, transform .2s, box-shadow .2s;
  text-align:center;
  line-height:1;
  white-space:nowrap;
}
.c1f-btn--primary{ background:var(--c1f-primary); color:#fff; }
.c1f-btn--primary:hover{ background:var(--c1f-primary-dark); color:#fff; text-decoration:none; transform:translateY(-1px); }
.c1f-btn--ghost{
  background:transparent; color:var(--c1f-primary);
  border:1.5px solid var(--c1f-primary);
}
.c1f-btn--ghost:hover{ background:var(--c1f-primary); color:#fff; text-decoration:none; }
.c1f-btn--cta{
  background:var(--c1f-accent); color:#fff;
  padding:1rem 1.8rem;
  border-radius:999px;
  box-shadow:0 6px 18px rgba(184,92,46,.30);
}
.c1f-btn--cta:hover{ background:var(--c1f-accent-dark); color:#fff; text-decoration:none; }

/* ---------- Animation CTA — floating_button ---------- */
@keyframes andFloatingBtn {
  0%,100%{ transform:translateY(0); box-shadow:0 6px 18px rgba(184,92,46,.30); }
  50%   { transform:translateY(-6px); box-shadow:0 12px 26px rgba(184,92,46,.42); }
}
.c1f-btn--cta{ animation:andFloatingBtn 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){
  .c1f-btn--cta{ animation:none; }
}

/* ---------- Animation CTR — trust_badges_row ---------- */
@keyframes andTrustFadeIn {
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}
.c1f-trust-row{
  display:flex; gap:1.5rem; flex-wrap:wrap;
  justify-content:center; align-items:center;
  padding:1.25rem 0;
}
.c1f-trust-badge{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.55rem 1rem;
  background:var(--c1f-surface);
  border:1px solid var(--c1f-line);
  border-radius:999px;
  font:500 .85rem/1 var(--c1f-font-body);
  color:var(--c1f-text-soft);
  animation:andTrustFadeIn .6s ease-out both;
}
.c1f-trust-badge:nth-child(2){ animation-delay:.12s; }
.c1f-trust-badge:nth-child(3){ animation-delay:.24s; }
.c1f-trust-badge:nth-child(4){ animation-delay:.36s; }
.c1f-trust-badge svg{ width:18px; height:18px; stroke:var(--c1f-accent); fill:none; stroke-width:2; }

/* ---------- Animation CTO — animated_checklist ---------- */
@keyframes andChecklistTick {
  0%  { stroke-dashoffset:22; }
  100%{ stroke-dashoffset:0; }
}
.c1f-checklist{
  list-style:none; padding:0; margin:1rem 0;
  display:grid; gap:.65rem;
}
.c1f-checklist li{
  display:flex; align-items:center; gap:.65rem;
  font:400 .95rem/1.4 var(--c1f-font-body);
  color:var(--c1f-text);
}
.c1f-checklist svg{
  width:18px; height:18px; flex:0 0 18px;
  stroke:var(--c1f-accent); fill:none;
  stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round;
}
.c1f-checklist svg path{
  stroke-dasharray:22; stroke-dashoffset:22;
  animation:andChecklistTick .55s ease-out forwards;
}
.c1f-checklist li:nth-child(2) svg path{ animation-delay:.15s; }
.c1f-checklist li:nth-child(3) svg path{ animation-delay:.3s; }
.c1f-checklist li:nth-child(4) svg path{ animation-delay:.45s; }

/* =====================================================================
   HOME — editorial block (400-700 words), categories, latest grid
   Placement: after-hero (md5 = 64 % 3 != 0)
   ===================================================================== */
.c1f-editorial{
  background:var(--c1f-bg);
  padding:4rem 1.25rem;
  border-bottom:1px solid var(--c1f-line-soft);
}
.c1f-editorial-inner{ max-width:880px; margin:0 auto; }
.c1f-editorial h2{
  font-family:var(--c1f-font-headings);
  font-size:clamp(1.6rem,3vw,2.2rem);
  color:var(--c1f-primary);
  margin-top:2rem;
}
.c1f-editorial h2:first-child{ margin-top:0; }
.c1f-editorial h3{
  font-family:var(--c1f-font-headings);
  font-size:1.25rem; color:var(--c1f-primary);
  margin-top:1.6rem;
}
.c1f-editorial p{
  font-size:1.05rem;
  line-height:1.7;
  color:var(--c1f-text);
  margin-bottom:1rem;
}
.c1f-editorial-callout{
  margin-top:2.2rem;
  padding:1.5rem 1.8rem;
  background:var(--c1f-surface);
  border:1px solid var(--c1f-line);
  border-left:4px solid var(--c1f-accent);
  border-radius:var(--c1f-radius-sm);
}
.c1f-editorial-callout h3{ margin:0 0 .6rem; color:var(--c1f-primary); }
.c1f-editorial-callout p{ margin:0; color:var(--c1f-text); }

/* ---------- Section title (home) ---------- */
.c1f-section{ padding:4rem 1.25rem; }
.c1f-section--alt{ background:var(--c1f-surface); }
.c1f-section-head{
  max-width:var(--c1f-container);
  margin:0 auto 2.5rem;
  text-align:center;
}
.c1f-section-eyebrow{
  display:inline-block;
  font-size:.78rem; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--c1f-accent);
  margin-bottom:.6rem;
}
.c1f-section-title{
  font-family:var(--c1f-font-headings);
  font-size:clamp(1.7rem,3.2vw,2.4rem);
  color:var(--c1f-primary);
  margin:0 0 .6rem;
}
.c1f-section-lead{
  font-size:1.05rem;
  color:var(--c1f-text-soft);
  max-width:680px; margin:0 auto;
}

/* ---------- Categories grid ---------- */
.c1f-cats-grid{
  max-width:var(--c1f-container);
  margin:0 auto;
  display:grid;
  gap:1.5rem;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
}
.c1f-cat-card{
  position:relative;
  display:flex; flex-direction:column;
  background:#fff;
  border:1px solid var(--c1f-line);
  border-radius:var(--c1f-radius-md);
  overflow:hidden;
  text-decoration:none;
  transition:transform .25s, box-shadow .25s;
  box-shadow:var(--c1f-shadow-sm);
  min-height:280px;
}
.c1f-cat-card:hover{
  transform:translateY(-5px);
  box-shadow:var(--c1f-shadow-md);
  text-decoration:none;
}
.c1f-cat-card-img{
  display:block;
  width:100%;
  height:170px;
  background-color:var(--c1f-primary);
  background-size:cover;
  background-position:center;
  position:relative;
}
.c1f-cat-card-img-placeholder{
  display:block;
  width:100%;
  height:170px;
  background:linear-gradient(135deg,var(--c1f-primary) 0%,var(--c1f-accent) 100%);
  position:relative;
}
.c1f-cat-card-body{
  padding:1.1rem 1.2rem 1.3rem;
  flex:1;
  display:flex; flex-direction:column;
}
.c1f-cat-card h3{
  font-family:var(--c1f-font-headings);
  font-size:1.25rem;
  margin:0 0 .35rem;
  color:var(--c1f-primary);
}
.c1f-cat-card p{
  font-size:.9rem;
  color:var(--c1f-text-soft);
  line-height:1.45;
  margin:0;
  flex:1;
}
.c1f-cat-card-link{
  margin-top:.8rem;
  font-size:.85rem;
  font-weight:600;
  color:var(--c1f-accent);
  letter-spacing:.04em;
}

/* ---------- Latest articles grid (home_latest_count = 18 → 3 or 4 cols) ---------- */
.c1f-latest{ padding:4rem 1.25rem; background:var(--c1f-bg); }
.c1f-latest-grid{
  max-width:var(--c1f-container);
  margin:0 auto;
  display:grid;
  gap:1.5rem;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
}
.c1f-card{
  display:flex; flex-direction:column;
  background:#fff;
  border:1px solid var(--c1f-line);
  border-radius:var(--c1f-radius-md);
  overflow:hidden;
  transition:transform .25s, box-shadow .25s;
  box-shadow:var(--c1f-shadow-sm);
}
.c1f-card:hover{ transform:translateY(-4px); box-shadow:var(--c1f-shadow-md); }
.c1f-card-img{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  background:var(--c1f-bg);
  overflow:hidden;
}
.c1f-card-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.c1f-card-body{ padding:1.1rem 1.2rem 1.3rem; flex:1; display:flex; flex-direction:column; }
.c1f-card-cat{
  display:inline-block;
  font-size:.72rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.1em;
  color:var(--c1f-accent);
  margin-bottom:.5rem;
}
.c1f-card-cat a{ color:inherit; text-decoration:none; }
.c1f-card-cat a:hover{ color:var(--c1f-accent-dark); }
.c1f-card-title{
  font-family:var(--c1f-font-headings);
  font-size:1.2rem; font-weight:600; line-height:1.25;
  margin:0 0 .45rem;
  color:var(--c1f-primary);
}
.c1f-card-title a{ color:inherit; text-decoration:none; }
.c1f-card-title a:hover{ color:var(--c1f-accent); }
.c1f-card-excerpt{
  font-size:.9rem;
  color:var(--c1f-text-soft);
  line-height:1.5;
  margin:0 0 .8rem;
  flex:1;
}
.c1f-card-meta{
  font-size:.78rem;
  color:var(--c1f-text-soft);
  letter-spacing:.04em;
}

/* =====================================================================
   CATEGORY page — intro-faq layout
   ===================================================================== */
.c1f-cat-hero{
  position:relative;
  height:320px; max-height:350px;
  overflow:hidden;
  background:var(--c1f-primary);
}
.c1f-cat-hero-bg{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:1;
}
.c1f-cat-hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.65) 100%);
  z-index:2;
}
.c1f-cat-hero-inner{
  position:relative; z-index:3;
  max-width:var(--c1f-container);
  margin:0 auto;
  height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:1.5rem 1.25rem 2rem;
}
.c1f-cat-hero h1{
  color:#fff;
  font-family:var(--c1f-font-headings);
  font-size:clamp(2rem,4.5vw,3.2rem);
  font-weight:500;
  margin:0;
  text-shadow:0 2px 14px rgba(0,0,0,.7);
}
.c1f-cat-intro{
  background:var(--c1f-bg);
  padding:3rem 1.25rem 2.5rem;
}
.c1f-cat-intro-inner{ max-width:880px; margin:0 auto; }
.c1f-cat-intro p{
  font-size:1.05rem;
  line-height:1.7;
  color:var(--c1f-text);
}
.c1f-cat-faq{
  background:var(--c1f-surface);
  padding:3rem 1.25rem;
}
.c1f-cat-faq-inner{ max-width:880px; margin:0 auto; }
.c1f-cat-faq h2{
  font-family:var(--c1f-font-headings);
  font-size:1.8rem;
  margin:0 0 1.5rem;
  color:var(--c1f-primary);
}
.c1f-cat-faq details{
  border:1px solid var(--c1f-line);
  border-radius:var(--c1f-radius-sm);
  margin-bottom:.8rem;
  background:#fff;
  overflow:hidden;
}
.c1f-cat-faq summary{
  padding:1rem 1.2rem;
  cursor:pointer;
  font-weight:600;
  color:var(--c1f-primary);
  list-style:none;
  position:relative;
  padding-right:2.5rem;
}
.c1f-cat-faq summary::after{
  content:"+";
  position:absolute;
  right:1.2rem; top:50%;
  transform:translateY(-50%);
  font-size:1.4rem;
  color:var(--c1f-accent);
  transition:transform .2s;
}
.c1f-cat-faq details[open] summary::after{ transform:translateY(-50%) rotate(45deg); }
.c1f-cat-faq details > div{
  padding:0 1.2rem 1.2rem;
  color:var(--c1f-text);
}
.c1f-cat-articles{ padding:3.5rem 1.25rem; background:var(--c1f-bg); }
.c1f-cat-articles-inner{ max-width:var(--c1f-container); margin:0 auto; }
.c1f-cat-articles h2{
  font-family:var(--c1f-font-headings);
  font-size:1.8rem;
  margin:0 0 1.5rem;
  color:var(--c1f-primary);
}

/* =====================================================================
   FOOTER — 4 columns
   ===================================================================== */
.c1f-footer{
  background:#2A1F14;
  color:#E8DCC2;
  padding:3.5rem 1.25rem 2rem;
  margin-top:0;
}
.c1f-footer-inner{ max-width:var(--c1f-container); margin:0 auto; }
.c1f-footer-grid{
  display:grid;
  gap:2rem;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  margin-bottom:2.5rem;
}
.c1f-footer-col h3, .c1f-footer-title{
  font-family:var(--c1f-font-headings);
  color:#F2EAD5;
  font-size:1.1rem;
  margin:0 0 1rem;
  font-weight:600;
}
.c1f-footer-logo{
  display:block;
  width:120px;
  max-width:160px;
  height:auto;
  margin-bottom:1rem;
}
.c1f-footer-brand-pitch{
  font-size:.92rem;
  line-height:1.6;
  color:#E8DCC2;
  margin:0 0 1.2rem;
}
.c1f-footer-brand-cta{
  display:inline-block;
  color:#F4B587 !important;
  font-weight:600;
  font-size:.92rem;
  text-decoration:underline;
  text-underline-offset:3px;
}
.c1f-footer-brand-cta:hover{ color:#fff !important; }
.c1f-footer-links{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:.55rem;
}
.c1f-footer-links a{
  color:#E8DCC2 !important;
  text-decoration:none;
  font-size:.92rem;
  border-bottom:1px solid transparent;
  transition:color .2s, border-color .2s;
}
.c1f-footer-links a:hover{
  color:#F4B587 !important;
  border-bottom-color:#F4B587;
}
.c1f-footer-social{
  display:flex; gap:.7rem;
  margin-top:1rem;
}
.c1f-footer-social a{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:50%;
  color:#E8DCC2 !important;
  transition:background .2s, color .2s;
}
.c1f-footer-social a:hover{ background:var(--c1f-accent); color:#fff !important; }
.c1f-footer-social svg{ width:18px; height:18px; fill:currentColor; }
.c1f-footer-bottom{
  padding-top:2rem;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center;
  gap:1rem;
  font-size:.85rem;
  color:#C8B999;
}
.c1f-footer-bottom a{ color:#E8DCC2 !important; }
.c1f-footer-bottom a:hover{ color:#F4B587 !important; }

/* =====================================================================
   Persona photo (about page)
   ===================================================================== */
.c1f-persona-photo{
  width:200px; height:200px; object-fit:cover;
  border-radius:50%;
  float:right; margin:0 0 1rem 1.5rem;
  border:4px solid var(--c1f-surface);
  box-shadow:var(--c1f-shadow-md);
}
@media (max-width:640px){
  .c1f-persona-photo{ float:none; margin:0 auto 1.5rem; display:block; }
}

/* =====================================================================
   Contact form
   ===================================================================== */
.c1f-contact-form{
  margin:2.5rem 0;
  background:#fff;
  border:1px solid var(--c1f-line);
  border-radius:var(--c1f-radius-md);
  padding:1rem;
  box-shadow:var(--c1f-shadow-sm);
}

/* =====================================================================
   Page generic (single & WP pages)
   ===================================================================== */
.c1f-page{ padding:3rem 1.25rem 4rem; background:var(--c1f-bg); }
.c1f-page-inner{ max-width:880px; margin:0 auto; }
.c1f-page h1{ margin-bottom:1.5rem; }
.c1f-page-content p{ font-size:1.05rem; line-height:1.7; color:var(--c1f-text); }

/* =====================================================================
   Tool page (page-tool-X.php injected by builder)
   ===================================================================== */
.c1f-tool-page{ padding:3rem 1.25rem 4rem; background:var(--c1f-bg); }
.c1f-tool-intro{ max-width:880px; margin:0 auto 2.5rem; }
.c1f-tool-intro p{ font-size:1.05rem; line-height:1.7; color:var(--c1f-text); }
.c1f-tool-wrap{ max-width:880px; margin:0 auto; }
.c1f-tool-faq{ max-width:880px; margin:3rem auto 0; }
.c1f-tool-faq h2{ font-family:var(--c1f-font-headings); font-size:1.6rem; color:var(--c1f-primary); margin-bottom:1.2rem; }
.c1f-tool-faq details{
  border:1px solid var(--c1f-line);
  border-radius:var(--c1f-radius-sm);
  margin-bottom:.7rem;
  background:#fff;
}
.c1f-tool-faq summary{ padding:.9rem 1.1rem; cursor:pointer; font-weight:600; color:var(--c1f-primary); }
.c1f-tool-faq details > div{ padding:0 1.1rem 1.1rem; color:var(--c1f-text); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* ---------- DESKTOP ≥ 1024px : full nav, no burger ---------- */
@media (min-width: 1024px){
  .c1f-nav-desktop{
    display:flex;
    flex:1;
    justify-content:flex-start;
  }
  .c1f-burger,.c1f-nav-mobile,.c1f-drawer-overlay{ display:none !important; }
}

/* ---------- MOBILE/TABLET < 1024px ---------- */
@media (max-width: 1023px){
  .c1f-header-inner{ justify-content:space-between; gap:.75rem; padding:.6rem 1rem; }
  .c1f-brand-name{ font-size:1.2rem; }
  .c1f-brand-logo{ max-width:140px; }

  .c1f-nav-desktop{ display:none !important; }
  .c1f-header-cta-desktop{ display:none !important; }

  /* Burger button — taille fixe + parent toujours visible */
  .c1f-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,.92) !important;
    border:1.5px solid rgba(0,0,0,.18) !important;
    border-radius:8px !important;
    color:#1a1a1a !important;
    cursor:pointer !important;
    z-index:10000 !important;
    flex-shrink:0 !important;
    position:relative !important;
    margin-left:auto;
  }
  .c1f-burger-bars{
    display:flex !important;
    flex-direction:column !important;
    gap:4px !important;
    width:24px !important;
    height:16px !important;
  }
  .c1f-burger-bars span{ background:#1a1a1a !important; }

  /* Drawer mobile */
  .c1f-nav-mobile{ display:none; }
  .c1f-nav-mobile.is-open{
    display:flex !important;
    flex-direction:column !important;
    position:fixed !important;
    top:0; right:0; bottom:0;
    width:86%; max-width:380px;
    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,.3) !important;
  }
  .c1f-nav-mobile-close{
    position:absolute;
    top:1rem; right:1rem;
    width:38px; height:38px;
    background:transparent;
    border:1px solid var(--c1f-line);
    border-radius:8px;
    cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    color:#1a1a1a !important;
    font-size:1.3rem; line-height:1;
  }
  .c1f-nav-mobile-list{
    list-style:none; padding:0; margin:0 0 1rem;
    display:flex; flex-direction:column;
  }
  .c1f-nav-mobile-list li{
    border-bottom:1px solid #e5e5e5;
  }
  .c1f-nav-mobile-list a{
    display:block;
    padding:1rem .5rem;
    color:#1a1a1a !important;
    text-decoration:none;
    font-weight:600;
    font-size:1.05rem;
  }
  .c1f-nav-mobile-list a:hover{ color:var(--c1f-accent) !important; }

  /* CTA dans le drawer mobile, en bas */
  .c1f-drawer-cta{
    display:block !important;
    margin:2rem 0 0 !important;
    padding:1rem 1.5rem !important;
    text-align:center !important;
    background:var(--c1f-accent) !important;
    color:#fff !important;
    border-radius:8px !important;
    font-weight:600 !important;
    text-decoration:none !important;
    font-size:1.05rem !important;
  }

  /* Hero mobile */
  .c1f-hero{ padding:3rem 1rem 2.5rem; }

  /* Footer mobile */
  .c1f-footer-grid{ grid-template-columns:1fr; gap:2rem; }
  .c1f-footer-bottom{ flex-direction:column; align-items:flex-start; }

  /* Mega menu desktop only */
  .c1f-mega{ display:none !important; }
}

@media (min-width: 1024px){
  .c1f-drawer-cta{ display:none !important; }
}

@media (max-width: 640px){
  .c1f-cats-grid{ grid-template-columns:1fr; }
  .c1f-latest-grid{ grid-template-columns:1fr; }
  .c1f-hero-quote{ font-size:1.05rem; padding:1.1rem 1.3rem; }
  .c1f-editorial{ padding:3rem 1rem; }
  .c1f-section{ padding:3rem 1rem; }
  .c1f-latest{ padding:3rem 1rem; }
}

/* =====================================================================
   Accessibility
   ===================================================================== */
.c1f-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;
}
:focus-visible{ outline:2px solid var(--c1f-accent); outline-offset:3px; border-radius:3px; }


/* === RP AGNOSTIC ANTI-FOOTPRINT FIXES === */
/* Auto-append par child_theme_builder pour garantir les regles anti-empreinte (cat-hero, burger, footer, etc.) meme quand Claude override le style.css custom. */
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 [class*="lda-main"], body [class*="bdf-main"], body [class*="c1f-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;
}


/* PERSONA PHOTO — Force taille raisonnable.
   Sans contrainte, l'image 1024x1024 (Codex output) s'affiche en grand
   sur la page "À propos". On force max 280px avec auto height.
*/
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;
  }
}

/* BURGER MOBILE — Garantit l'affichage en mobile.
   Le CSS Claude met souvent display:none par defaut + media query qui
   n'est pas garantie. Force agnostique : tout selecteur contenant "burger"
   visible en mobile, invisible en desktop. Couvre tous prefixes
   (.c1f-, .bdf-, .lda-, etc.) via [class*="burger"].
*/
@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;
  }
}

/* BURGER PARENT FIX : si un wrapper du header contient un
   burger, force-le visible en mobile. Claude met parfois le burger DANS un
   wrapper "cta-wrap" qui est display:none en mobile -> burger invisible.
*/
/* FOOTER COLOR HERITAGE — Force le footer ENTIER à hériter
   de la couleur du body. Claude définit parfois color:var(--bg) sur le footer
   (utile si bg sombre, illisible si bg clair). On force color:inherit → texte
   reste lisible peu importe le bg footer.
*/
body footer, body [class*="footer"]:not([class*="logo"]):not([class*="brand-logo"]) {
  color: inherit !important;
}

/* FOOTER LINKS HERITAGE — Force les liens à hériter du texte.
   Claude définit parfois color: var(--bg) sur les liens footer (utile si bg
   sombre, mais illisible si bg clair). On force color:inherit qui suit le
   texte parent → toujours lisible. underline pour distinguer du texte normal.
*/
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;
}

/* BURGER STYLE — 3 barres visibles + hover/animation.
   Le bouton burger Claude est souvent un <button> avec 3 <span> dedans qui
   représentent les barres, mais sans CSS la cible est un carré vide.
   Force ici un style propre, agnostique au prefixe.
*/
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(--c1f-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.
============================================================ */
.c1f-media-press {
  padding: 2.5rem 0;
  background: var(--c1f-bg-soft, var(--c1f-color-surface, #f9fafb));
  margin: 2rem 0;
}
.c1f-media-press > .c1f-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.c1f-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c1f-color-text-soft, var(--c1f-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.c1f-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.c1f-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%);
}
.c1f-media-press-item:hover,
.c1f-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.c1f-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .c1f-media-press { padding: 1.8rem 0; }
  .c1f-media-press-grid { gap: 1.4rem; }
  .c1f-media-press-item { max-width: 110px; min-height: 36px; }
  .c1f-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 main.bdf-main, body main.c1f-main, 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) */
.c1f-media-press, .bdf-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);
}
.c1f-media-press .c1f-container,
.bdf-media-press .bdf-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;
}
.c1f-media-press-title, .bdf-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(--c1f-muted, #666);
  flex: 0 0 auto;
}
.c1f-media-press-grid, .bdf-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;
}
.c1f-media-press-item, .bdf-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;
}
.c1f-media-press-item:hover, .bdf-media-press-item:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.c1f-media-press img, .bdf-media-press img,
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;
}
.c1f-media-press a:hover img, .bdf-media-press a:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .c1f-media-press .c1f-container, .bdf-media-press .bdf-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}


/* FIX anti-empreinte : variation alignement titre categorie (left/center seedee) */
.c1f-cat-hero--align-left .c1f-cat-hero-inner,
.bdf-cat-hero--align-left .bdf-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;
}
.c1f-cat-hero--align-center .c1f-cat-hero-inner,
.bdf-cat-hero--align-center .bdf-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;
}

/* 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; }
