/* =====================================================
   2 PIEDS 2 MAINS — Brutaliste Anti-Design × Magazine Soft
   Palette concurrent magicmaman : rose poudré / sauge / crème
   Polices DB (Minimaliste Zen Pierre) : Cormorant SC (titres) + Heebo (corps)
   Structure : layouts cassés, bordures épaisses, ombres décalées
   ===================================================== */

:root {
  --c43-primary:    #D88F9A;
  --c43-accent:     #61897e;
  --c43-text:       #1d1d1d;
  --c43-text-soft:  #686868;
  --c43-bg:         #F6F2EA;
  --c43-surface:    #FAF8F3;
  --c43-line:       #1d1d1d;
  --c43-line-soft:  #E9C6CA;
  --c43-yellow:     #FFEB54;
  --c43-shadow:     6px 6px 0 var(--c43-line);
  --c43-shadow-sm:  3px 3px 0 var(--c43-line);
  --c43-shadow-lg:  10px 10px 0 var(--c43-line);
  --c43-font-head:  'Bungee', 'Impact', sans-serif;
  --c43-font-body:  'Inconsolata', 'Courier New', monospace;
  --c43-radius:     0;
  --c43-border-w:   3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.c43-body {
  margin: 0;
  padding: 0;
  font-family: var(--c43-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c43-text);
  background: var(--c43-bg);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(0,0,0,0.025) 39px 40px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--c43-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .15s ease; }
a:hover { color: var(--c43-primary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--c43-font-head);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 .6em;
  color: var(--c43-text);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }
strong { font-weight: 700; background: var(--c43-yellow); padding: 0 .15em; }
em { font-style: italic; color: var(--c43-accent); }

img { max-width: 100%; height: auto; display: block; }

/* ================== LAYOUT ================== */
.c43-container,
.c43-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.c43-main {
  min-height: 60vh;
  padding-bottom: 80px;
}

/* ================== BOUTONS — neon_green_brutal réinterprété rose ================== */
.c43-btn,
.c43-btn--cta,
.c43-btn--ghost {
  display: inline-block;
  font-family: var(--c43-font-head);
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border: var(--c43-border-w) solid var(--c43-line);
  background: var(--c43-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--c43-shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.c43-btn:hover,
.c43-btn--cta:hover,
.c43-btn--ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--c43-line);
  color: #fff;
}
.c43-btn:active,
.c43-btn--cta:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--c43-line); }

.c43-btn--ghost { background: var(--c43-bg); color: var(--c43-text); }
.c43-btn--ghost:hover { background: var(--c43-yellow); color: var(--c43-text); }

.c43-btn--cta { background: var(--c43-primary); color: #fff; }

/* ================== HEADER — sticky-minimal cassé ================== */
.c43-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c43-bg);
  border-bottom: var(--c43-border-w) solid var(--c43-line);
}
.c43-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.c43-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c43-text);
}
.c43-brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border: 2px solid var(--c43-line);
  background: var(--c43-surface);
}
.c43-brand-name {
  font-family: var(--c43-font-head);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.c43-brand-name em {
  color: var(--c43-primary);
  font-style: normal;
}

/* Navigation principale + méga-menu */
.c43-nav { position: relative; }
.c43-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  align-items: center;
}
.c43-nav-list > li { position: relative; }
.c43-nav-list > li > a {
  font-family: var(--c43-font-head);
  font-size: .95rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c43-text);
  padding: 8px 4px;
  display: inline-block;
  position: relative;
  letter-spacing: .02em;
}
.c43-nav-list > li > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--c43-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.c43-nav-list > li:hover > a::after,
.c43-nav-list > li:focus-within > a::after { transform: scaleX(1); }

/* Méga-menu (yes == yes) */
.c43-megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 680px;
  background: var(--c43-bg);
  border: var(--c43-border-w) solid var(--c43-line);
  box-shadow: var(--c43-shadow);
  padding: 20px;
  display: none;
  z-index: 90;
}
.c43-nav-list > li:hover .c43-megamenu,
.c43-nav-list > li:focus-within .c43-megamenu { display: block; }
.c43-megamenu-title {
  font-family: var(--c43-font-head);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c43-line);
}
.c43-megamenu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.c43-megamenu-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: var(--c43-text);
  align-items: flex-start;
}
.c43-megamenu-item img,
.c43-megamenu-thumb-fallback {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border: 2px solid var(--c43-line);
  flex: 0 0 72px;
  background: var(--c43-primary);
}
.c43-megamenu-item-title {
  font-family: var(--c43-font-body);
  font-size: .92rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 4px;
}
.c43-megamenu-item-date {
  font-size: .78rem;
  color: var(--c43-text-soft);
}
.c43-megamenu-empty {
  font-style: italic;
  font-size: .9rem;
  color: var(--c43-text-soft);
}
.c43-megamenu-more {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--c43-font-head);
  font-size: .85rem;
  text-transform: uppercase;
  color: var(--c43-primary);
}

.c43-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: .85rem;
}

/* burger mobile */
.c43-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: var(--c43-border-w) solid var(--c43-line);
  background: var(--c43-bg);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.c43-burger span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--c43-text);
  position: relative;
}
.c43-burger span::before,
.c43-burger span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  background: var(--c43-text);
}
.c43-burger span::before { top: -7px; }
.c43-burger span::after  { top: 7px; }

@media (max-width: 900px) {
  .c43-burger { display: inline-flex; }
  .c43-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--c43-bg); border-bottom: var(--c43-border-w) solid var(--c43-line); padding: 16px 24px; }
  .c43-nav.is-open { display: block; }
  .c43-nav-list { flex-direction: column; align-items: flex-start; gap: 12px; }
  .c43-megamenu { position: static; width: 100%; box-shadow: none; border: none; padding: 8px 0 0; }
  .c43-header-cta { display: none; }
}

/* ================== HERO — split-50-50 ================== */
.c43-hero {
  position: relative;
  background: var(--c43-bg);
  border-bottom: var(--c43-border-w) solid var(--c43-line);
  overflow: hidden;
}
.c43-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.c43-hero-text {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--c43-border-w) solid var(--c43-line);
  background: var(--c43-surface);
  position: relative;
}
.c43-hero-text::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px;
  width: 60px; height: 60px;
  border: 4px solid var(--c43-accent);
  z-index: 0;
}
.c43-hero-tag {
  font-family: var(--c43-font-head);
  font-size: .85rem;
  letter-spacing: .15em;
  color: var(--c43-accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.c43-hero-title {
  font-family: var(--c43-font-head);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 0.95;
  margin: 0 0 24px;
  color: var(--c43-text);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.c43-hero-title em {
  color: var(--c43-primary);
  font-style: normal;
  background: var(--c43-yellow);
  padding: 0 .15em;
}
.c43-hero-subtitle {
  font-family: var(--c43-font-body);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--c43-text);
  margin: 0 0 32px;
  max-width: 480px;
  position: relative;
  z-index: 1;
}
.c43-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.c43-hero-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--c43-line-soft);
  min-height: 420px;
}
.c43-hero-image::after {
  content: '';
  position: absolute;
  bottom: 24px; right: 24px;
  width: 120px; height: 120px;
  background: var(--c43-primary);
  border: var(--c43-border-w) solid var(--c43-line);
}
@media (max-width: 800px) {
  .c43-hero-inner { grid-template-columns: 1fr; }
  .c43-hero-text { border-right: none; border-bottom: var(--c43-border-w) solid var(--c43-line); padding: 40px 24px; }
  .c43-hero-image { min-height: 320px; }
}

/* Hero vidéo (si yt_id) — overlay sombre UNIQUEMENT si vidéo */
.c43-hero--has-video { min-height: 70vh; position: relative; overflow: hidden; }
.c43-hero-video-wrap { position: absolute; inset: 0; pointer-events: none; }
.c43-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;
}
.c43-hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
}
.c43-hero--has-video .c43-hero-inner { position: relative; z-index: 2; }
.c43-hero--has-video .c43-hero-title,
.c43-hero--has-video .c43-hero-subtitle { color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

/* ================== SECTIONS HOME ================== */
.c43-section {
  padding: 72px 0;
  border-bottom: 2px dashed var(--c43-line-soft);
}
.c43-section--surface { background: var(--c43-surface); }
.c43-section--primary { background: var(--c43-primary); color: #fff; }
.c43-section--primary h2,
.c43-section--primary p { color: #fff; }
.c43-section-header {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: var(--c43-border-w) solid var(--c43-line);
  padding-bottom: 16px;
}
.c43-section-eyebrow {
  font-family: var(--c43-font-head);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c43-accent);
  margin-bottom: 8px;
}
.c43-section-title {
  font-family: var(--c43-font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0;
  text-transform: uppercase;
}
.c43-section-intro {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c43-text);
  margin: 0 0 32px;
}

/* ================== CATEGORIES GRID ================== */
.c43-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .c43-categories-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .c43-categories-grid { grid-template-columns: repeat(2, 1fr); } }

.c43-cat-card {
  position: relative;
  background: var(--c43-surface);
  border: var(--c43-border-w) solid var(--c43-line);
  text-decoration: none;
  color: var(--c43-text);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  display: block;
  aspect-ratio: 4/5;
}
.c43-cat-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--c43-shadow);
  color: var(--c43-text);
}
.c43-cat-card-img {
  display: block;
  width: 100%;
  height: 65%;
  background-size: cover;
  background-position: center;
  background-color: var(--c43-primary);
  border-bottom: var(--c43-border-w) solid var(--c43-line);
}
.c43-cat-card-fallback {
  background: var(--c43-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--c43-font-head);
  color: #fff;
  font-size: 2rem;
  text-transform: uppercase;
}
.c43-cat-card-body {
  padding: 16px;
  height: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.c43-cat-card-name {
  font-family: var(--c43-font-head);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 0 0 4px;
  line-height: 1;
}
.c43-cat-card-count {
  font-size: .82rem;
  color: var(--c43-text-soft);
  letter-spacing: .05em;
}

/* ================== ARTICLE CARDS — grille derniers articles ================== */
.c43-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 1024px) { .c43-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .c43-cards-grid { grid-template-columns: 1fr; } }

.c43-card {
  background: var(--c43-surface);
  border: var(--c43-border-w) solid var(--c43-line);
  display: flex;
  flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.c43-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--c43-shadow);
}
.c43-card-thumb {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--c43-line-soft);
  border-bottom: var(--c43-border-w) solid var(--c43-line);
  position: relative;
}
.c43-card-thumb-link { display: block; height: 100%; }
.c43-card-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--c43-accent);
  color: #fff;
  font-family: var(--c43-font-head);
  font-size: .75rem;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 2px solid var(--c43-line);
  text-decoration: none;
  letter-spacing: .05em;
}
.c43-card-cat:hover { color: #fff; background: var(--c43-primary); }
.c43-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.c43-card-title {
  font-family: var(--c43-font-head);
  font-size: 1.35rem;
  line-height: 1.1;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.c43-card-title a { text-decoration: none; color: var(--c43-text); }
.c43-card-title a:hover { color: var(--c43-primary); }
.c43-card-excerpt {
  color: var(--c43-text-soft);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.c43-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--c43-text-soft);
  border-top: 2px dashed var(--c43-line-soft);
  padding-top: 12px;
  margin-top: auto;
}

/* ================== INTRO MAGAZINE HOME (SEO 800-1800 mots) ================== */
.c43-magazine-intro {
  max-width: 880px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
}
.c43-magazine-intro h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 24px;
}
.c43-magazine-intro h3 {
  font-size: 1.3rem;
  margin-top: 32px;
  color: var(--c43-accent);
}
.c43-magazine-intro p { margin-bottom: 1.3em; }
.c43-pull-quote {
  border-left: 6px solid var(--c43-primary);
  background: var(--c43-yellow);
  padding: 24px 28px;
  margin: 32px 0;
  font-family: var(--c43-font-head);
  font-size: 1.2rem;
  line-height: 1.3;
  text-transform: uppercase;
}
.c43-magazine-callouts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}
@media (max-width: 700px) { .c43-magazine-callouts { grid-template-columns: 1fr; } }
.c43-callout {
  border: var(--c43-border-w) solid var(--c43-line);
  background: var(--c43-surface);
  padding: 24px;
}
.c43-callout h4 {
  font-family: var(--c43-font-head);
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--c43-primary);
}

/* ================== METRICS LINKS BLOC ================== */
.c43-metrics {
  background: var(--c43-yellow);
  padding: 48px 0;
  border-top: var(--c43-border-w) solid var(--c43-line);
  border-bottom: var(--c43-border-w) solid var(--c43-line);
}
.c43-metrics-title {
  text-align: center;
  font-family: var(--c43-font-head);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.c43-metrics-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.c43-metrics-list a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--c43-bg);
  border: 2px solid var(--c43-line);
  text-decoration: none;
  font-family: var(--c43-font-head);
  font-size: .9rem;
  text-transform: uppercase;
}
.c43-metrics-list a:hover { background: var(--c43-primary); color: #fff; }

/* ================== CATEGORY PAGE — tldr-detailed ================== */
.c43-cat-header {
  background: var(--c43-surface);
  border-bottom: var(--c43-border-w) solid var(--c43-line);
  padding: 56px 0 40px;
}
.c43-cat-title {
  font-family: var(--c43-font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.c43-cat-tldr {
  background: var(--c43-yellow);
  border: var(--c43-border-w) solid var(--c43-line);
  padding: 20px 24px;
  margin: 24px 0;
}
.c43-cat-tldr h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  text-transform: uppercase;
  color: var(--c43-text);
}
.c43-cat-description {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 820px;
}
.c43-cat-archive {
  padding: 48px 0;
}
.c43-cat-outro {
  background: var(--c43-surface);
  border-top: var(--c43-border-w) solid var(--c43-line);
  padding: 56px 0;
  font-size: 1.02rem;
  line-height: 1.7;
}
.c43-cat-outro h2 { text-transform: uppercase; }

/* ================== PAGE CONTACT ================== */
.c43-contact-form {
  border: var(--c43-border-w) solid var(--c43-line);
  background: var(--c43-surface);
  padding: 32px;
  margin: 32px 0;
  box-shadow: var(--c43-shadow-sm);
}

/* ================== PAGE A-PROPOS / PERSONA ================== */
.c43-persona-photo {
  width: 280px;
  height: auto;
  float: left;
  margin: 0 32px 24px 0;
  border: var(--c43-border-w) solid var(--c43-line);
  box-shadow: var(--c43-shadow-sm);
}
@media (max-width: 600px) {
  .c43-persona-photo { float: none; margin: 0 auto 24px; display: block; width: 100%; max-width: 320px; }
}

/* ================== OUTILS PRATIQUES ================== */
.c43-tool-section {
  background: var(--c43-bg);
  padding: 48px 0;
  border-bottom: 2px dashed var(--c43-line-soft);
}
.c43-tool-section h2 { text-transform: uppercase; margin-bottom: 24px; }

/* ================== FOOTER — neon_clash réinterprété ================== */
.c43-footer {
  background: var(--c43-text);
  color: var(--c43-bg);
  border-top: 6px solid var(--c43-primary);
  padding: 64px 0 0;
  font-size: .95rem;
}
.c43-footer a { color: var(--c43-bg); text-decoration: none; }
.c43-footer a:hover { color: var(--c43-primary); }
.c43-footer h3,
.c43-footer-title {
  font-family: var(--c43-font-head);
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--c43-primary);
  margin: 0 0 18px;
  letter-spacing: .05em;
}
.c43-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 2px solid rgba(255,255,255,.15);
}
@media (max-width: 900px) {
  .c43-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .c43-footer-grid { grid-template-columns: 1fr; }
}
.c43-footer-col { min-width: 0; }
.c43-footer-logo {
  display: block;
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
  background: var(--c43-bg);
  padding: 8px;
  border: 2px solid var(--c43-primary);
}
.c43-footer-brand-pitch {
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0 0 18px;
}
.c43-footer-brand-cta {
  display: inline-block;
  font-family: var(--c43-font-head);
  font-size: .9rem;
  text-transform: uppercase;
  color: var(--c43-primary);
  border-bottom: 2px solid var(--c43-primary);
  padding-bottom: 2px;
}
.c43-footer-brand-cta:hover { color: #fff; }
.c43-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.c43-footer-links li { margin-bottom: 10px; }
.c43-footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.c43-footer-social a {
  width: 36px; height: 36px;
  border: 2px solid var(--c43-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c43-primary);
  transition: background .15s ease, color .15s ease;
}
.c43-footer-social a:hover {
  background: var(--c43-primary);
  color: var(--c43-text);
}
.c43-footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  flex-wrap: wrap;
  gap: 12px;
}
.c43-footer-bottom a { color: rgba(255,255,255,.65); }
.c43-footer-bottom a:hover { color: var(--c43-primary); }

/* ================== ANIMATIONS — pulse_button (CTA) ================== */
@keyframes c43-pulse-button {
  0%   { box-shadow: 0 0 0 0 rgba(216, 143, 154, 0.55), 3px 3px 0 var(--c43-line); }
  70%  { box-shadow: 0 0 0 14px rgba(216, 143, 154, 0), 3px 3px 0 var(--c43-line); }
  100% { box-shadow: 0 0 0 0 rgba(216, 143, 154, 0), 3px 3px 0 var(--c43-line); }
}
.c43-btn--cta { animation: c43-pulse-button 2.4s infinite; }
@media (prefers-reduced-motion: reduce) { .c43-btn--cta { animation: none; } }

/* ================== ANIMATIONS — progress_scroll_bar (CTR) ================== */
.c43-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--c43-primary), var(--c43-accent));
  z-index: 9999;
  transition: width .1s linear;
}

/* ================== ANIMATIONS — exit_intent_popup (CTO) ================== */
.c43-exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  padding: 24px;
}
.c43-exit-popup.is-open { display: flex; animation: c43-popup-fade .3s ease; }
.c43-exit-popup-box {
  background: var(--c43-bg);
  border: 4px solid var(--c43-line);
  box-shadow: var(--c43-shadow-lg);
  max-width: 480px;
  width: 100%;
  padding: 40px 32px;
  position: relative;
  animation: c43-popup-slide .35s cubic-bezier(.2,.8,.3,1);
}
.c43-exit-popup-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border: 2px solid var(--c43-line);
  background: var(--c43-bg);
  cursor: pointer;
  font-family: var(--c43-font-head);
}
.c43-exit-popup-title {
  font-family: var(--c43-font-head);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--c43-primary);
}
@keyframes c43-popup-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes c43-popup-slide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ================== UTILS ================== */
.c43-text-center { text-align: center; }
.c43-mt-0 { margin-top: 0; }
.c43-mb-0 { margin-bottom: 0; }
.c43-hidden { display: none !important; }
.c43-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ================== RESPONSIVE GLOBALS ================== */
@media (max-width: 640px) {
  body.c43-body { font-size: 16px; }
  .c43-section { padding: 48px 0; }
  .c43-wrap, .c43-container { padding: 0 18px; }
  .c43-hero-text { padding: 32px 22px; }
}

/* ================== ACCESSIBILITY ================== */
*:focus-visible {
  outline: 3px solid var(--c43-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ================== BY-CATEGORY HOME SECTIONS ================== */
.c43-cat-section {
  padding: 40px 0;
  border-bottom: 2px dashed var(--c43-line-soft);
}
.c43-cat-section:last-of-type { border-bottom: 0; }
.c43-cat-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  border-bottom: var(--c43-border-w) solid var(--c43-line);
  padding-bottom: 12px;
}
.c43-cat-section-title {
  font-family: var(--c43-font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  text-transform: uppercase;
}
.c43-cat-section-title a {
  text-decoration: none;
  color: var(--c43-text);
}
.c43-cat-section-title a:hover { color: var(--c43-primary); }
.c43-cat-section-link {
  font-family: var(--c43-font-head);
  font-size: .9rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c43-primary);
  text-decoration: none;
}
.c43-cat-section-link:hover {
  color: var(--c43-text);
  background: var(--c43-yellow);
}
.c43-cat-empty {
  background: var(--c43-surface);
  border: 2px dashed var(--c43-line-soft);
  padding: 28px;
  text-align: center;
  color: var(--c43-text-soft);
}
.c43-cat-empty a {
  color: var(--c43-primary);
  font-weight: 700;
}

/* ================== PERSONA PHOTO (À propos) ================== */
.c43-persona-photo {
  width: 100%;
  max-width: 320px;
  border: var(--c43-border-w) solid var(--c43-line);
  box-shadow: var(--c43-shadow);
  display: block;
  margin: 0 auto 28px;
}

/* ================== CONTACT FORM WRAP ================== */
.c43-contact-form {
  max-width: 760px;
  margin: 32px auto;
  background: var(--c43-surface);
  border: var(--c43-border-w) solid var(--c43-line);
  box-shadow: var(--c43-shadow);
  padding: 32px 28px;
}

/* ================== FOOTER GRID + SECTIONS ================== */
.c43-footer { background: #2A2825; color: #D8D3CA; padding: 64px 0 24px; margin-top: 80px; border-top: var(--c43-border-w) solid var(--c43-primary); }
.c43-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.c43-footer-title {
  font-family: var(--c43-font-head);
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: .1em;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.c43-footer-brand-pitch { color: #BFB9B0; font-size: .92rem; line-height: 1.65; margin: 0 0 18px; }
.c43-footer-brand-cta {
  display: inline-block;
  color: var(--c43-primary);
  text-decoration: none;
  font-family: var(--c43-font-head);
  font-size: .92rem;
  letter-spacing: .05em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.c43-footer-brand-cta:hover { border-bottom-color: var(--c43-primary); color: var(--c43-primary); }
.c43-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.c43-footer-links a { color: #BFB9B0; text-decoration: none; font-size: .92rem; }
.c43-footer-links a:hover { color: var(--c43-primary); }
.c43-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #3a3833;
  font-size: .85rem;
  color: #8a857d;
}
.c43-footer-logo { max-height: 64px; width: auto; display: block; margin-bottom: 1rem; }
@media (max-width: 920px) {
  .c43-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 540px) {
  .c43-footer-grid { grid-template-columns: 1fr; }
}

/* ================== SCROLL PROGRESS BAR ================== */
.c43-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--c43-primary);
  z-index: 1000;
  width: 0;
  transition: width .08s linear;
}

/* Validator: cap hauteur hero cat */
.cat-hero, .rp-cat-hero { max-height: 320px !important; min-height: 200px !important; padding: 40px 0 !important; overflow: hidden !important; position: relative !important; }
.cat-hero img, .rp-cat-hero img, .cat-hero .rp-cat-hero-bg, .rp-cat-hero .rp-cat-hero-bg { width: 100% !important; height: 100% !important; max-height: 320px !important; object-fit: cover !important; position: absolute !important; top: 0 !important; left: 0 !important; z-index: 0 !important; }
.cat-hero .container, .cat-hero .wrap, .cat-hero h1, .cat-hero p, .rp-cat-hero .rp-container, .rp-cat-hero h1, .rp-cat-hero p { position: relative !important; z-index: 1 !important; }
.cat-hero[style*='background-image'], .rp-cat-hero[style*='background-image'] { background-size: cover !important; background-position: center !important; }
.cat-hero h1, .rp-cat-hero h1 { text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important; }


/* [RP2G 2026-06-02] Fix images cat dans section "Les rubriques"
   Sans hauteur fixe sur .c43-cat-card, le .c43-cat-card-img height:65%
   = 65% de 0 = invisible. */
.c43-cat-card {
  min-height: 300px;
}
.c43-cat-card-img {
  min-height: 180px !important;
}
.c43-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
