/* ============================================================
   MdS-CA Theme – Main Stylesheet
   ============================================================ */

/* ── Variables – Palette officielle MdS-CA ────────────────── */
:root {
  /* Palette officielle */
  --theme-color:  #F5A623;
  --theme-color2: #52C5BB;
  --theme-color3: #F5FAF7;
  --dark-color:   #012F32;
  --dark-color2:  #024E51;
  --dark-color3:  #006266;
  --WhiteColor:   #FFFFFF;
  --gray-color:   #5A7779;

  /* Alias sémantiques (compatibilité v1) */
  --color-primary:        var(--dark-color);
  --color-secondary:      var(--dark-color2);
  --color-accent-teal:    var(--theme-color2);
  --color-accent-orange:  var(--theme-color);
  --color-bg-light:       var(--theme-color3);
  --color-text-dark:      var(--dark-color);
  --color-text-secondary: var(--gray-color);
  --color-white:          var(--WhiteColor);

  --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --h1-size:      56px;
  --h2-size:      42px;
  --h3-size:      28px;
  --radius:       12px;
  --radius-lg:    24px;
  --radius-xl:    40px;
  --transition:   all 0.3s ease;
  --shadow:       0 4px 20px rgba(1,47,50,.08);
  --shadow-lg:    0 8px 40px rgba(1,47,50,.15);
  --container:    1200px;
  --gutter:       clamp(20px, 4vw, 80px);

  /* ── Design tokens v2 ─────────────────────────── */
  --mds-radius-sm:               8px;
  --mds-radius-md:               12px;
  --mds-radius-lg:               16px;
  --mds-radius-xl:               24px;
  --mds-section-padding-desktop: 80px;
  --mds-section-padding-tablet:  56px;
  --mds-section-padding-mobile:  40px;
  --mds-container-width:         1200px;
  --mds-transition:              all 0.25s ease;
  --mds-shadow-soft:             0 4px 24px rgba(0,63,59,0.08);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; loading: lazy; }

a { color: inherit; text-decoration: none; transition: var(--transition); }

ul, ol { list-style: none; }

/* ── Global icon utilities ─────────────────────────────── */
.mds-icon, .mds-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.mds-icon i, .mds-icon svg,
.mds-btn-icon i, .mds-btn-icon svg {
  width: 1em;
  height: 1em;
  font-size: inherit;
  display: block;
}

button { cursor: pointer; border: none; background: none; font-family: var(--font-primary); }

/* ── Typography ───────────────────────────────────────────── */
h1, .h1 { font-size: var(--h1-size); font-weight: 800; line-height: 1.1; }
h2, .h2 { font-size: var(--h2-size); font-weight: 700; line-height: 1.2; }
h3, .h3 { font-size: var(--h3-size); font-weight: 600; line-height: 1.3; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 18px; font-weight: 600; }
h6 { font-size: 16px; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-accent-teal   { color: var(--color-accent-teal); }
.text-accent-orange { color: var(--color-accent-orange); }
.text-primary       { color: var(--color-primary); }
.text-secondary-color { color: var(--color-text-secondary); }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-pad { padding-block: clamp(60px, 8vw, 120px); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-secondary); transform: translateY(-2px); }

.btn-orange {
  background: var(--color-accent-orange);
  color: var(--color-white);
}
.btn-orange:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,.4);
  color: var(--color-white);
  background: transparent;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

.btn-round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 2px solid currentColor;
  transition: var(--transition);
}

.btn-round-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1.5px solid currentColor;
  transition: var(--transition);
}

/* Button inner elements & uppercase toggle */
.btn-no-uppercase { text-transform: none !important; letter-spacing: normal !important; }
.btn .btn-label   { line-height: 1; }
.btn .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}
.btn .btn-icon i    { font-size: 0.9em; line-height: 1; display: block; }
.btn .btn-icon svg  { width: 0.9em; height: 0.9em; display: block; fill: currentColor; }
.btn:hover .btn-icon { transform: translateX(3px); }

/* ── Header Topbar ────────────────────────────────────────── */
.header-topbar {
  background-color: #011F1D; /* overridden by Elementor control */
  color: rgba(255,255,255,.65);
  font-size: 12px;
  line-height: 1;
  display: none; /* hidden on mobile */
}
@media (min-width: 768px) {
  .header-topbar { display: block; }
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 16px;
}

.header-topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.topbar-item:hover { color: var(--color-white); }

.topbar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.topbar-social:hover {
  color: var(--color-white);
  background: rgba(255,255,255,.1);
}

/* When topbar is scrolled away, hide it smoothly */
.mdsca-header.scrolled .header-topbar {
  display: none;
}

/* ── Header ───────────────────────────────────────────────── */
.mdsca-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-primary);
  transition: var(--transition);
}

.mdsca-header.scrolled {
  background: rgba(0,63,59,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
}

.header-logo img {
  height: 44px;
  width: auto;
}

.header-logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.5px;
}
.header-logo-text span { color: var(--color-accent-orange); }

.header-nav { flex: 1; }

.header-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
}

.header-nav .nav-link:hover,
.header-nav .nav-link.active,
.header-nav .current-menu-item > .nav-link {
  color: var(--color-accent-orange);
}

.header-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.header-nav li.menu-item-has-children { position: relative; }
.header-nav li.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav .sub-menu .nav-link {
  color: var(--color-text-dark);
  padding: 10px 14px;
  display: block;
  border-radius: 8px;
  font-size: 14px;
}
.header-nav .sub-menu .nav-link:hover { background: var(--color-bg-light); color: var(--color-primary); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.header-search-btn:hover { background: rgba(255,255,255,.2); }

.header-cta-btn {
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--color-white);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.header-cta-btn:hover { background: var(--color-accent-orange); border-color: var(--color-accent-orange); }
/* Icône SVG dans le bouton CTA */
.header-cta-btn svg {
  fill: currentColor;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: block;
  transition: transform .2s ease;
}
.header-cta-btn:hover svg { transform: translateX(4px); }
/* Icônes SVG topbar (fill + stroke) */
.topbar-social svg { display: block; color: inherit; fill: currentColor; }
.topbar-social svg[fill="none"] { fill: none; stroke: currentColor; }

/* Search overlay */
.header-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,63,59,.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.header-search-overlay.active { opacity: 1; visibility: visible; }
.search-overlay-form { width: 100%; max-width: 700px; padding-inline: 24px; }
.search-overlay-form input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(255,255,255,.4);
  color: var(--color-white);
  font-size: clamp(24px,4vw,40px);
  font-family: var(--font-primary);
  padding: 16px 0;
  outline: none;
}
.search-overlay-form input::placeholder { color: rgba(255,255,255,.4); }
.search-overlay-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--color-white);
  font-size: 36px;
  line-height: 1;
  opacity: .7;
  cursor: pointer;
  background: none;
  border: none;
}
.search-overlay-close:hover { opacity: 1; }

/* ── Mobile burger ──────────────────────────────────────────── */
.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  flex-shrink: 0;
}
.header-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-accent-orange);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
  transform-origin: center;
}
/* Animation croix */
.header-burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header-burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Page offset for fixed header */
body { padding-top: 80px; }
/* Quand la topbar est visible, le header est plus haut (80px header + 36px topbar) */
body.has-topbar { padding-top: 116px; }

/* ── Hero Section v2 ──────────────────────────────────────── */
.mdsca-hero {
  background-color: #012F32;
  padding: 32px;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
}

/* Two-column inner grid */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  align-items: stretch;
}
.hero-inner--left .hero-image-wrap { order: -1; }

/* Left card */
.hero-card {
  background-color: #FAFAF8;
  border-radius: 22px;
  padding: 56px 56px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 540px;
  box-sizing: border-box;
}

/* Card content wrapper */
.hero-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

/* Decorative arc circles */
.hero-deco-arc {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.04);
  pointer-events: none;
}
.hero-deco-arc--1 {
  width: 320px;
  height: 320px;
  top: -100px;
  right: -90px;
}
.hero-deco-arc--2 {
  width: 200px;
  height: 200px;
  top: -40px;
  right: -30px;
  background-color: rgba(0,0,0,0.025);
}

/* Small decorative dot */
.hero-deco-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #F5A623;
  top: 28px;
  left: calc(50% + 20px);
  pointer-events: none;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5A7779;
  margin-bottom: 20px;
}

/* Title */
.hero-title {
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  color: #012F32;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 0;
}
.hero-title .text-accent {
  color: #52C5BB;
}

/* Separator line */
.hero-divider {
  width: 80px;
  height: 2px;
  background-color: #F5A623;
  border-radius: 1px;
  margin-top: 20px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

/* Description */
.hero-description {
  color: #5A7779;
  font-size: 16px;
  line-height: 1.72;
  margin: 0 0 32px;
}

/* Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* Slider / navigation dots */
.hero-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  flex-shrink: 0;
}
.hero-dot {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  background-color: #dde4e4;
  transition: background-color 300ms ease;
  position: relative;
}
.hero-dot--active {
  background-color: #b8c9c8;
  width: 38px;
}
.hero-dot--active::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #7a9695;
}

/* Image column */
.hero-image-wrap {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  min-height: 400px;
}
.hero-image-wrap img,
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: absolute;
  inset: 0;
}
.hero-image-placeholder {
  background: rgba(255,255,255,0.08);
}

/* Animation */
.hero-animated .hero-card-content {
  animation: heroFadeIn 0.7s ease both;
}
.hero-animated .hero-image-wrap {
  animation: heroFadeIn 0.7s ease 0.15s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero responsive – tablet */
@media (max-width: 1100px) {
  .mdsca-hero { padding: 20px; }
  .hero-inner  { gap: 12px; }
  .hero-card   { padding: 40px 40px 32px; min-height: 460px; }
  .hero-title  { font-size: clamp(28px, 3.5vw, 42px); }
}

/* ── Hero responsive – mobile ≤767px ─────────────────────── */
@media (max-width: 767px) {
  /* Section */
  .mdsca-hero {
    padding: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    contain: layout;
  }

  /* Grid → 1 colonne — !important pour écraser CSS Elementor sans media query */
  .hero-inner,
  .hero-inner--left,
  .hero-inner--right {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px;
    width: 100%;
  }

  /* Ordre par défaut : texte (1) → image (2)
     Spécificité (0,2,0) pour écraser .hero-inner--left .hero-image-wrap { order:-1 } */
  .hero-inner .hero-card,
  .hero-inner--left .hero-card,
  .hero-inner--right .hero-card     { order: 1; }

  .hero-inner .hero-image-wrap,
  .hero-inner--left .hero-image-wrap,
  .hero-inner--right .hero-image-wrap { order: 2; }

  /* Variante : image (1) → texte (2) — spécificité (0,3,0) l'emporte */
  .hero-inner--mob-image-first .hero-image-wrap { order: 1; }
  .hero-inner--mob-image-first .hero-card       { order: 2; }

  /* Card texte */
  .hero-card {
    width: 100%;
    box-sizing: border-box;
    min-height: auto;
    padding: 32px 24px 28px;
  }

  /* Image */
  .hero-image-wrap {
    width: 100%;
    min-height: 260px;
    height: 260px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }
  /* L'image reste en position absolute, elle remplit le conteneur */
  .hero-image-wrap img,
  .hero-image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Masquer l'image */
  .hero-image-wrap.hero-hide-mobile { display: none !important; }

  /* Masquer les formes décoratives */
  .hero-hide-deco-mobile .hero-deco-arc,
  .hero-hide-deco-mobile .hero-deco-dot { display: none !important; }

  /* Typographie */
  .hero-title       { font-size: clamp(26px, 8vw, 38px); word-break: break-word; }
  .hero-description { font-size: 15px; }

  /* Boutons */
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }
  /* Option pleine largeur activée */
  .hero-btn-full-mobile .hero-actions { flex-direction: column; }
  .hero-btn-full-mobile .hero-actions .btn { width: 100%; flex: none; }
}

@media (max-width: 480px) {
  .hero-card    { padding: 28px 16px 24px; }
  .hero-title   { font-size: clamp(22px, 8vw, 30px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; flex: none; justify-content: center; }
}

/* ── About Section ────────────────────────────────────────── */
.mdsca-about {
  background: var(--color-bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-nav {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 10px;
}

.about-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.about-nav-btn.prev { background: var(--color-primary); color: var(--color-white); }
.about-nav-btn.next { background: var(--color-accent-orange); color: var(--color-white); }
.about-nav-btn:hover { transform: scale(1.08); }

.about-content { }

.about-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-description {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-divider {
  height: 1px;
  background: rgba(0,63,59,.12);
  margin-bottom: 24px;
}

.about-points { list-style: none; padding: 0; margin: 0 0 32px; }

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,63,59,.08);
  color: var(--color-text-dark);
  font-size: 15px;
  font-weight: 500;
}
.about-point:last-child { border-bottom: none; }

.about-point-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-teal);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.about-point-bullet i { font-size: 1em; }
/* fill:currentColor makes SVG icons inherit the parent color property */
.about-point-bullet svg { width: 1em; height: 1em; display: block; fill: currentColor; }
.about-point-bullet svg path { fill: currentColor; }

/* ── Services Slider ──────────────────────────────────────── */
.mdsca-services {
  background: var(--color-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.services-heading { }

.services-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.services-subtitle {
  color: rgba(255,255,255,.65);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.slider-nav {
  display: flex;
  gap: 12px;
}

.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: var(--transition);
}
.slider-nav-btn:hover,
.slider-nav-btn.active {
  background: var(--color-accent-orange);
  border-color: var(--color-accent-orange);
}

.services-slider-wrap { overflow: hidden; }

/* ── Service Card (new design) ──────────────────────────── */
.service-card {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  height: 100%;
  /* min-height set via inline style from widget control */
}

/* Header row: icon left / number right */
.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0; /* spacer handles the gap below */
}

.service-card-icon {
  color: currentColor;
  opacity: .85;
  flex-shrink: 0;
}

.service-card-num {
  font-size: 20px;
  font-weight: 700;
  opacity: .8;
  flex-shrink: 0;
}

/* When number is alone (icon hidden), it naturally left-aligns
   because it's the only flex child */
.service-card-num--solo {
  margin-left: 0; /* ensure it stays at flex-start */
}

/* Spacer pushes title / text / btn to the bottom of the card */
.service-card-spacer {
  flex: 1;
  max-height: 14px;
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: currentColor;
}

.service-card-text {
  font-size: 14px;
  line-height: 1.7;
  opacity: .8;
  color: currentColor;
  margin-bottom: 0;
}

/* ── Expandable + button ──────────────────────────────────── */
.service-card-btn {
  margin-top: 24px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  border: 2px solid currentColor;
  border-radius: 50px;
  overflow: hidden;
  height: 44px;
  cursor: pointer;
  text-decoration: none;
  color: currentColor;
  background: transparent;
  /* No background/color transitions — keeps hover crisp */
}

/* The + icon circle */
.svc-btn-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

/* The label that slides in — one property, one timing */
.svc-btn-label {
  max-width: 0;
  padding-right: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  /* Single smooth deceleration — no opacity jump, no margin drift */
  transition: max-width .45s cubic-bezier(0.4, 0, 0.2, 1),
              padding-right .45s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card-btn:hover .svc-btn-label {
  max-width: 160px;
  padding-right: 16px;
}

/* ── Partners ─────────────────────────────────────────────── */
.mdsca-partners { background: var(--color-white); }

.partners-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
}

.partners-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.partners-count {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
  text-align: right;
}
.partners-count span { color: var(--color-accent-orange); }

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .6;
  filter: grayscale(1);
  transition: var(--transition);
}
.partner-logo:hover { opacity: 1; filter: none; }
.partner-logo img { max-height: 40px; width: auto; }

.partner-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-secondary);
  letter-spacing: -0.5px;
}

/* ── Projects Grid ────────────────────────────────────────── */
.mdsca-projects { background: var(--color-bg-light); }

.projects-header { text-align: center; margin-bottom: 48px; }

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--color-text-secondary);
  font-size: 16px;
  max-width: 640px;
  margin-inline: auto;
  line-height: 1.7;
}

.projects-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 24px;
  background: var(--color-white);
  border-radius: 50px;
  width: fit-content;
  margin-inline: auto;
  margin-bottom: 48px;
  box-shadow: var(--shadow);
}

.filter-pill {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  color: var(--color-text-dark);
  background: none;
}
.filter-pill:hover { border-color: var(--color-accent-orange); color: var(--color-accent-orange); }
.filter-pill.active {
  background: var(--color-accent-orange);
  color: var(--color-white);
  border-color: var(--color-accent-orange);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
}

/* Double-class selector (0,2,0,0) beats Elementor's .elementor img (0,1,0,1)
   which forces height:auto on all <img>, making inset:0 alone useless for replaced elements. */
.project-card .project-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.project-card:hover .project-card-image { transform: scale(1.05); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,63,59,.9) 0%, rgba(0,63,59,.3) 50%, transparent 100%);
}

.project-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
}

.project-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.project-card-title {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.project-card-btn {
  background: var(--color-accent-orange);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.project-card:hover .project-card-btn { opacity: 1; transform: translateY(0); }

/* ── Team Slider ──────────────────────────────────────────── */
.mdsca-team { background: var(--color-primary); }

.team-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.team-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--color-white);
  max-width: 500px;
  line-height: 1.2;
}

.team-counter {
  text-align: right;
}

.team-counter-num {
  font-size: 72px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.team-counter-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.team-slider-wrap {
  position: relative;
  /* clip-path clips exactly at left/right edges (hides overflow slides)
     but allows 20px bleed top/bottom so hover box-shadow is never cut */
  clip-path: inset(-20px 0);
}

.team-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.team-nav.prev { left: -20px; }
.team-nav.next { right: -20px; }

.team-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.team-nav-btn:hover { background: var(--color-accent-orange); color: var(--color-white); }

.team-card {
  /* NO overflow:hidden — box-shadow must not be clipped */
}

.team-card-image-wrap {
  /* overflow:hidden stays here to crop the photo */
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  margin-bottom: 16px;
  /* border-radius on top corners only — matches card's 14px radius */
  border-radius: 14px 14px 0 0;
}
.team-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-share {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
}
.team-card-share:hover { background: var(--color-accent-orange); color: var(--color-white); }

.team-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 14px;
  color: rgba(255,255,255,.6);
}

/* ── Testimonials ─────────────────────────────────────────── */
.mdsca-testimonials { background: var(--color-white); }

/* Two-column: narrow meta left + slider right */
.testimonials-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* Decorative soft blob behind meta column */
.testimonials-meta {
  position: relative;
}
.testimonials-meta::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(ellipse at center, rgba(82,197,187,0.13) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.testimonials-meta > * { position: relative; z-index: 1; }

.testimonials-heading {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 24px;
}
.testimonials-heading span { color: var(--color-accent-teal); }

.testimonials-divider {
  height: 1px;
  background: rgba(0,63,59,.12);
  margin-bottom: 24px;
}

/* Score: large number left + label/stars stacked right */
.testimonials-score {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.score-num {
  font-size: 60px;
  font-weight: 800;
  color: var(--color-accent-teal);
  line-height: 1;
  flex-shrink: 0;
}

.score-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.score-label-text {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.score-stars {
  color: var(--color-accent-orange);
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Nav buttons for testimonials — override dark-bg defaults */
.testimonials-slider-nav {
  display: flex;
  gap: 10px;
}
.testimonials-prev.slider-nav-btn {
  background: var(--color-white);
  border: 1.5px solid rgba(0,63,59,0.2);
  color: var(--color-text-dark);
}
.testimonials-prev.slider-nav-btn:hover {
  background: var(--color-bg-light);
  border-color: var(--color-accent-teal);
  color: var(--color-accent-teal);
}
.testimonials-next.slider-nav-btn {
  background: var(--color-accent-orange);
  border: none;
  color: var(--color-white);
}
.testimonials-next.slider-nav-btn:hover {
  background: #e09415;
}

/* Slider column */
.testimonials-slider-col { overflow: hidden; }

.testimonials-slider-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(0,63,59,.08);
  position: relative;
}

.testimonial-quote-icon {
  color: var(--color-accent-teal);
  margin-bottom: 16px;
  display: none;
}

.testimonial-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.testimonial-stars {
  color: var(--color-accent-orange);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-rating-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-left: 4px;
}
.mdsca-stars { display: inline-flex; align-items: center; gap: 2px; }
.star-filled, .mdsca-stars svg { color: var(--color-accent-orange); }

.testimonial-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.testimonial-divider { height: 1px; background: rgba(0,63,59,.08); margin-bottom: 16px; }

.testimonial-author { font-size: 15px; font-weight: 600; color: var(--color-text-dark); }
.testimonial-author-org { font-size: 13px; color: var(--color-text-secondary); margin-top: 2px; }

/* ── Blog Section ─────────────────────────────────────────── */
.mdsca-blog { background: var(--color-bg-light); }

.blog-header { text-align: center; margin-bottom: 48px; }

/* Padding creates internal buffer so card hover shadow isn't clipped */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 12px;
  margin: -12px;  /* compensate so layout doesn't shift */
}

/* Blog slider: same buffer (overflow:hidden clips at padding edge) */
.blog-swiper.mds-swiper {
  padding: 12px 0;
}

/* ── Blog Card ─────────────────────────────────────────────── */
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  /* overflow: visible — content (e.g. "LIRE LA SUITE" link) never clipped.
     The image uses its own overflow:hidden + border-radius below. */
  border: 1px solid rgba(0,63,59,.07);
  box-shadow: 0 2px 12px rgba(0,63,59,.06);
  transition: box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: 0 8px 28px rgba(0,63,59,.14);
}

.blog-card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  border-radius: var(--radius-lg);                           /* all 4 corners — image sits inside card */
  margin: 12px 12px 0;                                       /* visible gap from card edges */
}
.blog-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-image-wrap img { transform: scale(1.04); }

.blog-card-category {
  position: absolute;
  top: 12px;
  right: 12px; /* top-right of image */
  background: var(--color-accent-orange);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 50px;
}

.blog-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card-author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
}
.blog-card-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-author-avatar svg { flex-shrink: 0; }

.blog-card-author-name {
  font-size: 13px;
  color: var(--color-text-secondary);
}
.blog-card-author-name strong { color: var(--color-primary); font-weight: 600; }

.blog-card-date {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* Divider: turns gold/orange on card hover */
.blog-card-divider {
  height: 2px;
  background: rgba(0,63,59,.08);
  border-radius: 1px;
  margin-bottom: 14px;
  transition: background .25s ease;
}
.blog-card:hover .blog-card-divider {
  background: var(--color-accent-orange);
}

.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-title a {
  color: inherit;
  text-decoration: none;
}
/* Title underline on card hover */
.blog-card:hover .blog-card-title a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  transition: color .2s ease, gap .2s ease;
  margin-top: auto;
}
.blog-card-link:hover { color: var(--color-accent-orange); gap: 10px; }
.blog-card-link svg,
.blog-card-link i { width: 14px; height: 14px; font-size: 14px; flex-shrink: 0; line-height: 1; }

/* ── Footer ───────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.mdsca-footer {
  background: var(--color-primary);
  padding-top: 72px;
}

/* ── Grid ── */
.footer-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1.2fr 1.65fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* ── Col 1 : Brand ── */
.footer-logo { margin-bottom: 22px; }
.footer-logo img { height: 30px; width: auto; }

.footer-logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-white);
  display: inline-block;
  letter-spacing: -.5px;
  text-decoration: none;
}
.footer-logo-text span { color: var(--color-accent-orange); }

.footer-description {
  color: rgba(255,255,255,.65);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 28px;
}

/* Social links */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.footer-social-link {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-social-link:hover { color: var(--color-accent-orange); }

/* ── Column titles ── */
.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: .1px;
}

/* ── Nav menus ── */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li { list-style: none; }

.footer-nav a {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-nav a:hover {
  color: var(--color-accent-orange);
  padding-left: 5px;
}

/* Élément actif (current page) */
.footer-nav .current-menu-item > a,
.footer-nav .current_page_item > a {
  color: var(--color-accent-orange);
}
.footer-nav .current-menu-item > a::before,
.footer-nav .current_page_item > a::before {
  content: '●';
  font-size: 7px;
  line-height: 1;
  color: var(--color-accent-orange);
  flex-shrink: 0;
}

/* ── Newsletter ── */
.footer-newsletter-text {
  color: rgba(255,255,255,.6);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Pill form — fond blanc comme la maquette */
.footer-newsletter-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 50px;
  padding: 5px 5px 5px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
/* Wrapper interne de la pill (contient input + bouton) */
.footer-nl-row {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}
.footer-newsletter-form input[type="email"],
.footer-nl-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--dark-color);
  font-size: 14px;
  font-family: var(--font-primary);
  min-width: 0;
  padding: 9px 8px 9px 0;
}
.footer-newsletter-form input[type="email"]::placeholder,
.footer-nl-input::placeholder {
  color: rgba(1,47,50,.38);
}

/* Bouton send */
.footer-newsletter-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent-orange);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}
.footer-newsletter-btn svg,
.footer-newsletter-btn i {
  fill: currentColor;
  width: 16px;
  height: 16px;
  display: block;
}
.footer-newsletter-btn:hover {
  background: var(--dark-color2);
  transform: scale(1.06);
}

/* Bell hint — icône dans cercle */
.footer-newsletter-hint {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  line-height: 1.55;
}
.footer-newsletter-hint svg,
.footer-newsletter-hint i {
  min-width: 38px;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  padding: 9px;
  box-sizing: border-box;
  fill: rgba(255,255,255,.5);
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
}

/* ── Footer Bottom ── */
.footer-bottom {
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright {
  color: rgba(255,255,255,.5);
  font-size: 13px;
}
.footer-copyright a {
  color: var(--color-accent-orange);
  text-decoration: none;
}
.footer-copyright a:hover { text-decoration: underline; }

/* Liens légaux — séparateurs | */
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
/* Structure wp_nav_menu : nav > ul > li > a */
.footer-legal ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}
.footer-legal li { list-style: none; }
.footer-legal a {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease;
  padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,.2);
  line-height: 1;
  display: inline-block;
}
/* wp_nav_menu (li > a) */
.footer-legal li:first-child > a { padding-left: 0; }
.footer-legal li:last-child  > a { border-right: none; padding-right: 0; }
/* Fallback — <a> directs enfants de nav */
.footer-legal > a:first-child { padding-left: 0; }
.footer-legal > a:last-child  { border-right: none; padding-right: 0; }
.footer-legal a:hover         { color: var(--color-white); }

/* ── Back to top ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-accent-orange); color: var(--color-white); }

/* ── Archive & Single pages ───────────────────────────────── */
.page-hero {
  background: var(--color-primary);
  padding-block: 80px;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-hero-desc {
  color: rgba(255,255,255,.7);
  font-size: 17px;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Single service / project */
.single-hero {
  background: var(--color-primary);
  padding-block: clamp(60px, 8vw, 100px);
}

.single-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.single-hero-content { }
.single-badge {
  display: inline-block;
  background: rgba(85,199,190,.15);
  color: var(--color-accent-teal);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.single-hero-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.single-hero-desc { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.8; }

.single-hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.single-hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.single-content { padding-block: 72px; }

.single-content-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.single-main { }

.content-section { margin-bottom: 48px; }

.content-section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent-teal);
  display: inline-block;
}

.benefits-list { display: flex; flex-direction: column; gap: 12px; }

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
  font-size: 15px;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent-teal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.steps-list { display: flex; flex-direction: column; gap: 20px; }

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.cta-block {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  margin-top: 60px;
}

.cta-block-title { font-size: 28px; font-weight: 700; color: var(--color-white); margin-bottom: 12px; }
.cta-block-text { color: rgba(255,255,255,.7); margin-bottom: 28px; }

.single-sidebar { }

.sidebar-widget {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,63,59,.1);
}

.project-meta-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,63,59,.06);
  font-size: 14px;
}
.project-meta-label { color: var(--color-text-secondary); font-weight: 500; }
.project-meta-value { color: var(--color-text-dark); font-weight: 600; text-align: right; }

/* ── Pagination ───────────────────────────────────────────── */
.mdsca-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.mdsca-pagination .page-numbers {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid rgba(0,63,59,.15);
  color: var(--color-text-dark);
  transition: var(--transition);
}
.mdsca-pagination .page-numbers:hover,
.mdsca-pagination .page-numbers.current {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* ── Contact page ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-form-wrap {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--color-text-dark); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1.5px solid rgba(0,63,59,.12);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--color-accent-teal); }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Equipe Single ────────────────────────────────────────── */
.member-hero { background: var(--color-primary); padding-block: 80px; }
.member-hero-inner { display: flex; gap: 60px; align-items: center; }
.member-photo {
  width: 260px;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-info-name { font-size: 42px; font-weight: 800; color: var(--color-white); margin-bottom: 8px; }
.member-info-role { font-size: 18px; color: var(--color-accent-teal); margin-bottom: 20px; }
.member-info-bio { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.8; }

/* ── Gallery ──────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ── Related items ────────────────────────────────────────── */
.related-section { background: var(--color-bg-light); padding-block: 72px; }
.related-title { font-size: 28px; font-weight: 700; color: var(--color-text-dark); margin-bottom: 32px; }

/* ── 404 ──────────────────────────────────────────────────── */
.error-404-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 80px;
}
.error-404-code { font-size: 120px; font-weight: 800; color: var(--color-accent-teal); line-height: 1; opacity: .2; }
.error-404-title { font-size: 32px; font-weight: 700; margin-bottom: 16px; }

/* ── Search Results ───────────────────────────────────────── */
.search-results-header { margin-bottom: 40px; }

/* ── Elementor overrides ──────────────────────────────────── */
.elementor-section { padding-inline: 0 !important; }
.e-full-width-page .page-hero,
.e-full-width-page .mdsca-hero { margin-top: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --h1-size: 44px; --h2-size: 34px; --h3-size: 24px; }
  .hero-image-wrap { min-height: 280px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  /* Footer tablet : brand + newsletter sur 2 col, nav cols dessous */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1; /* Pleine largeur */
  }
  .footer-newsletter {
    grid-column: 1 / -1; /* Pleine largeur */
  }
  .single-content-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .single-hero-inner { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-slider-wrap { grid-template-columns: 1fr; }
  .team-header { flex-direction: column; gap: 16px; }
}

@media (max-width: 768px) {
  body,
  body.has-topbar { padding-top: 72px; } /* topbar cachée en mobile */
  .header-inner { height: 72px; }
  /* ── Éléments cachés en mobile ── */
  .header-nav,
  .header-search-btn,
  .header-cta-btn { display: none; }
  .header-burger   { display: flex; }

  /* ── Overlay sombre (fond à droite du drawer) ── */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 72px;
    background: rgba(0,0,0,.5);
    z-index: 998;
    cursor: pointer;
  }
  .mobile-menu-overlay.active { display: block; }

  /* ── Drawer latéral gauche ── */
  .header-nav.mobile-open {
    display: block !important;
    position: fixed;
    top: 72px;
    left: 0;
    bottom: 0;
    width: 72vw;
    max-width: 280px;
    background: var(--color-primary);
    z-index: 999;
    overflow-y: auto;
    animation: drawerSlideIn .25s ease forwards;
  }

  @keyframes drawerSlideIn {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
  }

  /* Liste principale */
  /* ul principal — tout !important pour écraser les styles desktop (flex row centré) */
  .header-nav.mobile-open > ul,
  .header-nav.mobile-open ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 20px 0 48px !important;
    list-style: none !important;
    margin: 0 !important;
  }

  /* Liens */
  .header-nav.mobile-open .nav-link {
    display: block !important;
    padding: 15px 28px !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,.88) !important;
    border-radius: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }
  .header-nav.mobile-open .nav-link:hover,
  .header-nav.mobile-open .current-menu-item > .nav-link,
  .header-nav.mobile-open .nav-link.active {
    color: var(--color-accent-orange);
  }

  /* Sous-menus (accordion toujours ouvert) */
  .header-nav.mobile-open .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(0,0,0,.12);
    border-radius: 0;
    padding: 0;
    min-width: 0;
  }
  .header-nav.mobile-open .sub-menu .nav-link {
    padding: 12px 28px 12px 42px;
    font-size: 15px;
    color: rgba(255,255,255,.6);
  }
  .header-nav.mobile-open .sub-menu .nav-link:hover {
    color: var(--color-accent-orange);
  }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand,
  .footer-newsletter { grid-column: auto; }
  .archive-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  /* Liens légaux mobile — centré avec | */
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 0; }
  .footer-legal ul { justify-content: center; }
  .footer-legal a { padding: 4px 12px; border-right: 1px solid rgba(255,255,255,.2); }
  .footer-legal a:last-child { border-right: none; }
  .footer-legal li:last-child > a { border-right: none; }
  .member-hero-inner { flex-direction: column; align-items: flex-start; }
  .partners-header { flex-direction: column; }
  .partners-logos { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --h1-size: 34px; --h2-size: 28px; --h3-size: 22px; }
  .hero-card { padding: 28px; }
  .projects-filters { width: 100%; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .back-to-top { right: 16px; bottom: 16px; }
}

/* ── Swiper overrides ─────────────────────────────────────── */
.swiper { overflow: visible; }
.swiper-slide { height: auto; }
.services-slider-wrap .swiper { overflow: hidden; }
/* Team swiper: keep overflow:hidden for horizontal slide clipping,
   add vertical padding so box-shadow is not clipped at top/bottom */
/* team-swiper: keep overflow:visible (global .swiper rule) so shadows show freely.
   Horizontal slide clipping is handled by clip-path on .team-slider-wrap above. */

/* ============================================================
   Nouveaux widgets MdS-CA v2
   ============================================================ */

/* ── MDS Page Title ───────────────────────────────────────── */
.mdsca-page-title {
  position: relative;
  display: flex;
  align-items: flex-end;      /* title + breadcrumb at bottom */
  min-height: 520px;
  overflow: hidden;
  background: var(--dark-color) center/cover no-repeat;
}

.mdsca-page-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1,47,50,.72);
  z-index: 1;
}

/* legacy overlay/bg divs (from old template) */
.page-title-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-title-overlay {
  position: absolute;
  inset: 0;
  background: var(--dark-color);
  opacity: .72;
  z-index: 0;
}

/* New .pt-* classes (widget + template-part) */
.pt-inner,
.page-title-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(36px, 4vw, 56px);
}

.pt-title,
.page-title-heading {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  color: var(--WhiteColor);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 10px 0 12px;
}

.pt-breadcrumb,
.page-title-breadcrumb {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  margin: 0;
}

.pt-breadcrumb a,
.page-title-breadcrumb a { color: rgba(255,255,255,.75); transition: var(--transition); }
.pt-breadcrumb a:hover,
.page-title-breadcrumb a:hover { color: var(--theme-color); }

.pt-bc-sep,
.page-title-breadcrumb-sep { color: rgba(255,255,255,.45); font-size: 12px; width: auto; height: auto; background: none; }

.pt-bc-current,
.page-title-breadcrumb-current {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

/* Yoast SEO / Rank Math inside breadcrumb */
.pt-breadcrumb .yoast-breadcrumb,
.page-title-breadcrumb .yoast-breadcrumb { display: contents; }
.pt-breadcrumb .yoast-breadcrumb > span,
.page-title-breadcrumb .yoast-breadcrumb > span { display: inline-flex; align-items: center; gap: 8px; }
.pt-breadcrumb .yoast-breadcrumb a,
.page-title-breadcrumb .yoast-breadcrumb a,
.pt-breadcrumb .rank-math-breadcrumb a,
.page-title-breadcrumb .rank-math-breadcrumb a { color: rgba(255,255,255,.75); }
.pt-breadcrumb .breadcrumb_last,
.page-title-breadcrumb .breadcrumb_last { color: rgba(255,255,255,.9); }

/* ── MDS Mission Vision ───────────────────────────────────── */
.mdsca-mission-vision { background: var(--WhiteColor); }

.mv-header {
  text-align: center;
  margin-bottom: 56px;
}

.mv-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--dark-color);
  line-height: 1.2;
  max-width: 700px;
  margin-inline: auto;
}

.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.mv-card {
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}

.mv-card-mission { background: var(--theme-color3); }
.mv-card-vision  { background: rgba(82,197,187,.07); border: 1.5px solid rgba(82,197,187,.18); }

.mv-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.mv-card-mission .mv-card-icon { background: var(--dark-color); color: var(--WhiteColor); }
.mv-card-vision  .mv-card-icon { background: var(--theme-color2); color: var(--WhiteColor); }

.mv-card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-color);
  margin-bottom: 12px;
}

.mv-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 16px;
}

.mv-card-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--gray-color);
}

.mv-card-deco {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: .06;
}
.mv-card-mission .mv-card-deco { background: var(--dark-color); }
.mv-card-vision  .mv-card-deco { background: var(--theme-color2); }

@media (max-width: 768px) {
  .mv-cards { grid-template-columns: 1fr; }
  .mdsca-page-title { min-height: 380px; }
}

/* ── MDS Key Figures ──────────────────────────────────────── */
.mdsca-key-figures { background: var(--dark-color); }

.kf-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.kf-heading-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--WhiteColor);
  line-height: 1.2;
}

.kf-numbers-wrap {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  background: rgba(2,78,81,.45);
}

.kf-numbers-grid {
  display: grid;
  gap: 0;
}

.kf-item {
  padding: 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.kf-item:last-child { border-bottom: none; }
.kf-item:hover { background: rgba(255,255,255,.03); border-radius: 12px; }

.kf-number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: var(--WhiteColor);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.kf-suffix {
  font-size: .55em;
  color: var(--theme-color2);
  font-weight: 700;
}

.kf-label1 { font-size: 15px; font-weight: 600; color: var(--WhiteColor); }
.kf-label2 { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* Counter animation */
.kf-number[data-target] .kf-count { display: inline-block; }

@media (max-width: 900px) {
  .kf-grid { grid-template-columns: 1fr; }
}

/* ── MDS Contact Info ─────────────────────────────────────── */
.mdsca-contact-info {
  padding: clamp(36px, 4vw, 52px);
  background: var(--theme-color3);
  border-radius: var(--radius-lg);
  height: 100%;
}

.ci-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--dark-color);
  line-height: 1.25;
  margin-bottom: 14px;
}

.ci-description {
  font-size: 15px;
  color: var(--gray-color);
  line-height: 1.75;
  margin-bottom: 32px;
}

.ci-divider {
  height: 1px;
  background: rgba(1,47,50,.1);
  margin-bottom: 28px;
}

.ci-items { display: flex; flex-direction: column; gap: 0; }

.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(1,47,50,.07);
}
.ci-item:last-child { border-bottom: none; }

.ci-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark-color);
  color: var(--WhiteColor);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.ci-item:hover .ci-icon { background: var(--theme-color2); }

.ci-content { }
.ci-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-color);
  margin-bottom: 6px;
}
.ci-value { font-size: 14px; color: var(--dark-color); line-height: 1.6; }
.ci-value a { color: var(--dark-color2); transition: var(--transition); }
.ci-value a:hover { color: var(--theme-color); }

.ci-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(1,47,50,.1);
}

.ci-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(1,47,50,.15);
  color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.ci-social-link:hover { background: var(--dark-color); color: var(--WhiteColor); border-color: var(--dark-color); }

/* ── MDS Contact Form ─────────────────────────────────────── */
.mdsca-contact-form-wrap {
  background: var(--WhiteColor);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: var(--shadow);
  height: 100%;
}

.cf-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 28px;
}

.cf-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cf-form .form-group { margin-bottom: 16px; }
.cf-form .form-group.full-width { grid-column: 1 / -1; }

.cf-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 7px;
  letter-spacing: .2px;
}

.cf-form input,
.cf-form textarea,
.cf-form select {
  width: 100%;
  padding: 13px 16px;
  background: var(--theme-color3);
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--dark-color);
  outline: none;
  transition: var(--transition);
}
.cf-form input:focus,
.cf-form textarea:focus,
.cf-form select:focus {
  border-color: var(--theme-color2);
  background: var(--WhiteColor);
  box-shadow: 0 0 0 3px rgba(82,197,187,.1);
}
.cf-form input::placeholder,
.cf-form textarea::placeholder { color: var(--gray-color); opacity: .7; }
.cf-form textarea { resize: vertical; min-height: 130px; }
.cf-form select { cursor: pointer; }

.cf-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--theme-color3);
  border-radius: 10px;
  margin-bottom: 20px;
}

.cf-rgpd input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--dark-color);
  cursor: pointer;
}

.cf-rgpd-label {
  font-size: 13px;
  color: var(--gray-color);
  line-height: 1.6;
  cursor: pointer;
}
.cf-rgpd-label a { color: var(--dark-color2); text-decoration: underline; }

.cf-submit {
  width: 100%;
  padding: 15px 28px;
  background: var(--dark-color);
  color: var(--WhiteColor);
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-primary);
  letter-spacing: .4px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cf-submit:hover { background: var(--theme-color); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(245,166,35,.3); }
.cf-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.cf-message {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}
.cf-message.success { background: rgba(82,197,187,.12); color: var(--dark-color3); border: 1px solid rgba(82,197,187,.3); display: block; }
.cf-message.error   { background: rgba(220,53,69,.08); color: #c0392b; border: 1px solid rgba(220,53,69,.2); display: block; }

.cf-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

@media (max-width: 640px) {
  .cf-form .form-row { grid-template-columns: 1fr; }
}

/* ── MDS Contact Section ──────────────────────────────────── */
.mdsca-contact-section { background: var(--theme-color3); }

.cs-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; }
}

/* ── Elementor Pro – header transparent conditionnel ──────── */
.has-transparent-header .mdsca-header {
  background: transparent;
}
.has-transparent-header .mdsca-header.scrolled {
  background: rgba(1,47,50,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ── Breadcrumb Yoast / Rank Math override ────────────────── */
.page-title-breadcrumb .yoast-breadcrumb a,
.page-title-breadcrumb .rank-math-breadcrumb a {
  color: rgba(255,255,255,.7);
}
.page-title-breadcrumb .yoast-breadcrumb,
.page-title-breadcrumb .rank-math-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ── Admin bar offset fix ─────────────────────────────────── */
.admin-bar .mdsca-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mdsca-header { top: 46px; } }

/* ── Elementor widget spacing overrides ───────────────────── */
.elementor-widget-mdsca_page_title .elementor-widget-container,
.elementor-widget-mdsca_contact_section .elementor-widget-container,
.elementor-widget-mdsca_key_figures .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Archive grid ─────────────────────────────────────────── */
.archive-grid {
  display: grid;
  gap: 28px;
}
.archive-grid--2col { grid-template-columns: repeat(2, 1fr); }
.archive-grid--3col { grid-template-columns: repeat(3, 1fr); }
.archive-grid--4col { grid-template-columns: repeat(4, 1fr); }

.service-archive-card {
  background: var(--theme-color3);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  border: 1.5px solid rgba(1,47,50,.06);
  transition: var(--transition);
}
.service-archive-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.sac-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--dark-color);
  color: var(--WhiteColor);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.sac-icon-wrap svg { width: 28px; height: 28px; }
.sac-title { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.sac-title a { color: var(--dark-color); }
.sac-title a:hover { color: var(--theme-color2); }
.sac-desc { color: var(--gray-color); font-size: 14px; line-height: 1.7; flex: 1; margin-bottom: 24px; }
.sac-link { align-self: flex-start; }

@media (max-width: 1024px) {
  .archive-grid--3col { grid-template-columns: repeat(2, 1fr); }
  .archive-grid--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .archive-grid--2col,
  .archive-grid--3col,
  .archive-grid--4col { grid-template-columns: 1fr; }
}

/* ── MDS Mission Vision ───────────────────────────────────── */
.mdsca-mission-vision {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--WhiteColor);
}

/* Intro centered title */
.mv-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(36px, 4vw, 56px);
}

.mv-intro-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  color: var(--dark-color);
  line-height: 1.35;
  letter-spacing: -.4px;
}

.mv-intro-highlight {
  color: var(--theme-color2);
  font-weight: 400;
}

/* Cards grid */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mv-card {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
  background: var(--theme-color3);
}

.mv-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 14px;
}

.mv-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-color);
  margin: 0;
}

@media (max-width: 768px) { .mv-grid { grid-template-columns: 1fr; } }

/* ── MDS Key Figures ──────────────────────────────────────── */
.mdsca-key-figures {
  background: var(--dark-color);
  padding: clamp(52px, 7vw, 88px) 0;
}

.kf-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* Left text column */
.kf-main-text {
  display: flex;
  flex-direction: column;
  color: var(--WhiteColor);
}

.kf-line1 {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--WhiteColor);
}

.kf-line2 {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--WhiteColor);
}

.kf-highlight {
  font-weight: 600;
  color: var(--theme-color2);
}

.kf-text-subtitle {
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}

/* Right stats box */
.kf-stats-box {
  background: var(--dark-color2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.kf-stat-item {
  flex: 1;
  padding: clamp(28px, 3.5vw, 48px) clamp(20px, 2.5vw, 36px);
  text-align: center;
}

.kf-divider {
  width: 1px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

.kf-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  margin-bottom: 10px;
}

.kf-prefix,
.kf-number,
.kf-suffix {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--WhiteColor);
  line-height: 1;
  letter-spacing: -1px;
}

.kf-label {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 900px) {
  .kf-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .kf-stats-box {
    flex-direction: column;
    align-items: stretch;
  }
  .kf-divider {
    width: 100%;
    height: 1px;
  }
}
@media (max-width: 480px) {
  .kf-stat-item { padding: 24px 16px; }
}

/* ── MDS Contact Info ─────────────────────────────────────── */
.mdsca-contact-info {}

.ci-header { margin-bottom: 28px; }
.ci-label-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--theme-color2); margin-bottom: 8px;
}
.ci-title { font-size: clamp(22px, 2.5vw, 30px); font-weight: 700; color: var(--dark-color); margin-bottom: 12px; }
.ci-desc  { font-size: 15px; color: var(--gray-color); line-height: 1.75; }

.ci-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }

.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ci-icon-wrap {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 12px;
  background: var(--theme-color3);
  color: var(--theme-color2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon-wrap svg { width: 20px; height: 20px; }

.ci-item-body { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.ci-item-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-color); }
.ci-item-text  { font-size: 15px; color: var(--dark-color); line-height: 1.6; }
.ci-item-text a { color: var(--dark-color); transition: var(--transition); }
.ci-item-text a:hover { color: var(--theme-color2); }

.ci-social { margin-top: 28px; }
.ci-social-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray-color); margin-bottom: 12px; }
.ci-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.ci-social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--theme-color3);
  color: var(--dark-color);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  border: 1.5px solid rgba(1,47,50,.08);
}
.ci-social-link:hover { background: var(--theme-color2); color: var(--WhiteColor); border-color: var(--theme-color2); }

/* Dark variant (inside contact-section info col) */
.cs-info-col .ci-icon-wrap { background: rgba(255,255,255,.08); }
.cs-info-col .ci-item-label { color: rgba(255,255,255,.5); }
.cs-info-col .ci-item-text,
.cs-info-col .ci-item-text a { color: var(--WhiteColor); }
.cs-info-col .ci-social-label { color: rgba(255,255,255,.5); }
.cs-info-col .ci-social-link { background: rgba(255,255,255,.08); color: var(--WhiteColor); border-color: rgba(255,255,255,.1); }
.cs-info-col .ci-social-link:hover { background: var(--theme-color2); border-color: var(--theme-color2); }

/* ── MDS Contact Form widget ──────────────────────────────── */
.mdsca-contact-form-wrap {
  background: var(--WhiteColor);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}

.cf-form-title    { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; color: var(--dark-color); margin-bottom: 8px; }
.cf-form-subtitle { font-size: 14px; color: var(--gray-color); margin-bottom: 24px; line-height: 1.6; }

.cf-notices {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.cf-notices--success { background: rgba(82,197,187,.1); color: var(--dark-color3); border: 1px solid rgba(82,197,187,.3); }
.cf-notices--error   { background: rgba(220,53,69,.07); color: #c0392b; border: 1px solid rgba(220,53,69,.2); }

.cf-row { margin-bottom: 16px; }
.cf-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cf-field { display: flex; flex-direction: column; gap: 6px; }

.cf-label {
  font-size: 13px; font-weight: 600;
  color: var(--dark-color);
  letter-spacing: .2px;
}
.cf-required { color: var(--theme-color); }

.cf-input,
.cf-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--theme-color3);
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--dark-color);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}
.cf-input:focus,
.cf-textarea:focus {
  border-color: var(--theme-color2);
  background: var(--WhiteColor);
  box-shadow: 0 0 0 3px rgba(82,197,187,.12);
}
.cf-input::placeholder,
.cf-textarea::placeholder { color: var(--gray-color); opacity: .7; }
.cf-input.cf-invalid,
.cf-textarea.cf-invalid { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231,76,60,.1); }
.cf-textarea { resize: vertical; min-height: 130px; }

.cf-checkbox-field .cf-checkbox-label {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
}
.cf-checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; margin-top: 1px;
  accent-color: var(--dark-color); cursor: pointer; flex-shrink: 0;
}
.cf-checkbox-text { font-size: 13px; color: var(--gray-color); line-height: 1.6; }
.cf-checkbox-text a { color: var(--dark-color2); text-decoration: underline; }

.cf-rgpd-row { background: var(--theme-color3); border-radius: 10px; padding: 14px 16px; margin-bottom: 20px !important; }

.cf-submit-btn {
  width: 100%;
  padding: 15px 28px;
  background: var(--theme-color);
  color: var(--WhiteColor);
  border: none;
  border-radius: 50px;
  font-size: 15px; font-weight: 600;
  font-family: var(--font-primary);
  letter-spacing: .4px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.cf-submit-btn:hover:not(:disabled) { background: var(--dark-color); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(1,47,50,.25); }
.cf-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.cf-btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: var(--WhiteColor);
  border-radius: 50%;
  animation: cfSpin .6s linear infinite;
}
@keyframes cfSpin { to { transform: rotate(360deg); } }

@media (max-width: 640px) { .cf-two-col { grid-template-columns: 1fr; } }

/* ── MDS Contact Section (combined) ──────────────────────────*/
.mdsca-contact-section {
  background: var(--theme-color3);
  padding: clamp(48px, 6vw, 88px) 0;
}

.cs-wrapper {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* Left info column */
.cs-info-col {
  background: transparent;
}

.cs-info-header { margin-bottom: 28px; }

.cs-info-title {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 400;
  color: var(--dark-color);
  line-height: 1.25;
  margin-bottom: 16px;
}
.cs-info-title strong { font-weight: 800; }

.cs-info-desc {
  font-size: 15px;
  color: var(--gray-color);
  line-height: 1.75;
  margin: 0;
}

.cs-divider {
  height: 1px;
  background: rgba(1,47,50,.1);
  margin: 24px 0;
}

/* Contact list items */
.cs-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cs-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cs-icon-circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: var(--dark-color);
  color: var(--WhiteColor);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cs-icon-circle svg { width: 22px; height: 22px; }

.cs-contact-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 4px;
}

.cs-contact-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-color);
  display: block;
}

.cs-contact-text {
  font-size: 14px;
  color: var(--gray-color);
  line-height: 1.55;
  display: block;
}

.cs-contact-link {
  color: var(--gray-color);
  transition: var(--transition);
}
.cs-contact-link:hover { color: var(--theme-color2); }

/* Social as text links */
.cs-social-text {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cs-social-text-link {
  font-size: 15px;
  color: var(--dark-color);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  text-transform: uppercase;
}
.cs-social-text-link:hover { color: var(--theme-color2); }

/* Right form column */
.cs-form-col {
  background: var(--WhiteColor);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 4px 40px rgba(1,47,50,.08);
}

.cs-form-col .cf-form-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 24px;
}

/* Pill-shaped inputs for contact section */
.cf-pill {
  border-radius: 50px !important;
  padding: 14px 22px !important;
  background: #f0f2f1 !important;
  border: 1.5px solid transparent !important;
}
.cf-pill:focus {
  border-color: var(--theme-color2) !important;
  background: var(--WhiteColor) !important;
  box-shadow: 0 0 0 3px rgba(82,197,187,.12) !important;
}

.cf-select.cf-pill {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7779' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 18px !important;
  padding-right: 46px !important;
  cursor: pointer;
}

/* Textarea pill variant: larger radius */
.cf-textarea.cf-pill {
  border-radius: 20px !important;
}

/* Contact section submit button: dark green */
.cs-form-col .cf-submit-btn {
  background: var(--dark-color) !important;
  border-radius: 50px;
  font-size: 16px;
  letter-spacing: .3px;
}
.cs-form-col .cf-submit-btn:hover:not(:disabled) {
  background: var(--dark-color2) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(1,47,50,.3);
}

/* RGPD row in contact section (no bg) */
.cs-form-col .cf-rgpd-row {
  background: transparent !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
}

@media (max-width: 900px) {
  .cs-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cs-info-col { width: 100%; }
}
@media (max-width: 640px) {
  .cs-form-col { padding: 24px 18px; }
}

/* ── .cs-form-col : design unifié pour MetForm, shortcodes et formulaire intégré ──
   MetForm charge metform-ui.css + style.css APRÈS main.css avec des sélecteurs
   à 5 classes (ex: .mf-form-wrapper .metform-form-content .metform-form-main-wrapper
   .mf-input-wrapper .mf-input). !important est nécessaire pour battre ces règles.
   Scoped sur .cs-form-col → aucun impact en dehors de la section Contact.
────────────────────────────────────────────────────────────────────────────────── */

/* Labels */
.cs-form-col label,
.cs-form-col .mf-input-label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--dark-color) !important;
  letter-spacing: .2px !important;
  margin-bottom: 5px !important;
}
.cs-form-col .mf-input-required-indicator { color: var(--theme-color) !important; }

/* ── Inputs, textarea, select — pill style ── */
.cs-form-col input[type="text"],
.cs-form-col input[type="email"],
.cs-form-col input[type="tel"],
.cs-form-col input[type="url"],
.cs-form-col input[type="number"],
.cs-form-col input[type="password"],
.cs-form-col input[type="search"],
.cs-form-col input[type="date"],
.cs-form-col textarea,
.cs-form-col select,
.cs-form-col .mf-input {
  width: 100% !important;
  padding: 14px 22px !important;
  background: #f0f2f1 !important;
  border: 1.5px solid transparent !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-family: var(--font-primary) !important;
  color: var(--dark-color) !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
  height: auto !important;
  min-height: unset !important;
  line-height: 1.5 !important;
}
/* Textarea */
.cs-form-col textarea,
.cs-form-col .mf-input.mf-textarea {
  border-radius: 20px !important;
  min-height: 130px !important;
  resize: vertical !important;
}
/* Focus */
.cs-form-col input[type="text"]:focus,
.cs-form-col input[type="email"]:focus,
.cs-form-col input[type="tel"]:focus,
.cs-form-col input[type="url"]:focus,
.cs-form-col input[type="number"]:focus,
.cs-form-col input[type="password"]:focus,
.cs-form-col input[type="search"]:focus,
.cs-form-col input[type="date"]:focus,
.cs-form-col textarea:focus,
.cs-form-col select:focus,
.cs-form-col .mf-input:focus {
  border-color: var(--theme-color2) !important;
  background: var(--WhiteColor) !important;
  box-shadow: 0 0 0 3px rgba(82,197,187,.12) !important;
  outline: none !important;
}
/* Placeholder */
.cs-form-col input::placeholder,
.cs-form-col textarea::placeholder { color: var(--gray-color) !important; opacity: .7; }

/* Select : chevron custom */
.cs-form-col select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A7779' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 18px !important;
  padding-right: 46px !important;
  cursor: pointer;
}

/* Champ wrapper MetForm : espacement */
.cs-form-col .mf-input-wrapper { margin-bottom: 16px !important; }

/* Message d'erreur MetForm */
.cs-form-col .mf-error-message {
  font-size: 12px !important;
  color: #e74c3c !important;
  margin-top: 4px !important;
  display: block !important;
}

/* Checkbox / radio */
.cs-form-col input[type="checkbox"],
.cs-form-col input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  accent-color: var(--dark-color);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: auto !important;
  appearance: auto !important;
}

/* ── Bouton submit ── */
.cs-form-col button[type="submit"],
.cs-form-col input[type="submit"],
.cs-form-col .metform-btn,
.cs-form-col .metform-submit-btn,
.cs-form-col .mf-btn-wraper button {
  width: 100% !important;
  padding: 15px 28px !important;
  background: var(--dark-color) !important;
  background-color: var(--dark-color) !important;
  color: var(--WhiteColor) !important;
  border: none !important;
  border-radius: 50px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: var(--font-primary) !important;
  letter-spacing: .4px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease !important;
  height: auto !important;
  line-height: 1.5 !important;
  max-width: 100% !important;
}
.cs-form-col button[type="submit"]:hover,
.cs-form-col input[type="submit"]:hover,
.cs-form-col .metform-btn:hover,
.cs-form-col .mf-btn-wraper button:hover {
  background: var(--dark-color2) !important;
  background-color: var(--dark-color2) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 24px rgba(1,47,50,.3) !important;
  color: var(--WhiteColor) !important;
}

/* MetForm wrapper : reset Elementor column spacing */
.cs-form-col .mf-form-wrapper .elementor-column,
.cs-form-col .mf-form-wrapper .elementor-widget-wrap {
  padding: 0 !important;
}
.cs-form-col .mf-form-wrapper .elementor-widget { margin-bottom: 0 !important; }
.cs-form-col .mf-form-wrapper .elementor-row,
.cs-form-col .mf-form-wrapper .e-con-inner { gap: 16px !important; }

/* Bouton wrapper MetForm full width */
.cs-form-col .mf-btn-wraper { width: 100% !important; margin-top: 8px !important; }


/* ═══════════════════════════════════════════════════════════════
   SINGLE SERVICE / PROJECT — 2-col 30/70 layout
══════════════════════════════════════════════════════════════════ */
.ssl-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.ssl-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.ssl-content {
  min-width: 0;
}
.ssl-cover {
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.ssl-cover-img {
  width: 100%;
  height: clamp(220px, 35vw, 420px);
  object-fit: cover;
  display: block;
}
.ssl-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary, #607A78);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #e8eeec;
}

/* Content sections inside ssl-content */
.dc-section,
.pdc-section { margin-bottom: clamp(28px, 4vw, 48px); }
.dc-section-title,
.pdc-section-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--dark-color, #012F32);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--theme-color3, #F5FAF7);
}
.dc-cover {
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  margin-bottom: 32px;
}
.dc-cover-img {
  width: 100%;
  height: clamp(200px, 30vw, 380px);
  object-fit: cover;
  display: block;
}
.dc-intro-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary, #607A78);
  margin-bottom: 28px;
}

/* ── Contenu rédigé dans Elementor (WYSIWYG) ─────────────── */
.dc-wysiwyg-content {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-secondary, #607A78);
}
.dc-wysiwyg-content p { margin: 0 0 14px; }
.dc-wysiwyg-content p:last-child { margin-bottom: 0; }
.dc-wysiwyg-content h2,
.dc-wysiwyg-content h3,
.dc-wysiwyg-content h4 {
  color: var(--dark-color, #012F32);
  margin: 1.4em 0 .6em;
  font-weight: 700;
}
.dc-wysiwyg-content ul,
.dc-wysiwyg-content ol {
  padding-left: 1.4em;
  margin: 0 0 14px;
}
.dc-wysiwyg-content li { margin-bottom: 6px; }
.dc-wysiwyg-content strong { color: var(--dark-color, #012F32); font-weight: 600; }
.dc-wysiwyg-content a {
  color: var(--color-teal, #55C7BE);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Fallback méta texte libre */
.dc-meta-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-secondary, #607A78);
  margin: 0;
}

/* ── Paragraphes libres (dc-free-paragraphs) ─────────────── */
.dc-free-paragraphs { display: flex; flex-direction: column; }

.dc-para-block + .dc-para-block { margin-top: 28px; }

.dc-para-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-color, #012F32);
  margin: 0 0 12px;
  line-height: 1.3;
}

.dc-para-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-secondary, #4a6460);
}
.dc-para-text p {
  margin: 0 0 12px;
}
.dc-para-text p:last-child { margin-bottom: 0; }

/* ── benefits list ───────────────────────────────────────── */
.benefits-list { display: flex; flex-direction: column; gap: 12px; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--dark-color, #012F32);
  line-height: 1.5;
}
.benefit-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(82,197,190,.12);
  color: var(--theme-color2, #52C5BB);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* steps */
.steps-list { display: flex; flex-direction: column; gap: 14px; }
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--dark-color, #012F32);
}
.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--theme-color2, #52C5BB);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR BLOCKS
══════════════════════════════════════════════════════════════════ */
.mdsca-sidebar-block,
.mdsca-services-list-widget,
.mdsca-project-info-box,
.mdsca-brochure-box {
  background: var(--WhiteColor, #fff);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(1,47,50,.06);
}
.sb-header,
.sl-header,
.pib-header,
.bb-header {
  background: var(--dark-color, #012F32);
  padding: 14px 20px;
}
.sb-title,
.sl-title,
.pib-title,
.bb-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .3px;
}

/* Services list inside sidebar */
.sb-services-list,
.sl-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.sb-service-item,
.sl-item {
  border-bottom: 1px solid #f0f4f3;
}
.sb-service-item:last-child,
.sl-item:last-child { border-bottom: none; }
.sb-service-link,
.sl-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-color, #012F32);
  text-decoration: none;
  transition: all .2s;
}
.sb-service-link:hover,
.sl-link:hover,
.sb-service-item.is-active .sb-service-link,
.sl-item.is-active .sl-link {
  color: var(--theme-color2, #52C5BB);
  background: rgba(82,197,190,.06);
}
.sb-service-item.is-active .sb-service-link,
.sl-item.is-active .sl-link {
  border-left: 3px solid var(--theme-color2, #52C5BB);
  font-weight: 700;
}
.sb-svc-dot,
.sl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-color2, #52C5BB);
  flex-shrink: 0;
}
.sb-svc-icon,
.sl-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--theme-color2, #52C5BB);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sb-svc-icon svg,
.sl-icon svg { width: 16px; height: 16px; }
.sb-service-link svg:last-child,
.sl-link svg:last-child { margin-left: auto; opacity: .4; }

/* CTA card in sidebar */
.sb-cta-card {
  background: var(--dark-color, #012F32);
  border-radius: var(--radius-lg, 16px);
  padding: clamp(22px, 3vw, 32px);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.sb-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1,47,50,.88);
  z-index: 0;
}
.sb-cta-title,
.sb-cta-text,
.sb-cta-btn { position: relative; z-index: 1; }
.sb-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.sb-cta-text {
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 18px;
}
.sb-cta-btn {
  display: block !important;
  text-align: center;
  width: 100%;
}

/* Brochure list */
.sb-brochure-list,
.bb-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.sb-brochure-item,
.bb-item { border-bottom: 1px solid #f0f4f3; }
.sb-brochure-item:last-child,
.bb-item:last-child { border-bottom: none; }
.sb-brochure-link,
.bb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark-color, #012F32);
  text-decoration: none;
  transition: all .2s;
}
.sb-brochure-link:hover,
.bb-link:hover {
  color: var(--theme-color2, #52C5BB);
  background: rgba(82,197,190,.06);
}
.sb-brochure-link svg:first-child,
.bb-icon { color: var(--theme-color, #F5A623); flex-shrink: 0; }
.sb-brochure-link svg:last-child,
.bb-dl { margin-left: auto; opacity: .5; color: var(--theme-color2, #52C5BB); }
.bb-name,
.sb-brochure-link span { flex: 1; }

/* Nav sidebar */
.sb-nav-block {
  background: var(--WhiteColor, #fff);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(1,47,50,.06);
  padding: 12px 0;
}
.sb-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-color, #012F32);
  text-decoration: none;
  transition: color .2s;
}
.sb-nav-link:hover { color: var(--theme-color2, #52C5BB); }
.sb-nav-next { justify-content: flex-end; }

/* ═══════════════════════════════════════════════════════════════
   PROJECT INFO BOX
══════════════════════════════════════════════════════════════════ */
.pib-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pib-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid #f0f4f3;
}
.pib-item:last-child { border-bottom: none; }
.sep-dotted .pib-item { border-bottom: 1px dashed #dde8e6; }
.sep-none .pib-item { border-bottom: none; }
.pib-icon {
  flex-shrink: 0;
  color: var(--theme-color2, #52C5BB);
  margin-top: 2px;
  font-size: 15px;
  width: 18px;
  text-align: center;
}
.pib-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pib-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--gray-color, #607A78);
}
.pib-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-color, #012F32);
}
.pib-list--inline .pib-item {
  padding: 12px 20px;
}

/* ═══════════════════════════════════════════════════════════════
   CTA CARD (standalone widget)
══════════════════════════════════════════════════════════════════ */
.mdsca-cta-card {
  border-radius: var(--radius-lg, 16px);
  padding: clamp(28px, 4vw, 44px);
  background: var(--dark-color, #012F32);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.mdsca-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1,47,50,.85);
  z-index: 0;
}
.mdsca-cta-card > * { position: relative; z-index: 1; }
.cta-card-icon {
  margin-bottom: 16px;
  font-size: 48px;
  color: var(--theme-color, #F5A623);
}
.cta-card-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.cta-card-text {
  font-size: 14.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 20px;
}
.cta-card-btn {
  display: inline-flex !important;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════════════════════════════ */
.mdsca-faq-accordion { display: flex; flex-direction: column; gap: 0; }
.faq-section-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--dark-color, #012F32);
  margin-bottom: 24px;
}
.faq-item {
  border-radius: 10px;
  border: 1px solid #e5ecea;
  margin-bottom: 8px;
  border-left: 3px solid transparent;
  transition: border-color .2s;
  overflow: hidden;
  background: #fff;
}
.faq-item.is-open {
  border-left-color: var(--theme-color2, #52C5BB);
  box-shadow: 0 2px 12px rgba(1,47,50,.07);
}
.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}
.faq-question {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-color, #012F32);
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(82,197,190,.14);
  border: 1.5px solid rgba(82,197,190,.35);
  color: #55C7BE;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.faq-icon svg {
  display: block;
  flex-shrink: 0;
}
.faq-item.is-open .faq-icon {
  background: rgba(0,63,59,.10);
  border-color: rgba(0,63,59,.25);
  color: #003F3B;
}
.faq-icon-open { display: none; }
.faq-icon-closed { display: flex; }
.faq-item.is-open .faq-icon-open { display: flex; }
.faq-item.is-open .faq-icon-closed { display: none; }
.faq-answer-wrap {
  max-height: none;
  overflow: hidden;
  transition: max-height .32s ease;
}
.faq-answer-wrap[hidden] { display: block !important; max-height: 0 !important; }
.faq-answer {
  padding: 0 20px 18px 20px;
  font-size: 14.5px;
  color: var(--text-secondary, #607A78);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════════
   PROJECT NAVIGATION (wide layout)
══════════════════════════════════════════════════════════════════ */
.mdsca-project-navigation {
  display: flex;
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid #e8eeec;
}
.pn-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid #e5ecea;
  text-decoration: none;
  transition: all .25s;
  background: #fff;
}
.pn-item:hover {
  border-color: var(--theme-color2, #52C5BB);
  box-shadow: 0 4px 18px rgba(1,47,50,.1);
  transform: translateY(-2px);
}
.pn-next { flex-direction: row-reverse; }
.pn-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-color, #012F32);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.pn-item:hover .pn-arrow { background: var(--theme-color2, #52C5BB); }
.pn-body { display: flex; flex-direction: column; gap: 2px; }
.pn-body-right { text-align: right; }
.pn-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--gray-color, #607A78);
}
.pn-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-color, #012F32);
}

/* ═══════════════════════════════════════════════════════════════
   COMING SOON PAGE
══════════════════════════════════════════════════════════════════ */
.mdsca-coming-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-color, #012F32);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 40px 20px;
}
.mdsca-coming-soon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1,47,50,.80);
  z-index: 0;
}
.cs-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
  text-align: center;
}
.cs-logo { margin-bottom: 32px; }
.cs-logo-img { max-height: 60px; width: auto; }
.cs-headline {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.1;
}
.cs-subheadline {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin-bottom: 40px;
}
.cs-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.cs-unit { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cs-num {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  color: var(--theme-color, #F5A623);
  line-height: 1;
  min-width: 80px;
  text-align: center;
}
.cs-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: rgba(255,255,255,.6);
}
.cs-colon {
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,.3);
  line-height: 1;
  margin-top: -8px;
}
.cs-email-row {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
}
.cs-email-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 20px;
  font-size: 15px;
  color: #fff;
  outline: none;
}
.cs-email-input::placeholder { color: rgba(255,255,255,.5); }
.cs-email-btn {
  border-radius: 0 50px 50px 0 !important;
  padding: 14px 24px !important;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MAINTENANCE PAGE
══════════════════════════════════════════════════════════════════ */
.mdsca-maintenance {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-color, #012F32);
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 40px 20px;
}
.mdsca-maintenance::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1,47,50,.88);
  z-index: 0;
}
.maint-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
  text-align: center;
}
.maint-logo { margin-bottom: 28px; }
.maint-logo-img { max-height: 60px; width: auto; }
.maint-icon-wrap { margin-bottom: 20px; }
.maint-icon { font-size: 56px; color: var(--theme-color, #F5A623); }
.maint-headline {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}
.maint-message {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 32px;
}
.maint-progress-wrap {
  max-width: 400px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.maint-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 50px;
  overflow: hidden;
}
.maint-progress-fill {
  height: 100%;
  background: var(--theme-color2, #52C5BB);
  border-radius: 50px;
  transition: width 1.2s ease;
}
.maint-progress-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  min-width: 36px;
}
.maint-contact {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  margin-top: 24px;
}
.maint-email {
  color: var(--theme-color2, #52C5BB);
  text-decoration: none;
  font-weight: 600;
}
.maint-email:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — single 2-col
══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ssl-grid {
    grid-template-columns: 260px 1fr;
    gap: 28px;
  }
  .ssl-sidebar { position: static; }
}
@media (max-width: 768px) {
  .ssl-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ssl-sidebar { order: 2; }
  .ssl-content { order: 1; }
  .mdsca-project-navigation { flex-direction: column; }
  .pn-item { flex: unset; }
  .cs-countdown { gap: 4px; }
  .cs-num { font-size: 36px; min-width: 60px; }
  .cs-colon { font-size: 32px; }
}
@media (max-width: 480px) {
  .cs-email-row { flex-direction: column; border-radius: 12px; }
  .cs-email-btn { border-radius: 12px !important; }
}

/* ═══════════════════════════════════════════════════════════════
   PHASE 4 — CARRIÈRES & OFFRES D'EMPLOI
   ═══════════════════════════════════════════════════════════════ */

/* ── Archive filters ───────────────────────────────────────── */
.jobs-intro-text {
  max-width: 680px;
  font-size: 1.08rem;
  color: var(--color-text-secondary, #607A78);
  line-height: 1.7;
}
.jobs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.jf-btn {
  padding: 7px 18px;
  border-radius: 30px;
  border: 1.5px solid #d0dedd;
  background: #fff;
  color: #4a6460;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.jf-btn:hover,
.jf-btn.is-active {
  background: var(--theme-color1, #003F3B);
  color: #fff;
  border-color: var(--theme-color1, #003F3B);
}

/* ── Jobs grid (widget Elementor) ─────────────────────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Jobs grid (archive template) ─────────────────────────── */
.jobs-grid--archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Job card ──────────────────────────────────────────────── */
.job-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e6eeec;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .25s, transform .25s;
}
.job-card:hover {
  box-shadow: 0 8px 32px rgba(0,63,59,.1);
  transform: translateY(-3px);
}
.job-card--closed {
  opacity: .75;
}
.job-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 24px;
}
.job-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #012F32;
  margin: 0;
  line-height: 1.4;
}
.job-card-title a {
  color: inherit;
  text-decoration: none;
}
.job-card-title a:hover {
  color: var(--theme-color2, #52C5BB);
}
.job-card-excerpt {
  font-size: .875rem;
  color: #607A78;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
.job-card-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ── Job meta list ─────────────────────────────────────────── */
.job-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: #5c7470;
}
.job-meta-item i { flex-shrink: 0; color: #52C5BB; font-size: 13px; width: 14px; text-align: center; }
.job-meta-deadline.is-past { color: #c0392b; }
.job-meta-deadline.is-past i { color: #c0392b; }

/* ── Contract badges ───────────────────────────────────────── */
.job-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}
.job-badge-cdi         { background: #e0f2f1; color: #004d40; }
.job-badge-cdd         { background: #e8f5e9; color: #1b5e20; }
.job-badge-stage       { background: #fff3e0; color: #e65100; }
.job-badge-alternance  { background: #e3f2fd; color: #0d47a1; }
.job-badge-benevolat   { background: #fce4ec; color: #880e4f; }
.job-badge-consultant  { background: #ede7f6; color: #4527a0; }

/* ── Status badges (archive card top) ─────────────────────── */
.job-badge-status {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}
.job-badge-closed { background: #fdecea; color: #c62828; }
.job-badge-open   { background: #e8f5e9; color: #2e7d32; }

/* ── Status badge in sidebar (single) ─────────────────────── */
.job-status-badge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0 !important;
}
.job-status-open   { background: #e8f5e9; color: #2e7d32; }
.job-status-closed { background: #fdecea; color: #c62828; }

/* ── Empty state ───────────────────────────────────────────── */
.jobs-empty {
  text-align: center;
  padding: 80px 20px;
}
.jobs-empty-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  color: #b0c5c2;
}
.jobs-empty-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #012F32;
  margin: 0 0 10px;
}
.jobs-empty-text {
  font-size: .95rem;
  color: #607A78;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Single offer — CTA card ───────────────────────────────── */
.mdsca-job-cta-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 28px 22px;
  background: var(--theme-color1, #003F3B);
  color: #fff;
  background-size: cover;
  background-position: center;
}
.mdsca-job-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(1,47,50,.87);
  z-index: 0;
}
.mdsca-job-cta-card > * { position: relative; z-index: 1; }

/* Closed notice inside CTA */
.job-cta-closed-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(220,53,69,.18);
  border: 1px solid rgba(220,53,69,.4);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: .82rem;
  color: #ffc9c9;
  margin-bottom: 16px;
}

/* HR contact in CTA card */
.job-cta-hr-contact {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.job-cta-hr-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .2s;
}
.job-cta-hr-link:hover { color: #fff; }
.job-cta-hr-link svg { flex-shrink: 0; opacity: .75; }

/* ── Single offer — bottom CTA footer ─────────────────────── */
.job-apply-footer {
  margin-top: 48px;
  padding: 36px 40px;
  background: var(--color-bg-light, #F3FAF7);
  border-radius: 14px;
  text-align: center;
}
.job-apply-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #012F32;
  margin: 0 0 10px;
}
.job-apply-text {
  font-size: .95rem;
  color: #607A78;
  margin: 0 0 22px;
  line-height: 1.6;
}

/* ── Disabled button ───────────────────────────────────────── */
.btn-disabled,
.btn-disabled:hover {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Outline dark button ───────────────────────────────────── */
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid #012F32;
  color: #012F32;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background .2s, color .2s;
}
.btn-outline-dark:hover {
  background: #012F32;
  color: #fff;
}

/* ── Archive pagination ────────────────────────────────────── */
.archive-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 48px;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid #d0dedd;
  background: #fff;
  color: #4a6460;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  background: var(--theme-color1, #003F3B);
  color: #fff;
  border-color: var(--theme-color1, #003F3B);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .jobs-grid          { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid--archive { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .jobs-grid          { grid-template-columns: 1fr; }
  .jobs-grid--archive { grid-template-columns: 1fr; }
  .jobs-filters { gap: 6px; }
  .jf-btn { font-size: .8rem; padding: 6px 14px; }
  .job-apply-footer { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   ELEMENTOR-FIRST ENHANCEMENTS — Phase 5
   Responsive, Burger Menu, Widget CSS Additions
   ═══════════════════════════════════════════════════════════════ */

/* ── Section label tag ─────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #52C5BB;
  margin-bottom: 12px;
}

/* hero-grid/hero-content removed — see hero v2 rules above */

/* ── About grid layout ─────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid--right .about-image-wrap { order: 1; }
.about-grid--left  .about-image-wrap { order: -1; }
.about-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #52C5BB;
  margin-bottom: 12px;
}
.about-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.about-image-wrap img { width: 100%; border-radius: 16px; height: auto; display: block; }
.about-points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.about-point { display: flex; align-items: flex-start; gap: 12px; }
.about-point-bullet { flex-shrink: 0; font-size: 1.1rem; margin-top: 2px; }
.about-point-text { font-size: .95rem; color: #607A78; line-height: 1.6; }

/* ── Partners logo grid ────────────────────────────────────── */
.partners-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.partner-logo {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e6eeec;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}
.partner-logo img { max-height: 60px; width: auto; object-fit: contain; }
.partner-logo--grayscale img { filter: grayscale(100%); opacity: .6; transition: filter .3s, opacity .3s; }
.partner-logo--grayscale:hover img { filter: none; opacity: 1; }
.partners-header { text-align: center; }
.partners-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #52C5BB; margin-bottom: 10px; }
.partners-title { font-size: 1.8rem; font-weight: 800; color: #012F32; margin: 0 0 10px; }
.partners-count { font-size: .9rem; color: #607A78; margin: 0; }

/* ── Mission Vision icon ───────────────────────────────────── */
.mv-card-icon {
  font-size: 2rem;
  color: #52C5BB;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}
.mv-card-icon svg { width: 36px; height: 36px; stroke: currentColor; }
.mv-intro-title { text-align: center; font-size: 1.1rem; color: #607A78; margin-bottom: 36px; }

/* header-burger défini à la ligne ~456 — pas de duplication ici */
.header-logo-img { height: auto; display: block; }

/* Blog card rules are defined earlier — no duplicate needed */

/* ── Team card (canonical — defined above around line 1208) ── */
/* NO overflow:hidden on .team-card — defined in canonical block */
.team-card { background: #fff; border-radius: 14px; border: 1px solid #e6eeec; text-align: center; transition: box-shadow .25s; }
.team-card:hover { box-shadow: 0 8px 32px rgba(0,63,59,.1); }
/* image wrap: overflow:hidden + top-only border-radius — defined in canonical block */
.team-card-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-card-name { font-size: 1rem; font-weight: 700; color: #012F32; margin: 16px 16px 4px; }
.team-card-role { font-size: .85rem; color: #607A78; margin: 0 16px 16px; }

/* Testimonial card duplicate rules removed — defined earlier in the file */

/* ── Brochure box ──────────────────────────────────────────── */
.bb-size { font-size: .7rem; color: #96B8B5; display: block; }
.bb-name-wrap { flex: 1; }

/* ── Btn outline-light (hero secondary btn) ────────────────── */
.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: border-color .2s, background .2s;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── Pt subtitle (page title) ──────────────────────────────── */
.pt-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin: 10px 0 0;
  line-height: 1.6;
}
.pt-icon { font-size: 2.5rem; color: rgba(255,255,255,0.8); margin-bottom: 14px; }
.pt-icon svg { width: 48px; height: 48px; stroke: currentColor; }

/* ══════════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE OVERRIDES
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid--right .about-image-wrap { order: 0; }
  .partners-logos { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* header-nav + burger gérés dans le breakpoint principal (~ligne 2288) */
  .about-actions { justify-content: center; }
  .about-grid { text-align: left; }
  .about-points { align-items: flex-start; text-align: left; }
  .partners-logos { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .jobs-grid--archive { grid-template-columns: 1fr; }
  .ssl-grid { grid-template-columns: 1fr !important; }
  .ssl-sidebar { position: static; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .about-actions { flex-direction: column; align-items: flex-start; }
  .partners-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mv-grid { grid-template-columns: 1fr !important; }
}

/* ══════════════════════════════════════════════════════════════
   CONTENT + SIDEBAR TWO-COLUMN LAYOUT
   ══════════════════════════════════════════════════════════════ */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.content-sidebar-wrap--reverse {
  grid-template-columns: 320px 1fr;
}
.content-sidebar-wrap--reverse .main-content { order: 2; }
.content-sidebar-wrap--reverse aside        { order: 1; }

.widget-area { position: sticky; top: 100px; }
.widget-area .widget + .widget { margin-top: 32px; }
.widget-area .widget-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary, #003F3B);
  border-bottom: 2px solid var(--color-accent-teal, #55C7BE);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .content-sidebar-wrap,
  .content-sidebar-wrap--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .content-sidebar-wrap--reverse .main-content,
  .content-sidebar-wrap--reverse aside { order: unset; }
  .widget-area { position: static; }
}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB SEPARATOR — FA ICON
   ══════════════════════════════════════════════════════════════ */
.pt-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.pt-bc-sep {
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.45);
  line-height: 1;
}
.pt-bc-sep i, .pt-bc-sep svg { vertical-align: middle; }

/* ══════════════════════════════════════════════════════════════
   MDS SERVICES GRID WIDGET
   ══════════════════════════════════════════════════════════════ */
.sg-section { width: 100%; }

.sg-heading-wrap {
  margin-bottom: 48px;
}
.sg-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-teal, #55C7BE);
  margin-bottom: 12px;
}
.sg-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-primary, #003F3B);
  line-height: 1.2;
  margin: 0 0 16px;
}
.sg-title .highlight { color: var(--color-accent-orange, #F6A81A); }
.sg-subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary, #607A78);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.sg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sg-card {
  background: #fff;
  border-radius: var(--mds-radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease, border-color 300ms ease;
  will-change: transform;
}
.sg-card:hover { transform: translateY(-6px); }
.sg-card a { color: inherit; text-decoration: none; }
.sg-card a:hover { color: var(--color-accent-teal, #55C7BE); }

.sg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #f0f4ff;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background-color 300ms ease;
}
.sg-icon i, .sg-icon svg {
  font-size: 2rem;
  width: 2rem;
  height: 2rem;
  color: var(--color-primary, #003F3B);
  transition: color 300ms ease;
}
.sg-card:hover .sg-icon { background-color: var(--color-accent-teal, #55C7BE); }
.sg-card:hover .sg-icon i,
.sg-card:hover .sg-icon svg { color: #fff; }

.sg-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #e8eaf0;
  line-height: 1;
  margin-bottom: 8px;
}

.sg-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary, #003F3B);
  margin: 0 0 12px;
  line-height: 1.3;
}
.sg-card:hover .sg-card-title { color: var(--color-accent-teal, #55C7BE); }

.sg-excerpt {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0 0 20px;
  flex-grow: 1;
}

.sg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.sg-btn .btn-icon { font-size: 0.8em; transition: transform 200ms ease; }
.sg-btn:hover .btn-icon { transform: translateX(3px); }

.sg-no-results { text-align: center; color: #6b7280; padding: 40px; }

@media (max-width: 1024px) {
  .sg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sg-grid { grid-template-columns: 1fr; }
  .sg-heading-wrap { margin-bottom: 32px; }
}

/* ══════════════════════════════════════════════════════════════
   MDS TEAM GRID WIDGET
   ══════════════════════════════════════════════════════════════ */
.tg-section { width: 100%; }

.tg-heading-wrap {
  margin-bottom: 48px;
}
.tg-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-teal, #55C7BE);
  margin-bottom: 12px;
}
.tg-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-primary, #003F3B);
  line-height: 1.2;
  margin: 0 0 16px;
}
.tg-title .highlight { color: var(--color-accent-orange, #F6A81A); }
.tg-subtitle {
  font-size: 1rem;
  color: var(--color-text-secondary, #607A78);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid */
.tg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Card */
.tg-card {
  background: #ffffff;
  border-radius: var(--mds-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: transform 300ms ease, box-shadow 300ms ease, background-color 300ms ease, border-color 300ms ease;
  will-change: transform;
  text-decoration: none;
  color: inherit;
}
.tg-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent-teal, #55C7BE);
  box-shadow: 0 12px 40px rgba(0,63,59,.12);
}

/* Photo */
.tg-card-photo {
  position: relative;
  overflow: hidden;
  height: 240px;
  flex-shrink: 0;
  background: #f0f4f3;
}
.tg-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 400ms ease;
}
.tg-card:hover .tg-card-photo img { transform: scale(1.04); }
.tg-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #b0c4c3;
}

/* Body */
.tg-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

/* Name */
.tg-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary, #003F3B);
  margin: 0 0 4px;
  line-height: 1.3;
}
.tg-name a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms;
}
.tg-name a:hover,
.tg-card:hover .tg-name { color: var(--color-accent-teal, #55C7BE); }

/* Role */
.tg-role {
  font-size: 0.875rem;
  color: #607A78;
  margin: 0 0 12px;
  line-height: 1.4;
}

/* Bio */
.tg-bio {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

/* Social */
.tg-social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.tg-social-list--hover {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 250ms ease, transform 250ms ease;
}
.tg-card:hover .tg-social-list--hover {
  opacity: 1;
  transform: translateY(0);
}
.tg-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f4f3;
  color: #607A78;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 200ms ease, color 200ms ease;
  flex-shrink: 0;
}
.tg-social-link i, .tg-social-link svg { width: 15px; height: 15px; }
.tg-social-link:hover {
  background: #55C7BE;
  color: #fff;
}

/* Archive button */
.tg-archive-wrap {
  margin-top: 48px;
  text-align: center;
}
.tg-archive-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}
.tg-archive-btn .btn-icon { font-size: 0.8em; transition: transform 200ms ease; }
.tg-archive-btn:hover .btn-icon { transform: translateX(3px); }

.tg-no-results { text-align: center; color: #6b7280; padding: 40px; }

/* Responsive */
@media (max-width: 1200px) {
  .tg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .tg-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-heading-wrap { margin-bottom: 36px; }
}
@media (max-width: 600px) {
  .tg-grid { grid-template-columns: 1fr; }
  .tg-social-list--hover { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════
   MDS HEADING WIDGET
   ══════════════════════════════════════════════════════════════ */
.mds-heading { display: flex; flex-direction: column; }

.mds-heading-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-teal, #52C5BB);
  margin-bottom: 12px;
}

.mds-heading-title {
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 800;
  color: var(--color-primary, #012F32);
  line-height: 1.2;
  margin: 0;
}

.mds-heading-accent-teal   { color: var(--color-accent-teal,   #52C5BB); }
.mds-heading-accent-orange { color: var(--color-accent-orange, #F5A623); }

.mds-heading-sep {
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-accent-orange, #F5A623);
  border-radius: 4px;
  margin: 20px 0;
}

.mds-heading-desc {
  font-size: 1rem;
  color: var(--color-text-secondary, #5A7779);
  line-height: 1.75;
  margin: 0;
  max-width: 640px;
}

.mds-heading-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-orange, #F5A623);
  margin-top: 16px;
}

/* ══════════════════════════════════════════════════════════════
   MDS GENERIC SLIDER WRAPPER
   ══════════════════════════════════════════════════════════════ */
.mds-slider-wrap {
  position: relative;
  /* Allow hover shadows/translateY to bleed top & bottom (16px).
     Left & right clip exactly to hide inactive slides. */
  clip-path: inset(-16px 0);
}

.mds-swiper { overflow: visible; }
.mds-swiper .swiper-slide { height: auto; }
.mds-swiper--eq-h .swiper-slide { display: flex; }
.mds-swiper--eq-h .swiper-slide > * { flex: 1 1 100%; }

/* Arrows */
.mds-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--color-accent-teal, #52C5BB);
  color: var(--color-accent-teal, #52C5BB);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--mds-transition), color var(--mds-transition);
  box-shadow: var(--mds-shadow-soft);
}
.mds-slider-btn:hover { background: var(--color-accent-teal, #52C5BB); color: #fff; }
.mds-slider-prev { left: -22px; }
.mds-slider-next { right: -22px; }

@media (max-width: 768px) {
  .mds-slider-prev { left: 0; }
  .mds-slider-next { right: 0; }
}

/* Pagination dots */
.mds-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.mds-slider-dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-teal, #52C5BB);
  opacity: 0.35;
  transition: opacity 0.2s, transform 0.2s;
}
.mds-slider-dots .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.3);
}

/* ── Testimonials grid mode ────────────────────────────── */
.testimonials-grid-mode {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .testimonials-grid-mode { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonials-grid-mode { grid-template-columns: 1fr; }
}
.testimonials-section-header {
  text-align: center;
  margin-bottom: 40px;
}


/* ════════════════════════════════════════════════════════════
   BLOG SINGLE & ARCHIVE — 70 / 30 layout
   ════════════════════════════════════════════════════════════ */

/* Override generic 320 px sidebar → 30 % for blog */
.content-sidebar-wrap--blog {
  grid-template-columns: 1fr minmax(0, 360px);
}

/* ── Blog single article ──────────────────────────────────── */
.single-post-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  color: #003F3B;
  margin: 16px 0 0;
}

.single-featured-img { margin-bottom: 32px; }
.single-featured-img .single-thumb {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.single-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .875rem;
  color: #666;
  margin-bottom: 8px;
}
.post-cat-badge {
  background: #003F3B;
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
}
.post-meta-sep { color: #ccc; }

.entry-content { margin-top: 32px; }
.entry-content p,
.entry-content ul,
.entry-content ol { margin-bottom: 1.25em; line-height: 1.75; }
.entry-content h2,
.entry-content h3 { color: #003F3B; margin: 2em 0 .6em; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; }

/* Tags inline in entry */
.entry-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1.5px solid #f0f0f0;
}
.entry-tags-label { font-size: .85rem; color: #888; font-weight: 600; flex-shrink: 0; }

/* Author box */
.post-author-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f9faf8;
  border-radius: 12px;
  padding: 20px 24px;
  margin-top: 40px;
}
.author-avatar { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; flex-shrink: 0; }
.author-name   { display: block; font-weight: 700; color: #003F3B; margin-bottom: 4px; }
.author-bio    { font-size: .875rem; color: #555; margin: 0; line-height: 1.6; }

/* Post navigation */
.single-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1.5px solid #f0f0f0;
}
.post-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #003F3B;
  text-decoration: none;
  font-size: .875rem;
  max-width: 45%;
  transition: color .2s;
}
.post-nav-link:hover { color: #C8A96E; }
.post-nav-next { margin-left: auto; text-align: right; }

/* Related posts */
.related-posts-section { margin-top: 56px; }
.related-posts-title {
  font-size: 1.3rem;
  color: #003F3B;
  margin-bottom: 24px;
}
.related-posts-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Blog archive hero ────────────────────────────────────── */
.blog-archive-hero {
  background: #003F3B;
  padding: 56px 0;
}
.blog-archive-hero .archive-label {
  display: inline-block;
  background: rgba(200,169,110,.2);
  color: #C8A96E;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.blog-archive-hero .archive-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  margin: 0;
}
.blog-archive-hero .archive-desc {
  color: rgba(255,255,255,.75);
  margin-top: 12px;
  max-width: 600px;
}

/* ── Blog archive grid (within 70 % column) ──────────────── */
.blog-archive-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* ── Blog pagination ──────────────────────────────────────── */
.blog-pagination { margin-top: 48px; }
.blog-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  color: #003F3B;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: #003F3B;
  border-color: #003F3B;
  color: #fff;
}
.blog-no-posts { color: #888; font-size: 1rem; padding: 32px 0; }

/* ════════════════════════════════════════════════════════════
   BLOG SIDEBAR — blocs
   ════════════════════════════════════════════════════════════ */

/* Sidebar sticky + flex column */
.blog-sidebar-col { position: sticky; top: 100px; align-self: start; }

.mdsca-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Bloc commun ──────────────────────────────────────────── */
.sidebar-block {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.sidebar-block-title {
  font-size: 1rem;
  font-weight: 700;
  color: #003F3B;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8e8e8;
}

/* ── 1. Recherche ─────────────────────────────────────────── */
.sidebar-search-wrap {
  display: flex;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  overflow: hidden;
  transition: border-color .2s;
}
.sidebar-search-wrap:focus-within { border-color: #003F3B; }
.sidebar-search-wrap input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 18px;
  font-size: .9rem;
  background: transparent;
  min-width: 0;
  color: #1a2e35;
}
.sidebar-search-wrap input[type="search"]::placeholder { color: #aaa; }
.sidebar-search-wrap button {
  flex-shrink: 0;
  background: #003F3B;
  color: #fff;
  border: none;
  padding: 10px 18px;
  cursor: pointer;
  font-size: .95rem;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-search-wrap button:hover { background: #C8A96E; }
/* Elementor renders FA icons as SVG — needs fill not color */
.sidebar-search-wrap button svg,
.sidebar-search-wrap button i { fill: currentColor; width: 1em; height: 1em; display: block; }

/* ── 2. Catégories ────────────────────────────────────────── */
.sidebar-cat-list { list-style: none; margin: 0; padding: 0; }
.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background .2s;
}
.sidebar-cat-item:hover,
.sidebar-cat-item.active { background: #f0faf8; }
.sidebar-cat-item a {
  color: #1a2e35;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  flex: 1;
}
.sidebar-cat-item.active a { font-weight: 700; color: #003F3B; }
.sidebar-cat-count {
  background: #003F3B;
  color: #fff;
  border-radius: 20px;
  padding: 2px 9px;
  font-size: .75rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ── 3. Articles récents ──────────────────────────────────── */
.sidebar-recent-list { list-style: none; margin: 0; padding: 0; }
.sidebar-recent-item + .sidebar-recent-item { margin-top: 16px; }
.sidebar-recent-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  transition: opacity .2s;
}
.sidebar-recent-link:hover { opacity: .8; }
.sidebar-recent-thumb {
  width: 72px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 7px;
  overflow: hidden;
  background: #e8f0ef;
}
.sidebar-recent-thumb img,
.sidebar-recent-thumb-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sidebar-recent-thumb-placeholder { background: #e8f0ef; }
.sidebar-recent-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.sidebar-recent-title {
  font-size: .875rem;
  font-weight: 600;
  color: #003F3B;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-recent-date { font-size: .775rem; color: #888; }

/* ── 4. CTA ───────────────────────────────────────────────── */
.sidebar-cta-wrap { padding: 0 !important; overflow: hidden; }
.sidebar-cta {
  background: #003F3B;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  min-height: 280px;
  display: flex;
  overflow: hidden;
}
.sidebar-cta-overlay {
  background: rgba(0,63,59,.88);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.sidebar-cta-title {
  color: #C8A96E;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.sidebar-cta-text {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  margin: 0;
  line-height: 1.6;
}
.sidebar-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C8A96E;
  color: #003F3B;
  padding: 10px 20px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .03em;
  align-self: flex-start;
  margin-top: auto;
  transition: background .2s, transform .15s;
}
.sidebar-cta-btn:hover { background: #b8966a; transform: translateY(-1px); }

/* ── 5. Brochures ─────────────────────────────────────────── */
.sidebar-brochure-list { list-style: none; margin: 0; padding: 0; }
.sidebar-brochure-item + .sidebar-brochure-item { margin-top: 10px; }
.sidebar-brochure-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 9px;
  text-decoration: none;
  color: #003F3B;
  font-size: .875rem;
  transition: border-color .2s, background .2s;
}
.sidebar-brochure-link:hover { border-color: #003F3B; background: #f0faf8; }
.sidebar-doc-icon { color: #E63946; font-size: 1.1rem; flex-shrink: 0; }
.sidebar-doc-label { flex: 1; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-doc-dl { color: #aaa; font-size: .85rem; flex-shrink: 0; }

/* ── 6. Tags ──────────────────────────────────────────────── */
.sidebar-tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  background: #f0faf8;
  color: #003F3B;
  font-size: .825rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.sidebar-tag-pill:hover { background: #003F3B; color: #fff; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  /* Sidebar passe sous le contenu */
  .content-sidebar-wrap--blog {
    grid-template-columns: 1fr;
  }
  .blog-sidebar-col {
    position: static;
    order: 2;
  }
  .blog-main-content { order: 1; }

  /* Archive: 1 colonne */
  .blog-archive-grid { grid-template-columns: 1fr; }

  /* Related posts: 2 colonnes */
  .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .blog-archive-hero { padding: 40px 0; }

  /* Related posts: 1 colonne */
  .related-posts-grid { grid-template-columns: 1fr; }

  /* Recherche pleine largeur */
  .sidebar-search-wrap { border-radius: 10px; }

  /* Blog cards 1 colonne sur mobile */
  .blog-main-content .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Espacements réduits */
  .mdsca-blog-sidebar { gap: 16px; }
  .sidebar-block { padding: 18px; }
  .sidebar-block-title { font-size: .95rem; margin-bottom: 12px; padding-bottom: 10px; }

  /* Navigation article */
  .single-post-nav { flex-direction: column; gap: 12px; }
  .post-nav-link { max-width: 100%; }
  .post-nav-next { text-align: left; margin-left: 0; }
}

@media (max-width: 480px) {
  .sidebar-recent-thumb { width: 60px; height: 48px; }
  .sidebar-brochure-link { font-size: .825rem; }
}

/* ==========================================================================
   Post Dynamic Content Widget (pdc-*)
   ========================================================================== */

/* ── Wrapper ── */
.mdsca-post-dynamic-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text, #2d3a38);
}

/* ── Info Bar ── */
.pdc-info-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 14px 20px;
  background: var(--color-light-bg, #F3FAF7);
  border-radius: 10px;
  font-size: 13px;
  color: var(--color-text-secondary, #496963);
}

.pdc-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pdc-info-item svg {
  flex-shrink: 0;
  opacity: .7;
}

.pdc-info-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--color-primary, #003F3B);
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s;
}

.pdc-info-category:hover {
  background: var(--color-teal, #55C7BE);
  color: #fff;
}

/* ── Featured Image ── */
.pdc-featured-image-wrap {
  overflow: hidden;
  border-radius: 14px;
}

.pdc-featured-image-wrap.pdc-rounded {
  border-radius: 20px;
}

.pdc-featured-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.pdc-image-caption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-text-secondary, #496963);
  font-style: italic;
  text-align: center;
}

/* ── WordPress Content ── */
.pdc-wp-content.entry-content {
  max-width: 100%;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text, #2d3a38);
}

.pdc-wp-content.entry-content h2,
.pdc-wp-content.entry-content h3,
.pdc-wp-content.entry-content h4 {
  color: var(--color-primary, #003F3B);
  margin-top: 1.6em;
  margin-bottom: .6em;
}

.pdc-wp-content.entry-content p {
  margin: 0 0 1.2em;
}

.pdc-wp-content.entry-content a {
  color: var(--color-teal, #55C7BE);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pdc-wp-content.entry-content ul,
.pdc-wp-content.entry-content ol {
  padding-left: 1.5em;
  margin: 0 0 1.2em;
}

.pdc-wp-content.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ── Free Paragraphs ── */
.pdc-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-teal, #55C7BE);
  margin: 0 0 20px;
}

.pdc-free-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pdc-para-block + .pdc-para-block {
  padding-top: 32px;
  border-top: 1px solid rgba(0, 63, 59, .08);
}

.pdc-para-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-primary, #003F3B);
  margin: 0 0 14px;
  line-height: 1.35;
}

.pdc-para-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text-secondary, #496963);
}

.pdc-para-text p { margin: 0 0 12px; }
.pdc-para-text p:last-child { margin-bottom: 0; }

/* ── Quotes ── */
.pdc-quotes-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pdc-quote {
  position: relative;
  margin: 0;
  padding: 28px 32px 28px 40px;
  background: var(--color-light-bg, #F3FAF7);
  border-left: 4px solid var(--color-teal, #55C7BE);
  border-radius: 0 12px 12px 0;
}

.pdc-quote::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 48px;
  line-height: 1;
  color: var(--color-teal, #55C7BE);
  font-family: Georgia, serif;
  opacity: .4;
}

.pdc-quote-text {
  font-size: 17px;
  font-style: italic;
  color: var(--color-primary, #003F3B);
  line-height: 1.65;
  margin: 0 0 10px;
}

.pdc-quote-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-teal, #55C7BE);
  letter-spacing: .04em;
}

.pdc-quote-author::before {
  content: '— ';
}

/* ── Highlights ── */
.pdc-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdc-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.7;
  border-left: 4px solid;
}

.pdc-highlight-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.pdc-highlight-text { flex: 1; }

/* Variants */
.pdc-highlight--info {
  background: #e8f4fd;
  border-color: #2196f3;
  color: #1a4f7a;
}
.pdc-highlight--info .pdc-highlight-icon { color: #2196f3; }

.pdc-highlight--warning {
  background: #fff8e1;
  border-color: #f6a81a;
  color: #7a5500;
}
.pdc-highlight--warning .pdc-highlight-icon { color: #f6a81a; }

.pdc-highlight--tip {
  background: #e8f7f0;
  border-color: #55C7BE;
  color: #1a5244;
}
.pdc-highlight--tip .pdc-highlight-icon { color: #55C7BE; }

.pdc-highlight--note {
  background: #f3f0fb;
  border-color: #9c6ef7;
  color: #3d1f7a;
}
.pdc-highlight--note .pdc-highlight-icon { color: #9c6ef7; }

/* ── Tags ── */
.pdc-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pdc-tags-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary, #496963);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pdc-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--color-light-bg, #F3FAF7);
  color: var(--color-primary, #003F3B);
  font-size: 13px;
  font-weight: 500;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(0, 63, 59, .15);
  transition: background .2s, color .2s, border-color .2s;
}

.pdc-tag:hover {
  background: var(--color-primary, #003F3B);
  color: #fff;
  border-color: var(--color-primary, #003F3B);
}

/* ── Share Buttons ── */
.pdc-share-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pdc-share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary, #496963);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pdc-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--brand, #496963);
  transition: opacity .2s, transform .15s;
}

.pdc-share-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
  color: #fff;
}

.pdc-share-btn svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.pdc-share-btn--facebook  { --brand: #1877f2; }
.pdc-share-btn--twitter   { --brand: #1da1f2; }
.pdc-share-btn--linkedin  { --brand: #0a66c2; }
.pdc-share-btn--whatsapp  { --brand: #25d366; }
.pdc-share-btn--email     { --brand: #496963; }

/* ── Navigation Prev / Next ── */
.pdc-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pdc-nav-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: var(--color-light-bg, #F3FAF7);
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(0, 63, 59, .08);
  transition: background .2s, border-color .2s, transform .15s;
}

.pdc-nav-link:hover {
  background: var(--color-primary, #003F3B);
  border-color: var(--color-primary, #003F3B);
  transform: translateY(-2px);
}

/* Sélecteur renforcé : surcharge les couleurs Elementor générées au survol */
.pdc-nav-link:hover .pdc-nav-direction,
.pdc-nav-link:hover .pdc-nav-title,
.mdsca-project-dynamic-content .pdc-nav-link:hover .pdc-nav-direction,
.mdsca-project-dynamic-content .pdc-nav-link:hover .pdc-nav-title {
  color: #fff;
}

.pdc-nav-link--next {
  text-align: right;
}

.pdc-nav-direction {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-teal, #55C7BE);
  transition: color .2s;
}

.pdc-nav-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary, #003F3B);
  line-height: 1.45;
  transition: color .2s;
}

/* ── Navigation avec miniature (widget projet) ── */

/* Lien avec thumb → row */
.pdc-nav-link:has(.pdc-nav-thumb) {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

/* Lien "suivant" avec thumb → thumb à droite */
.pdc-nav-link--next:has(.pdc-nav-thumb) {
  flex-direction: row-reverse;
  text-align: left; /* remet l'alignement du body à gauche */
}

/* Miniature */
.pdc-nav-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
}

.pdc-nav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Corps texte (direction + titre) */
.pdc-nav-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pdc-nav-direction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Carte fantôme (côté vide quand il n'y a pas de prev ou next) */
.pdc-nav-link--placeholder {
  pointer-events: none;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* ── Comments ── */
.pdc-comments-wrap {
  padding-top: 8px;
  border-top: 1px solid rgba(0, 63, 59, .10);
}

.pdc-comments-login-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-light-bg, #F3FAF7);
  border-radius: 10px;
  font-size: 14px;
  color: var(--color-text-secondary, #496963);
  border: 1px solid rgba(0, 63, 59, .08);
}

.pdc-comments-login-notice a {
  color: var(--color-primary, #003F3B);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdc-comments-login-notice a:hover {
  color: var(--color-teal, #55C7BE);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .mdsca-post-dynamic-content { gap: 32px; }
  .pdc-quote { padding: 22px 24px 22px 32px; }
}

@media (max-width: 768px) {
  .mdsca-post-dynamic-content { gap: 28px; }

  .pdc-info-bar { padding: 12px 16px; gap: 8px 14px; font-size: 12px; }

  .pdc-featured-image-wrap { border-radius: 10px; }

  .pdc-para-title { font-size: 18px; }

  .pdc-quote { padding: 18px 18px 18px 26px; }
  .pdc-quote-text { font-size: 15px; }

  .pdc-navigation { grid-template-columns: 1fr; }
  .pdc-nav-link--next { text-align: left; }

  .pdc-share-btn span { display: none; }
  .pdc-share-btn { padding: 9px; border-radius: 50%; }
  .pdc-share-btn svg { width: 17px; height: 17px; }
}

@media (max-width: 480px) {
  .pdc-tags-wrap { gap: 8px; }
  .pdc-tag { font-size: 12px; padding: 4px 11px; }
  .pdc-nav-link { padding: 16px 18px; }
  .pdc-nav-title { font-size: 13px; }
}

/* ==========================================================================
   Values Widget (vals-*)
   ========================================================================== */

/* ── Wrapper ── */
.mdsca-values {
  width: 100%;
}

/* ── En-tête ── */
.vals-header {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.vals-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-teal, #55C7BE);
  margin-bottom: 12px;
}

.vals-section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--color-primary, #003F3B);
  line-height: 1.25;
  margin: 0 0 16px;
}

.vals-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary, #496963);
  margin: 0;
}

/* ── Grille ── */
.vals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ── Carte ── */
.vals-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 63, 59, .08);
  box-shadow: 0 2px 16px rgba(0, 63, 59, .06);
  transition: transform .25s ease, background-color .25s ease,
              border-color .25s ease, box-shadow .25s ease;
}

.vals-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 63, 59, .13);
}

/* ── Cadre icône ── */
.vals-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(85, 199, 190, .12);
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background-color .25s ease;
}

/* Couleur par-carte via CSS var */
.vals-card[style*="--vals-accent"] .vals-icon-wrap {
  background: color-mix(in srgb, var(--vals-accent) 15%, transparent);
}

.vals-icon-wrap i,
.vals-icon-wrap svg {
  font-size: 32px;
  width: 32px;
  height: 32px;
  color: var(--color-primary, #003F3B);
  fill: var(--color-primary, #003F3B);
  transition: color .25s ease, fill .25s ease;
}

/* Couleur accent per-card sur l'icône */
.vals-card[style*="--vals-accent"] .vals-icon-wrap i,
.vals-card[style*="--vals-accent"] .vals-icon-wrap svg {
  color: var(--vals-accent);
  fill: var(--vals-accent);
}

.vals-card:hover .vals-icon-wrap {
  background: var(--color-teal, #55C7BE);
}

.vals-card:hover .vals-icon-wrap i,
.vals-card:hover .vals-icon-wrap svg {
  color: #fff;
  fill: #fff;
}

/* ── Titre ── */
.vals-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary, #003F3B);
  line-height: 1.3;
  margin: 0 0 12px;
  transition: color .2s ease;
}

/* ── Description ── */
.vals-card-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-secondary, #496963);
  margin: 0;
  transition: color .2s ease;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .vals-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .vals-header { margin-bottom: 32px; }
  .vals-section-title { font-size: clamp(20px, 5vw, 28px); }
  .vals-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .vals-card { padding: 24px 20px; }
  .vals-icon-wrap { width: 60px; height: 60px; margin-bottom: 18px; }
  .vals-icon-wrap i, .vals-icon-wrap svg { font-size: 26px; width: 26px; height: 26px; }
  .vals-card-title { font-size: 16px; }
}

@media (max-width: 480px) {
  .vals-grid { grid-template-columns: 1fr; gap: 14px; }
  .vals-card { flex-direction: column; align-items: center; text-align: center; padding: 20px 18px; }
  .vals-icon-wrap { width: 56px; height: 56px; margin-bottom: 14px; flex-shrink: 0; }
  .vals-icon-wrap i, .vals-icon-wrap svg { font-size: 24px; width: 24px; height: 24px; }
  .vals-card-title { font-size: 15px; }
  .vals-card-desc { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════
   Job Dynamic Content — cartes de liste (jdc-*)
   ═══════════════════════════════════════════════════════════════ */

.mdsca-job-dynamic-content .jdc-section {
  margin-bottom: clamp(28px, 4vw, 40px);
}

/* Titre de section */
.jdc-section-title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: #012F32;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e8e8;
  line-height: 1.3;
}

/* Liste de cartes */
.jdc-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Carte individuelle */
.jdc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #EBF8F7;
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 12px; /* valeur par défaut, remplacée par Elementor */
  transition: background 0.2s ease;
}
.jdc-item:last-child {
  margin-bottom: 0;
}

/* Icône cercle */
.jdc-icon {
  flex-shrink: 0;
  min-width: 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(82, 197, 190, 0.2);
  color: #52C5BB;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jdc-icon svg { display: block; }

/* Texte de la carte */
.jdc-item-text {
  font-size: 15px;
  color: #1a2e35;
  line-height: 1.55;
}

/* Résumé du poste */
.jdc-summary-text {
  font-size: 16px;
  color: #4a6460;
  line-height: 1.75;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .jdc-item { padding: 12px 16px; gap: 12px; }
  .jdc-item-text { font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   Job Application Form (jaf-*)
   ═══════════════════════════════════════════════════════════════ */

.jdc-application-form {
  background: #F5FAFA;
  border-radius: 14px;
  padding: 36px 40px;
  margin-top: 48px;
}

.jaf-subtitle {
  color: #607A78;
  font-size: 15px;
  margin: -8px 0 24px;
  line-height: 1.6;
}

/* Notices */
.jaf-notices {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  display: none;
}
.jaf-notices--success { background: #e6f9f0; color: #1a6b3a; border-left: 4px solid #2ecc71; }
.jaf-notices--error   { background: #fdecea; color: #c0392b; border-left: 4px solid #e74c3c; }

/* Grille lignes */
.jaf-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.jaf-row--2col { grid-template-columns: 1fr 1fr; }

/* Champ */
.jaf-field { display: flex; flex-direction: column; gap: 6px; }

.jaf-label {
  font-size: 13px;
  font-weight: 600;
  color: #2a4a48;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.jaf-required { color: #e74c3c; font-size: 15px; line-height: 1; }
.jaf-file-hint { font-weight: 400; color: #8aa7a5; font-size: 12px; }

/* Inputs texte */
.jaf-input,
.jaf-textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid #c8dedd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1a2e35;
  line-height: 1.5;
  transition: border-color .2s ease, box-shadow .2s ease;
  outline: none;
  font-family: inherit;
}
.jaf-input:focus,
.jaf-textarea:focus {
  border-color: #52C5BB;
  box-shadow: 0 0 0 3px rgba(82,197,190,.15);
}
.jaf-input.jaf-invalid,
.jaf-textarea.jaf-invalid { border-color: #e74c3c; }
.jaf-textarea { resize: vertical; min-height: 100px; }

/* Zone upload fichier */
.jaf-file-zone {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px dashed #c8dedd;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.jaf-file-zone:hover   { border-color: #52C5BB; background: #f0faf8; }
.jaf-file-zone.has-file { border-style: solid; border-color: #52C5BB; background: #eaf7f5; }
.jaf-file-zone.jaf-invalid { border-color: #e74c3c; }

.jaf-file-input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.jaf-file-icon { color: #52C5BB; flex-shrink: 0; display: flex; }
.jaf-file-text {
  font-size: 13px;
  color: #607A78;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.jaf-file-zone.has-file .jaf-file-text { color: #003F3B; font-weight: 500; }

/* Bouton submit */
.jaf-submit-row { margin-top: 24px; }

.jaf-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #012F32;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease;
  font-family: inherit;
  min-width: 200px;
}
.jaf-submit-btn:hover:not(:disabled) { background: #52C5BB; transform: translateY(-1px); }
.jaf-submit-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* Spinner animation */
@keyframes jaf-rotate { to { transform: rotate(360deg); } }
.jaf-spin { animation: jaf-rotate .8s linear infinite; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .jdc-application-form { padding: 24px 20px; }
  .jaf-row--2col { grid-template-columns: 1fr; }
  .jaf-submit-btn { width: 100%; }
}

/* ── Overrides Elementor spécifiques ─────────────────────────────────────── */

/* Page Blog — surtittre de section */
.elementor-178 .elementor-element.elementor-element-dd3ec14 .kf-label-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #52C5BB;
}

/* Page Accueil — bouton CTA section hero */
.elementor-108 .elementor-element.elementor-element-ff5c9b3 .sg-btn {
  gap: 8px;
  padding: 10px 20px 10px 0px;
  border-radius: 50px;
}

/* Page Blog — service card rayon d'arrondi et padding */
.elementor-178 .elementor-element.elementor-element-c3f5f85 .service-card {
  border-radius: 20px;
  padding: 28px;
  max-height: 260px;
}

/* ═══════════════════════════════════════════════════════════════════
   CORRECTIFS 2026-05-31
   ─────────────────────────────────────────────────────────────────
   1. Commentaires WP — mise en forme design MdS-CA
   2. .pdc-info-category a → couleur blanche
   3. Bullet-points dans entry-content / pdc-wp-content / dc-wysiwyg
   4. .pdc-nav-dir (navigation blog) + harmonisation navigation projet
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. FORMULAIRE DE COMMENTAIRES ─────────────────────────────── */
#comments {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1.5px solid #f0f0f0;
}
#comments .comments-title,
#respond .comment-reply-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color, #012F32);
  margin-bottom: 20px;
}
#respond .comment-reply-title small { font-size: .8rem; font-weight: 400; margin-left: 8px; }
#respond .comment-reply-title small a { color: var(--color-teal, #55C7BE); }

/* Connexion en tant que… */
#respond .logged-in-as {
  font-size: 13px;
  color: #607A78;
  margin-bottom: 16px;
  line-height: 1.6;
}
#respond .logged-in-as a { color: var(--dark-color, #012F32); font-weight: 600; }

/* Champs */
.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-color, #012F32);
  margin-bottom: 6px;
}
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0ebe9;
  border-radius: 10px;
  font-family: var(--font-primary, sans-serif);
  font-size: 14px;
  color: var(--dark-color, #012F32);
  background: #fff;
  transition: border-color .2s;
  resize: vertical;
  box-sizing: border-box;
}
.comment-form textarea:focus,
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
  outline: none;
  border-color: var(--color-teal, #55C7BE);
  box-shadow: 0 0 0 3px rgba(85,199,190,.12);
}
.comment-form p.comment-form-comment { margin-bottom: 16px; }
.comment-form p.comment-form-author,
.comment-form p.comment-form-email,
.comment-form p.comment-form-url  { display: inline-block; width: calc(33.33% - 8px); margin-right: 12px; vertical-align: top; margin-bottom: 16px; }
.comment-form p.comment-form-url  { margin-right: 0; }
.comment-form .comment-notes { font-size: 12px; color: #888; margin-bottom: 12px; }

/* Bouton soumettre */
.comment-form #submit,
.comment-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 11px 28px;
  background: var(--dark-color, #003F3B);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-primary, sans-serif);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.comment-form #submit:hover,
.comment-form input[type="submit"]:hover {
  background: var(--color-teal, #55C7BE);
  transform: translateY(-1px);
}

/* Liste des commentaires existants */
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid #f0f0f0; }
.comment-list .comment:last-child { border-bottom: none; }
.comment-list .comment-author .fn { font-weight: 700; color: var(--dark-color, #012F32); font-style: normal; }
.comment-list .comment-meta { font-size: 12px; color: #888; margin-bottom: 8px; }
.comment-list .comment-content p { font-size: 14.5px; color: #496963; line-height: 1.75; margin: 0; }
.comment-list .reply a { font-size: 12px; color: var(--color-teal, #55C7BE); font-weight: 600; text-decoration: none; }

@media (max-width: 600px) {
  .comment-form p.comment-form-author,
  .comment-form p.comment-form-email,
  .comment-form p.comment-form-url { width: 100%; margin-right: 0; }
}

/* ── 2. BADGE CATÉGORIE — texte blanc ───────────────────────────── */
.pdc-info-category,
.pdc-info-category a {
  color: #fff !important;
}

/* ── 3. BULLET-POINTS DANS LES ZONES DE CONTENU ────────────────── */

/* entry-content (blog article, job content WP) */
.entry-content ul:not([class]),
.entry-content ul.wp-block-list,
.pdc-wp-content ul:not([class]),
.pdc-wp-content ul.wp-block-list {
  list-style: disc;
  padding-left: 1.6em;
}
.entry-content ol:not([class]),
.entry-content ol.wp-block-list,
.pdc-wp-content ol:not([class]),
.pdc-wp-content ol.wp-block-list {
  list-style: decimal;
  padding-left: 1.6em;
}
.entry-content ul li,
.entry-content ol li,
.pdc-wp-content ul li,
.pdc-wp-content ol li {
  display: list-item;
  margin-bottom: .45em;
  line-height: 1.75;
}
.entry-content ul ul,
.pdc-wp-content ul ul { list-style: circle; margin-top: .4em; }
.entry-content ul ul ul,
.pdc-wp-content ul ul ul { list-style: square; }

/* dc-wysiwyg-content (project / job Elementor paragraphs) */
.dc-wysiwyg-content ul {
  list-style: disc;
  padding-left: 1.5em;
}
.dc-wysiwyg-content ol {
  list-style: decimal;
  padding-left: 1.5em;
}
.dc-wysiwyg-content li { display: list-item; }
.dc-wysiwyg-content ul ul { list-style: circle; }

/* dc-meta-text (paragraphes libres depuis méta WP) */
.dc-meta-text ul { list-style: disc;    padding-left: 1.5em; margin-bottom: 12px; }
.dc-meta-text ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 12px; }
.dc-meta-text li { display: list-item; margin-bottom: .4em; }

/* ── 4. NAVIGATION BLOG (.pdc-nav-dir) ──────────────────────────── */
.pdc-nav-dir {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-teal, #55C7BE);
  transition: color .2s;
}
.pdc-nav-link:hover .pdc-nav-dir { color: rgba(255,255,255,.8); }

/* Harmonisation : la navigation projet (.pdc-nav-direction) suit le même style */
.pdc-nav-direction {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-teal, #55C7BE);
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pdc-nav-link:hover .pdc-nav-direction { color: rgba(255,255,255,.8); }
