/* ============================================================
   LE RICCOTY — Custom theme styles
   Design System: Seasonal Noel Cosy (burgundy/or/creme)
   Fonts: Recoleta (headings) + Karla (body)
   Hero: fade-reveal | Header: logo-left-menu-right | Cat: tldr-detailed
   Articles mode: by-category (2 per cat)
   ============================================================ */

:root {
  --ac6-primary: #8B2A1F;
  --ac6-accent: #D4AF37;
  --ac6-text: #2A0F08;
  --ac6-text-soft: #7A5040;
  --ac6-bg: #F5EDE0;
  --ac6-surface: #FAF4E5;
  --ac6-line: #E5D5B5;
  --ac6-shadow-sm: 0 2px 8px rgba(42, 15, 8, 0.08);
  --ac6-shadow-md: 0 6px 24px rgba(139, 42, 31, 0.12);
  --ac6-shadow-lg: 0 14px 40px rgba(42, 15, 8, 0.18);
  --ac6-radius-sm: 6px;
  --ac6-radius-md: 10px;
  --ac6-radius-lg: 16px;
  --ac6-font-h: "Recoleta", Georgia, "Times New Roman", serif;
  --ac6-font-b: "Karla", -apple-system, "Segoe UI", Roboto, sans-serif;
  --ac6-container: 1240px;
  --ac6-gap: clamp(1.25rem, 3vw, 2rem);
  --ac6-section-y: clamp(3rem, 7vw, 5.5rem);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.ac6-body {
  margin: 0;
  font-family: var(--ac6-font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ac6-text);
  background: var(--ac6-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ac6-primary); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus-visible { color: var(--ac6-text); text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
main, .ac6-main { padding-top: 0 !important; margin-top: 0 !important; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ac6-font-h);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ac6-text);
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.ac6-container,
.eea-container {
  max-width: var(--ac6-container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  width: 100%;
}

/* ---------- BUTTONS ---------- */
.ac6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.45rem;
  border-radius: var(--ac6-radius-md);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
.ac6-btn--primary { background: var(--ac6-primary); color: #fff; }
.ac6-btn--primary:hover { background: var(--ac6-text); color: #fff; }
.ac6-btn--ghost { background: transparent; color: var(--ac6-primary); border-color: var(--ac6-primary); }
.ac6-btn--ghost:hover { background: var(--ac6-primary); color: #fff; }

/* CTA animation: slide_fill_button */
.ac6-btn--cta {
  position: relative;
  overflow: hidden;
  z-index: 1;
  isolation: isolate;
  background: var(--ac6-primary);
  color: #fff;
  padding: .9rem 1.6rem;
  border-radius: var(--ac6-radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: color .35s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ac6-btn--cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ac6-text);
  transform: translateX(-101%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
}
.ac6-btn--cta:hover::before,
.ac6-btn--cta:focus-visible::before { transform: translateX(0); }
.ac6-btn--cta:hover, .ac6-btn--cta:focus-visible { color: var(--ac6-bg); }

/* CTR animation: parallax_section */
.ac6-parallax {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}
.ac6-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 15, 8, 0.55), rgba(42, 15, 8, 0.75));
  z-index: 0;
}
.ac6-parallax > * { position: relative; z-index: 1; }
@media (max-width: 1024px) { .ac6-parallax { background-attachment: scroll; } }
@media (prefers-reduced-motion: reduce) { .ac6-parallax { background-attachment: scroll; } }

/* CTO animation: guarantee_badge */
@keyframes ac6-badge-pulse {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.06); }
}
.ac6-badge--guarantee {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--ac6-accent);
  color: var(--ac6-text);
  padding: .6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  animation: ac6-badge-pulse 2.8s ease-in-out infinite;
  transform-origin: center;
}
@media (prefers-reduced-motion: reduce) { .ac6-badge--guarantee { animation: none; } }

/* ---------- HEADER (logo-left-menu-right, Christmas cosy) ---------- */
.ac6-header {
  background: var(--ac6-surface);
  border-bottom: 1px solid var(--ac6-line);
  box-shadow: var(--ac6-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ac6-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: .85rem clamp(1rem, 3vw, 2rem);
  max-width: var(--ac6-container);
  margin: 0 auto;
  min-height: 72px;
}
.ac6-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.ac6-brand:hover { text-decoration: none; }
.ac6-brand-logo { width: auto; }
.ac6-brand-name {
  font-family: var(--ac6-font-h);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ac6-primary);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
}

/* Desktop nav horizontal */
.ac6-nav-desktop { display: none; }
.ac6-nav-desktop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.ac6-nav-desktop-list a {
  color: var(--ac6-text);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: .35rem .15rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.ac6-nav-desktop-list a:hover,
.ac6-nav-desktop-list .current-menu-item > a,
.ac6-nav-desktop-list .current-cat > a {
  border-bottom-color: var(--ac6-accent);
  color: var(--ac6-primary);
}

/* Burger (mobile only) — propre, palette Le Riccoty */
.ac6-burger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--ac6-primary);
  border-radius: 8px;
  color: var(--ac6-primary);
  cursor: pointer;
  z-index: 10000;
  margin-left: auto;
  flex-shrink: 0;
  transition: background .2s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.ac6-burger:hover {
  background: rgba(139, 42, 31, 0.10);
}
.ac6-burger:active { transform: scale(.96); }
.ac6-burger:focus-visible {
  outline: 2px solid var(--ac6-accent);
  outline-offset: 3px;
}
.ac6-burger-bars {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
}
.ac6-burger-bars span {
  display: block !important;
  width: 100%;
  height: 2.5px;
  background: var(--ac6-primary);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, background-color .25s ease;
}

/* État ouvert : 3 barres → X */
.ac6-burger[aria-expanded="true"] {
  background: var(--ac6-primary);
}
.ac6-burger[aria-expanded="true"] .ac6-burger-bars span {
  background: var(--ac6-bg);
}
.ac6-burger[aria-expanded="true"] .ac6-burger-bars span:nth-child(1) {
  transform: translateY(6.75px) rotate(45deg);
}
.ac6-burger[aria-expanded="true"] .ac6-burger-bars span:nth-child(2) {
  opacity: 0;
}
.ac6-burger[aria-expanded="true"] .ac6-burger-bars span:nth-child(3) {
  transform: translateY(-6.75px) rotate(-45deg);
}
@media (prefers-reduced-motion: reduce) {
  .ac6-burger,
  .ac6-burger-bars span { transition: none !important; }
}

/* Mobile drawer */
.ac6-nav-mobile { display: none; }
.ac6-nav-mobile.is-open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 380px;
  background: #ffffff;
  padding: 4.5rem 1.5rem 2rem;
  z-index: 9999;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}
.ac6-nav-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.ac6-nav-mobile-list li {
  border-bottom: 1px solid var(--ac6-line);
}
.ac6-nav-mobile-list a {
  display: block;
  padding: 1rem .25rem;
  color: var(--ac6-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.ac6-nav-mobile-list a:hover { color: var(--ac6-primary); }
.ac6-drawer-cta {
  display: block !important;
  margin: 2rem 0 1rem !important;
  padding: 1rem 1.5rem !important;
  text-align: center;
  background: var(--ac6-primary) !important;
  color: #fff !important;
  border-radius: var(--ac6-radius-md);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
}
.ac6-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--ac6-radius-md);
  background: var(--ac6-surface);
  border: 1.5px solid var(--ac6-line);
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--ac6-primary);
  line-height: 1;
  padding: 0;
  box-shadow: var(--ac6-shadow-sm);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .15s ease;
}
.ac6-drawer-close:hover {
  background: var(--ac6-primary);
  border-color: var(--ac6-primary);
  color: #fff;
}
.ac6-drawer-close:active { transform: scale(.96); }
.ac6-drawer-close:focus-visible {
  outline: 2px solid var(--ac6-accent);
  outline-offset: 3px;
}
.ac6-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42, 15, 8, 0.5);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.ac6-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

/* Header responsive: desktop horizontal nav, mobile burger */
@media (min-width: 1024px) {
  .ac6-nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    margin: 0 1rem;
  }
  .ac6-burger { display: none !important; }
  .ac6-drawer-cta { display: none !important; }
}
@media (max-width: 1023px) {
  .ac6-header-inner { justify-content: space-between; gap: .5rem; }
  .ac6-brand-name { font-size: 1.2rem; }
}

/* ---------- HERO (fade-reveal style) ---------- */
.ac6-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 65vh, 620px);
  display: flex;
  align-items: center;
  background: var(--ac6-surface);
}
.ac6-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  animation: ac6-hero-fade 1.4s ease-out .15s forwards;
}
@keyframes ac6-hero-fade {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
.ac6-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--ac6-container);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
}
.ac6-hero-content {
  max-width: 720px;
  background: rgba(245, 237, 224, 0.94);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--ac6-radius-lg);
  border: 1px solid var(--ac6-line);
  box-shadow: var(--ac6-shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: ac6-hero-reveal 1s ease-out .55s forwards;
}
@keyframes ac6-hero-reveal {
  to { opacity: 1; transform: translateY(0); }
}
.ac6-hero-eyebrow {
  display: inline-block;
  font-family: var(--ac6-font-b);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ac6-primary);
  margin-bottom: .9rem;
  padding: .35rem .8rem;
  border: 1.5px solid var(--ac6-primary);
  border-radius: 4px;
}
.ac6-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 1rem;
  color: var(--ac6-text);
  line-height: 1.1;
}
.ac6-hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ac6-text-soft);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}
.ac6-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- EDITORIAL INTRO (home SEO 400-700 mots) ---------- */
.ac6-editorial {
  padding: var(--ac6-section-y) 0;
  background: var(--ac6-bg);
}
.ac6-editorial-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.ac6-editorial h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--ac6-primary);
  margin: 2rem 0 1rem;
  position: relative;
  padding-bottom: .5rem;
}
.ac6-editorial h2:first-child { margin-top: 0; }
.ac6-editorial h2::after {
  content: '';
  display: block;
  width: 58px;
  height: 3px;
  background: var(--ac6-accent);
  margin-top: .5rem;
  border-radius: 2px;
}
.ac6-editorial h3 { font-size: 1.3rem; color: var(--ac6-text); margin: 1.5rem 0 .5rem; }
.ac6-editorial p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ac6-text);
  margin-bottom: 1.15rem;
}
.ac6-editorial p a {
  color: var(--ac6-primary);
  text-decoration: underline;
  text-decoration-color: var(--ac6-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.ac6-editorial-pillar {
  background: var(--ac6-surface);
  padding: 1.5rem 1.75rem;
  border-radius: var(--ac6-radius-md);
  border-left: 4px solid var(--ac6-accent);
  margin: 2rem 0;
}
.ac6-editorial-pillar h3 { margin-top: 0; color: var(--ac6-primary); }

/* ---------- CATEGORIES GRID ---------- */
.ac6-section { padding: var(--ac6-section-y) 0; }
.ac6-section-header {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 720px;
}
.ac6-section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--ac6-primary);
  margin-bottom: .65rem;
}
.ac6-section-header h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  background: var(--ac6-accent);
  margin: .7rem auto 0;
  border-radius: 2px;
}
.ac6-section-header p {
  color: var(--ac6-text-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* By-category sections (home in by-category mode) */
.ac6-cat-block {
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-top: 1px solid var(--ac6-line);
}
.ac6-cat-block:first-of-type { border-top: 0; }
.ac6-cat-block-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ac6-cat-block-header h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
}
.ac6-cat-block-header h2 a {
  color: var(--ac6-primary);
  text-decoration: none;
}
.ac6-cat-block-header h2 a:hover { color: var(--ac6-text); }
.ac6-cat-block-link {
  color: var(--ac6-text-soft);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  border-bottom: 1.5px solid var(--ac6-line);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.ac6-cat-block-link:hover { color: var(--ac6-primary); border-color: var(--ac6-accent); }

.ac6-cat-block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.ac6-cat-empty {
  padding: 1.5rem;
  background: var(--ac6-surface);
  border-radius: var(--ac6-radius-md);
  text-align: center;
  color: var(--ac6-text-soft);
  font-style: italic;
}

/* Category cards on home (rubriques section, fallback when no articles) */
.ac6-categories-section { padding: var(--ac6-section-y) 0; background: var(--ac6-surface); }
.ac6-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.ac6-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ac6-bg);
  border-radius: var(--ac6-radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--ac6-text);
  border: 1px solid var(--ac6-line);
  transition: transform .3s ease, box-shadow .3s ease;
  min-height: 260px;
}
.ac6-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ac6-shadow-md);
  text-decoration: none;
}
.ac6-cat-card-img {
  display: block;
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--ac6-primary);
}
.ac6-cat-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.ac6-cat-card-name {
  font-family: var(--ac6-font-h);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 .4rem;
  color: var(--ac6-primary);
}
.ac6-cat-card-desc {
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ac6-text-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- ARTICLE CARDS ---------- */
.ac6-card {
  display: flex;
  flex-direction: column;
  background: var(--ac6-surface);
  border: 1px solid var(--ac6-line);
  border-radius: var(--ac6-radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--ac6-text);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ac6-card:hover {
  transform: translateY(-4px);
  border-color: var(--ac6-accent);
  box-shadow: var(--ac6-shadow-md);
  text-decoration: none;
}
.ac6-card-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--ac6-line);
}
.ac6-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ac6-card-body { padding: 1.2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ac6-card-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  color: var(--ac6-text-soft);
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}
.ac6-card-meta a { color: var(--ac6-primary); text-decoration: none; }
.ac6-card-title {
  font-family: var(--ac6-font-h);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 .6rem;
  color: var(--ac6-text);
}
.ac6-card-excerpt {
  color: var(--ac6-text-soft);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}
.ac6-card-readmore {
  color: var(--ac6-primary);
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

/* ---------- CATEGORY PAGE (tldr-detailed layout) ---------- */
.ac6-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: var(--ac6-primary);
}
.ac6-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: .85;
}
.ac6-cat-hero .eea-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
  background: linear-gradient(180deg, transparent 30%, rgba(42, 15, 8, 0.75) 100%);
}
.ac6-cat-hero h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.ac6-cat-tldr {
  padding: 2.5rem 0 0;
  background: var(--ac6-bg);
}
.ac6-cat-tldr-box {
  background: var(--ac6-surface);
  border-left: 4px solid var(--ac6-accent);
  padding: 1.5rem 1.75rem;
  border-radius: var(--ac6-radius-md);
  margin-bottom: 2rem;
}
.ac6-cat-tldr-box h2 {
  margin: 0 0 .75rem;
  font-size: 1.15rem;
  color: var(--ac6-primary);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ac6-cat-tldr-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ac6-text);
}
.ac6-cat-detail {
  padding: 2.5rem 0;
  background: var(--ac6-bg);
}
.ac6-cat-detail-text {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ac6-text);
}
.ac6-cat-posts {
  padding: 0 0 var(--ac6-section-y);
}
.ac6-cat-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

/* ---------- PERSONA PHOTO ---------- */
.ac6-persona-photo {
  width: 100%;
  max-width: 360px;
  height: auto;
  float: right;
  margin: 0 0 1.5rem 1.75rem;
  border-radius: var(--ac6-radius-md);
  border: 4px solid var(--ac6-surface);
  box-shadow: var(--ac6-shadow-md);
  shape-outside: margin-box;
}
@media (max-width: 720px) {
  .ac6-persona-photo { float: none; margin: 0 0 1.5rem; max-width: 100%; }
}

/* ---------- CONTACT FORM ---------- */
.ac6-contact-form {
  margin: 2rem 0;
  background: var(--ac6-surface);
  padding: 1.5rem;
  border-radius: var(--ac6-radius-md);
  border: 1px solid var(--ac6-line);
}
.ac6-contact-form iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--ac6-radius-sm);
}

/* ---------- FOOTER (winter cosy) ---------- */
.ac6-footer {
  background: #1F0A05;
  color: #F5EDE0;
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  border-top: 4px solid var(--ac6-accent);
  margin-top: var(--ac6-section-y);
}
.ac6-footer a { color: #F5EDE0; text-decoration: none; border-bottom: 1px solid rgba(245, 237, 224, 0.25); }
.ac6-footer a:hover { color: var(--ac6-accent); border-color: var(--ac6-accent); }
.ac6-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 980px) {
  .ac6-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .ac6-footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}
.ac6-footer-col h3.ac6-footer-title {
  font-family: var(--ac6-font-h);
  font-size: 1.05rem;
  color: var(--ac6-accent);
  margin: 0 0 1.1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ac6-footer-logo {
  display: block;
  margin-bottom: 1rem;
  height: auto;
  max-width: 100px;
}
.ac6-footer-brand-pitch {
  font-size: .95rem;
  line-height: 1.65;
  color: #E5D5B5;
  margin: 0 0 1.25rem;
}
.ac6-footer-brand-cta {
  display: inline-block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ac6-accent) !important;
  border-bottom: 2px solid var(--ac6-accent) !important;
  padding-bottom: 2px;
}
.ac6-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ac6-footer-links li { margin-bottom: .65rem; }
.ac6-footer-links a {
  font-size: .95rem;
  color: #F5EDE0;
  border-bottom: none;
}
.ac6-footer-links a:hover { color: var(--ac6-accent); text-decoration: underline; }
.ac6-footer-social {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.ac6-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 237, 224, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: none;
  transition: background .2s ease, color .2s ease;
}
.ac6-footer-social a:hover { background: var(--ac6-accent); color: var(--ac6-text); }
.ac6-footer-social svg { width: 18px; height: 18px; }
.ac6-footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 237, 224, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: #C9B687;
}
.ac6-footer-bottom a { color: #C9B687; border-bottom: none; }
.ac6-footer-bottom a:hover { color: var(--ac6-accent); }

/* ---------- TOOL PAGES wrapper ---------- */
.ac6-tool-page {
  padding: var(--ac6-section-y) 0;
  background: var(--ac6-bg);
}
.ac6-tool-intro {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.ac6-tool-intro h1 {
  color: var(--ac6-primary);
  margin-bottom: 1rem;
}
.ac6-tool-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ac6-text);
}
.ac6-tool-faq {
  max-width: 820px;
  margin: 3rem auto 0;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.ac6-tool-faq h2 {
  color: var(--ac6-primary);
  font-size: 1.55rem;
  margin-bottom: 1.5rem;
}
.ac6-tool-faq details {
  background: var(--ac6-surface);
  border: 1px solid var(--ac6-line);
  border-radius: var(--ac6-radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
}
.ac6-tool-faq summary {
  font-weight: 700;
  color: var(--ac6-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.ac6-tool-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--ac6-accent);
  transition: transform .2s ease;
}
.ac6-tool-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ac6-tool-faq details p {
  margin-top: .75rem;
  color: var(--ac6-text);
  line-height: 1.65;
}

/* ---------- BREADCRUMBS ---------- */
.ac6-breadcrumbs {
  font-size: .85rem;
  color: var(--ac6-text-soft);
  padding: 1rem 0;
}
.ac6-breadcrumbs a {
  color: var(--ac6-primary);
  text-decoration: none;
}
.ac6-breadcrumbs a:hover { text-decoration: underline; }
.ac6-breadcrumbs .sep { margin: 0 .5rem; color: var(--ac6-line); }

/* ---------- SINGLE POST ---------- */
.ac6-single { padding: 2rem 0 4rem; background: var(--ac6-bg); }
.ac6-single article { max-width: 820px; margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.ac6-single h1 { color: var(--ac6-text); margin-bottom: 1rem; }
.ac6-single .entry-content { font-size: 1.05rem; line-height: 1.75; }
.ac6-single .entry-content h2 { color: var(--ac6-primary); margin-top: 2rem; }
.ac6-single .entry-content h3 { color: var(--ac6-text); margin-top: 1.5rem; }
.ac6-single .entry-content img { border-radius: var(--ac6-radius-md); margin: 1.5rem 0; }
.ac6-single .entry-content a { color: var(--ac6-primary); text-decoration: underline; text-decoration-color: var(--ac6-accent); }
.ac6-single .entry-content blockquote {
  border-left: 4px solid var(--ac6-accent);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--ac6-surface);
  font-style: italic;
  color: var(--ac6-text);
}

/* ---------- ACCESSIBILITY ---------- */
:focus-visible {
  outline: 2px solid var(--ac6-accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- UTILITY ---------- */
.ac6-text-center { text-align: center; }
.ac6-mt-2 { margin-top: 2rem; }
.ac6-mb-2 { margin-bottom: 2rem; }

/* ---------- PRINT ---------- */
@media print {
  .ac6-header, .ac6-footer, .ac6-nav-mobile, .ac6-burger { display: none !important; }
  body.ac6-body { background: #fff; color: #000; }
}


/* [2026-06-22] FORCE DISPLAY drawer mobile content
   Garantit que les catégories + CTA s'affichent quand .is-open */
.ac6-nav-mobile.is-open .ac6-nav-mobile-list,
.ac6-nav-mobile.is-open .ac6-nav-mobile-list li,
.ac6-nav-mobile.is-open .ac6-drawer-cta {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.ac6-nav-mobile.is-open .ac6-nav-mobile-list a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--ac6-text) !important;
  font-size: 1.05rem !important;
  padding: 1rem 0.25rem !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.ac6-nav-mobile.is-open .ac6-drawer-cta {
  background: var(--ac6-primary) !important;
  color: #fff !important;
  padding: 1rem 1.5rem !important;
  border-radius: 10px !important;
  text-align: center !important;
  margin: 2rem 0 1rem !important;
}
