/* ================================================================
   DWDG — sections.css v8
   ================================================================ */

/* ── 1. EXPERTISE SERVICES WRAP — hide new layout, use original ── */
.expertise-services-wrap { display: none !important; }

/* ── 2. PUBLICATIONS — keep original publication-card ─────────── */
.pub-grid { display: none !important; }

/* ── 3. SECTOR BADGE COLORS on insight/work cards ─────────────── */
/* Default: frosted glass white */
.eyebrow.on-image {
  background: rgba(255,255,255,.82) !important;
  color: var(--ink-soft) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── 4. PROGRAM IMAGE EDIT HINT ────────────────────────────────── */
.generation-img { position: relative; overflow: hidden; }
.dwdg-edit-img {
  display: none;
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.generation-img:hover .dwdg-edit-img { display: flex; }

/* ── 5. GENERATION CARD BLOCK (Gutenberg) ───────────────────────── */
.dwdg-generation-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: var(--radius-lg);
  background: rgba(247,255,248,.72);
  box-shadow: 0 20px 60px rgba(0,80,35,.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
  max-width: 320px;
}
.dwdg-generation-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.88);
  box-shadow: 0 24px 80px rgba(0,80,35,.16);
}
.dwdg-generation-card__img {
  height: 160px;
  overflow: hidden;
}
.dwdg-generation-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease), filter var(--t-slow) var(--ease);
}
.dwdg-generation-card:hover .dwdg-generation-card__img img {
  transform: scale(1.05);
  filter: saturate(1.06) brightness(1.02);
}
.dwdg-generation-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 24px 28px;
}
.dwdg-generation-card__body h3 { font-size: 1.9rem; margin: 0; }
.dwdg-generation-card__body p  { font-size: 0.9375rem; line-height: 1.35; margin: 0; }
.dwdg-generation-card__body .button { margin-top: auto; }

/* ── 6. PUB CARD BLOCK (Gutenberg) ─────────────────────────────── */
.dwdg-pub-card {
  display: grid;
  grid-template-columns: minmax(200px,.75fr) minmax(320px,1.15fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow);
  margin-block: 1.5em;
}
.dwdg-pub-card__preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 36px;
  background:
    radial-gradient(circle at 70% 30%, rgba(18,201,95,.1), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(246,243,238,.95));
}
.dwdg-pub-card__cover {
  position: relative;
  width: min(170px,100%);
  aspect-ratio: .72;
  overflow: hidden;
  border-radius: 6px;
  background: #fafaf7;
  box-shadow: 0 20px 40px rgba(0,0,0,.16);
  padding: 28px 24px;
}
.dwdg-pub-card__cover::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 42%, rgba(18,201,95,.18) 42% 64%, transparent 64%);
}
.dwdg-pub-card__cover::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(18,201,95,.32) 48% 66%, transparent 66%);
}
.dwdg-pub-card__cover > * { position: relative; z-index: 1; }
.dwdg-pub-card__cover-title {
  display: block;
  color: var(--green-deep);
  font-size: 1rem;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.05em;
}
.dwdg-pub-card__cover-desc {
  max-width: 100px;
  margin-top: 32px;
  color: var(--ink);
  font-size: .46rem;
  font-weight: 600;
  line-height: 1.3;
}
.dwdg-pub-card__cover-brand {
  position: absolute;
  bottom: 16px; left: 24px;
  font-size: .9rem;
  letter-spacing: -.12em;
}
.dwdg-pub-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: var(--card-pad);
  background: rgba(255,255,255,.72);
}
.dwdg-pub-card__copy h3 {
  max-width: 520px;
  color: var(--green);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  line-height: 1.1;
  margin: 0;
}
@media (max-width: 600px) {
  .dwdg-pub-card { grid-template-columns: 1fr; }
  .dwdg-pub-card__copy { padding: 28px 24px; }
  .dwdg-pub-card__copy h3 { font-size: clamp(1.4rem, 7vw, 2rem); }
}

/* ── 7. STAT BLOCK ─────────────────────────────────────────────── */
.dwdg-stat-block {
  border-radius: var(--radius-lg);
  padding: clamp(32px,5vw,56px) clamp(28px,5vw,56px);
  margin-block: 1.5em;
  position: relative;
  overflow: hidden;
}
.dwdg-stat-block--green {
  background: linear-gradient(135deg, #0aa04b 0%, #12c95f 60%, #58d986 100%);
  color: #fff;
}
.dwdg-stat-block--dark {
  background: var(--ink);
  color: #fff;
}
.dwdg-stat-block__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dwdg-stat-block__value {
  display: block;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.06em;
}
.dwdg-stat-block--green .dwdg-stat-block__value { color: #fff; }
.dwdg-stat-block--dark  .dwdg-stat-block__value { color: var(--green); }
.dwdg-stat-block__label {
  max-width: 480px;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.04em;
  margin: 0;
  color: inherit;
}
.dwdg-stat-block--green .dwdg-stat-block__label { color: rgba(255,255,255,.9); }
.dwdg-stat-block--dark  .dwdg-stat-block__label { color: rgba(255,255,255,.85); }
.dwdg-stat-block__context {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .55;
}

/* ── 8. HIGHLIGHT BLOCK ────────────────────────────────────────── */
.dwdg-highlight {
  border-radius: var(--radius-md);
  padding: clamp(24px,4vw,40px) clamp(24px,4vw,40px);
  margin-block: 1.5em;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 3px solid var(--green);
}
.dwdg-highlight--light {
  background: rgba(18,201,95,.07);
  border-left-color: var(--green);
}
.dwdg-highlight--green {
  background: linear-gradient(135deg, rgba(10,160,75,.1), rgba(88,217,134,.14));
  border-left-color: var(--green-deep);
}
.dwdg-highlight--dark {
  background: var(--ink);
  border-left-color: var(--green);
}
.dwdg-highlight__title {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: 0;
}
.dwdg-highlight--dark .dwdg-highlight__title { color: #fff; }
.dwdg-highlight__body {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}
.dwdg-highlight--dark .dwdg-highlight__body { color: rgba(255,255,255,.72); }
.dwdg-highlight--dark .eyebrow { background: rgba(18,201,95,.25); color: var(--green); }

/* ── 9. KEY INSIGHT BLOCK ──────────────────────────────────────── */
.dwdg-key-insight {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-block: 1.5em;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.dwdg-key-insight:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.dwdg-key-insight__img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.dwdg-key-insight__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.dwdg-key-insight:hover .dwdg-key-insight__img img { transform: scale(1.04); }
.dwdg-key-insight__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.22));
  pointer-events: none;
}
.dwdg-key-insight__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 28px 28px;
}
.dwdg-key-insight__body h3 {
  font-size: clamp(.95rem, 1.7vw, 1.2rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}


/* ── 10. CONVICTION DUO BLOCK ──────────────────────────────────── */
.dwdg-conviction-duo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(180px, 22vw, 280px);
  margin-block: 1.5em;
}

/* ── 11. EXPERT CARD ───────────────────────────────────────────── */
.dwdg-expert-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.dwdg-expert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.dwdg-expert-card__img {
  height: 180px;
  overflow: hidden;
  background: var(--soft);
}
.dwdg-expert-card__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform var(--t-slow) var(--ease);
}
.dwdg-expert-card:hover .dwdg-expert-card__img img { transform: scale(1.04); }
.dwdg-expert-card__img--empty {
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(18,201,95,.15), rgba(18,201,95,.05));
}
.dwdg-expert-card__img--empty span {
  font-size: 3rem; font-weight: 800; color: var(--green); letter-spacing: -0.05em;
}
.dwdg-expert-card__body {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 22px 24px;
}
.dwdg-expert-card__name {
  font-size: 1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink);
}
.dwdg-expert-card__role {
  font-size: 0.78rem; font-weight: 700; color: var(--green-dark);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.dwdg-expert-card__bio {
  font-size: 0.875rem; line-height: 1.45; color: var(--ink-soft); margin: 4px 0 6px;
}
.dwdg-expert-card__body .button { align-self: flex-start; margin-top: 4px; }

/* ── 12. EXPERTISE PILL ────────────────────────────────────────── */
.dwdg-expertise-pill {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
a.dwdg-expertise-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(18,201,95,.22);
}
.dwdg-expertise-pill__img {
  height: 120px; overflow: hidden; background: var(--soft);
}
.dwdg-expertise-pill__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
a.dwdg-expertise-pill:hover .dwdg-expertise-pill__img img { transform: scale(1.06); }
.dwdg-expertise-pill__label {
  display: block; padding: 12px 16px;
  font-size: 0.875rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink);
}

/* ── 13. CONTACT EXPERT — fidèle capture image 7 ──────────────── */
.dwdg-contact-expert {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) 1fr;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #eeeee9;
  margin-block: 1.5em;
  align-items: stretch;
}
.dwdg-contact-expert__img {
  min-height: 340px;
  overflow: hidden;
  position: relative;
}
.dwdg-contact-expert__img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.dwdg-contact-expert__body {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(36px,5vw,56px) clamp(36px,5vw,64px);
  justify-content: center;
  background: #eeeee9;
}
/* "CONTACT US" eyebrow */
.dwdg-contact-expert .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(18,201,95,.12);
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}
.dwdg-contact-expert__name {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  margin: 0;
}
.dwdg-contact-expert__role {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--green-deep);
  width: fit-content;
}
.dwdg-contact-expert__bio {
  max-width: 520px;
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.dwdg-contact-expert__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-deep);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--green-deep);
  padding-bottom: 2px;
  width: fit-content;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.dwdg-contact-expert__email:hover { color: var(--green); border-color: var(--green); }
@media (max-width: 760px) {
  .dwdg-contact-expert { grid-template-columns: 1fr; }
  .dwdg-contact-expert__img { min-height: 260px; }
}

/* ── 14. SECTOR INTRO ──────────────────────────────────────────── */
.dwdg-sector-intro {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
  margin-block: 1.5em;
}
.dwdg-sector-intro__title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800; line-height: 0.92; letter-spacing: -0.045em;
  color: var(--ink); margin: 0;
}
.dwdg-sector-intro__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  line-height: 1.3; letter-spacing: -0.03em;
  color: var(--ink); font-weight: 500; max-width: 700px; margin: 0;
}
.dwdg-sector-intro__body {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.55; color: var(--ink-soft);
  max-width: 680px; margin: 0;
}
.dwdg-sector-intro__img {
  width: 100%; max-height: 420px; overflow: hidden;
  border-radius: var(--radius-xl);
}
.dwdg-sector-intro__img img {
  width: 100%; height: 100%; object-fit: cover; max-height: 420px;
}

/* ── 15. EXPERTS ROW (4 colonnes) ──────────────────────────────── */
.dwdg-experts-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-block: 1.5em;
}
@media (max-width: 900px) { .dwdg-experts-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dwdg-experts-row { grid-template-columns: 1fr; } }

/* ── 16. FORMATIONS ROW (3 colonnes) ───────────────────────────── */
.dwdg-formations-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: clamp(20px, 3.5vw, 48px);
  margin-block: 1.5em;
}
@media (max-width: 760px) { .dwdg-formations-row { grid-template-columns: 1fr; justify-items: center; } }
.dwdg-formations-row .generation-card { width: 100%; }

/* ── 17. EXPERTISE BADGE GRID ──────────────────────────────────── */
.dwdg-expertise-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin-block: 1.5em;
}

/* ══════════════════════════════════════════════════════════════
   TEMPLATE PAGE SECTEUR — fidèle au PDF Energy transition
   ══════════════════════════════════════════════════════════════ */

/* ── 1. INTRO (titre + sous-titre + image hero) ──────────────── */
.sector-page-intro {
  padding-top: clamp(96px, 12vw, 140px); /* espace sous la nav */
}

.sector-page-intro .wrap {
  padding-bottom: clamp(28px, 4vw, 44px);
}

.sector-page-intro__title {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 clamp(20px, 3vw, 36px);
}

.sector-page-intro__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 500;
  max-width: 680px;
  margin: 0;
}

/* Image hero — pleine largeur avec coins arrondis en bas */
.sector-page-intro__hero {
  width: 100%;
  max-height: clamp(280px, 40vw, 500px);
  overflow: hidden;
  margin-top: clamp(24px, 4vw, 48px);
  border-radius: 0 0 clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px);
}

.sector-page-intro__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* ── 2. BODY CONTENT ─────────────────────────────────────────── */
.sector-page-body {
  padding-top: clamp(48px, 6vw, 80px);
}

/* Corps de texte (paragraphes simples) */
.sector-page-content > p,
.sector-page-content > .wp-block-paragraph {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 1.2em;
}

/* Liens verts dans le corps */
.sector-page-content a,
.sector-page-content .green-link {
  color: var(--green-deep);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color var(--t-fast) var(--ease);
}
.sector-page-content a:hover { color: var(--green); }

/* ── 3. SECTIONS GUTENBERG dans le template secteur ─────────── */

/* Chaque bloc de section prend la pleine largeur wrap */
.sector-page-content .dwdg-expertise-badge-grid,
.sector-page-content .dwdg-experts-row,
.sector-page-content .dwdg-pub-card,
.sector-page-content .dwdg-contact-expert {
  margin-block: clamp(48px, 7vw, 80px);
}

/* Section headings (h2) dans le template secteur */
.sector-page-content h2,
.sector-page-content .section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: clamp(28px, 4vw, 44px);
}

/* ── 4. EXPERTISE BADGE GRID — layout PDF (rangées 4+2) ─────── */
.sector-page-content .dwdg-expertise-badge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
}

/* Les 2 derniers badges (rangée 2) centrés */
.sector-page-content .dwdg-expertise-badge-grid .dwdg-expertise-pill:nth-child(5),
.sector-page-content .dwdg-expertise-badge-grid .dwdg-expertise-pill:nth-child(6) {
  /* Optionnel : forcer la 2e rangée à 2 cols centrées */
}

@media (max-width: 900px) {
  .sector-page-content .dwdg-expertise-badge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .sector-page-content .dwdg-expertise-badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── 5. EXPERTS ROW — 4 cols comme le PDF ───────────────────── */
.sector-page-content .dwdg-experts-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Arrow "more" à droite de la grille experts */
.sector-page-content .dwdg-experts-row-wrap {
  position: relative;
}
.sector-page-content .dwdg-experts-row-wrap::after {
  content: '›';
  position: absolute;
  right: -32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--ink-soft);
  cursor: pointer;
}

/* ── 6. WORK CARDS LIST (Recent projects) ───────────────────── */
.sector-page-content .work-list {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 20px);
}

/* ── 7. CONTACT EXPERT — bas de page ────────────────────────── */
.sector-page-content .dwdg-contact-expert {
  background: var(--soft);
  border-radius: var(--radius-xl);
}

/* Séparateur visuel entre les grandes sections */
.sector-page-content > .dwdg-section-heading-block {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .sector-page-content .dwdg-experts-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .sector-page-intro__hero {
    border-radius: 0;
  }
  .sector-page-content .dwdg-experts-row {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   NOUVEAUX BLOCS v5
   ══════════════════════════════════════════════════════════════ */

/* ── HERO SECTION BLOCK ────────────────────────────────────── */
.dwdg-hero-block { position: relative; overflow: hidden; background: var(--ink); }
.dwdg-hero-block__media { position: absolute; inset: 0; }
.dwdg-hero-block__media img { width:100%;height:100%;object-fit:cover;opacity:.45; }
.dwdg-hero-block__panel { position:relative;z-index:1; padding: 120px 0 80px; background: var(--paper); }

/* ── CONVICTION SECTION BLOCK ──────────────────────────────── */
.dwdg-conviction-section { padding-block: clamp(24px,4vw,48px); }

/* ── RECENT PROJECTS BLOCK ─────────────────────────────────── */
.dwdg-recent-projects { padding-block: clamp(48px,7vw,80px); }

/* ── EXPERTISE SERVICES caption top ────────────────────────── */
.expertise-caption-top {
  font-size: clamp(0.9rem,1.5vw,1.05rem);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 640px;
  margin: 0 auto clamp(28px,4vw,44px);
  text-align: center;
  position: relative; z-index:1;
}

/* ── PUBLICATIONS SLIDER ────────────────────────────────────── */
.dwdg-publications-slider { padding-block: clamp(48px,7vw,80px); }
.dwdg-pub-slider__track { overflow: hidden; }
.dwdg-pub-slider__item { display: none; }
.dwdg-pub-slider__item:first-child,
.dwdg-pub-slider__item.active { display: grid; }
.dwdg-pub-slider__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 28px;
}
.dwdg-pub-slider__btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line); background: transparent;
  font-size: 1.4rem; cursor: pointer; color: var(--ink);
  display: grid; place-items: center;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.dwdg-pub-slider__btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.dwdg-pub-slider__dots { display:flex; gap:8px; }
.dwdg-pub-slider__dot {
  width:8px; height:8px; border-radius:50%;
  background: var(--line); transition: background var(--t-fast) var(--ease);
}
.dwdg-pub-slider__dot.active { background: var(--green); }

/* ── INSIGHTS GRID BLOCK ────────────────────────────────────── */
.dwdg-insights-grid-block { padding-block: clamp(48px,7vw,80px); }
.dwdg-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(12px,2vw,20px);
}
@media(max-width:760px){ .dwdg-insights-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:500px){ .dwdg-insights-grid { grid-template-columns: 1fr; } }

/* ── JOIN US BLOCK ──────────────────────────────────────────── */
.dwdg-join-us { padding-block: clamp(56px,8vw,96px); }

/* ── HERO SECTOR BLOCK ──────────────────────────────────────── */
.dwdg-hero-sector-block { padding-top: clamp(96px,12vw,140px); }
.dwdg-hero-sector-block__body {
  max-width: 720px; margin-top: clamp(32px,5vw,56px);
  display: flex; flex-direction: column; gap: 1.2em;
}
.dwdg-hero-sector-block__body p {
  font-size: clamp(0.95rem,1.6vw,1.1rem);
  line-height: 1.65; color: var(--ink-soft); margin: 0;
}

/* ── EDITORIAL TEXT BLOCK ───────────────────────────────────── */
.dwdg-editorial-text { max-width:720px; display:flex; flex-direction:column; gap:1.4em; margin-block:1.5em; }
.dwdg-editorial-text__para { font-size:clamp(.95rem,1.6vw,1.1rem); line-height:1.65; color:var(--ink-soft); margin:0; }
.dwdg-green-link { color:var(--green-deep); font-weight:500; text-decoration:none; border-bottom:1px solid currentColor; }
.dwdg-green-link:hover { color:var(--green); }

/* ── EXPERTS CAROUSEL BLOCK ─────────────────────────────────── */
.dwdg-experts-carousel-block { padding-block: clamp(48px,7vw,80px); }
.dwdg-experts-carousel__wrap { position: relative; display: flex; align-items: center; gap: 16px; }
.dwdg-experts-carousel__wrap .dwdg-experts-row { flex: 1; }
.dwdg-experts-carousel__arrow {
  flex-shrink: 0; width:44px; height:44px; border-radius:50%;
  border:1.5px solid var(--line); background:transparent;
  font-size:1.6rem; cursor:pointer; color:var(--ink);
  display:grid; place-items:center;
  transition:background var(--t-fast) var(--ease);
}
.dwdg-experts-carousel__arrow:hover { background:var(--green); border-color:var(--green); color:#fff; }

/* ── OTHER INSIGHTS BLOCK ───────────────────────────────────── */
.dwdg-other-insights { padding-block: clamp(48px,7vw,80px); }
.dwdg-other-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(12px,2vw,20px);
}
@media(max-width:760px){ .dwdg-other-insights__grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   CORRECTIFS v6
   ══════════════════════════════════════════════════════════════ */

/* ── EXPERTISE PILL — hover description reveal ──────────────── */
.dwdg-expertise-pill__content {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 0;
}
.dwdg-expertise-pill--hoverable .dwdg-expertise-pill__content {
  transition: gap var(--t-base) var(--ease);
}
.dwdg-expertise-pill__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
}
.dwdg-expertise-pill__desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 280ms var(--ease),
    opacity    280ms var(--ease),
    margin-top 280ms var(--ease);
}
.dwdg-expertise-pill--hoverable:hover .dwdg-expertise-pill__desc,
.dwdg-expertise-pill--hoverable:focus .dwdg-expertise-pill__desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 8px;
}
.dwdg-expertise-pill--hoverable:hover {
  border-color: rgba(18,201,95,.3);
  box-shadow: var(--shadow-hover);
}
.dwdg-expertise-pill--hoverable:hover .dwdg-expertise-pill__label {
  color: var(--green-deep);
}

/* ── WORK CARD — image is link, reduced height ──────────────── */
.work-card__img-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
  flex-shrink: 0;
}
.work-card--has-img {
  max-height: none;
  min-height: unset;
}
/* Reduce image height in recent-projects block */
.dwdg-recent-projects .work-card__img,
.dwdg-recent-projects .work-card__img-link .work-card__img {
  height: clamp(160px, 22vw, 240px);
}
.dwdg-recent-projects .work-card {
  min-height: unset;
}

/* ── HERO SECTOR — titre/sous-titre spacing ─────────────────── */
.dwdg-hero-sector-block .sector-page-intro__title {
  margin-bottom: clamp(20px, 3vw, 36px);
}

/* ══════════════════════════════════════════════════════════════
   CORRECTIFS v7
   ══════════════════════════════════════════════════════════════ */

/* ── 1. SECTION HEADING — espacement réduit ─────────────────── */
.dwdg-recent-projects .section-heading,
.dwdg-experts-carousel-block .section-heading,
.dwdg-insights-grid-block .section-heading,
.dwdg-other-insights .section-heading,
.dwdg-publications-slider .section-heading {
  margin-bottom: clamp(16px, 2vw, 24px);
}

/* ── 2. WORK CARD BODY — padding correct, texte bien centré ─── */
.work-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 3.5vw, 40px) clamp(28px, 4vw, 48px);
}
.work-card__body h3 {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}
.work-card__body p {
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 420px;
}

/* ── 3. EXPERTISE PILL — description toujours visible ──────── */
.dwdg-expertise-pill__desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 6px 0 0;
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
}
/* Annuler l'effet hover animé — description statique */
.dwdg-expertise-pill--hoverable:hover .dwdg-expertise-pill__desc {
  max-height: none;
  opacity: 1;
  margin-top: 6px;
}

/* ── 4. EXPERTS CAROUSEL — supprimer flèche ─────────────────── */
.dwdg-experts-carousel__arrow { display: none !important; }
.dwdg-experts-carousel__wrap { display: block; }

/* ── 5. CONTACT EXPERT — fond dégradé vert pleine largeur ───── */
.dwdg-contact-expert {
  background: linear-gradient(to right, #0a7a35 0%, #12c95f 30%, #a8f0c6 65%, #e8fdf2 100%) !important;
  border-radius: var(--radius-xl);
}
.dwdg-contact-expert__img img {
  mix-blend-mode: multiply;
  background: transparent;
}
.dwdg-contact-expert__body {
  background: transparent !important;
}
/* Adapter les couleurs au fond vert → texte foncé sur clair */
.dwdg-contact-expert .eyebrow {
  background: rgba(255,255,255,.35) !important;
  color: var(--ink) !important;
}
.dwdg-contact-expert__name { color: var(--ink) !important; }
.dwdg-contact-expert__role {
  color: var(--green-deep) !important;
  border-bottom: none !important; /* supprime le soulignement */
}
.dwdg-contact-expert__bio { color: var(--ink-soft) !important; }
.dwdg-contact-expert__email {
  color: var(--ink) !important;
  border-bottom: none !important; /* supprime le soulignement */
}
.dwdg-contact-expert__email:hover { color: var(--green-deep) !important; }

/* ── EXPERTS 8 GRID ──────────────────────────────────────────── */
.dwdg-experts-8-block { padding-block: clamp(48px,7vw,80px); }
.dwdg-experts-8-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}
@media (max-width: 900px) { .dwdg-experts-8-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dwdg-experts-8-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════
   CORRECTIFS v8
   ══════════════════════════════════════════════════════════════ */

/* ── 1. CONTACT EXPERT — image sans teinture verte ─────────── */
.dwdg-contact-expert__img img {
  mix-blend-mode: normal !important;
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: 100%;
}
/* Photo sur fond vert : légère surbrillance pour la détacher */
.dwdg-contact-expert__img {
  background: linear-gradient(to bottom, #0a7a35, #12c95f);
}

/* ── 2. ESPACEMENT UNIFORME — tous les titres de section ────── */
/* Override global : même valeur pour tous les blocs DWDG */
.dwdg-recent-projects .section-heading,
.dwdg-experts-carousel-block .section-heading,
.dwdg-experts-8-block .section-heading,
.dwdg-insights-grid-block .section-heading,
.dwdg-other-insights .section-heading,
.dwdg-publications-slider .section-heading,
.dwdg-join-us .section-heading,
.dwdg-expertise-badge-grid + .section-heading,
.dwdg-section-heading-block,
.sector-page-content .section-heading {
  margin-bottom: 20px !important;
}

/* ── 3. BADGE SUR IMAGE dans work cards ─────────────────────── */
.work-card__img {
  position: relative;
  overflow: hidden;
  height: clamp(160px, 22vw, 240px);
}
.work-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow) var(--ease);
}
.work-card__img-link:hover .work-card__img img {
  transform: scale(1.04);
}
/* Badge positionné en haut à gauche de l'image */
.work-card__img .eyebrow.on-image {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(240, 255, 245, 0.88) !important;
  color: var(--green-deep) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.68rem !important;
  padding: 5px 12px !important;
}

/* ══════════════════════════════════════════════════════════════
   CORRECTIFS v9 — pleine largeur page secteur
   ══════════════════════════════════════════════════════════════ */

/* Tous les blocs dans le template secteur prennent la pleine largeur du wrap */
.sector-page-content > * {
  width: 100%;
}

/* Les blocs qui ont leur propre padding interne n'ont pas besoin du padding du wrap */
.sector-page-content .dwdg-recent-projects,
.sector-page-content .dwdg-experts-carousel-block,
.sector-page-content .dwdg-experts-8-block,
.sector-page-content .dwdg-insights-grid-block,
.sector-page-content .dwdg-other-insights,
.sector-page-content .dwdg-publications-slider,
.sector-page-content .expertise-green-block,
.sector-page-content .dwdg-contact-expert,
.sector-page-content .dwdg-expertise-badge-grid,
.sector-page-content .dwdg-section-heading-block {
  max-width: 100%;
  margin-inline: 0;
}

/* Texte éditorial — légèrement plus étroit pour la lisibilité */
.sector-page-content .dwdg-editorial-text {
  max-width: 740px;
}

/* Espacements entre blocs dans le template secteur */
.sector-page-content > * + * {
  margin-top: clamp(40px, 6vw, 72px);
}

/* Contact expert — pleine largeur */
.sector-page-content .dwdg-contact-expert {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-xl);
}

/* Expertise badge grid — 4 colonnes pleine largeur */
.sector-page-content .dwdg-expertise-badge-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* Publications slider — pleine largeur */
.sector-page-content .dwdg-pub-card {
  width: 100%;
  max-width: 100%;
}
