/* =========================================================================
   Architecte Intérieur Appaloosa — style.css
   Design system : Coastal Grandma Hamptons (fonts DB) + palette concurrent
   Fonts : Cormorant Italic (headings) + Mulish (body)
   Palette : brun terracotta / taupe / lin / charcoal (Lmdeco competitor)
   Préfixe classes : alp-
   ========================================================================= */

/* ------- Reset léger ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

/* ------- Variables ------------------------------------------------------ */
:root {
  --alp-primary:    #946258;
  --alp-primary-dk: #76443a;
  --alp-accent:     #B19777;
  --alp-text:       #3d3c3a;
  --alp-text-soft:  #6a6866;
  --alp-bg:         #FAFAF8;
  --alp-surface:    #FFFFFF;
  --alp-line:       #eee7e2;

  --alp-font-h: 'Cormorant', 'Cormorant Garamond', 'Times New Roman', serif;
  --alp-font-b: 'Mulish', 'Helvetica Neue', Arial, sans-serif;

  --alp-container: 1180px;
  --alp-radius:    4px;
  --alp-shadow:    0 8px 24px rgba(61,60,58,0.08);
  --alp-shadow-lg: 0 14px 38px rgba(61,60,58,0.14);
}

/* ------- Body & typography --------------------------------------------- */
body.alp-body, body {
  background: var(--alp-bg);
  color: var(--alp-text);
  font-family: var(--alp-font-b);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--alp-font-h);
  font-weight: 600;
  color: var(--alp-text);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-style: italic; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-style: italic; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--alp-primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
a:hover, a:focus-visible { color: var(--alp-primary-dk); }

::selection { background: var(--alp-primary); color: #fff; }

/* ------- Layout container ----------------------------------------------- */
.alp-container { width: 100%; max-width: var(--alp-container); margin: 0 auto; padding: 0 1.25rem; }
.alp-container--narrow { max-width: 780px; }

/* Kill any main padding — hero flush to header */
main, .alp-main { padding-top: 0 !important; margin-top: 0 !important; }

/* ==========================================================================
   HEADER — logo-left, menu center, CTA right
   ========================================================================== */
.alp-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--alp-surface);
  border-bottom: 1px solid var(--alp-line);
  transition: box-shadow .3s ease;
}
.alp-header.is-scrolled { box-shadow: 0 2px 20px rgba(61,60,58,0.08); }

.alp-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 1.25rem;
  max-width: var(--alp-container);
  margin: 0 auto;
}
.alp-brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.alp-brand-logo { height: auto; width: auto; max-height: 48px; max-width: 190px; object-fit: contain; }
.alp-brand-name {
  font-family: var(--alp-font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--alp-text);
  letter-spacing: 0.005em;
}

/* Desktop nav is hidden by default (mobile-first) */
.alp-nav-desktop { display: none; }
.alp-nav-desktop-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 1.4rem;
  font-family: var(--alp-font-b);
}
.alp-nav-desktop-list > li { position: relative; }
.alp-nav-desktop-list > li > a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--alp-text); text-decoration: none;
  font-size: 0.94rem; font-weight: 600;
  padding: 0.6rem 0.15rem; letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.alp-nav-desktop-list > li > a:hover,
.alp-nav-desktop-list > li:focus-within > a { color: var(--alp-primary); border-bottom-color: var(--alp-primary); }
.alp-nav-desktop-list svg { width: 18px; height: 18px; color: currentColor; }

/* CTA button in header (desktop only) */
.alp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.5rem;
  font-family: var(--alp-font-b);
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.03em;
  border-radius: var(--alp-radius);
  cursor: pointer; transition: all .25s ease;
}
.alp-btn--cta {
  position: relative;
  background: transparent;
  color: var(--alp-primary);
  border: 1.5px solid var(--alp-primary);
  animation: alp-neon-outline-pulse 2.6s ease-in-out infinite;
}
@keyframes alp-neon-outline-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(148,98,88,0.5), inset 0 0 0 1px rgba(148,98,88,0.8); }
  50%     { box-shadow: 0 0 0 4px rgba(148,98,88,0.14), inset 0 0 0 1px rgba(148,98,88,1); }
}
.alp-btn--cta:hover, .alp-btn--cta:focus-visible {
  background: var(--alp-primary);
  color: #ffffff !important;
  transform: translateY(-1px);
  animation: none;
}
.alp-header-cta-desktop { margin-left: auto; }

/* Burger button (mobile only) */
.alp-burger {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px; margin-left: auto;
  padding: 0; background: transparent; border: 1px solid var(--alp-line);
  border-radius: var(--alp-radius); cursor: pointer;
  transition: background .2s, border-color .2s;
}
.alp-burger span {
  display: block; width: 22px; height: 2px; background: var(--alp-text); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.alp-burger:hover { background: var(--alp-line); border-color: var(--alp-primary); }
.alp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.alp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.alp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   MEGA-MENU — Layout A "Stack vertical" (thumb + title + date)
   ========================================================================== */
.alp-mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 480px; max-width: 640px;
  background: var(--alp-surface);
  border: 1px solid var(--alp-line);
  border-top: 3px solid var(--alp-primary);
  box-shadow: var(--alp-shadow-lg);
  padding: 1.3rem 1.4rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform-origin: top center;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 10;
}
.alp-nav-desktop-list > li:hover > .alp-mega,
.alp-nav-desktop-list > li:focus-within > .alp-mega {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.alp-mega-title {
  font-family: var(--alp-font-h);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--alp-primary);
  margin: 0 0 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--alp-line);
  letter-spacing: 0.02em;
}
.alp-mega-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.alp-mega-item { display: grid; grid-template-columns: 72px 1fr; gap: 0.85rem; align-items: center; text-decoration: none; color: var(--alp-text); padding: 0.35rem; border-radius: var(--alp-radius); transition: background .2s; }
.alp-mega-item:hover { background: var(--alp-line); }
.alp-mega-thumb { width: 72px; height: 54px; overflow: hidden; border-radius: 3px; background: var(--alp-line); }
.alp-mega-thumb img { width: 100%; height: 100%; object-fit: cover; }
.alp-mega-body { min-width: 0; }
.alp-mega-item-title {
  font-family: var(--alp-font-b);
  font-size: 0.9rem; font-weight: 600; color: var(--alp-text);
  line-height: 1.35; margin: 0 0 0.25rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.alp-mega-item-date { font-size: 0.78rem; color: var(--alp-text-soft); }
.alp-mega-see-all {
  display: inline-block;
  margin-top: 0.85rem; padding-top: 0.8rem;
  border-top: 1px solid var(--alp-line);
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--alp-primary);
  text-decoration: none;
}
.alp-mega-see-all::after { content: ' →'; transition: transform .2s; display: inline-block; }
.alp-mega-see-all:hover::after { transform: translateX(3px); }

/* ==========================================================================
   MOBILE DRAWER — always hidden on desktop
   ========================================================================== */
.alp-nav-mobile { display: none; }
.alp-nav-mobile-overlay { display: none; }

@media (max-width: 1023px) {
  .alp-nav-mobile-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(10,10,10,0.55);
    z-index: 998;
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
  }
  .alp-nav-mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

  .alp-nav-mobile {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: 86%; max-width: 380px;
    background: var(--alp-surface);
    padding: 4.5rem 1.4rem 2rem;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    transition: right .35s ease;
  }
  .alp-nav-mobile.is-open { right: 0; }
  .alp-nav-mobile-close {
    position: absolute; top: 1.1rem; right: 1.1rem;
    width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--alp-line);
    border-radius: var(--alp-radius);
    color: var(--alp-text); font-size: 1.6rem; line-height: 1;
    cursor: pointer; transition: background .2s;
  }
  .alp-nav-mobile-close:hover { background: var(--alp-line); }
  .alp-nav-mobile-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .alp-nav-mobile-list li { border-bottom: 1px solid var(--alp-line); }
  .alp-nav-mobile-list a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 0.4rem;
    color: #1a1a1a; text-decoration: none;
    font-size: 1.05rem; font-weight: 500;
  }
  .alp-nav-mobile-list a:hover { color: var(--alp-primary); }
  .alp-nav-mobile-list svg { width: 20px; height: 20px; color: var(--alp-primary); }
  .alp-drawer-cta {
    display: block !important;
    margin: 2rem 0 1.5rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--alp-primary) !important;
    color: #ffffff !important;
    border-radius: var(--alp-radius) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.03em;
    animation: none !important;
    border: none !important;
  }
}

/* Hide CTA/desktop nav on mobile */
@media (max-width: 1023px) {
  .alp-header-cta-desktop { display: none !important; }
  .alp-nav-desktop { display: none !important; }
}

/* Hide burger + drawer-cta on desktop */
@media (min-width: 1024px) {
  .alp-burger { display: none !important; }
  .alp-nav-mobile, .alp-nav-mobile-overlay { display: none !important; }
  .alp-drawer-cta { display: none !important; }
  .alp-nav-desktop {
    display: flex; flex: 1; justify-content: center; margin: 0 1.5rem;
  }
}

/* ==========================================================================
   HERO — parallax-scroll
   ========================================================================== */
.alp-hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: var(--alp-line);
  padding: 5rem 0 4rem;
}
.alp-hero-bg-wrap {
  position: absolute; inset: 0;
  overflow: hidden; z-index: 0;
}
.alp-hero-bg {
  position: absolute; top: -10%; left: 0; right: 0;
  width: 100%; height: 120%;
  object-fit: cover;
  will-change: transform;
}
.alp-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  align-items: center;
  max-width: var(--alp-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.alp-hero-main { background: rgba(250,250,248,0.92); padding: 2.2rem 1.8rem; border-left: 3px solid var(--alp-primary); backdrop-filter: blur(6px); }
.alp-hero-eyebrow {
  display: inline-block;
  font-family: var(--alp-font-b);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--alp-primary);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.alp-hero-title {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--alp-text);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.alp-hero-subtitle {
  font-family: var(--alp-font-b);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--alp-text-soft);
  line-height: 1.6;
  margin: 0 0 1.6rem;
  max-width: 42em;
}
.alp-hero-cta { display: inline-flex; }

/* Hero split — colonne droite avec derniers articles (mosaic) */
@media (min-width: 1024px) {
  .alp-hero--has-latest .alp-hero-inner {
    grid-template-columns: 1.35fr 1fr;
    gap: 3rem;
  }
}
.alp-hero-latest {
  background: rgba(255,255,255,0.94);
  padding: 1.3rem;
  border: 1px solid rgba(148,98,88,0.15);
  backdrop-filter: blur(4px);
  display: grid; gap: 0.85rem;
}
.alp-hero-latest--mosaic { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .alp-hero-latest--mosaic { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}
.alp-hero-latest-item {
  display: grid; grid-template-columns: 1fr; gap: 0.6rem;
  text-decoration: none; color: inherit;
  padding: 0.45rem; border-radius: var(--alp-radius);
  transition: background .2s;
}
.alp-hero-latest-item:hover { background: var(--alp-line); }
.alp-hero-latest-thumb {
  display: block; width: 100%; height: 100px;
  overflow: hidden; border-radius: 3px; background: var(--alp-line);
}
.alp-hero-latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.alp-hero-latest-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--alp-font-b);
  font-weight: 600; font-size: 0.9rem;
  line-height: 1.35; margin-bottom: 0.2rem; color: var(--alp-text);
}
.alp-hero-latest-date { font-size: 0.75rem; color: var(--alp-text-soft); }

/* Placeholder for empty state */
.alp-hero-latest-placeholder {
  padding: 1.5rem;
  background: rgba(255,255,255,0.7);
  border: 1px dashed var(--alp-line);
  border-radius: var(--alp-radius);
  text-align: center;
  grid-column: 1 / -1;
}
.alp-hero-latest-placeholder-title { font-family: var(--alp-font-h); font-style: italic; font-size: 1.15rem; margin: 0 0 0.4rem; color: var(--alp-text); }
.alp-hero-latest-placeholder-desc { font-size: 0.9rem; margin: 0 0 1rem; color: var(--alp-text-soft); }
.alp-hero-latest-placeholder-links { display: flex; flex-direction: column; gap: 0.5rem; }
.alp-hero-latest-placeholder-link {
  padding: 0.55rem 1rem;
  background: var(--alp-primary); color: #fff !important;
  border-radius: var(--alp-radius); text-decoration: none;
  font-weight: 500; font-size: 0.9rem;
}
.alp-hero-latest-placeholder-link:hover { background: var(--alp-primary-dk); }

/* ==========================================================================
   HOME ABOUT — Section persona
   ========================================================================== */
.alp-home-about {
  margin: 0 !important;
  padding: 4rem 1rem;
  background: #f9f7f4;
}
.alp-hero + .alp-home-about { margin-top: 0 !important; }
.alp-hero { margin-bottom: 0 !important; }
.alp-home-about-inner {
  max-width: var(--alp-container);
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; text-align: center;
  align-items: center;
}
@media (min-width: 768px) {
  .alp-home-about-inner {
    grid-template-columns: 220px 1fr;
    gap: 2.5rem; text-align: left;
  }
}
.alp-home-about-media { display: flex; justify-content: center; }
.alp-home-about-media img {
  width: 160px; height: 160px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(61,60,58,0.15);
  border: 3px solid var(--alp-surface);
}
@media (min-width: 768px) {
  .alp-home-about-media img { width: 220px; height: 220px; }
}
.alp-home-about-eyebrow {
  display: inline-block;
  font-family: var(--alp-font-b);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--alp-primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.alp-home-about-title {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #1a1a1a;
  margin: 0 0 1rem;
}
.alp-home-about-bio {
  font-family: var(--alp-font-b);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(0,0,0,0.72);
  margin: 0 0 1.2rem;
}
.alp-home-about-cta {
  display: inline-block;
  font-family: var(--alp-font-h);
  font-style: italic;
  color: var(--alp-primary);
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--alp-primary);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.alp-home-about-cta:hover { color: var(--alp-primary-dk); border-color: var(--alp-primary-dk); }

/* ==========================================================================
   HOME INTRO — Section présentation éditoriale (H2 + H3 + 3 liens)
   ========================================================================== */
.alp-home-intro {
  padding: 4.5rem 1rem;
  background: var(--alp-bg);
}
.alp-home-intro-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.alp-home-intro-title {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: clamp(1.9rem, 3.3vw, 2.6rem);
  color: var(--alp-text);
  margin: 0 0 1.2rem;
}
.alp-home-intro-lead {
  font-family: var(--alp-font-b);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--alp-text-soft);
  margin: 0 0 2rem;
}
.alp-home-intro-lead a { color: var(--alp-primary); text-decoration: underline; }
.alp-home-intro-h3 {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--alp-primary);
  margin: 0 0 1rem;
}
.alp-home-intro-body {
  font-family: var(--alp-font-b);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--alp-text);
  margin: 0;
}
.alp-home-intro-body a { color: var(--alp-primary); text-decoration: underline; }

/* ==========================================================================
   CATEGORIES GRID
   ========================================================================== */
.alp-categories { padding: 4.5rem 0 3rem; }
.alp-section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}
.alp-section-heading .alp-eyebrow {
  display: inline-block;
  font-family: var(--alp-font-b);
  font-size: 0.78rem; font-weight: 700;
  color: var(--alp-primary);
  letter-spacing: 0.2em; text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.alp-section-heading h2 {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--alp-text);
  margin: 0 0 0.6rem;
}
.alp-section-heading p {
  color: var(--alp-text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

.alp-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--alp-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .alp-categories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .alp-categories-grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; } }
@media (min-width: 1200px) { .alp-categories-grid { grid-template-columns: repeat(4, 1fr); } }

.alp-cat-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--alp-surface);
  border: 1px solid var(--alp-line);
  border-radius: var(--alp-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--alp-text);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  min-height: 320px;
}
.alp-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--alp-shadow-lg);
  border-color: var(--alp-primary);
}
.alp-cat-card-img {
  display: block;
  width: 100%; height: 200px;
  background-color: var(--alp-line);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.alp-cat-card-body {
  padding: 1.3rem;
  display: flex; flex-direction: column;
  gap: 0.4rem; flex: 1;
}
.alp-cat-card-name {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--alp-text);
  margin: 0;
}
.alp-cat-card-count {
  font-family: var(--alp-font-b);
  font-size: 0.85rem;
  color: var(--alp-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.alp-cat-card-arrow {
  align-self: flex-end;
  margin-top: auto;
  font-family: var(--alp-font-h);
  font-style: italic;
  color: var(--alp-primary);
  font-size: 1.1rem;
}

/* ==========================================================================
   LATEST ARTICLES GRID
   ========================================================================== */
.alp-latest { padding: 4.5rem 0; background: #fbf9f5; }
.alp-latest-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: var(--alp-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .alp-latest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .alp-latest-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .alp-latest-grid { grid-template-columns: repeat(4, 1fr); } }

.alp-card {
  display: flex; flex-direction: column;
  background: var(--alp-surface);
  border: 1px solid var(--alp-line);
  border-radius: var(--alp-radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none; color: inherit;
}
.alp-card:hover { transform: translateY(-3px); box-shadow: var(--alp-shadow); }
.alp-card-thumb { display: block; width: 100%; height: 210px; overflow: hidden; background: var(--alp-line); }
.alp-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.alp-card:hover .alp-card-thumb img { transform: scale(1.05); }
.alp-card-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; gap: 0.5rem; }
.alp-card-cat {
  font-family: var(--alp-font-b);
  font-size: 0.72rem; font-weight: 700;
  color: var(--alp-primary);
  letter-spacing: 0.15em; text-transform: uppercase;
}
.alp-card-title {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--alp-text);
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.alp-card-excerpt {
  font-family: var(--alp-font-b);
  font-size: 0.9rem;
  color: var(--alp-text-soft);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.alp-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 0.7rem;
  font-family: var(--alp-font-b);
  font-size: 0.8rem;
  color: var(--alp-text-soft);
}
.alp-card-more {
  font-family: var(--alp-font-h);
  font-style: italic;
  color: var(--alp-primary);
  text-decoration: none;
  font-size: 0.95rem;
}
.alp-card-more::after { content: ' →'; transition: transform .2s; display: inline-block; }
.alp-card:hover .alp-card-more::after { transform: translateX(3px); }

/* ==========================================================================
   CATEGORY PAGE (category.php)
   ========================================================================== */
.alp-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
}
.alp-cat-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.alp-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--alp-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}
.alp-cat-hero-title {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 0 0 1.5rem;
}
.alp-cat-intro { padding: 3rem 0; }
.alp-cat-intro-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.25rem;
  font-family: var(--alp-font-b);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--alp-text);
}
.alp-cat-intro-inner p:first-child::first-letter {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: 3.6rem;
  float: left;
  line-height: 0.9;
  margin: 0.15rem 0.5rem 0 0;
  color: var(--alp-primary);
}
.alp-cat-intro-inner a { color: var(--alp-primary); text-decoration: underline; }

/* ==========================================================================
   TOC (CTR — sticky_table_of_contents)
   ========================================================================== */
@keyframes alp-toc-highlight { from { background-color: rgba(148,98,88,0); } to { background-color: rgba(148,98,88,0.08); } }
.alp-toc {
  position: sticky; top: 90px;
  padding: 1rem 1.2rem;
  background: var(--alp-surface);
  border-left: 3px solid var(--alp-primary);
  border-radius: var(--alp-radius);
  font-family: var(--alp-font-b);
  font-size: 0.92rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.alp-toc h4 { margin-top: 0; font-family: var(--alp-font-h); font-style: italic; color: var(--alp-text); }
.alp-toc a { display: block; padding: 0.45rem 0.6rem; color: var(--alp-text-soft); text-decoration: none; border-radius: 3px; transition: background-color .3s ease, color .2s ease; }
.alp-toc a:hover, .alp-toc a.is-active { color: var(--alp-primary); animation: alp-toc-highlight .4s forwards; }

/* ==========================================================================
   FAQ (CTO — faq_conversion_block)
   ========================================================================== */
@keyframes alp-faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.alp-faq {
  max-width: 820px; margin: 0 auto;
  padding: 3rem 1.25rem;
  border-top: 1px solid var(--alp-line);
}
.alp-faq-heading {
  font-family: var(--alp-font-h);
  font-style: italic;
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--alp-text);
  margin: 0 0 2rem;
}
.alp-faq details {
  border-bottom: 1px solid var(--alp-line);
  padding: 1.15rem 0;
}
.alp-faq details summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--alp-text);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.alp-faq details summary::-webkit-details-marker { display: none; }
.alp-faq details summary::after {
  content: '+';
  font-family: var(--alp-font-b);
  font-style: normal;
  font-size: 1.5rem;
  color: var(--alp-primary);
  transition: transform .3s ease;
  flex-shrink: 0;
}
.alp-faq details[open] summary::after { content: '−'; }
.alp-faq details[open] p {
  animation: alp-faq-open .35s ease both;
  margin-top: 0.8rem;
  color: var(--alp-text-soft);
  line-height: 1.7;
}

/* ==========================================================================
   PERSONA PHOTO on about page
   ========================================================================== */
.alp-persona-photo {
  display: block;
  width: 220px; height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 2rem;
  box-shadow: 0 8px 28px rgba(61,60,58,0.15);
  border: 3px solid var(--alp-surface);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.dc9-contact-form {
  margin: 2rem auto 4rem;
  max-width: 780px;
}
.dc9-contact-form iframe {
  border: 1px solid var(--alp-line);
  border-radius: var(--alp-radius);
  box-shadow: var(--alp-shadow);
}

/* ==========================================================================
   FOOTER — Hamptons Columns (pairing A : bg white + text dark)
   ========================================================================== */
.alp-footer {
  background: #ffffff;
  color: #1a1a1a;
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--alp-primary);
}
.alp-footer-cols {
  max-width: var(--alp-container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 720px) { .alp-footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .alp-footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; } }

.alp-footer-col h4, .alp-footer-col h3 {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: 1.2rem;
  color: #1a1a1a;
  margin: 0 0 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--alp-line);
}
.alp-footer-brand .alp-footer-logo {
  display: block;
  height: auto;
  max-height: 70px;
  max-width: 210px;
  width: auto;
  margin: 0 0 1rem;
}
.alp-footer-brand-name {
  font-family: var(--alp-font-h);
  font-style: italic;
  font-size: 1.35rem;
  color: #1a1a1a;
  margin: 0 0 0.8rem;
}
.alp-footer-brand-pitch {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.4rem;
}
.alp-footer-brand-cta {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  background: var(--alp-primary);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: var(--alp-radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.alp-footer-brand-cta:hover { background: var(--alp-primary-dk); }
.alp-footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.alp-footer-col li a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(148,98,88,0.35);
  font-size: 0.95rem;
  transition: color .2s;
}
.alp-footer-col li a:hover { color: var(--alp-primary); text-decoration-color: var(--alp-primary); }

.alp-footer-bottom {
  max-width: var(--alp-container);
  margin: 3rem auto 0;
  padding: 1.4rem 1.25rem 0;
  border-top: 1px solid var(--alp-line);
  display: flex; flex-direction: column;
  align-items: center; gap: 0.8rem;
  color: #6b7280;
  font-size: 0.85rem;
  text-align: center;
}
@media (min-width: 720px) { .alp-footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.alp-footer-copyright { margin: 0; }
.alp-footer-social { display: flex; gap: 0.6rem; }
.alp-footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--alp-line);
  color: var(--alp-primary);
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.alp-footer-social a:hover { background: var(--alp-primary); color: #ffffff; border-color: var(--alp-primary); }
.alp-footer-social svg { width: 16px; height: 16px; }

/* Footer search bar */
.dc9-footer-search { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--alp-line); }
.dc9-footer-search-form { display: flex; gap: 0; align-items: stretch; }
.dc9-footer-search-field {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--alp-line);
  border-right: 0;
  border-radius: var(--alp-radius) 0 0 var(--alp-radius);
  font-family: var(--alp-font-b);
  font-size: 0.9rem;
  color: #1a1a1a;
  background: #ffffff;
}
.dc9-footer-search-field:focus { outline: 2px solid rgba(148,98,88,0.35); outline-offset: -2px; border-color: var(--alp-primary); }
.dc9-footer-search-btn {
  padding: 0 0.9rem;
  background: var(--alp-primary);
  color: #ffffff;
  border: 1px solid var(--alp-primary);
  border-radius: 0 var(--alp-radius) var(--alp-radius) 0;
  cursor: pointer;
  transition: background .2s;
}
.dc9-footer-search-btn:hover { background: var(--alp-primary-dk); }
.dc9-footer-search-btn svg { width: 16px; height: 16px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   ACCESSIBILITY & UTILITIES
   ========================================================================== */
:focus-visible { outline: 2px solid var(--alp-primary); outline-offset: 2px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .alp-hero-bg { transform: none !important; }
}

/* ==========================================================================
   MOUSE EFFECT — form_field_focus_border
   ========================================================================== */
@media (hover: none) { .alp-form-field-focus-glow { display: none !important; } }
input:focus, textarea:focus, select:focus { outline: none; }
.alp-input-wrap { position: relative; display: block; }
.alp-input-wrap::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(148,98,88,0);
  transition: box-shadow .35s ease;
  z-index: 1;
}
.alp-input-wrap:focus-within::before {
  box-shadow: 0 0 0 3px rgba(148,98,88,0.18), 0 0 12px 2px rgba(148,98,88,0.28);
}
.alp-input-wrap input, .alp-input-wrap textarea, .alp-input-wrap select {
  transition: border-color .3s ease, background-color .3s ease;
}
.alp-input-wrap:focus-within input,
.alp-input-wrap:focus-within textarea,
.alp-input-wrap:focus-within select {
  border-color: var(--alp-primary);
  background-color: var(--alp-surface);
}


/* Site theme 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*="dc9-main"], body #content {
  width: 100% !important; max-width: 100% !important;
  margin-left: 0 !important; margin-right: 0 !important;
}
body [class*="cat-hero"] > img, body [class*="cat-hero-bg"], body [class*="cat-hero"] img {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  max-height: 360px !important;
  object-fit: cover !important; z-index: 0 !important;
  border: none !important;
}
body [class*="cat-hero"]::before, body [class*="cat-hero"]::after {
  content: none !important; display: none !important;
}
/* Overlay : absolute par-dessus l'image, juste pour le gradient sombre */
body [class*="cat-hero-overlay"], body [class*="cat-hero"] > [class*="overlay"] {
  position: absolute !important; inset: 0 !important;
  width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  max-width: none !important;
  display: block !important;
  z-index: 1 !important;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 100%) !important;
  pointer-events: none !important;
  border: none !important;
}
/* Container / inner du titre : centré au-dessus de l'overlay (z-index 2) */
body [class*="cat-hero"] > [class*="container"],
body [class*="cat-hero"] > [class*="cat-hero-inner"],
body [class*="cat-hero"] > [class*="hero-inner"]:not([class*="overlay"]),
body [class*="cat-hero"] > div:not([class*="overlay"]):not([class*="-bg"]) {
  position: relative !important; z-index: 2 !important;
  text-align: center !important;
  max-width: 900px !important; margin: 0 auto !important;
  padding: 1.5rem 2rem !important;
  border: none !important; background: transparent !important;
}
body [class*="cat-hero"] h1 {
  color: #ffffff !important;
  font-size: clamp(2.4rem, 6vw, 4rem) !important;
  text-align: center !important;
  margin: 0 !important; font-weight: 800 !important;
  text-shadow: 0 3px 12px rgba(0,0,0,.85), 0 0 30px rgba(0,0,0,.5) !important;
  border: none !important; display: block !important;
}
body [class*="cat-hero"] [class*="breadcrumb"],
body [class*="cat-hero"] nav[aria-label*="riane"],
body [class*="cat-hero"] nav[aria-label*="readcrumb"] {
  display: none !important;
}



body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
  max-width: 280px !important;
  width: 100% !important;
  height: auto !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 auto !important;
}
@media (min-width: 768px) {
  body [class*="persona-photo"], body img[class*="persona"], body [class*="-persona"] img {
    max-width: 320px !important;
  }
}


@media (max-width: 1023px) {
  /* FIX width:auto -> ne plus l'imposer (laisse child theme définir width).
     Sinon écrase le child et le burger devient 0 de large -> invisible. */
  body [class*="burger"], body button[class*="burger"] {
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 100 !important;
  }
}
@media (min-width: 1024px) {
  body [class*="burger"], body button[class*="burger"] {
    display: none !important;
  }
}



body footer, body [class*="footer"]:not([class*="logo"]):not([class*="brand-logo"]) {
  color: inherit !important;
}


body footer ul li a, body footer ol li a,
body [class*="footer"] ul li a:not([class*="btn"]):not([class*="cta"]),
body footer [class*="link"]:not([class*="brand"]):not([class*="btn"]) {
  color: inherit !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: currentColor !important;
  opacity: 0.85 !important;
  transition: opacity .2s ease !important;
}
body footer ul li a:hover, body footer ol li a:hover,
body [class*="footer"] ul li a:hover {
  opacity: 1 !important;
  text-decoration-thickness: 2px !important;
}


body [class*="burger"] {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
  cursor: pointer !important;
  padding: 8px;
  color: inherit;
  transition: background .2s ease, border-color .2s ease !important;
}
body [class*="burger"]:hover, body [class*="burger"]:focus-visible {
  background: rgba(0,0,0,0.06);
  border-color: var(--dc9-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.
============================================================ */
.dc9-media-press {
  padding: 2.5rem 0;
  background: var(--dc9-bg-soft, var(--dc9-color-surface, #f9fafb));
  margin: 2rem 0;
}
.dc9-media-press > .dc9-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.dc9-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dc9-color-text-soft, var(--dc9-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.dc9-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.dc9-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%);
}
.dc9-media-press-item:hover,
.dc9-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.dc9-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .dc9-media-press { padding: 1.8rem 0; }
  .dc9-media-press-grid { gap: 1.4rem; }
  .dc9-media-press-item { max-width: 110px; min-height: 36px; }
  .dc9-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) */
.dc9-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);
}
.dc9-media-press .dc9-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;
}
.dc9-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(--dc9-muted, #666);
  flex: 0 0 auto;
}
.dc9-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;
}
.dc9-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;
}
.dc9-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.dc9-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;
}
.dc9-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .dc9-media-press .dc9-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.dc9-cat-hero--align-left .dc9-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;
}
.dc9-cat-hero--align-center .dc9-cat-hero-inner
section[class*="cat-hero--align-center"] [class*="cat-hero-inner"] {
  text-align: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}


@media (max-width: 1023.98px) {  [class*="-header-cta-wrap"],
  [class*="-header-actions"],
  [class*="-burger-wrap"],
  [class*="-header-right"],
  [class*="-header-actions-mobile"] {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex-shrink: 0 !important;
    z-index: 9999;
    pointer-events: auto !important;
    cursor: pointer !important;
  }  [class*="-burger"] > span,
  [class*="-burger-bars"] {
    display: flex !important;
    flex-direction: column !important;
    min-width: 24px !important;
    min-height: 16px !important;
  }  [class*="-burger-bars"] > *,
  [class*="-burger"] > span > * {
    display: block !important;
    min-width: 24px !important;
    min-height: 2px !important;
  }  [class*="-header-cta-desktop"] {
    display: none !important;
  }  [class*="-burger-label"] {
    display: none !important;
  }
}
@media (min-width: 1024px) {  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    display: none !important;
  }
}


/* Burger style */
@media (max-width: 1023.98px) {
  [class*="-burger"]:not([class*="-bars"]):not([class*="-label"]):not([class*="-menu"]) {
    width: 42px !important; height: 42px !important;
    border-radius: 6px !important; padding: 8px !important;
     
  }
  [class*="-burger"] > span, [class*="-burger-bars"] {
    gap: 5px !important; width: 24px !important; height: 16px !important;
    align-items: flex-start !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: 20px !important; }
  [class*="-burger-bars"] > *:nth-child(3), [class*="-burger"] > span > *:nth-child(3) { width: 14px !important; }
}


/* Mouse effect : form_field_focus_border */
@media (hover: none) { .alp-form-field-focus-glow { display: none !important; } }
input:focus, textarea:focus, select:focus { outline: none; }
.alp-input-wrap { position: relative; display: block; }
.alp-input-wrap::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 0 rgba(148,98,88,0); transition: box-shadow .35s ease; z-index: 1; }
.alp-input-wrap:focus-within::before { box-shadow: 0 0 0 3px rgba(148,98,88,0.18), 0 0 12px 2px rgba(148,98,88,0.28); }
.alp-input-wrap input, .alp-input-wrap textarea, .alp-input-wrap select { transition: border-color .3s ease, background-color .3s ease; }
.alp-input-wrap:focus-within input, .alp-input-wrap:focus-within textarea, .alp-input-wrap:focus-within select { border-color: #946258; background-color: #FFFFFF; }


/* rp-contrast-autofix-2026-07-31 */
/* AUTO-FIX contraste WCAG AA (validator_contrast.py) */
/* FOOTER : fond blanc + texte sombre partout */
.dc9-footer { background: #ffffff !important; color: #1a1a1a !important; border-top: 1px solid rgba(0,0,0,0.08) !important; }
.dc9-footer a { color: #1a1a1a !important; }
.dc9-footer a:hover { color: var(--dc9-accent, #333) !important; }
.dc9-footer-col h3,
.dc9-footer-col h4 { color: #1a1a1a !important; border-bottom: 1px solid rgba(0,0,0,0.12) !important; }
.dc9-footer-brand-pitch,
.dc9-brand-tagline { color: #4b5563 !important; }
.dc9-footer-bottom,
.dc9-copyright { border-top: 1px solid rgba(0,0,0,0.08) !important; color: #6b7280 !important; }
.dc9-footer-brand-cta { background: var(--dc9-accent, #1a1a1a) !important; color: #ffffff !important; }
.dc9-footer-brand-cta:hover { background: var(--dc9-primary, #000) !important; color: #ffffff !important; }

/* BOUTONS CTA : texte blanc force (garde-fou contre texte=fond) */
.dc9-btn--cta,
a.dc9-btn--cta,
button.dc9-btn--cta { color: #ffffff !important; }
.dc9-btn--cta:hover { color: #ffffff !important; }
.dc9-btn--ctr { color: #ffffff !important; }
.dc9-btn--ctr:hover { color: #ffffff !important; }

/* BOUTONS FOOTER (CTA + search) : texte blanc force */
.dc9-footer-brand-cta,
.dc9-footer-brand-cta:visited { color: #ffffff !important; }
.dc9-footer-brand-cta:hover { color: #ffffff !important; }
.dc9-footer-search-btn { color: #ffffff !important; }
.dc9-footer-search-btn svg { color: #ffffff !important; stroke: #ffffff !important; }
.dc9-footer-search-btn:hover { color: #ffffff !important; }
.dc9-footer-search-field { color: #1a1a1a !important; background: #ffffff !important; }
.dc9-footer-search-field::placeholder { color: rgba(0,0,0,0.5) !important; }

/* DRAWER MOBILE : fond blanc + texte sombre */
.dc9-drawer,
.dc9-nav-mobile,
.dc9-mobile-menu { background: #ffffff !important; }
.dc9-drawer a,
.dc9-nav-mobile a,
.dc9-mobile-menu a { color: #0a0a0a !important; }

/* CARDS BODY : texte lisible sur fond clair */
.dc9-card-body h3,
.dc9-card-body p { color: inherit; }

/* ANTI-GAP About : verrouille les margins entre .home-about et TOUTES les sections voisines
   (l'ordre HOME_SECTIONS_ORDER V0-V5 place About à des positions différentes = besoin d'un
   verrou général pour éviter les trous visibles entre sections adjacentes) */
.dc9-home-about { margin: 0 !important; }
.dc9-hero { margin-bottom: 0 !important; }
.dc9-categories, .dc9-latest, .dc9-home-intro { margin-top: 0 !important; margin-bottom: 0 !important; }
.dc9-home-about + section { margin-top: 0 !important; }
section + .dc9-home-about { margin-top: 0 !important; }
.dc9-home-about + .dc9-footer, .dc9-home-about + footer { margin-top: 0 !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; }
