/* =========================================================
   VOYAGE CAMBODGE — child theme custom CSS
   Design System: Culturel Méditerranéen Provence
   Brand casing: B (Title Case, no text-transform)
   ========================================================= */

:root {
  --c13-primary:    #6A4FA0;
  --c13-primary-d:  #4F3A7A;
  --c13-accent:     #E8B842;
  --c13-accent-d:   #C99A2A;
  --c13-text:       #2A1A4A;
  --c13-text-soft:  #7A6595;
  --c13-bg:         #F5EFE0;
  --c13-surface:    #FAF4E5;
  --c13-line:       #E0D5B5;
  --c13-white:      #ffffff;
  --c13-black:      #1A0D2E;
  --c13-shadow-sm:  0 2px 6px rgba(42,26,74,0.08);
  --c13-shadow-md:  0 8px 24px rgba(42,26,74,0.12);
  --c13-shadow-lg:  0 16px 40px rgba(42,26,74,0.18);
  --c13-radius-sm:  6px;
  --c13-radius:     10px;
  --c13-radius-lg:  18px;
  --c13-container:  1240px;
  --c13-font-h:     "Cormorant Garamond", "Georgia", serif;
  --c13-font-b:     "Lora", "Georgia", serif;
}

/* DARK MODE ------------------------------------------------ */
html[data-theme="dark"] {
  --c13-primary:    #B097DC;
  --c13-primary-d:  #8E73C5;
  --c13-accent:     #F3CB66;
  --c13-text:       #F5EFE0;
  --c13-text-soft:  #C9BDDA;
  --c13-bg:         #1A0F2E;
  --c13-surface:    #25193F;
  --c13-line:       #3A2A55;
}

/* RESET & BASE -------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.c13-body {
  margin: 0;
  font-family: var(--c13-font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c13-text);
  background: var(--c13-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c13-primary); text-decoration: none; }
a:hover { color: var(--c13-accent-d); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--c13-font-h);
  font-weight: 600;
  color: var(--c13-text);
  line-height: 1.18;
  margin: 0 0 .8rem;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { margin: 0 0 1rem; }

/* CONTAINER ---------------------------------------------- */
.c13-container { max-width: var(--c13-container); margin: 0 auto; padding: 0 1.25rem; }

main, .c13-main { padding-top: 0 !important; margin-top: 0 !important; }

/* =========================================================
   HEADER — logo-left-menu-center (mega menu + dark mode, no CTA)
   ========================================================= */
.c13-header {
  background: var(--c13-bg);
  border-bottom: 1px solid var(--c13-line);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(8px);
  background-color: rgba(245, 239, 224, 0.92);
}
html[data-theme="dark"] .c13-header { background-color: rgba(26, 15, 46, 0.92); }
.c13-header-inner {
  max-width: var(--c13-container);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.c13-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.c13-brand-logo { height: auto; width: auto; max-height: 56px; }
.c13-brand-name {
  font-family: var(--c13-font-h);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c13-text);
  letter-spacing: 0;
  /* Casing B = pas de text-transform */
}

/* NAV DESKTOP (mega menu) */
.c13-nav-desktop { display: none; flex: 1; justify-content: center; margin: 0 1rem; }
.c13-nav-desktop-list {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.c13-nav-desktop-list > li { position: relative; }
.c13-nav-desktop-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--c13-text);
  font-size: .95rem;
  font-weight: 500;
  padding: .5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.c13-nav-desktop-list > li > a:hover,
.c13-nav-desktop-list > li:focus-within > a {
  color: var(--c13-primary);
  border-bottom-color: var(--c13-accent);
}
.c13-nav-icon { width: 18px; height: 18px; vertical-align: middle; }

/* MEGA MENU PANEL — layout B (grid 3 cols) */
.c13-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(720px, 90vw);
  background: var(--c13-surface);
  border: 1px solid var(--c13-line);
  border-radius: var(--c13-radius);
  box-shadow: var(--c13-shadow-lg);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
  z-index: 1000;
}
.c13-nav-desktop-list > li:hover > .c13-mega,
.c13-nav-desktop-list > li:focus-within > .c13-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s ease, transform .25s ease;
}
.c13-mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.c13-mega-card {
  display: block;
  text-decoration: none;
  color: var(--c13-text);
  border-radius: var(--c13-radius-sm);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.c13-mega-card:hover { transform: translateY(-3px); box-shadow: var(--c13-shadow-sm); }
.c13-mega-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--c13-radius-sm);
  background: var(--c13-bg);
}
.c13-mega-card-title {
  font-family: var(--c13-font-h);
  font-size: 1rem;
  font-weight: 600;
  margin: .55rem 0 .25rem;
  line-height: 1.3;
  color: var(--c13-text);
}
.c13-mega-card-date {
  font-size: .78rem;
  color: var(--c13-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.c13-mega-empty {
  text-align: center;
  padding: 1rem;
  font-size: .95rem;
  color: var(--c13-text-soft);
}
.c13-mega-empty a {
  font-weight: 600;
  color: var(--c13-primary);
  border-bottom: 1px solid var(--c13-accent);
}

/* DARK MODE TOGGLE — bulb style */
.c13-theme-toggle {
  background: transparent;
  border: 1.5px solid var(--c13-line);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--c13-text);
  transition: background .2s, color .2s, border-color .2s;
  margin-left: auto;
  flex-shrink: 0;
}
.c13-theme-toggle:hover { background: var(--c13-primary); color: #fff; border-color: var(--c13-primary); }
.c13-theme-toggle svg { width: 20px; height: 20px; }
.c13-theme-toggle .c13-bulb-on { display: block; }
.c13-theme-toggle .c13-bulb-off { display: none; }
html[data-theme="dark"] .c13-theme-toggle .c13-bulb-on  { display: none; }
html[data-theme="dark"] .c13-theme-toggle .c13-bulb-off { display: block; }

/* BURGER (mobile) */
.c13-burger {
  background: transparent;
  border: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  padding: 0;
  margin-left: .5rem;
}
.c13-burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--c13-text);
  border-radius: 1px;
  transition: transform .25s, opacity .15s;
}

/* DRAWER MOBILE — hidden by default */
.c13-nav-mobile { display: none; }
.c13-nav-mobile.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 380px;
  background: var(--c13-surface);
  padding: 4.5rem 1.5rem 2rem;
  z-index: 9999;
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}
.c13-nav-mobile ul { list-style: none; padding: 0; margin: 0; }
.c13-nav-mobile li { border-bottom: 1px solid var(--c13-line); }
.c13-nav-mobile a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem .25rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--c13-text);
  text-decoration: none;
}
.c13-nav-mobile a:hover { color: var(--c13-primary); }
.c13-nav-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  color: var(--c13-text);
  cursor: pointer;
  width: 38px;
  height: 38px;
}
.c13-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 13, 46, 0.55);
  z-index: 9998;
  display: none;
}
.c13-overlay.is-open { display: block; }

/* DESKTOP: nav visible, burger hidden */
@media (min-width: 1024px) {
  .c13-nav-desktop { display: flex; }
  .c13-burger { display: none !important; }
}
/* MOBILE: burger visible */
@media (max-width: 1023px) {
  .c13-burger { display: flex; }
}

/* =========================================================
   HERO — fade-reveal style avec vidéo YouTube background
   ========================================================= */
.c13-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--c13-primary) 0%, var(--c13-primary-d) 60%, #2A1A4A 100%);
}
.c13-hero-video-wrap { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.c13-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;
}
.c13-hero--has-video .c13-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(42,26,74,0.75) 100%);
  z-index: 1;
}
.c13-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.c13-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--c13-container);
  margin: 0 auto;
  padding: 6rem 1.5rem;
  color: #fff;
  opacity: 0;
  animation: c13-fade-reveal 1.2s ease-out forwards;
}
@keyframes c13-fade-reveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.c13-hero-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c13-accent);
  padding: .35rem .85rem;
  border: 1px solid rgba(232, 184, 66, 0.55);
  border-radius: 30px;
  margin-bottom: 1.5rem;
}
.c13-hero .c13-hero-inner .c13-hero-title,
.c13-hero-title {
  font-family: var(--c13-font-h);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 18ch;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  filter: none !important;
  opacity: 1 !important;
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.c13-hero .c13-hero-inner .c13-hero-title *,
.c13-hero-title * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}
.c13-hero--has-video .c13-hero-title,
.c13-hero--has-video .c13-hero-title * { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
html[data-theme="dark"] .c13-hero-title,
html[data-theme="dark"] .c13-hero-title * { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.c13-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-weight: 400;
  margin: 0 0 2rem;
  max-width: 48ch;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  font-family: var(--c13-font-b);
  font-style: italic;
}
.c13-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* =========================================================
   SECTIONS — generic
   ========================================================= */
section { padding: 4rem 0; }
.c13-section-eyebrow {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c13-primary);
  margin-bottom: .6rem;
}
.c13-section-title {
  font-family: var(--c13-font-h);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  margin: 0 0 1rem;
}
.c13-section-intro {
  max-width: 65ch;
  color: var(--c13-text-soft);
  font-size: 1.05rem;
}

/* EDITORIAL BLOCK on home (after-hero placement) */
.c13-editorial {
  background: var(--c13-surface);
  padding: 4.5rem 0;
}
.c13-editorial-inner { max-width: 800px; margin: 0 auto; padding: 0 1.25rem; }
.c13-editorial h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--c13-text);
}
.c13-editorial p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--c13-text);
  margin-bottom: 1.25rem;
}
.c13-editorial h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  color: var(--c13-primary);
}
.c13-editorial-pull {
  border-left: 4px solid var(--c13-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(232,184,66,0.08);
  font-style: italic;
  color: var(--c13-text);
}

/* =========================================================
   CARDS — articles and categories
   ========================================================= */
.c13-cat-section { padding: 3.5rem 0; border-bottom: 1px solid var(--c13-line); }
.c13-cat-section:last-child { border-bottom: 0; }
.c13-cat-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.c13-cat-section h2 {
  font-family: var(--c13-font-h);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 0;
}
.c13-cat-section h2 a {
  color: var(--c13-text);
  border-bottom: 3px solid var(--c13-accent);
  padding-bottom: .15rem;
  transition: color .2s;
}
.c13-cat-section h2 a:hover { color: var(--c13-primary); }
.c13-cat-link-more {
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c13-primary);
}
.c13-cat-link-more:hover { color: var(--c13-accent-d); }

.c13-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.c13-card {
  background: var(--c13-surface);
  border: 1px solid var(--c13-line);
  border-radius: var(--c13-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.c13-card:hover { transform: translateY(-4px); box-shadow: var(--c13-shadow-md); }
.c13-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.c13-card-img-fallback {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--c13-primary), var(--c13-accent));
}
.c13-card-body { padding: 1.25rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.c13-card-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c13-primary);
  margin-bottom: .5rem;
}
.c13-card-title {
  font-family: var(--c13-font-h);
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 .65rem;
  color: var(--c13-text);
}
.c13-card-title a { color: inherit; }
.c13-card-title a:hover { color: var(--c13-primary); }
.c13-card-date { font-size: .78rem; color: var(--c13-text-soft); margin-top: auto; }

/* EMPTY CATEGORY */
.c13-cat-empty {
  background: var(--c13-surface);
  border: 2px dashed var(--c13-line);
  border-radius: var(--c13-radius);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.c13-cat-empty a { font-weight: 600; }

/* =========================================================
   CATEGORIES GRID (rubriques section)
   ========================================================= */
.c13-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.c13-cat-card {
  position: relative;
  display: block;
  border-radius: var(--c13-radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  text-decoration: none;
  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
  background: linear-gradient(135deg, var(--c13-primary), var(--c13-accent));
}
.c13-cat-card:hover { transform: translateY(-5px); box-shadow: var(--c13-shadow-md); }
.c13-cat-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .35s ease;
}
.c13-cat-card:hover .c13-cat-card-img { transform: scale(1.08); }
.c13-cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(42,26,74,0.85) 100%);
  z-index: 1;
}
.c13-cat-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.25rem 1.5rem;
  z-index: 2;
}
.c13-cat-card-title {
  font-family: var(--c13-font-h);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.c13-cat-card-count {
  font-size: .78rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: .25rem;
}

/* =========================================================
   TRUST BADGES (below categories on home)
   ========================================================= */
.c13-trust {
  background: var(--c13-surface);
  border-top: 1px solid var(--c13-line);
  border-bottom: 1px solid var(--c13-line);
  padding: 2.5rem 0;
}
.c13-trust-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
}
.c13-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--c13-text);
  letter-spacing: 0.01em;
}
.c13-trust-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--c13-primary);
}
@media (max-width: 600px) {
  .c13-trust { padding: 2rem 0; }
  .c13-trust-badges { gap: .75rem 1.25rem; }
  .c13-trust-badge { font-size: .85rem; }
}

/* =========================================================
   CATEGORY PAGE (category.php)
   ========================================================= */
.c13-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c13-primary), var(--c13-accent));
}
.c13-cat-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.c13-cat-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--c13-container);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(42,26,74,0.75) 100%);
}
.c13-cat-hero h1 {
  color: #fff;
  font-family: var(--c13-font-h);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  text-shadow: 0 2px 14px rgba(0,0,0,0.7);
  margin: 0;
}
.c13-cat-desc {
  background: var(--c13-surface);
  padding: 3rem 0;
}
.c13-cat-desc-inner { max-width: 760px; margin: 0 auto; padding: 0 1.25rem; }
.c13-cat-desc p { font-size: 1.05rem; line-height: 1.75; }

/* =========================================================
   METRICS LINKS BLOCK (c13_render_metrics_links)
   ========================================================= */
.c13-metrics {
  background: var(--c13-surface);
  padding: 3rem 0;
  border-top: 1px solid var(--c13-line);
  border-bottom: 1px solid var(--c13-line);
}
.c13-metrics-inner { max-width: var(--c13-container); margin: 0 auto; padding: 0 1.25rem; }
.c13-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.c13-metrics-item {
  background: var(--c13-bg);
  border: 1px solid var(--c13-line);
  border-radius: var(--c13-radius);
  padding: 1.5rem;
  text-align: center;
}
.c13-metrics-item-value {
  font-family: var(--c13-font-h);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--c13-primary);
  margin-bottom: .35rem;
}
.c13-metrics-item-label { font-size: .9rem; color: var(--c13-text-soft); }

/* =========================================================
   FOOTER — 4 columns Provence
   ========================================================= */
.c13-footer {
  background: var(--c13-text);
  color: var(--c13-bg);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
html[data-theme="dark"] .c13-footer { background: #0F0820; }
.c13-footer-inner { max-width: var(--c13-container); margin: 0 auto; padding: 0 1.25rem; }
.c13-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.c13-footer-col { color: var(--c13-bg); }
.c13-footer-title {
  font-family: var(--c13-font-h);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c13-accent);
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.c13-footer-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 60px;
  margin-bottom: 1rem;
}
.c13-footer-brand-pitch {
  color: var(--c13-bg);
  font-size: .94rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  opacity: .95;
}
.c13-footer-brand-cta {
  display: inline-block;
  color: var(--c13-accent);
  font-weight: 600;
  border-bottom: 1px solid var(--c13-accent);
  padding-bottom: 2px;
  font-size: .92rem;
}
.c13-footer-brand-cta:hover { color: #fff; border-bottom-color: #fff; }
.c13-footer-links { list-style: none; padding: 0; margin: 0; }
.c13-footer-links li { margin-bottom: .6rem; }
.c13-footer-links a {
  color: var(--c13-bg);
  font-size: .92rem;
  text-decoration: underline;
  text-decoration-color: rgba(232,184,66,0.4);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.c13-footer-links a:hover { color: var(--c13-accent); text-decoration-color: var(--c13-accent); }

.c13-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245,239,224,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
  color: rgba(245,239,224,0.7);
}
.c13-footer-social { display: flex; gap: .85rem; }
.c13-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(232,184,66,0.15);
  color: var(--c13-bg);
  transition: background .2s, color .2s;
}
.c13-footer-social a:hover { background: var(--c13-accent); color: var(--c13-text); }
.c13-footer-social svg { width: 16px; height: 16px; }

/* =========================================================
   BUTTONS — animations injected from animations.cta_keyframes_css
   ========================================================= */
.c13-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  font-family: var(--c13-font-b);
  font-weight: 600;
  font-size: .98rem;
  border-radius: var(--c13-radius-sm);
  text-decoration: none;
  transition: all .25s ease;
  border: none;
  cursor: pointer;
}
.c13-btn--primary { background: var(--c13-primary); color: #fff; }
.c13-btn--primary:hover { background: var(--c13-primary-d); color: #fff; }
.c13-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.c13-btn--ghost:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* =========================================================
   CONTACT FORM WRAPPER
   ========================================================= */
.c13-contact-form { max-width: 800px; margin: 2rem auto; }
.c13-contact-form iframe { display: block; border-radius: var(--c13-radius); }

/* PERSONA PHOTO */
.c13-persona-photo {
  display: block;
  width: 280px;
  max-width: 100%;
  border-radius: var(--c13-radius);
  margin: 0 1.5rem 1.5rem 0;
  float: left;
  box-shadow: var(--c13-shadow-md);
}
@media (max-width: 720px) {
  .c13-persona-photo { float: none; margin: 0 auto 1.5rem; }
}

/* =========================================================
   SINGLE POST & PAGES generic styling
   ========================================================= */
.c13-entry {
  max-width: 760px;
  margin: 3rem auto;
  padding: 0 1.25rem;
}
.c13-entry h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.c13-entry p, .c13-entry li { font-size: 1.07rem; line-height: 1.78; }
.c13-entry h2 { margin-top: 2.5rem; }
.c13-entry h3 { margin-top: 1.8rem; }
.c13-entry blockquote {
  border-left: 4px solid var(--c13-accent);
  padding: .5rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--c13-text-soft);
  font-style: italic;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1023px) {
  .c13-nav-desktop { display: none; }
  .c13-header-inner { justify-content: space-between; }
  .c13-mega { display: none !important; }
  .c13-theme-toggle { order: 9; margin-left: 0; }
  .c13-burger { order: 10; }
  .c13-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .c13-articles-grid { grid-template-columns: repeat(2, 1fr); }
  .c13-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .c13-articles-grid { grid-template-columns: 1fr; }
  .c13-categories-grid { grid-template-columns: 1fr; }
  .c13-footer-grid { grid-template-columns: 1fr; }
  .c13-hero-inner { padding: 4.5rem 1rem; }
  section { padding: 3rem 0; }
}


/* Mouse effect : cursor_click_scale */
/* Cursor click scale — gros point lumineux qui suit le curseur, grossit au clic */
.c13-cursor-dot { position: fixed; top: 0; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--c13-accent, #E8B842); pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); mix-blend-mode: multiply; opacity: .6; transition: width .15s ease, height .15s ease, opacity .15s ease, background .25s ease; will-change: transform, width, height; }
.c13-cursor-dot.is-active { width: 42px; height: 42px; opacity: .85; background: var(--c13-primary, #6A4FA0); mix-blend-mode: normal; }
@media (hover: none), (pointer: coarse) { .c13-cursor-dot { display: none !important; } }
