/* ==========================================================================
   RONFLEMENT EQUINOX — Custom theme overrides
   Design System: Spirituel Zen Bouddha (saffron + sage + warm cream)
   Hero: manifesto  |  Header: logo-left-menu-center-cta-right
   ========================================================================== */

/* ---------- 1. ROOT TOKENS ---------- */
:root {
  --cf7-primary:    #D4823E;
  --cf7-primary-d:  #b86b2c;
  --cf7-accent:     #5A6B48;
  --cf7-accent-d:   #41523a;
  --cf7-text:       #3A1F0F;
  --cf7-text-soft:  #7A5535;
  --cf7-bg:         #F5EDE0;
  --cf7-surface:    #FAF4E5;
  --cf7-line:       #D5C8AC;
  --cf7-shadow-sm:  0 1px 2px rgba(58, 31, 15, .08);
  --cf7-shadow-md:  0 8px 22px -12px rgba(58, 31, 15, .25);
  --cf7-shadow-lg:  0 18px 38px -22px rgba(58, 31, 15, .32);

  --cf7-font-h: 'Cardo', Georgia, serif;
  --cf7-font-b: 'Manrope', -apple-system, system-ui, sans-serif;

  --cf7-max:        1200px;
  --cf7-radius-sm:  6px;
  --cf7-radius:     10px;
  --cf7-radius-lg:  16px;
}

/* ---------- 2. BASE ---------- */
.cf7-body, body.cf7-body {
  margin: 0;
  font-family: var(--cf7-font-b);
  color: var(--cf7-text);
  background: var(--cf7-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 { font-family: var(--cf7-font-h); color: var(--cf7-text); line-height: 1.2; margin: 0 0 .8rem; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--cf7-primary-d); text-decoration: none; }
a:hover { color: var(--cf7-primary); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
main, .cf7-main { padding-top: 0 !important; margin-top: 0 !important; }
.cf7-container, .cf7-wrap { max-width: var(--cf7-max); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- 3. HEADER ---------- */
.cf7-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 237, 224, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cf7-line);
}
.cf7-header-inner {
  max-width: var(--cf7-max);
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cf7-brand-link { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.cf7-brand-logo { width: auto; max-height: 44px; }
.cf7-brand-name {
  font-family: var(--cf7-font-h);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--cf7-text);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap;
}
.cf7-brand-link:hover { text-decoration: none; }

/* Desktop nav (centred) */
.cf7-nav-desktop { display: none; }
.cf7-nav-desktop-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.cf7-nav-desktop-list a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--cf7-text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  padding: .4rem .2rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.cf7-nav-desktop-list a:hover,
.cf7-nav-desktop-list a:focus { border-bottom-color: var(--cf7-primary); color: var(--cf7-primary-d); }
.cf7-nav-desktop-list .cf7-nav-ico {
  width: 18px; height: 18px;
  stroke: currentColor; stroke-width: 2;
  fill: none; flex-shrink: 0;
}

/* Burger button — circulaire saffron, animation barres → croix */
.cf7-burger {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  min-width: 44px; min-height: 44px;
  padding: 0;
  background: var(--cf7-primary);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
  flex-shrink: 0;
  position: relative;
  margin-left: auto;
  box-shadow: 0 6px 14px -4px rgba(212, 130, 62, .55), 0 2px 4px rgba(58, 31, 15, .12);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  box-sizing: border-box;
}
.cf7-burger:hover,
.cf7-burger:focus { background: var(--cf7-primary-d); transform: scale(1.06); }
.cf7-burger:focus-visible { outline: 3px solid var(--cf7-accent); outline-offset: 3px; }
.cf7-burger[aria-expanded="true"] {
  background: var(--cf7-accent);
  box-shadow: 0 6px 14px -4px rgba(90, 107, 72, .55), 0 2px 4px rgba(58, 31, 15, .12);
}
.cf7-burger-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}
.cf7-burger-bars span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: top .25s cubic-bezier(.4,0,.2,1), transform .25s cubic-bezier(.4,0,.2,1), opacity .15s ease;
}
.cf7-burger-bars span:nth-child(1) { top: 0; }
.cf7-burger-bars span:nth-child(2) { top: 6px; }
.cf7-burger-bars span:nth-child(3) { top: 12px; }
.cf7-burger[aria-expanded="true"] .cf7-burger-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.cf7-burger[aria-expanded="true"] .cf7-burger-bars span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.cf7-burger[aria-expanded="true"] .cf7-burger-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Drawer mobile — toujours présent dans le DOM, slide via transform */
.cf7-nav-mobile {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 86%;
  max-width: 360px;
  background: var(--cf7-surface);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(212, 130, 62, .12), transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(90, 107, 72, .10), transparent 55%);
  padding: 5rem 1.5rem 2rem;
  z-index: 9999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -18px 0 40px -8px rgba(58, 31, 15, .35);
  border-left: 3px solid var(--cf7-primary);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s linear .35s;
  box-sizing: border-box;
}
.cf7-nav-mobile.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
}
.cf7-nav-mobile-list { list-style: none; margin: 0; padding: 0; }
.cf7-nav-mobile-list li { border-bottom: 1px solid var(--cf7-line); }
.cf7-nav-mobile-list a {
  display: flex; align-items: center; gap: .7rem;
  padding: 1rem .25rem;
  color: var(--cf7-text);
  font-family: var(--cf7-font-h);
  font-size: 1.15rem;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}
.cf7-nav-mobile-list a:hover,
.cf7-nav-mobile-list a:focus { color: var(--cf7-primary-d); padding-left: .5rem; }
.cf7-nav-mobile-list .cf7-nav-ico { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; flex-shrink: 0; }
.cf7-drawer-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--cf7-line);
  color: var(--cf7-text);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cf7-drawer-close:hover,
.cf7-drawer-close:focus { background: var(--cf7-primary); color: #fff; border-color: var(--cf7-primary); }

/* Overlay — fondu opacité (pas de display:none/block qui flash) */
.cf7-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(58, 31, 15, .55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.cf7-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility 0s linear 0s;
}

/* CTA drawer mobile (always shown in drawer) */
.cf7-drawer-cta {
  display: block;
  margin: 2rem 0 1rem;
  padding: 1rem 1.5rem;
  text-align: center;
  background: var(--cf7-primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  box-shadow: 0 6px 14px -6px rgba(212, 130, 62, .55);
}
.cf7-drawer-cta:hover { background: var(--cf7-primary-d); color: #fff; text-decoration: none; }

@media (min-width: 1024px) {
  .cf7-burger { display: none !important; }
  .cf7-nav-mobile,
  .cf7-drawer-overlay { display: none !important; }
  .cf7-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1.5rem;
  }
  .cf7-drawer-cta { display: none !important; }
}

/* ---------- 4. HERO MANIFESTO ---------- */
.cf7-hero {
  position: relative;
  background: linear-gradient(180deg, var(--cf7-bg) 0%, var(--cf7-surface) 100%);
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
}
.cf7-hero--manifesto {
  text-align: center;
  border-bottom: 1px solid var(--cf7-line);
}
.cf7-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.cf7-hero-kicker {
  font-family: var(--cf7-font-b);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--cf7-accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.cf7-hero-title {
  font-family: var(--cf7-font-h);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--cf7-text);
  margin: 0 0 1.5rem;
  font-weight: 700;
}
.cf7-hero-title em {
  font-style: italic;
  color: var(--cf7-primary);
}
.cf7-hero-sub {
  font-size: 1.2rem;
  color: var(--cf7-text-soft);
  max-width: 620px;
  margin: 0 auto 2rem;
}
.cf7-hero-cta {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--cf7-primary);
  color: #fff;
  padding: .95rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.cf7-hero-cta:hover { background: var(--cf7-primary-d); color: #fff; text-decoration: none; }
.cf7-hero--manifesto::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 220px; height: 220px;
  border: 1px solid var(--cf7-line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: .35;
  z-index: 1;
}
.cf7-hero--manifesto::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 360px; height: 360px;
  border: 1px solid var(--cf7-line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: .2;
  z-index: 1;
}

/* ---------- 5. EDITORIAL BLOC (after-hero, 400-700 mots SEO) ---------- */
.cf7-editorial-bloc {
  background: var(--cf7-surface);
  padding: 4rem 1.5rem;
  border-bottom: 1px solid var(--cf7-line);
}
.cf7-editorial-inner {
  max-width: 880px;
  margin: 0 auto;
}
.cf7-editorial-bloc h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--cf7-text);
  margin-bottom: 1.2rem;
  border-bottom: 2px solid var(--cf7-primary);
  padding-bottom: .6rem;
  display: inline-block;
}
.cf7-editorial-bloc h3 {
  font-size: 1.3rem;
  color: var(--cf7-accent-d);
  margin-top: 2rem;
}
.cf7-editorial-bloc p {
  font-size: 1.04rem;
  color: var(--cf7-text);
  line-height: 1.75;
}
.cf7-editorial-bloc a { color: var(--cf7-primary-d); text-decoration: underline; }
.cf7-editorial-bloc .cf7-edit-aside {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--cf7-bg);
  border-left: 4px solid var(--cf7-accent);
  border-radius: 0 var(--cf7-radius) var(--cf7-radius) 0;
}
.cf7-editorial-bloc .cf7-edit-aside h3 { margin-top: 0; color: var(--cf7-text); }

/* ---------- 6. CATEGORIES GRID ---------- */
.cf7-categories {
  padding: 4.5rem 1.5rem;
}
.cf7-categories-inner { max-width: var(--cf7-max); margin: 0 auto; }
.cf7-section-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 2rem; gap: 1rem;
  flex-wrap: wrap;
}
.cf7-section-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 0;
}
.cf7-section-head .cf7-section-sub { color: var(--cf7-text-soft); font-size: 1rem; margin: 0; }
.cf7-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.cf7-cat-card {
  background: #fff;
  border: 1px solid var(--cf7-line);
  border-radius: var(--cf7-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cf7-text);
  box-shadow: var(--cf7-shadow-sm);
}
.cf7-cat-card-img {
  display: block;
  width: 100%;
  height: 160px;
  background-color: var(--cf7-primary);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--cf7-line);
}
.cf7-cat-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.cf7-cat-card-body h3 {
  font-family: var(--cf7-font-h);
  margin: 0 0 .4rem;
  font-size: 1.25rem;
  color: var(--cf7-text);
}
.cf7-cat-card-body p {
  font-size: .9rem;
  color: var(--cf7-text-soft);
  margin: 0;
  line-height: 1.55;
}
.cf7-cat-card-arrow {
  display: inline-block;
  margin-top: .9rem;
  color: var(--cf7-primary-d);
  font-weight: 600;
  font-size: .9rem;
}

/* ---------- 7. LATEST POSTS GRID ---------- */
.cf7-latest {
  padding: 4.5rem 1.5rem;
  background: var(--cf7-surface);
  border-top: 1px solid var(--cf7-line);
}
.cf7-latest-inner { max-width: var(--cf7-max); margin: 0 auto; }
.cf7-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.cf7-card {
  background: #fff;
  border: 1px solid var(--cf7-line);
  border-radius: var(--cf7-radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  color: var(--cf7-text);
  box-shadow: var(--cf7-shadow-sm);
}
.cf7-card-img {
  width: 100%; height: 200px;
  object-fit: cover;
  background: var(--cf7-bg);
  border-bottom: 1px solid var(--cf7-line);
}
.cf7-card-body { padding: 1.1rem 1.2rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.cf7-card-meta {
  font-size: .78rem;
  color: var(--cf7-text-soft);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .5rem;
}
.cf7-card-meta a { color: var(--cf7-accent-d); text-decoration: none; font-weight: 600; }
.cf7-card h3 {
  font-family: var(--cf7-font-h);
  font-size: 1.2rem;
  margin: 0 0 .5rem;
  line-height: 1.3;
}
.cf7-card h3 a { color: var(--cf7-text); text-decoration: none; }
.cf7-card h3 a:hover { color: var(--cf7-primary-d); }
.cf7-card-excerpt { font-size: .92rem; color: var(--cf7-text-soft); margin: 0; flex: 1; }
.cf7-card-date { font-size: .78rem; color: var(--cf7-text-soft); margin-top: .8rem; }

/* Empty state */
.cf7-latest-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--cf7-text-soft);
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .cf7-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cf7-card-grid { grid-template-columns: 1fr; }
}

/* ---------- 8. PAGES (a-propos, contact) ---------- */
.cf7-page {
  padding: 3.5rem 1.5rem 4rem;
}
.cf7-page-inner {
  max-width: 820px;
  margin: 0 auto;
}
.cf7-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--cf7-primary);
  padding-bottom: .6rem;
  display: inline-block;
}
.cf7-page h2 {
  margin-top: 2.2rem;
  color: var(--cf7-accent-d);
  font-size: 1.7rem;
}
.cf7-page p { font-size: 1.04rem; line-height: 1.75; }

.cf7-persona-photo {
  border-radius: var(--cf7-radius);
  margin: 1.8rem 0;
  max-width: 360px;
  width: 100%;
  display: block;
  border: 1px solid var(--cf7-line);
  box-shadow: var(--cf7-shadow-md);
}

/* Contact form wrapper */
.cf7-contact-form {
  margin: 2rem 0;
  background: #fff;
  border: 1px solid var(--cf7-line);
  border-radius: var(--cf7-radius);
  overflow: hidden;
  box-shadow: var(--cf7-shadow-sm);
}

/* ---------- 9. CATEGORY ARCHIVE ---------- */
.cf7-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--cf7-primary);
}
.cf7-cat-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.cf7-cat-hero-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  max-width: var(--cf7-max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, transparent 30%, rgba(58, 31, 15, .72) 100%);
  color: #fff;
}
.cf7-cat-hero-inner h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
  margin: 0;
}
.cf7-cat-body { padding: 3rem 1.5rem 4rem; }
.cf7-cat-body-inner { max-width: 880px; margin: 0 auto; }
.cf7-cat-body .cf7-cat-desc {
  font-size: 1.05rem;
  color: var(--cf7-text);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* ---------- 10. TOOL PAGES ---------- */
.cf7-tool-page {
  padding: 3rem 1.5rem 4.5rem;
}
.cf7-tool-page-inner {
  max-width: 880px;
  margin: 0 auto;
}
.cf7-tool-page h1 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  margin-bottom: 1.2rem;
  border-bottom: 3px solid var(--cf7-primary);
  padding-bottom: .5rem;
  display: inline-block;
}
.cf7-tool-intro { font-size: 1.04rem; line-height: 1.75; margin-bottom: 2rem; }
.cf7-tool-faq {
  margin-top: 3rem;
  border-top: 1px solid var(--cf7-line);
  padding-top: 2.5rem;
}
.cf7-tool-faq h2 { color: var(--cf7-accent-d); margin-bottom: 1.2rem; }
.cf7-tool-faq details {
  margin-bottom: .7rem;
  border: 1px solid var(--cf7-line);
  border-radius: var(--cf7-radius-sm);
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.cf7-tool-faq summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--cf7-text);
  list-style: none;
  position: relative;
  font-size: 1.02rem;
}
.cf7-tool-faq summary::after {
  content: '+';
  position: absolute; right: 1.2rem; top: 1rem;
  color: var(--cf7-primary);
  font-size: 1.3rem; font-weight: 700;
  transition: transform .2s;
}
.cf7-tool-faq details[open] summary::after { transform: rotate(45deg); }
.cf7-tool-faq details > div { padding: 0 1.2rem 1.2rem; color: var(--cf7-text-soft); }

/* ---------- 11. FOOTER ---------- */
.cf7-footer {
  background: #2c180c;
  color: #f5ede0;
  padding: 4rem 1.5rem 1.5rem;
  margin-top: 4rem;
}
.cf7-footer a { color: #f5ede0; text-decoration: underline; }
.cf7-footer a:hover { color: var(--cf7-primary); }
.cf7-footer-inner {
  max-width: var(--cf7-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.cf7-footer-col h3 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--cf7-font-b);
  font-weight: 700;
}
.cf7-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  max-width: 180px;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.cf7-footer-brand-pitch {
  font-size: .92rem;
  color: #d8c9b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.cf7-footer-brand-cta {
  display: inline-block;
  color: var(--cf7-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: .95rem;
}
.cf7-footer-brand-cta:hover { color: #fff; }
.cf7-footer-links {
  list-style: none;
  margin: 0; padding: 0;
}
.cf7-footer-links li { margin-bottom: .55rem; }
.cf7-footer-links a {
  color: #e5d5c2;
  text-decoration: none;
  font-size: .94rem;
}
.cf7-footer-links a:hover { color: var(--cf7-primary); text-decoration: underline; }
.cf7-footer-bottom {
  max-width: var(--cf7-max);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(213, 200, 172, .15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: #b8a48a;
}
.cf7-footer-bottom a { color: #b8a48a; }

@media (max-width: 900px) {
  .cf7-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cf7-footer-inner { grid-template-columns: 1fr; }
}

/* ---------- 12. ANIMATIONS (CTA glow / CTR zoom / CTO toggle) ---------- */
@keyframes cf7-glow-button {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 130, 62, .55),
                0 0 18px 0 rgba(212, 130, 62, .35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(212, 130, 62, 0),
                0 0 28px 6px rgba(212, 130, 62, .55);
  }
}
.cf7-btn--cta, .cf7-hero-cta, .cf7-drawer-cta {
  animation: cf7-glow-button 2.6s ease-in-out infinite;
}

@keyframes cf7-zoom-card {
  0%   { transform: scale(1); }
  100% { transform: scale(1.045); }
}
.cf7-card .cf7-card-img,
.cf7-cat-card-img {
  transition: transform .55s ease;
}
.cf7-card:hover .cf7-card-img,
.cf7-cat-card:hover .cf7-cat-card-img {
  transform: scale(1.06);
}

@keyframes cf7-toggle-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.cf7-toggle--monthly-yearly .cf7-toggle-pill {
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.cf7-toggle--monthly-yearly .cf7-toggle-pill[data-active="yearly"] {
  transform: translateX(100%);
}

/* ---------- 13. MOUSE EFFECT — section_hover_micro_motion ---------- */
@media (hover: hover) and (pointer: fine) {
  .cf7-home > section,
  .cf7-categories,
  .cf7-latest,
  .cf7-hero,
  .cf7-editorial-bloc,
  .cf7-cat-block,
  .cf7-tool-cta {
    transition: transform .6s cubic-bezier(.2, .8, .2, 1),
                box-shadow .6s ease;
  }
  .cf7-home > section:hover,
  .cf7-categories:hover,
  .cf7-latest:hover,
  .cf7-editorial-bloc:hover,
  .cf7-cat-block:hover {
    transform: translateY(-2px);
  }
  .cf7-cat-card,
  .cf7-card {
    transition: transform .5s cubic-bezier(.2, .8, .2, 1),
                box-shadow .5s ease,
                border-color .5s ease;
  }
  .cf7-cat-card:hover,
  .cf7-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -16px rgba(58, 31, 15, .28);
    border-color: var(--cf7-accent);
  }
}

/* ---------- 14. RESPONSIVE OVERRIDES ---------- */
@media (max-width: 1023px) {
  .cf7-header-inner { padding: .75rem 1rem; }
  .cf7-brand-name { font-size: 1rem; }
  .cf7-hero { padding: 4rem 1.5rem 3rem; }
  .cf7-editorial-bloc { padding: 3rem 1.5rem; }
  .cf7-categories, .cf7-latest { padding: 3.5rem 1.5rem; }
  .cf7-header-cta-desktop { display: none !important; }
}

@media (max-width: 640px) {
  .cf7-hero-title { font-size: 2rem; }
  .cf7-hero-sub { font-size: 1rem; }
  .cf7-section-head { flex-direction: column; align-items: start; }
  .cf7-cat-hero { height: 240px; }
}

/* ---------- 15. UTILITIES ---------- */
.cf7-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.cf7-btn--cta {
  background: var(--cf7-primary);
  color: #fff;
}
.cf7-btn--cta:hover { background: var(--cf7-primary-d); color: #fff; text-decoration: none; }
.cf7-btn--ghost {
  background: transparent;
  color: var(--cf7-text);
  border-color: var(--cf7-line);
}
.cf7-btn--ghost:hover { border-color: var(--cf7-primary); color: var(--cf7-primary-d); }

.cf7-cta-row {
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--cf7-bg);
  border-radius: var(--cf7-radius);
  border: 1px solid var(--cf7-line);
  text-align: center;
}
.cf7-cta-row h3 { margin-top: 0; }

/* sr-only */
.cf7-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; }

/* prevent body scroll when drawer open */
body.cf7-drawer-open { overflow: hidden; }


/* Extra rules */
body section[class*="cat-hero"], body div[class*="cat-hero"] {
  position: relative !important;
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
  left: 0 !important; right: 0 !important;
  height: 360px !important; min-height: 360px !important; max-height: 360px !important;
  padding: 0 !important; overflow: hidden !important;
  display: flex !important; align-items: center !important;
  justify-content: center !important;
  border: none !important; box-shadow: none !important; outline: none !important;
  box-sizing: border-box !important;
}
/* Aussi force le parent <main> a etre full-width pour eviter cap a 1024 */
body main, body, body, body [class*="cf7-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
   (.cf7-, .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(--cf7-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.
============================================================ */
.cf7-media-press {
  padding: 2.5rem 0;
  background: var(--cf7-bg-soft, var(--cf7-color-surface, #f9fafb));
  margin: 2rem 0;
}
.cf7-media-press > .cf7-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.cf7-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cf7-color-text-soft, var(--cf7-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.cf7-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.cf7-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%);
}
.cf7-media-press-item:hover,
.cf7-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.cf7-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .cf7-media-press { padding: 1.8rem 0; }
  .cf7-media-press-grid { gap: 1.4rem; }
  .cf7-media-press-item { max-width: 110px; min-height: 36px; }
  .cf7-media-press-item img { max-height: 36px; }
}


/* FIX gap header->hero (parent theme override) + media-press compact centre */
body main, body.home main, body.archive main, body.single main,
body, body, body main[class*="-main"] {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* MEDIA PRESS : layout horizontal compact CENTRE (titre + logos cote a cote au centre) */
.cf7-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);
}
.cf7-media-press .cf7-container.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;
}
.cf7-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(--cf7-muted, #666);
  flex: 0 0 auto;
}
.cf7-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;
}
.cf7-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;
}
.cf7-media-press-item:hover, .bdf-media-press-item:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.cf7-media-press imgimg,
section[class*="media-press"] img {
  max-height: 48px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}
.cf7-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .cf7-media-press .cf7-container.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) */
.cf7-cat-hero--align-left .cf7-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;
}
.cf7-cat-hero--align-center .cf7-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;
}


/* ============================================================
   SAFETY-NET BURGER MOBILE (auto-injected — fonctionnel only)
   ============================================================
   But : empêcher le burger d'être 0×0 / caché / non-cliquable.
   N'impose PAS le design (couleur/border/shape) — Claude garde
   le contrôle visuel. N'impose QUE les règles fonctionnelles.
   ============================================================ */
@media (max-width: 1023.98px) {
  /* Parent wrap du burger : doit être visible mobile (pas display:none) */
  [class*="-header-cta-wrap"],
  [class*="-header-actions"],
  [class*="-burger-wrap"],
  [class*="-header-right"],
  [class*="-header-actions-mobile"] {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  /* Le bouton burger lui-même : visible, taille minimum touchable */
  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex-shrink: 0 !important;
    z-index: 9999;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  /* Les bars (container) du burger : visibles, dimensions minimum */
  [class*="-burger"] > span,
  [class*="-burger-bars"] {
    display: flex !important;
    flex-direction: column !important;
    min-width: 24px !important;
    min-height: 16px !important;
  }
  /* Les bars individuelles (i / span enfant) */
  [class*="-burger-bars"] > *,
  [class*="-burger"] > span > * {
    display: block !important;
    min-width: 24px !important;
    min-height: 2px !important;
  }
  /* CTA desktop caché mobile (sinon il mange la place du burger) */
  [class*="-header-cta-desktop"] {
    display: none !important;
  }
  /* Label texte du burger (Menu / Open menu) : icône seule mobile */
  [class*="-burger-label"] {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  /* Desktop : burger caché (la nav horizontale prend le relais) */
  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: none !important;
  }
}
/* ============================================================
   FIN SAFETY-NET BURGER MOBILE
   ============================================================ */


/* Mouse effect : section_hover_micro_motion */
@media (hover: hover) and (pointer: fine) {.cf7-home > section, .cf7-categories, .cf7-latest, .cf7-hero, .cf7-editorial-bloc, .cf7-cat-block, .cf7-tool-cta {transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s ease;} .cf7-home > section:hover, .cf7-categories:hover, .cf7-latest:hover, .cf7-editorial-bloc:hover, .cf7-cat-block:hover {transform: translateY(-2px);} .cf7-cat-card, .cf7-card {transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease, border-color .5s ease;} .cf7-cat-card:hover, .cf7-card:hover {transform: translateY(-4px); box-shadow: 0 14px 28px -16px rgba(58,31,15,.28); border-color: var(--cf7-accent);}}


/* Burger style (auto-applied 2026-06-23) */
@media (max-width: 1023.98px) {
  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    width: 42px !important; height: 42px !important;
    border-radius: 50% !important; padding: 8px !important;
     
  }
  [class*="-burger"] > span, [class*="-burger-bars"] {
    gap: 5px !important; width: 24px !important; height: 16px !important;
    align-items: center !important;
  }
  [class*="-burger-bars"] > *, [class*="-burger"] > span > * {
    height: 2px !important; border-radius: 1px !important;
  }
  [class*="-burger-bars"] > *:nth-child(1), [class*="-burger"] > span > *:nth-child(1) { width: 24px !important; }
  [class*="-burger-bars"] > *:nth-child(2), [class*="-burger"] > span > *:nth-child(2) { width: 24px !important; }
  [class*="-burger-bars"] > *:nth-child(3), [class*="-burger"] > span > *:nth-child(3) { width: 24px !important; }
}
