/* ==========================================================
   THEME D — Admin Editorial
   Cible : assistantes administratives indépendantes
   ========================================================== */

/* ── VARIABLES — Theme D ─────────────────────────────────── */

html.theme-D {
  /* Defaults Theme D */
  --theme-bg-default: #fbfaf8;
  --theme-text-default: #000000;

  --theme-surface-default: #ffffff;
  --theme-surface-soft-default: #ffede2;
  --theme-surface-strong-default: #ffd2b7;
  --theme-muted-default: #f1ede9;

  --theme-accent-default: #aa6e64;
  --theme-secondary-default: #111111;

  /* Theme D variables, overridable from JSON */
  --theme-bg: var(--brand-bg, var(--theme-bg-default));
  --theme-text: var(--brand-text, var(--theme-text-default));

  --theme-surface: var(--brand-surface, var(--theme-surface-default));
  --theme-surface-soft: var(
    --brand-surface-soft,
    var(--theme-surface-soft-default)
  );
  --theme-surface-strong: var(
    --brand-surface-strong,
    var(--theme-surface-strong-default)
  );
  --theme-muted: var(--brand-muted, var(--theme-muted-default));

  --theme-accent: var(--brand-accent, var(--theme-accent-default));
  --theme-secondary: var(--brand-secondary, var(--theme-secondary-default));

  --max: 1180px;
  --theme-wide: 1420px;

  /* Tokens principaux utilisés par le moteur */
  --bg: var(--theme-bg);
  --text: var(--theme-text);
  --accent: var(--theme-accent);
  --secondary: var(--theme-secondary);
  --surface: var(--theme-surface);

  /* Surfaces */
  --surface-soft: var(--theme-surface-soft);
  --surface-strong: var(--theme-surface-strong);
  --accent-soft: var(--theme-surface-soft);
  --secondary-soft: var(--theme-surface-strong);

  /* Sections — pas de color-mix pour garder le rendu exact */
  --section-0: var(--theme-bg);
  --section-1: var(--theme-surface-soft);
  --section-2: var(--theme-bg);
  --section-3: var(--theme-surface-strong);
  --section-4: var(--theme-bg);
  --section-5: var(--theme-surface-soft);

  /* Boutons / contrastes */
  --on-accent: #ffffff;
  --button-muted-bg: var(--theme-muted);

  /* Borders */
  --border: rgba(17, 17, 17, 0.12);
  --border-soft: rgba(17, 17, 17, 0.08);
  --border-strong: rgba(17, 17, 17, 0.2);

  /* Ombres très discrètes */
  --shadow-soft: 0 4px 18px rgba(17, 17, 17, 0.04);
  --shadow-medium: 0 10px 34px rgba(17, 17, 17, 0.08);
  --shadow-card: 0 6px 22px rgba(17, 17, 17, 0.05);

  --radius-media: 0px;

  /* Typographie */
  --theme-heading-default: "Cormorant Garamond";
  --theme-body-default: "DM Sans";

  --ff-heading:
    var(--brand-font-heading, var(--theme-heading-default)), Georgia, serif;
  --ff-body:
    var(--brand-font-body, var(--theme-body-default)), system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── TYPOGRAPHIE — Theme D ─────────────────────────────── */

html.theme-D body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--text);
}

html.theme-D h1,
html.theme-D h2,
html.theme-D h3 {
  font-family: var(--ff-heading);
  font-weight: 500;
  letter-spacing: -0.025em;
}

html.theme-D h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.95;
}

html.theme-D h2 {
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.15;
  padding-bottom: 15px;
}

html.theme-D h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.2;
}

html.theme-D p,
html.theme-D li {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
}

html.theme-D .richtext,
html.theme-D p,
html.theme-D li {
  font-family: var(--ff-body);
}

html.theme-D .lead {
  font-family: var(--ff-body);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  font-weight: 400;
}

html.theme-D .sub {
  font-family: var(--ff-body);
  position: relative;
  display: inline-block;
  margin-top: 8px;
  font-weight: 300;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

html.theme-D p.sub {
  font-size: 14px !important;
}

html.theme-D .kicker {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

html.theme-D strong {
  font-weight: 500;
  color: var(--text);
}

html.theme-D .legalBackLink {
  text-decoration: none;
  font-weight: 400;
}

html.theme-D .richtext h1 {
  font-size: clamp(44px, 5vw, 72px);
}

/* ── LISTES / MINI TICKS — Theme D ─────────────────────── */

html.theme-D .richtext ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

html.theme-D .richtext li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

html.theme-D .richtext li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

/* ── BUTTONS — Theme D ───────────────────────── */

html.theme-D .btn {
  border-radius: 1px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 12px 34px;
  min-width: 220px;
  text-align: center;
  border: 1px solid currentColor;
  box-shadow: none;
  background-image: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.15s ease;
}

html.theme-D .btn.primary,
html.theme-D .btn.accent {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

html.theme-D .btn:not(.primary):not(.accent) {
  background: var(--button-muted-bg);
  border-color: transparent;
  color: var(--text);
}

html.theme-D .btn:hover,
html.theme-D .btn.primary:hover,
html.theme-D .btn.accent:hover,
html.theme-D .btn:not(.primary):not(.accent):hover {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
  transform: translateY(-1px);
}

/* ── HEADER — Theme D ───────────────────────── */

html.theme-D .siteHeader {
  background: var(--theme-bg);
  border-bottom: 0;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1000;
}

html.theme-D .headerInner,
html.theme-D .hero .wrap {
  max-width: var(--theme-wide);
}

html.theme-D .headerInner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 15px var(--wrap-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  /* background: var(--theme-bg); */
}

html.theme-D .siteHeader.isShrink .headerInner {
  padding-top: 16px;
  padding-bottom: 16px;
}

html.theme-D .siteHeader.isShrink .links a:last-child {
  padding-top: 12px;
  padding-bottom: 12px;
}

html.theme-D .brand {
  gap: 14px;
  text-decoration: none;
}

html.theme-D .brand img {
  width: 70px;
  height: 70px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

html.theme-D .brandText .b1,
html.theme-D .footerBrandName {
  font-family: var(--ff-heading);
  font-weight: 500;
}

html.theme-D .brandText .b1 {
  font-size: 26px;
  line-height: 1;
  color: var(--text);
}

html.theme-D .brandText .b2,
html.theme-D .footerBrandTagline {
  font-family: var(--ff-body);
  font-weight: 300;
}

html.theme-D .brandText .b2 {
  margin-top: 6px;
  letter-spacing: 0.03em;
  font-size: 11px;
  opacity: 0.85;
  color: var(--text);
}

html.theme-D .links {
  display: flex;
  align-items: center;
  gap: 34px;
}

html.theme-D .links a,
html.theme-D .mobileMenu a {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html.theme-D .links a {
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
}

html.theme-D .links a:hover {
  color: var(--accent);
}

html.theme-D .links a:last-child,
html.theme-D .links a:last-child:hover,
html.theme-D .links a:last-child.active,
html.theme-D .links a:last-child[aria-current="page"] {
  text-decoration: none;
}

html.theme-D .links a:last-child {
  border: 1px solid var(--theme-surface-strong);
  background: var(--secondary-soft);
  color: var(--text);
  padding: 14px 28px;
}

html.theme-D .links a:last-child:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

html.theme-D .links a:last-child::after {
  display: none;
}

/* ── MENU MOBILE — Theme D ───────────────────────── */

html.theme-D .mobileNavPanel {
  background: var(--bg);
}

html.theme-D .mobileMenu .menuClose,
html.theme-D .menuClose {
  border: 0;
  box-shadow: none;
  background: transparent;
}

html.theme-D .menuClose {
  width: auto;
  height: auto;
  padding: 24px;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: var(--text);
}

html.theme-D .mobileNavInner {
  padding: 32px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

html.theme-D .mobileNavInner a {
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

html.theme-D .mobileNavInner a:hover {
  color: var(--accent);
}

/* ── HERO — Theme D ─────────────────────────────── */

html.theme-D .hero,
html.theme-D .hero--split,
html.theme-D .hero--split .heroGrid {
  background: var(--theme-bg);
}

html.theme-D .hero {
  padding-top: 70px;
  padding-bottom: 50px;
}

html.theme-D .heroGrid {
  align-items: center;
  gap: 40px;
}

html.theme-D .hero h1 {
  font-size: clamp(45px, 4vw, 50px);
  line-height: 1.02;
  max-width: 12ch;
}

html.theme-D .hero .lead {
  margin-top: 24px;
  max-width: 540px;
  line-height: 1.5;
  font-weight: 300;
}

html.theme-D .hero .kicker {
  margin-bottom: 22px;
  color: var(--accent);
  letter-spacing: 0.12em;
}

html.theme-D .hero .kicker .dot {
  display: none;
}

html.theme-D .heroContent {
  background: transparent;
}

html.theme-D .heroImg img {
  border-radius: 0;
  box-shadow: none;
}

html.theme-D .heroCta {
  margin-top: 30px;
  margin-bottom: 24px;
}

html.theme-D .heroCta .btn,
html.theme-D .heroCta--full .btn {
  font-size: 14px;
  padding: 12px 34px;
  min-width: 220px;
  text-align: center;
}

html.theme-D .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  row-gap: 10px;
}

html.theme-D .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  backdrop-filter: none;
}

html.theme-D .badge::before {
  content: "✓";
  display: inline-block;
  margin-right: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1;
}

.hero--split .heroGrid > div:first-child {
  background: transparent;
  border-right: none;
}

/* ── HERO FULL — Theme D ───────────────────────── */

html.theme-D .hero--full {
  position: relative;
  min-height: 82vh;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
}

html.theme-D .hero--full .heroBg {
  position: absolute;
  inset: 0;
  z-index: -2;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}

html.theme-D .hero--full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.52) 34%,
    rgba(0, 0, 0, 0.22) 68%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

html.theme-D .hero--full .heroOverlay {
  position: relative;
  z-index: 1;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: transparent;
}

html.theme-D .hero--full .heroFullInner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 82vh;
  justify-content: center;
  max-width: var(--theme-wide);
  width: 100%;
  gap: 24px;
}

html.theme-D .hero--full .kicker,
html.theme-D .hero--full h1,
html.theme-D .hero--full .lead,
html.theme-D .hero--full .heroCta--full,
html.theme-D .hero--full .badges {
  max-width: 620px;
}

html.theme-D .hero--full h1,
html.theme-D .hero--full .lead,
html.theme-D .hero--full .badge,
html.theme-D .hero--full .badge::before {
  color: #fff;
}

html.theme-D .hero--full .kicker {
  color: #fff;
  opacity: 0.9;
}

html.theme-D .hero--full .btn:hover,
html.theme-D .hero--full .btn.primary:hover,
html.theme-D .hero--full .btn.accent:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

html.theme-D .hero--full .heroCta--full .btn.primary:hover,
html.theme-D .hero--full .heroCta--full .btn:not(.primary):hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

html.theme-D .hero--full .heroOverlay > .wrap.heroFullInner {
  transform: translateY(60px);
}

@media (max-width: 900px) {
  html.theme-D .hero--full,
  html.theme-D .hero--full .heroOverlay,
  html.theme-D .hero--full .heroFullInner {
    min-height: 760px;
  }

  html.theme-D .hero--full .heroBg {
    object-position: 62% center;
  }
}

@media (max-width: 640px) {
  html.theme-D .hero--full,
  html.theme-D .hero--full .heroOverlay,
  html.theme-D .hero--full .heroFullInner {
    min-height: 820px;
  }

  html.theme-D .hero--full .heroBg {
    object-position: 68% center;
  }

  html.theme-D .hero--full::before {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.58) 45%,
      rgba(0, 0, 0, 0.24) 100%
    );
  }
  html.theme-D .hero--full h1 {
    font-size: clamp(42px, 11vw, 52px);
    line-height: 1.03;
  }

  html.theme-D .hero--full .lead {
    font-size: 18px;
    line-height: 1.55;
  }

  html.theme-D .hero--full .kicker {
    font-size: 12px;
    line-height: 1.35;
  }

  html.theme-D .hero--full .badge {
    font-size: 15px;
  }

  html.theme-D .hero--full .heroOverlay > .wrap.heroFullInner {
    transform: translateY(30px);
  }
}

/* ── benefits — Theme D ─────────────────────────── */

html.theme-D .benefitIcon {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 18px;
}

/* ── SERVICES BLOCKS — Theme D ─────────────────────────── */

html.theme-D .services.services--blocks {
  background: var(--theme-bg);
}

html.theme-D .servicesBlocksFull {
  margin-top: 56px;
}

html.theme-D .serviceBlock {
  background: var(--theme-bg);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  max-width: var(--max);
  margin-inline: auto;
  align-items: center;
}

html.theme-D .serviceBlock:nth-child(even) {
  background: var(--theme-bg);
}

html.theme-D .serviceBlockContent {
  padding-block: 96px;
}

html.theme-D .serviceBlockText {
  max-width: 560px;
}

html.theme-D .serviceBlockTitle {
  font-family: var(--ff-heading);
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.15;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 28px;
}

html.theme-D .serviceBlockText p {
  margin-bottom: 18px;
}

html.theme-D .serviceBlockText p:last-of-type {
  margin-bottom: 0;
}

html.theme-D .serviceBlockCta {
  margin-top: 34px;
}

html.theme-D .serviceBlockMedia {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

html.theme-D .serviceBlockMedia img {
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* ── SERVICES CARDS — Theme D ─────────────────────────── */

html.theme-D .service {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 0;
  box-shadow: none;
  padding: 24px;
}

html.theme-D .service img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 24px;
}

html.theme-D .service h3 {
  font-family: var(--ff-heading);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 16px;
}

html.theme-D .service p {
  font-size: 17px;
  line-height: 1.55;
}

html.theme-D .services--cards .service {
  display: flex;
  flex-direction: column;
}

html.theme-D .services--cards .serviceDesc {
  flex: 1;
}

html.theme-D .services--cards .serviceCardCta {
  margin-top: auto;
  padding-top: 28px;
}

html.theme-D .services--cards .serviceCardCta .btn {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ── ABOUT — Theme D ───────────────────────────── */

html.theme-D .aboutSection {
  background: var(--theme-bg);
}

html.theme-D .aboutSection > .wrap {
  background: var(--theme-surface-soft);
  padding: clamp(56px, 7vw, 90px);
  max-width: var(--max);
  margin-inline: auto;
}

html.theme-D .aboutGrid {
  align-items: center;
  gap: clamp(48px, 7vw, 90px);
}

html.theme-D .aboutContent {
  max-width: 560px;
}

html.theme-D .aboutMedia img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

/* ── WHY SECTION — Theme D ───────────────────────── */

html.theme-D .whySection {
  background: var(--theme-bg);
}

html.theme-D .whyGrid {
  gap: clamp(48px, 6vw, 80px);
}

html.theme-D .whyBlurb {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

html.theme-D .whyIcon {
  background: transparent !important;
  border: none !important;
  box-shadow: none;
  width: auto;
  height: auto;
  padding: 0;
  margin-bottom: 22px;
  color: var(--text);
}

html.theme-D .whyIcon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

html.theme-D .whyTitle {
  font-family: var(--ff-heading);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 16px;
}

html.theme-D .whyText {
  max-width: 280px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 300;
}

html.theme-D .whyBody {
  max-width: 280px;
  margin-inline: auto;
}

/* ── FAQ — Theme D ───────────────────────────── */

html.theme-D .faqItem {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html.theme-D .faqItem:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

html.theme-D .faqQ {
  padding: 26px 0;
}

html.theme-D .faqQText {
  font-family: var(--ff-heading);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.3;
}

html.theme-D .faqA {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  padding: 0 0 24px;
}

html.theme-D .faqChevron {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

html.theme-D .faqChevron::before {
  width: 8px;
  height: 8px;
}

/* ── SOCIAL PROOF / AVIS — Theme D ───────────────────────── */

html.theme-D .reviewsSection {
  background: var(--theme-surface-soft);
  padding-bottom: 120px;
}

html.theme-D .reviewsSummary {
  max-width: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html.theme-D .reviewsRating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

html.theme-D .reviewsRating strong {
  color: var(--text);
  font-weight: 600;
}

html.theme-D .reviewsRating span {
  font-size: 15px;
  font-weight: 400;
}

html.theme-D .reviewsSourceLink {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

html.theme-D .reviewsSourceLink::after {
  content: " →";
}

html.theme-D .reviewsSlider {
  margin-top: 48px;
}

html.theme-D .reviewCard {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 42px 38px;
  min-height: 300px;
  transition: transform 0.18s ease;
}

html.theme-D .reviewCard:hover {
  transform: translateY(-3px);
}

html.theme-D .reviewQuote {
  font-family: var(--ff-heading);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.25;
  font-weight: 400;
  color: var(--text);
}

html.theme-D .reviewQuote::before {
  content: "\201C";
  display: block;
  font-family: var(--ff-heading);
  font-size: 62px;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: 14px;
}

html.theme-D .reviewMeta {
  margin-top: 30px;
}

html.theme-D .reviewMeta strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

html.theme-D .reviewMeta span {
  display: block;
  font-size: 14px;
  font-weight: 300;
  opacity: 0.65;
}

html.theme-D .reviewsNav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  font-size: 28px;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

html.theme-D .reviewsNav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── CONTACT — Theme D ───────────────────────── */

html.theme-D .contactSection {
  background: var(--theme-surface-strong);
  padding-top: 50px !important;
  padding-bottom: 0px;
  padding-inline: var(--wrap-px);
}

html.theme-D .contactSplit {
  display: block;
  min-height: 0;
  overflow: visible;
}

html.theme-D .contactLeft {
  background: transparent;
  border: 0;
  box-shadow: none;
  min-height: 0;
}

html.theme-D .contactContent {
  max-width: 100%;
  margin-inline: auto;
  padding: 0 0 48px;
  text-align: center;
}

html.theme-D .contactContent .sectionTitle {
  text-align: center;
}

html.theme-D .contactName {
  margin-top: 44px;
  margin-bottom: 8px;
  font-family: var(--ff-heading);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 400;
}

html.theme-D .contactContent .muted {
  margin-top: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
}

html.theme-D .contactContent .cta {
  justify-content: center;
  margin-top: 34px;
  gap: 14px;
}

html.theme-D .contactContent .socialRow {
  justify-content: center;
  margin-top: 34px;
  gap: 28px;
}

html.theme-D .contactContent .socialRow a {
  color: var(--text);
  opacity: 1;
}

html.theme-D .contactRight.map {
  height: 260px;
  width: 100%;
  padding: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  margin: 0 auto;
}

html.theme-D .contactRight.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  box-shadow: none;
  filter: none;
}

/* ── FOOTER — Theme D ───────────────────────── */

html.theme-D .siteFooter {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8f6f4;
}

html.theme-D .footerGrid {
  padding: 40px 0;
}

html.theme-D .footerBrandRow {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

html.theme-D .footerBrandTagline,
html.theme-D .footerCopy {
  text-align: center;
}

html.theme-D .footerLogo {
  margin-inline: auto;
}

html.theme-D .footerBrand {
  text-align: center;
}

html.theme-D .footerList a {
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

html.theme-D .footerList a:hover {
  opacity: 1;
}

html.theme-D p.fine.footerCopy {
  font-size: 12px;
}

/* ── LOCAL ZONES — Theme D ───────────────────────── */

/* Hero full local — alignement du contenu */
html.theme-D .hero--full .heroOverlay > .wrap {
  width: 100%;
  max-width: var(--theme-wide);
  margin-inline: auto;
  display: flex;
  justify-content: flex-start;
}

html.theme-D .hero--full .heroOverlay > .wrap .heroFullInner {
  margin-left: 0;
  margin-right: auto;
  max-width: 620px;
  width: 100%;
  text-align: left;
}

html.theme-D .localZonesGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  max-width: 900px;
  margin: 0 auto;
}

html.theme-D .localZonePill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}

html.theme-D .localZonePill::before {
  content: "✓";
  font-size: 12px;
  line-height: 1;
  color: var(--accent);
}

/* ── LOCAL TARGET PROFILES — Theme D ───────────────────── */

html.theme-D .localProfilesSection {
  background: var(--bg);
}

html.theme-D .targetProfilesGrid {
  gap: 28px;
  margin-top: 52px;
}

html.theme-D .localProfileCard {
  background: var(--theme-muted);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 40px 42px;
}

html.theme-D .localProfileCard h3 {
  position: relative;
  margin: 0 0 22px;
  font-family: var(--ff-heading);
  font-size: clamp(22px, 1.6vw, 26px);
  line-height: 1.2;
  font-weight: 400;
  color: var(--text);
}

html.theme-D .localProfileCard .richtext {
  color: var(--text);
}

html.theme-D .localProfileCard .richtext p {
  font-size: 17px;
  line-height: 1.55;
}

/* ── LOCAL CONTENT SECTION — Theme D ───────────────────── */

html.theme-D .localContentSection {
  background: var(--theme-surface-soft);
}

html.theme-D .localContextGrid {
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

html.theme-D .localServicesBox {
  background: var(--theme-surface-strong);
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 40px;
}

html.theme-D .localServicesBox h3 {
  margin: 0 0 22px;
  font-family: var(--ff-heading);
  font-size: clamp(22px, 1.6vw, 24px);
  line-height: 1.2;
  font-weight: 400;
}

html.theme-D .localServicesBox h3::before {
  content: "→";
  display: inline-block;
  margin-right: 12px;
  color: var(--text);
  font-size: 1.4em;
  line-height: 1;
  transform: translateY(-3px);
}

html.theme-D .localServicesBox .richtext {
  margin-bottom: 28px;
}

html.theme-D .localServicesBox .richtext ul {
  margin-top: 18px;
  margin-bottom: 24px;
  gap: 10px;
}

html.theme-D .localServicesBox .richtext p + ul {
  margin-top: 0;
}

html.theme-D .localServicesLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 14px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

html.theme-D .localServicesLink:hover {
  background: var(--accent);
  color: #fff;
}

html.theme-D .localServicesLink::after {
  content: "→";
  margin-left: 10px;
  font-size: 1.25em;
  font-weight: 700;
  transition: transform 0.2s ease;
}

html.theme-D .localServicesLink:hover::after {
  transform: translateX(4px);
}

/* ── LOCAL SOCIAL PROOF — Theme D ───────────────────────── */

html.theme-D .localSocialProofSection {
  background: var(--surface-alt);
  padding: 90px 0;
}

html.theme-D .localSocialProofCard {
  box-shadow: none;
  border: 0;
}

html.theme-D.localSocialProofBox {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
}

html.theme-D .localSocialProofSection {
  padding: 100px 0;
}

html.theme-D .localSocialProofStars {
  color: #f5c842;
  font-size: 42px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  line-height: 1;
}

html.theme-D .localSocialProofRating {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

html.theme-D .localSocialProofCount {
  font-size: 1.15rem;
  opacity: 0.85;
}

html.theme-D .localSocialProofLink {
  display: inline-block;
  margin-top: 24px;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ==========================================================
   RESPONSIVE — Theme D
   ========================================================== */

/* ── 900px ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  html.theme-D {
    --max: 100%;
  }

  html.theme-D .headerInner {
    padding: 18px var(--wrap-px);
  }

  html.theme-D .siteHeader .links {
    display: none;
  }

  html.theme-D .brandText .b1 {
    font-size: 20px;
  }

  html.theme-D .hero {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  html.theme-D .heroGrid {
    display: flex;
    flex-direction: column;
    gap: 34px;
    text-align: left;
  }

  html.theme-D .heroImg {
    order: -1;
    text-align: center;
  }

  html.theme-D .hero h1 {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.02;
    max-width: 13ch;
  }

  html.theme-D .hero .lead {
    font-size: 17px;
    line-height: 1.5;
  }

  html.theme-D .heroCta {
    flex-direction: column;
    align-items: stretch;
  }

  html.theme-D .heroCta .btn {
    width: 100%;
    min-width: 0;
  }

  html.theme-D .badges {
    gap: 10px 18px;
  }

  html.theme-D .benefitsGrid,
  html.theme-D .whyGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }

  html.theme-D .servicesGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  html.theme-D .service {
    padding: 20px;
  }

  html.theme-D .service img {
    aspect-ratio: 16 / 10;
  }

  html.theme-D .serviceBlock {
    max-width: calc(100% - 2 * var(--wrap-px));
  }

  html.theme-D .serviceBlockContent {
    padding-block: 70px;
  }

  html.theme-D .aboutSection > .wrap {
    padding: 52px var(--wrap-px);
  }

  html.theme-D .aboutGrid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  html.theme-D .aboutMedia {
    order: -1;
  }

  html.theme-D .whySection .whyGrid .whyBlurb {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  html.theme-D .whySection .whyGrid .whyIcon {
    justify-self: center;
    margin: 0;
  }

  html.theme-D .whySection .whyGrid .whyBody {
    max-width: 300px;
    margin-inline: auto;
  }

  html.theme-D .whySection .whyTitle,
  html.theme-D .whySection .whyText {
    text-align: center;
  }

  html.theme-D .reviewsNav {
    display: none;
  }

  html.theme-D .reviewCard {
    padding: 28px;
    min-height: auto;
  }

  html.theme-D .reviewQuote {
    font-size: 21px;
    line-height: 1.3;
  }

  html.theme-D .contactSection {
    padding-top: 84px;
  }

  html.theme-D .contactContent .cta {
    flex-direction: column;
    align-items: stretch;
  }

  html.theme-D .contactLeft {
    padding-left: 25px;
    padding-right: 25px;
  }

  html.theme-D .footerGrid {
    display: block;
    text-align: center;
  }

  html.theme-D .footerBrandRow {
    justify-content: center;
  }

  html.theme-D .footerCols {
    margin-top: 32px;
    justify-content: center;
    gap: 28px;
  }

  html.theme-D .localContentSection .sectionTitle {
    text-align: center;
  }

  html.theme-D .localContextGrid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  html.theme-D .localServicesBox {
    max-width: 620px;
    margin-inline: auto;
  }

  html.theme-D .targetProfilesGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── 640px ─────────────────────────────────────────────── */

@media (max-width: 640px) {
  html.theme-D section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  html.theme-D .sectionTitle {
    margin-bottom: 34px;
  }

  html.theme-D h2 {
    font-size: 34px;
  }

  html.theme-D h3 {
    font-size: 22px;
  }

  html.theme-D p,
  html.theme-D li {
    font-size: 16px;
    line-height: 1.55;
  }

  html.theme-D .sub {
    font-size: 11px;
    line-height: 1.45;
    letter-spacing: 0.12em;
  }

  html.theme-D .hero {
    padding-top: 40px;
  }

  html.theme-D .hero h1 {
    font-size: 38px;
    max-width: 13ch;
  }

  html.theme-D .benefitsGrid,
  html.theme-D .whyGrid {
    grid-template-columns: 1fr;
  }

  html.theme-D .servicesIntro {
    max-width: 100%;
  }

  html.theme-D .service {
    padding: 18px;
  }

  html.theme-D .service h3,
  html.theme-D .serviceBlockTitle {
    font-size: 24px;
  }

  html.theme-D .serviceBlock {
    max-width: calc(100% - 2 * var(--wrap-px));
  }

  html.theme-D .serviceBlockContent {
    padding-block: 56px;
  }

  html.theme-D .serviceBlockMedia {
    padding: 0 0 24px;
  }

  html.theme-D .serviceBlockMedia img {
    max-width: 100%;
    max-height: none;
  }

  html.theme-D .aboutSection > .wrap {
    padding: 46px var(--wrap-px);
  }

  html.theme-D .reviewCard {
    padding: 26px;
  }

  html.theme-D .reviewQuote {
    font-size: 20px;
  }

  html.theme-D .reviewsSummary {
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
  }

  html.theme-D .reviewsSlider {
    margin-top: 42px;
  }

  html.theme-D .faqSection .wrap,
  html.theme-D .localFaqSection .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }

  html.theme-D .faqItem,
  html.theme-D .localFaqList details {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  html.theme-D .faqQ,
  html.theme-D .localFaqList summary {
    padding: 18px 0;
  }

  html.theme-D .faqQText,
  html.theme-D .localFaqList summary {
    font-size: 18px;
    line-height: 1.45;
    font-weight: 500;
  }

  html.theme-D .faqList {
    max-width: none;
  }

  html.theme-D .localFaqSection .sectionTitle .sub {
    margin-top: 12px;
  }

  html.theme-D .contactName {
    font-size: 21px;
  }

  html.theme-D .footerCols {
    flex-direction: column;
    align-items: center;
  }

  /* Benefits */
  html.theme-D .benefitsSection,
  html.theme-D .whySection {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  html.theme-D .benefitsSection .wrap,
  html.theme-D .whySection .wrap {
    padding-left: 32px;
    padding-right: 32px;
  }

  html.theme-D #benefits > .wrap {
    padding: 30px;
  }

  html.theme-D .benefitsGrid {
    gap: 30px;
  }

  html.theme-D .benefitItem {
    align-items: flex-start;
    text-align: left;
  }

  html.theme-D .benefitItem h3 {
    line-height: 1.25;
  }

  html.theme-D .benefitItem p {
    line-height: 1.55;
  }

  html.theme-D .benefitsSection {
    overflow: visible;
  }

  /* Why me */
  html.theme-D .whyGrid {
    gap: 58px;
  }

  html.theme-D .whyBlurb {
    max-width: 320px;
    margin-inline: auto;
  }

  html.theme-D .whyIcon {
    margin-bottom: 22px;
  }

  html.theme-D .whyText {
    line-height: 1.55;
  }

  html.theme-D .whySection .whyGrid {
    display: grid;
    grid-template-columns: 1fr;
  }

  html.theme-D .whySection .whyGrid .whyBlurb {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    align-items: start !important;
    text-align: center !important;
    gap: 22px !important;
  }

  html.theme-D .whySection .whyGrid .whyIcon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: center !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html.theme-D .whySection .whyGrid .whyIcon svg {
    display: block;
    width: 24px;
    height: 24px;
  }

  html.theme-D .whySection .whyGrid .whyBody {
    grid-column: 1 !important;
    grid-row: 2 !important;
    max-width: 280px;
    margin: 0 auto !important;
    text-align: center !important;
    margin-bottom: 34px !important;
  }

  html.theme-D .whySection .whyTitle,
  html.theme-D .whySection .whyText {
    text-align: center !important;
  }

  html.theme-D .whySection .whyText {
    margin-top: 16px;
  }

  /* Hero local */
  html.theme-D .hero--split .heroGrid {
    display: flex;
    flex-direction: column;
    gap: 34px;
  }

  html.theme-D .hero--split .heroImg {
    order: 2;
    width: 100%;
    max-width: none;
    margin: 32px 0 0;
    padding-inline: 28px;
  }

  html.theme-D .hero--split .heroImg img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
    display: block;
  }

  html.theme-D .hero--split h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.05;
  }

  html.theme-D .hero--split h1,
  html.theme-D .hero--split .lead,
  html.theme-D .hero--split .kicker,
  html.theme-D .hero--split .badges {
    padding-left: 8px;
    padding-right: 8px;
  }

  /* Local zones */
  html.theme-D .localZonesGrid {
    gap: 10px 16px;
  }

  html.theme-D .localZonePill {
    font-size: 13px;
  }

  /* Profils */
  html.theme-D .targetProfilesGrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  html.theme-D .localProfileCard {
    padding: 30px 28px;
  }

  /* Local content */
  html.theme-D .localContentSection {
    padding-block: 72px;
  }

  html.theme-D .localContextGrid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  html.theme-D .localRichtext {
    padding-left: 4px;
    padding-right: 4px;
  }

  html.theme-D .localServicesBox {
    padding: 32px 28px;
  }

  html.theme-D .localServicesLink {
    width: 100%;
    font-size: 12px;
    white-space: normal;
  }

  /* Padding mobile local pages */
  html.theme-D .localZonesSection .wrap,
  html.theme-D .localProfilesSection .wrap,
  html.theme-D .localContentSection .wrap,
  html.theme-D .localSocialProofSection .wrap,
  html.theme-D .localFaqSection .wrap,
  html.theme-D .localCtaSection .wrap {
    padding-left: 28px;
    padding-right: 28px;
  }

  /* Social proof */
  html.theme-D .localSocialProofSection {
    padding: 72px 0;
  }

  html.theme-D .localSocialProofStars {
    font-size: 34px;
  }

  /* CTA final local */
  html.theme-D .localCtaBox,
  html.theme-D .ctaSectionBox {
    padding: 42px 24px;
  }

  html.theme-D .localCtaBox .cta,
  html.theme-D .ctaSectionBox .cta {
    flex-direction: column;
    width: 100%;
  }

  html.theme-D .localCtaBox .btn,
  html.theme-D .ctaSectionBox .btn {
    width: 100%;
  }
}

/* ── SERVICES BLOCKS RESPONSIVE — Theme D ───────────────── */

@media (max-width: 900px) {
  html.theme-D .serviceBlock,
  html.theme-D .serviceBlock.serviceBlock--reversed {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 0;

    max-width: 760px;
    margin-inline: auto;
    padding: 0;

    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  html.theme-D .serviceBlockMedia,
  html.theme-D .serviceBlock.serviceBlock--reversed .serviceBlockMedia {
    grid-column: 1;
    grid-row: 1;

    padding: 56px 56px 0;
  }

  html.theme-D .serviceBlockMedia img {
    width: 100%;
    max-width: none;
    max-height: none;

    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  html.theme-D .serviceBlockContent,
  html.theme-D .serviceBlock.serviceBlock--reversed .serviceBlockContent {
    grid-column: 1;
    grid-row: 2;

    padding: 44px 56px 64px;
  }

  html.theme-D .serviceBlockContent .wrap,
  html.theme-D .serviceBlock.serviceBlock--reversed .serviceBlockContent .wrap {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  html.theme-D .serviceBlockText,
  html.theme-D .serviceBlock.serviceBlock--reversed .serviceBlockText {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  html.theme-D .serviceBlockCta {
    margin-top: 32px;
  }
}

@media (max-width: 640px) {
  html.theme-D .serviceBlock,
  html.theme-D .serviceBlock.serviceBlock--reversed {
    max-width: none;
    margin-inline: 0;
  }

  html.theme-D .serviceBlockMedia,
  html.theme-D .serviceBlock.serviceBlock--reversed .serviceBlockMedia {
    padding: 36px 28px 0;
  }

  html.theme-D .serviceBlockMedia img {
    aspect-ratio: 4 / 3;
  }

  html.theme-D .serviceBlockContent,
  html.theme-D .serviceBlock.serviceBlock--reversed .serviceBlockContent {
    padding: 34px 28px 58px;
  }

  html.theme-D .serviceBlockTitle {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  html.theme-D .serviceBlockText p {
    font-size: 16px;
    line-height: 1.6;
  }

  html.theme-D .serviceBlockCta .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  html.theme-D .serviceBlockMedia {
    aspect-ratio: 4 / 3;
  }

  html.theme-D .serviceBlockMedia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ==========================================================
   Pricing responsive
   ========================================================== */

@media (max-width: 990px) {
  html.theme-D .pricingGrid {
    grid-template-columns: 1fr;
  }

  html.theme-D .pricingCard,
  html.theme-D .pricingCard.isFeatured {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }
}
