/* =============================================================
   IREN SKIN & BEAUTY — STYLE.CSS
   Design System : Culturel Finlandais Marimekko (Outfit + Manrope)
   Palette éditoriale dérivée de Vogue.fr + accent Marimekko #D92F20
   ============================================================= */

:root {
  --a82-primary:    #1A1A1A;
  --a82-accent:     #D92F20;
  --a82-text:       #0A0A0A;
  --a82-text-soft:  #636363;
  --a82-bg:         #FFFFFF;
  --a82-surface:    #F8F8F8;
  --a82-line:       #E0E0E0;
  --a82-font-head:  'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --a82-font-body:  'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --a82-radius:     6px;
  --a82-container:  1240px;
  --header-height: 80px;
}

/* ============ RESET LÉGER ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.a82-body {
  margin: 0;
  font-family: var(--a82-font-body);
  color: var(--a82-text);
  background: var(--a82-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--a82-text); transition: color .2s ease; }
a:hover { color: var(--a82-accent); }
h1, h2, h3, h4, h5 { font-family: var(--a82-font-head); color: var(--a82-text); line-height: 1.2; margin: 0 0 .8rem; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
p { margin: 0 0 1rem; }

.a82-container { max-width: var(--a82-container); margin: 0 auto; padding: 0 1.5rem; }
main, .a82-main { padding-top: 0 !important; margin-top: 0 !important; }

/* ============ HEADER (logo-left-menu-center) ============ */
.a82-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--a82-bg);
  border-bottom: 1px solid var(--a82-line);
  padding: .8rem 0;
}
.a82-header-inner {
  max-width: var(--a82-container);
  margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center;
  justify-content: center; gap: 2rem;
}
.a82-brand { flex-shrink: 0; display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.a82-brand-logo { max-height: 48px; width: auto; }
.a82-brand-name {
  font-family: var(--a82-font-head); font-weight: 700;
  font-size: 1.25rem; color: var(--a82-primary);
  letter-spacing: -.01em;
}
.a82-brand-tagline {
  display: none;
  font-family: var(--a82-font-body);
  font-size: .72rem; color: var(--a82-text-soft);
  text-transform: uppercase; letter-spacing: .12em;
}
.a82-nav-desktop { display: none; }
.a82-nav-desktop-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1.6rem; align-items: center;
  position: relative;
}
.a82-nav-desktop-list li { margin: 0; }
.a82-nav-desktop-list a {
  text-decoration: none;
  font-family: var(--a82-font-head);
  font-size: .92rem; font-weight: 500;
  color: var(--a82-text);
  text-transform: uppercase; letter-spacing: .06em;
  padding: .4rem .2rem;
}
.a82-nav-desktop-list a:hover { color: var(--a82-accent); }

.a82-burger {
  display: inline-flex !important;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  min-width: 42px; min-height: 42px;
  padding: 8px;
  background: rgba(255,255,255,0.92);
  border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 8px;
  color: var(--a82-primary);
  cursor: pointer; z-index: 10000;
  flex-shrink: 0; position: relative;
}
.a82-burger-bars { display: flex; flex-direction: column; gap: 4px; width: 24px; height: 16px; }
.a82-burger-bars span { display: block; height: 2px; background: var(--a82-primary); border-radius: 1px; }

/* DESKTOP — nav visible, burger caché */
@media (min-width: 1024px) {
  .a82-nav-desktop { display: flex; flex: 1; justify-content: center; }
  .a82-burger { display: none !important; }
}

/* MOBILE — drawer hidden by default */
.a82-nav-mobile { display: none; }
@media (max-width: 1023px) {
  .a82-header-inner { justify-content: space-between; }
  .a82-nav-mobile.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 86%; max-width: 380px;
    background: var(--a82-bg); padding: 4.5rem 1.5rem 2rem;
    z-index: 9999; overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,.25);
  }
  .a82-nav-mobile.is-open .a82-nav-mobile-list { list-style: none; margin: 0; padding: 0; }
  .a82-nav-mobile.is-open .a82-nav-mobile-list li { border-bottom: 1px solid var(--a82-line); }
  .a82-nav-mobile.is-open .a82-nav-mobile-list a {
    display: block; padding: 1rem .2rem;
    text-decoration: none; color: var(--a82-text);
    font-family: var(--a82-font-head);
    font-size: 1rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .06em;
  }
  .a82-nav-mobile-close {
    position: absolute; top: 1rem; right: 1rem;
    background: transparent; border: 0; font-size: 1.5rem; cursor: pointer;
    color: var(--a82-primary);
  }
  .a82-drawer-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.55);
    z-index: 9998; display: none;
  }
  .a82-drawer-overlay.is-visible { display: block; }
  .a82-drawer-cta {
    display: block !important;
    margin: 2rem 0 1rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--a82-accent) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    font-family: var(--a82-font-head);
    letter-spacing: .04em;
  }
}
@media (min-width: 1024px) {
  .a82-drawer-cta { display: none !important; }
  .a82-drawer-overlay { display: none !important; }
}

/* ============ HERO — split-50-50 ============ */
.a82-hero {
  position: relative;
  background: var(--a82-bg);
}
.a82-hero--split-50-50 {
  display: grid; grid-template-columns: 1fr;
  min-height: 70vh;
}
@media (min-width: 900px) {
  .a82-hero--split-50-50 { grid-template-columns: 1fr 1fr; }
}
.a82-hero-text {
  padding: 4rem 2.5rem;
  display: flex; flex-direction: column;
  justify-content: center;
  background: var(--a82-bg);
  position: relative; z-index: 2;
}
.a82-hero-eyebrow {
  font-family: var(--a82-font-head);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--a82-accent);
  margin-bottom: 1.2rem;
}
.a82-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 1.2rem;
  color: var(--a82-primary);
  line-height: 1.05;
}
.a82-hero-subtitle {
  font-size: 1.1rem;
  color: var(--a82-text-soft);
  max-width: 520px;
  margin-bottom: 2rem;
}
.a82-hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.a82-hero-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: var(--a82-surface);
}
.a82-hero--has-video .a82-hero-media { background: #000; }
.a82-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.a82-hero-video-wrap {
  position: absolute; inset: 0;
  pointer-events: none;
}
.a82-hero-video {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.a82-hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%);
}

/* ============ EDITORIAL INTRO HOME (anti-empreinte after-hero) ============ */
.a82-editorial {
  background: var(--a82-surface);
  padding: 4rem 0;
  border-top: 1px solid var(--a82-line);
  border-bottom: 1px solid var(--a82-line);
}
.a82-editorial-inner { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }
.a82-editorial h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--a82-primary);
  border-bottom: 3px solid var(--a82-accent);
  padding-bottom: .6rem; display: inline-block;
  margin-bottom: 1.5rem;
}
.a82-editorial h3 {
  font-size: 1.25rem; color: var(--a82-primary);
  margin-top: 2rem; margin-bottom: .6rem;
}
.a82-editorial p {
  font-size: 1.05rem; color: var(--a82-text);
  line-height: 1.7;
}
.a82-editorial .a82-ligne-card {
  margin-top: 2rem; padding: 1.5rem;
  background: var(--a82-bg);
  border-left: 4px solid var(--a82-accent);
  border-radius: var(--a82-radius);
}
.a82-editorial .a82-ligne-card h4 {
  font-family: var(--a82-font-head);
  font-size: 1rem;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: .5rem; color: var(--a82-accent);
}
.a82-editorial a { color: var(--a82-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============ CATEGORIES GRID ============ */
.a82-section { padding: 4rem 0; }
.a82-section-title {
  text-align: center; margin-bottom: 2.5rem;
}
.a82-section-title h2 {
  display: inline-block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--a82-primary);
  position: relative; padding-bottom: .6rem;
}
.a82-section-title h2::after {
  content: ''; position: absolute; left: 25%; right: 25%; bottom: 0;
  height: 3px; background: var(--a82-accent);
}
.a82-section-title p {
  color: var(--a82-text-soft); max-width: 620px;
  margin: 1rem auto 0; font-size: 1rem;
}
.a82-categories-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.a82-cat-card {
  display: block; text-decoration: none;
  background: var(--a82-bg);
  border: 1px solid var(--a82-line);
  border-radius: var(--a82-radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 340px;
  position: relative;
}
.a82-cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.a82-cat-card-img {
  display: block;
  width: 100%; height: 65%;
  background-size: cover; background-position: center;
  background-color: var(--a82-primary);
}
.a82-cat-card-body { padding: 1rem 1.2rem; }
.a82-cat-card h3 {
  margin: 0; font-size: 1.1rem;
  color: var(--a82-primary);
  text-transform: uppercase; letter-spacing: .04em;
}
.a82-cat-card span {
  display: block; margin-top: .4rem;
  font-size: .82rem; color: var(--a82-accent);
  font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em;
}

/* ============ ARTICLE CARDS / LATEST ============ */
.a82-latest { background: var(--a82-bg); }
.a82-articles-grid {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) {
  .a82-articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .a82-articles-grid { grid-template-columns: 1fr; }
}
.a82-article-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--a82-text);
  background: var(--a82-bg);
  border: 1px solid var(--a82-line);
  border-radius: var(--a82-radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.a82-article-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,.10); }
.a82-article-card-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover; background: var(--a82-surface);
}
.a82-article-card-body { padding: 1.2rem 1.4rem 1.4rem; }
.a82-article-card-cat {
  display: inline-block;
  font-size: .72rem; font-weight: 600;
  color: var(--a82-accent);
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: .6rem;
}
.a82-article-card-title {
  font-family: var(--a82-font-head);
  font-size: 1.15rem; font-weight: 600;
  color: var(--a82-primary);
  margin: 0 0 .6rem; line-height: 1.3;
}
.a82-article-card-excerpt {
  font-size: .92rem;
  color: var(--a82-text-soft);
  margin: 0; line-height: 1.55;
}
.a82-article-card-date {
  display: block; margin-top: .8rem;
  font-size: .78rem; color: var(--a82-text-soft);
  text-transform: uppercase; letter-spacing: .08em;
}

/* ============ EMBED TOOL ON HOME ============ */
.a82-home-tool {
  background: var(--a82-surface);
  padding: 4rem 0;
  border-top: 1px solid var(--a82-line);
}
.a82-home-tool-inner { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }
.a82-home-tool h2 { text-align: center; margin-bottom: .8rem; }
.a82-home-tool > .a82-home-tool-inner > p {
  text-align: center; color: var(--a82-text-soft);
  max-width: 620px; margin: 0 auto 2.5rem;
}

/* ============ FOOTER ============ */
.a82-footer {
  background: var(--a82-primary);
  color: #F5F5F5;
  padding: 4rem 0 1.5rem;
  margin-top: 4rem;
}
.a82-footer a { color: #F5F5F5; text-decoration: none; transition: color .2s ease; }
.a82-footer a:hover { color: var(--a82-accent); text-decoration: underline; }
.a82-footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  max-width: var(--a82-container);
  margin: 0 auto; padding: 0 1.5rem;
}
@media (max-width: 900px) {
  .a82-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .a82-footer-grid { grid-template-columns: 1fr; }
}
.a82-footer-col .a82-footer-title {
  font-family: var(--a82-font-head);
  font-size: .85rem; font-weight: 600;
  color: #fff;
  text-transform: uppercase; letter-spacing: .15em;
  margin: 0 0 1rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--a82-accent);
  display: inline-block;
}
.a82-footer-logo {
  display: block; max-height: 60px; height: auto;
  width: auto; margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.a82-footer-brand-pitch {
  font-size: .92rem; line-height: 1.6;
  color: #DCDCDC; margin-bottom: 1.2rem;
}
.a82-footer-brand-cta {
  display: inline-block;
  font-family: var(--a82-font-head);
  font-size: .85rem; font-weight: 600;
  color: var(--a82-accent) !important;
  text-transform: uppercase; letter-spacing: .08em;
  border-bottom: 2px solid var(--a82-accent);
  padding-bottom: 2px;
}
.a82-footer-links { list-style: none; margin: 0; padding: 0; }
.a82-footer-links li { margin: .55rem 0; }
.a82-footer-links a { font-size: .92rem; color: #DCDCDC; }
.a82-footer-bottom {
  max-width: var(--a82-container);
  margin: 3rem auto 0; padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .82rem; color: #B0B0B0;
}
.a82-footer-social {
  display: flex; gap: .8rem; align-items: center;
}
.a82-footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  transition: all .2s ease;
}
.a82-footer-social a:hover {
  background: var(--a82-accent);
  border-color: var(--a82-accent);
  text-decoration: none;
}

/* ============ PERSONA PHOTO ============ */
.a82-persona-photo {
  display: block;
  max-width: 320px; width: 100%;
  border-radius: var(--a82-radius);
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* ============ CONTACT FORM WRAPPER ============ */
.a82-contact-form {
  margin: 2rem 0;
  background: var(--a82-bg);
  border: 1px solid var(--a82-line);
  border-radius: var(--a82-radius);
  overflow: hidden;
}

/* ============ CATEGORY PAGE ============ */
.a82-cat-hero {
  position: relative;
  height: 320px; max-height: 350px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.a82-cat-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.a82-cat-hero-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  padding: 2rem 1.5rem;
  max-width: var(--a82-container);
  margin: 0 auto;
}
.a82-cat-hero-inner h1 {
  color: #fff; font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
  margin: 0;
}
.a82-cat-description {
  max-width: var(--a82-container);
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
  font-size: 1.05rem; line-height: 1.7;
  color: var(--a82-text);
}

/* ============ ANIMATIONS CTA / CTR / CTO ============ */
@keyframes a82-cta-double-pulse {
  0%,100% { transform: translateY(0); box-shadow: 0 4px 14px rgba(217,47,32,.25); }
  50%     { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(217,47,32,.45); }
}
.a82-btn--cta {
  display: inline-block;
  padding: .85rem 1.6rem;
  background: var(--a82-accent);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: var(--a82-radius);
  animation: a82-cta-double-pulse 2.8s ease-in-out infinite;
  font-family: var(--a82-font-head);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .9rem;
  transition: background .2s ease;
}
.a82-btn--cta:hover { background: var(--a82-primary); animation-play-state: paused; text-decoration: none !important; }
.a82-btn--cta-secondary {
  display: inline-block;
  padding: .85rem 1.6rem;
  background: transparent;
  color: var(--a82-primary) !important;
  font-weight: 600;
  text-decoration: none !important;
  border: 1.5px solid var(--a82-primary);
  border-radius: var(--a82-radius);
  font-family: var(--a82-font-head);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .9rem;
  transition: all .2s ease;
}
.a82-btn--cta-secondary:hover { background: var(--a82-primary); color: #fff !important; text-decoration: none !important; }

@keyframes a82-ctr-step-progress {
  0% { width: 0; } 25% { width: 25%; } 50% { width: 50%; } 75% { width: 75%; } 100% { width: 100%; }
}
.a82-ctr-progress {
  position: relative; height: 6px;
  background: var(--a82-line);
  border-radius: 3px; overflow: hidden;
  margin: 1rem 0;
}
.a82-ctr-progress::after {
  content: ''; position: absolute; top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, var(--a82-accent), var(--a82-primary));
  animation: a82-ctr-step-progress 6s steps(4, end) infinite;
}

@keyframes a82-cto-ribbon-shine {
  0% { transform: translateX(-100%); } 100% { transform: translateX(200%); }
}
.a82-cto-ribbon {
  position: relative; display: inline-block;
  padding: .4rem 1.2rem;
  background: var(--a82-accent); color: #fff;
  font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em;
  overflow: hidden; transform: rotate(-2deg);
}
.a82-cto-ribbon::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: a82-cto-ribbon-shine 2.4s ease-in-out infinite;
}

/* ============ MOUSE EFFECT — nav_hover_active_indicator ============ */
.a82-nav-desktop-list, .a82-nav-list { position: relative; }
.a82-nav-desktop-list a, .a82-nav-list a {
  position: relative; padding: .5rem .4rem; transition: color .2s ease;
}
.a82-nav-hover-indicator {
  position: absolute; bottom: -2px; height: 3px;
  background: var(--a82-accent);
  transition: left .35s cubic-bezier(.4,0,.2,1), width .35s cubic-bezier(.4,0,.2,1), opacity .2s ease;
  opacity: 0; pointer-events: none;
  border-radius: 2px;
}
.a82-nav-hover-indicator.is-visible { opacity: 1; }
@media (hover: none) { .a82-nav-hover-indicator { display: none; } }

/* ============ INTERNAL LINKS COLOR (editorial body) ============ */
.a82-editorial a, .a82-cat-description a, .post-content a { color: var(--a82-accent); }

/* ============ RESPONSIVE TWEAKS ============ */
@media (max-width: 900px) {
  .a82-hero-text { padding: 3rem 1.5rem; }
  .a82-section { padding: 3rem 0; }
}


/* Theme overrides */
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*="a82-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(--a82-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.
============================================================ */
.a82-media-press {
  padding: 2.5rem 0;
  background: var(--a82-bg-soft, var(--a82-color-surface, #f9fafb));
  margin: 2rem 0;
}
.a82-media-press > .a82-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.a82-media-press-title {
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a82-color-text-soft, var(--a82-color-muted, #5a6a85));
  margin: 0 0 1.6rem;
  font-weight: 600;
}
.a82-media-press-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
}
.a82-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%);
}
.a82-media-press-item:hover,
.a82-media-press-item:focus {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}
.a82-media-press-item img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 640px) {
  .a82-media-press { padding: 1.8rem 0; }
  .a82-media-press-grid { gap: 1.4rem; }
  .a82-media-press-item { max-width: 110px; min-height: 36px; }
  .a82-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) */
.a82-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);
}
.a82-media-press .a82-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;
}
.a82-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(--a82-muted, #666);
  flex: 0 0 auto;
}
.a82-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;
}
.a82-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;
}
.a82-media-press-item:hover:hover,
section[class*="media-press"] [class*="item"]:hover {
  opacity: 1;
}
.a82-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;
}
.a82-media-press a:hover imga:hover img {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .a82-media-press .a82-container,
  section[class*="media-press"] [class*="container"] {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}



.a82-cat-hero--align-left .a82-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;
}
.a82-cat-hero--align-center .a82-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: 16px !important; }
  [class*="-burger-bars"] > *:nth-child(2), [class*="-burger"] > span > *:nth-child(2) { width: 24px !important; }
  [class*="-burger-bars"] > *:nth-child(3), [class*="-burger"] > span > *:nth-child(3) { width: 24px !important; }
}


/* Mouse effect : nav_hover_active_indicator */
.a82-nav-desktop-list, .a82-nav-list { position: relative; } .a82-nav-desktop-list a, .a82-nav-list a { position: relative; padding: .5rem .8rem; transition: color .2s ease; } .a82-nav-hover-indicator { position: absolute; bottom: -2px; height: 3px; background: var(--a82-accent, #D92F20); transition: left .35s cubic-bezier(.4,0,.2,1), width .35s cubic-bezier(.4,0,.2,1), opacity .2s ease; opacity: 0; pointer-events: none; border-radius: 2px; } .a82-nav-hover-indicator.is-visible { opacity: 1; } @media (hover: none) { .a82-nav-hover-indicator { display: none; } }
