/* ============================================================
   ADF theme — white, clean, Montserrat (inspired by groupeadf.com)
   Loaded after styles.css on every page.
   ============================================================ */

:root {
  --ink: #0d0f17;
  --muted: #3b3e4e;
  --soft: #8a8d99;
  --line: #e6e6e6;
  --line-strong: #c9c9c9;
  --accent: #14955a;
  --grey: #f4f4f4;
  --navy-deep: #ffffff;
  --adf-font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --adf-maxw: 1180px;
}

html,
body {
  font-family: var(--adf-font);
  color: var(--muted);
}

/* ---------- Titles: Montserrat bold, black ---------- */
html h1,
html h2,
html h3,
html .article h1, html .bio-name, html .cta-title, html .ed-h1, html .ed-title,
html .ed-title--sans, html .loc-heading, html .offer-card h3, html .person-name,
html .prose h2, html .prose h3, html .subhero h1, html .tf-name, html .uc-card h2,
html .uc-split-text h1, html .wk-contact h2, html .wk-get h3, html .wk-h2,
html .wk-hero h1, html .wk-step h3 {
  font-family: var(--adf-font);
  font-weight: 700;
  letter-spacing: normal;
  color: var(--ink);
}

html .loc-name, html .uc-kpi b, html .uc-stat-n, html .wk-step-num, html .def-word,
html .stat-num, html .case-stat, html .work-stat, html .figure-num {
  font-family: var(--adf-font);
  font-weight: 800;
  letter-spacing: normal;
}

html .loc-name { font-weight: 700; }

/* orange dot after titles → hidden; ADF uses a small bar instead */
html .tdot { display: none; }

/* small orange bar under the main page titles */
html .subhero h1::after,
html .uc-split-text h1::after,
html .wk-hero h1::after,
html .article h1::after,
html .bio-name::after {
  content: "";
  display: block;
  width: 40px;
  height: 5px;
  margin-top: clamp(16px, 2.4vh, 24px);
  background: var(--accent);
}

html .subhero h1,
html .uc-split-text h1,
html .wk-hero h1,
html .article h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
}

/* labels / eyebrows */
html .ed-label,
html .uc-tag,
html .offer-card .offer-eyebrow,
html .article-kicker {
  color: var(--ink);
  font-family: var(--adf-font);
  font-weight: 700;
  letter-spacing: 0.04em;
}
html .ed-label::before { background: var(--accent); }

/* body copy: ADF-like weight */
html p,
html li {
  font-weight: 500;
}

/* ---------- Header ---------- */
html .site-header {
  min-height: clamp(84px, 11vh, 118px);
  background: #fff;
  border-bottom: none;
}

@media (min-width: 769px) {
  html .site-nav {
    padding: 22px clamp(8px, 1vw, 16px);
    border-bottom: 1px solid var(--ink);
  }
}

html .site-nav {
  color: var(--ink);
  font-family: var(--adf-font);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

html .site-nav a::after {
  height: 3px;
  bottom: -10px;
  width: 22px;
  background: var(--accent);
}

html .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

html .lang-switch {
  color: var(--ink);
  font-family: var(--adf-font);
  font-size: 0.8rem;
  letter-spacing: 0;
}
html .lang-switch::before { display: none; }
html .lang-switch a { color: var(--soft); }
html .lang-switch span[aria-current="true"] { color: var(--ink); }
html .lang-switch > :first-child::after {
  content: "/";
  margin-left: 8px;
  color: var(--soft);
  font-weight: 400;
}


@media (max-width: 768px) {
  html .site-nav { font-size: 1.4rem; }
}

/* ---------- Buttons ---------- */
html .pill {
  border-radius: 4px;
  border: none;
  padding: 16px 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--adf-font);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
html .pill:hover { background: #0f7a49; color: #fff; }
html .pill .arrow { display: none; }
html .pill::after { content: ">"; margin-left: 8px; }
html .pill--light { background: var(--ink); color: #fff; }
html .pill--light:hover { background: #2a2d3a; }

html .text-cta,
html .tf-link,
html .back-link,
html .loc-underline {
  color: #0047ff;
  font-family: var(--adf-font);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---------- Sections: white and light grey only ---------- */
html .ed-sec--navy,
html .ed-sec--mist,
html .ed-sec--paper-wash {
  background: var(--grey);
  color: var(--muted);
}

html .ed-sec--navy .ed-title,
html .ed-sec--navy h2,
html .ed-sec--navy h3 { color: var(--ink); }
html .ed-sec--navy .ed-intro,
html .ed-sec--navy p { color: var(--muted); }

/* ---------- Cards (use cases, offer) ---------- */
html .offer-card,
html .offer-card:hover {
  background: #fff;
  border: none;
  border-radius: 0;
  color: var(--ink);
  box-shadow: none;
}

html .offer-cards--uc .offer-card {
  position: relative;
  background: var(--grey);
  padding-top: clamp(34px, 3.4vw, 50px);
}

html .offer-cards--uc .offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(28px, 2.8vw, 44px);
  width: 30px;
  height: 5px;
  background: var(--accent);
}

html .offer-card h3,
html .offer-card:hover h3 { color: var(--ink); }
html .offer-card p,
html .offer-card:hover p { color: var(--muted); }
html .offer-card .offer-icon,
html .offer-card:hover .offer-icon { color: var(--accent); }
html .offer-card .offer-more,
html .offer-card:hover .offer-more { color: #0047ff; letter-spacing: 0.02em; }
html .offer-card .offer-eyebrow,
html .offer-card:hover .offer-eyebrow { color: var(--accent); }
html .offer-card:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08); }

/* paper mesh visuals: square corners */
html .uc-split-media,
html .uc-split-media .paper-mesh { border-radius: 0; }

/* Automation week */
html .wk-step,
html .wk-step--final {
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
html .wk-step--final { background: var(--ink); }
html .wk-step--final h3,
html .wk-step--final .wk-step-num { color: #fff; }
html .wk-get h3 { font-weight: 600; font-size: clamp(1rem, 1.2vw, 1.12rem); }

html .wk-contact {
  background: var(--grey);
}
html .wk-contact h2 { color: var(--ink); }

/* ---------- Office / contact block ---------- */
html .loc-heading { font-size: clamp(1.4rem, 2vw, 1.9rem); }
html .contact-office,
html .loc-mail { color: var(--ink); font-weight: 700; }
html .li-icon { background: var(--ink); }

/* ---------- Footer: light grey, logo + address + dashed links ---------- */
html .site-footer {
  max-width: none;
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas: "brand nav nav" "copy copy copy";
  align-items: start;
  gap: clamp(24px, 4vh, 40px) clamp(32px, 5vw, 80px);
  padding: clamp(48px, 8vh, 72px) max(var(--gutter), calc(50% - var(--adf-maxw) / 2));
  background: var(--grey);
  border-top: none;
}

html .foot-brand {
  grid-area: brand;
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 36px);
}

html .foot-logo .logo {
  display: inline-flex;
  font-size: 0.9rem;
}

html .foot-addr {
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.7;
}
html .foot-addr a:hover { color: var(--accent); }

html .foot-nav {
  grid-area: nav;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 16px clamp(28px, 4vw, 60px);
  color: var(--ink);
  font-family: var(--adf-font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

html .foot-nav a::before,
html .foot-nav .foot-consent::before {
  content: "- ";
  color: var(--accent);
  font-weight: 700;
}

html .foot-nav .foot-consent {
  justify-self: start;
  color: var(--ink);
  font-family: var(--adf-font);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

html .foot-center {
  grid-area: copy;
  justify-self: stretch;
  padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid var(--line-strong);
  color: var(--soft);
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 960px) {
  html .site-footer {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "nav" "copy";
  }
  html .foot-nav { justify-self: start; grid-template-columns: repeat(2, auto); }
}

@media (max-width: 560px) {
  html .foot-brand { flex-direction: column; }
  html .foot-nav { grid-template-columns: 1fr; }
}

/* ============================================================
   HOME — ADF layout
   ============================================================ */

.adf-bar {
  display: block;
  width: 40px;
  height: 5px;
  margin: clamp(22px, 3.4vh, 34px) auto;
  background: var(--accent);
}

.adf-hero {
  padding: clamp(48px, 9vh, 96px) var(--gutter) clamp(40px, 7vh, 80px);
  text-align: center;
}

.adf-hero-title {
  font-family: var(--adf-font) !important;
  font-size: min(7.6rem, calc((100vw - 2 * var(--gutter)) / 10.4)) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-transform: uppercase;
}

.adf-hero-title span {
  display: block;
  background: linear-gradient(rgba(10, 14, 30, 0.28), rgba(10, 14, 30, 0.28)), url("/assets/photos/facade-band.webp") center 30% / cover no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.adf-hero-title span + span {
  background-image: linear-gradient(rgba(10, 14, 30, 0.12), rgba(10, 14, 30, 0.12)), url("/assets/photos/paris-street.webp");
  background-position: center 62%;
}

.adf-hero-lede {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.6;
}

.adf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 16px;
  margin-top: clamp(28px, 4vh, 40px);
}

.adf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 17px 26px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.18s ease;
}
.adf-btn:hover { background: #0f7a49; }

.adf-link {
  color: #0047ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.adf-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.adf-h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem) !important;
  line-height: 1.12;
}

/* intro text + two framed photo cards */
.adf-sec {
  padding: clamp(32px, 6vh, 64px) var(--gutter) clamp(72px, 12vh, 128px);
}

.adf-inner {
  max-width: var(--adf-maxw);
  margin: 0 auto;
}

.adf-intro {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1.05fr;
  gap: clamp(24px, 2.6vw, 32px);
  align-items: start;
}

.adf-intro-text {
  padding-right: clamp(0px, 2vw, 24px);
}

.adf-intro-text p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.adf-card {
  display: block;
  color: var(--ink);
}

.adf-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--grey);
}

.adf-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.adf-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
}

.adf-card:hover .adf-card-media img { transform: scale(1.04); }

/* white corner brackets, as on groupeadf.com */
.adf-frame {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 52%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 6px solid #fff;
  clip-path: polygon(0 0, 100% 0, 100% 12%, 92% 12%, 92% 88%, 100% 88%, 100% 100%, 0 100%);
}

.adf-card-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 90%;
  text-align: center;
  color: #fff;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.adf-card-cap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 87%;
  margin: -36px auto 0;
  padding: 24px 22px 22px;
  background: var(--grey);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  z-index: 3;
}

.adf-card-cap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 5px;
  background: var(--accent);
  transform: translateX(-50%);
}

.adf-more {
  color: #0047ff;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* grey band, text right-aligned left, photo overlapping right */
.adf-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: clamp(30px, 5vh, 50px);
  background: linear-gradient(to bottom, var(--grey), var(--grey)) 0 clamp(30px, 5vh, 50px) / 100% calc(100% - clamp(30px, 5vh, 50px)) no-repeat;
}

.adf-split-text {
  justify-self: end;
  max-width: 440px;
  padding: clamp(64px, 10vh, 100px) clamp(40px, 5vw, 80px) clamp(48px, 8vh, 80px) var(--gutter);
  text-align: right;
}

.adf-split-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.adf-bar--side {
  margin: 18px 0 22px auto;
}

.adf-split-media {
  align-self: stretch;
  margin-top: calc(-1 * clamp(30px, 5vh, 50px));
  max-width: 640px;
}

.adf-split-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

/* centered contact call */
.adf-cta {
  position: relative;
  padding: clamp(80px, 12vh, 120px) var(--gutter) clamp(72px, 11vh, 110px);
  text-align: center;
}

.adf-cta .adf-h2 { margin-bottom: 28px; }

.adf-cta-mail {
  margin-top: 20px;
  font-size: 0.9rem;
}
.adf-cta-mail a:hover { color: var(--accent); }

.adf-office { border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .adf-intro { grid-template-columns: 1fr 1fr; }
  .adf-intro-text { grid-column: 1 / -1; padding-right: 0; }
  .adf-split { grid-template-columns: 1fr; background: var(--grey); margin-top: 0; }
  .adf-split-text { justify-self: start; max-width: none; text-align: left; padding: 56px var(--gutter) 40px; }
  .adf-bar--side { margin-left: 0; }
  .adf-split-media { margin-top: 0; max-width: none; }
}

@media (max-width: 600px) {
  .adf-intro { grid-template-columns: 1fr; }
  .adf-hero-title { font-size: calc((100vw - 2 * var(--gutter)) / 10.4) !important; }
}

/* sections right above the grey footer stay white */
html .ed-sec:has(.offer-cards--uc),
html .wk-contact { background: #fff; }
html .ed-sec:has(.locations-grid) { background: #fff; border-top: 1px solid var(--line); }
html .prose h2 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
html .bio-name { font-size: clamp(2rem, 3.6vw, 3rem); }

/* ============================================================
   USE CASES — layout after groupeadf.com/sectors-activity/*
   ============================================================ */

.adf-crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  padding: clamp(28px, 5vh, 52px) var(--gutter) 0;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.adf-crumbs span { color: var(--soft); }
.adf-crumbs a:hover { color: var(--accent); }
.adf-crumbs [aria-current] { color: var(--ink); font-weight: 700; }

.adf-case-head {
  padding: clamp(32px, 6vh, 64px) var(--gutter) 0;
  text-align: center;
}

html .adf-case-head h1 {
  max-width: 24ch;
  margin: 0 auto;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.adf-case-sub {
  margin-top: 12px;
  color: var(--accent);
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  font-weight: 500;
  text-transform: uppercase;
}

.adf-case {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: clamp(20px, 2.4vw, 32px);
  max-width: var(--adf-maxw);
  margin: 0 auto;
  padding: clamp(24px, 4vh, 48px) var(--gutter) clamp(72px, 12vh, 120px);
}

.adf-case-photo {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
  align-self: start;
  margin: clamp(32px, 6vh, 56px) 0 0;
  aspect-ratio: 1 / 0.97;
  overflow: hidden;
}

.adf-case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adf-case-text {
  grid-column: 7 / 13;
  grid-row: 1;
  padding-bottom: clamp(32px, 6vh, 56px);
}

.adf-case-text p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: justify;
}

.adf-case-text .adf-case-lead {
  margin-top: 0;
  color: var(--ink);
  font-weight: 700;
}

html .adf-case-text h2 {
  margin-top: 26px;
  font-size: 0.95rem;
  font-weight: 700;
}

.adf-case-text .adf-btn { margin-top: 30px; }

.adf-btn--dark { background: #13284a; }
.adf-btn--dark:hover { background: #0b1a33; }

.adf-case-results {
  position: relative;
  grid-column: 5 / 13;
  grid-row: 2 / 4;
  align-self: end;
  margin-top: clamp(-120px, -12vh, -60px);
  padding: clamp(26px, 3vw, 34px) clamp(26px, 3vw, 40px);
  background: var(--grey);
  z-index: 1;
}

html .adf-case-results h2,
html .adf-case-side h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.adf-case-results ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.adf-res-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
}
.adf-res-row:last-child { border-bottom: none; }

.adf-res-row strong {
  display: block;
  color: #13284a;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
}

.adf-res-row strong + span {
  display: block;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
}

.adf-res-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
}

.adf-res-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adf-case-side {
  grid-column: 1 / 5;
  grid-row: 3;
  align-self: start;
  margin-top: 30px;
  padding: 30px;
  background: var(--grey);
}

.adf-case-side p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .adf-case { display: flex; flex-direction: column; }
  .adf-case-photo { margin-top: 24px; order: 1; }
  .adf-case-text { order: 0; padding-bottom: 0; }
  .adf-case-results { order: 2; margin-top: -40px; margin-left: 24px; }
  .adf-case-side { order: 3; }
  .adf-case-text p { text-align: left; }
}

/* use-case index: framed photo cards */
html .adf-cases { padding-top: clamp(24px, 4vh, 40px); }

.adf-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vh, 64px) clamp(24px, 3vw, 40px);
  max-width: 980px;
  margin: 0 auto;
}

.adf-card--case .adf-card-media { aspect-ratio: 4 / 3.4; }
.adf-card--case .adf-card-cap > span:first-child {
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .adf-case-grid { grid-template-columns: 1fr; }
}

/* centered subhero on the index, like ADF */
html .subhero--flush .subhero-grid { display: block; text-align: center; }
html .subhero--flush h1::after { margin-left: auto; margin-right: auto; }
html .subhero--flush .subhero-intro { max-width: 60ch; margin: 18px auto 0; }
html .subhero--flush .ed-label::before { display: none; }

/* offer page photo */
.wk-photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.wk-photo img { width: 100%; height: 100%; object-fit: cover; }

/* team pages, same layout as the use cases */
.adf-head-intro {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.adf-team-grid { grid-template-columns: minmax(0, 420px); justify-content: center; }
.adf-card--person .adf-card-media { aspect-ratio: 4 / 4.6; }
.adf-card--person .adf-card-media img,
.adf-case--bio .adf-case-photo img { object-position: center 20%; }
.adf-case--bio .adf-case-photo { aspect-ratio: 4 / 4.6; }

/* ============================================================
   AUTOMATION WEEK — photo + text, timeline, figures band
   ============================================================ */

.adf-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  max-width: var(--adf-maxw);
  margin: 0 auto;
  padding: clamp(24px, 4vh, 48px) var(--gutter) clamp(56px, 9vh, 96px);
}
.adf-duo-photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.adf-duo-photo img { width: 100%; height: 100%; object-fit: cover; }
.adf-duo-text p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.adf-duo-text .adf-case-lead { margin-top: 0; color: var(--ink); font-weight: 700; }
.adf-duo-text .adf-btn { margin-top: 28px; }

html .adf-sec-title {
  text-align: center;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
}

.adf-steps {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 80px) var(--gutter) clamp(64px, 10vh, 104px);
  border-top: 1px solid var(--line);
}

.adf-tl {
  position: relative;
  list-style: none;
  margin: clamp(36px, 6vh, 56px) 0 0;
  padding: 0;
}
.adf-tl::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line-strong);
}

.adf-tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 80px);
  padding: 0 0 clamp(40px, 7vh, 64px);
}
.adf-tl-step::before {
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 50%;
  width: 22px;
  height: 4px;
  background: var(--accent);
  transform: translateX(-50%);
}

.adf-tl-mark {
  grid-row: 1;
  color: #13284a;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.1;
}

.adf-tl-body { grid-row: 1; }
html .adf-tl-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}
.adf-tl-body p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}
.adf-tl-body .adf-tl-out { color: var(--ink); }
.adf-tl-out strong { color: var(--accent); font-weight: 600; }

.adf-tl-step:nth-child(odd) .adf-tl-mark { grid-column: 1; text-align: right; }
.adf-tl-step:nth-child(odd) .adf-tl-body { grid-column: 2; }
.adf-tl-step:nth-child(even) .adf-tl-mark { grid-column: 2; }
.adf-tl-step:nth-child(even) .adf-tl-body { grid-column: 1; text-align: right; }
.adf-tl-step:last-child { padding-bottom: 0; }

.adf-figs {
  padding: clamp(56px, 9vh, 88px) var(--gutter);
  background: var(--grey);
}
.adf-figs ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 980px;
  margin: clamp(32px, 5vh, 48px) auto 0;
  padding: 0;
  list-style: none;
}
.adf-figs li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 4px 20px;
  color: #13284a;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.adf-figs li + li { border-left: 1px solid var(--line-strong); }
.adf-fig-ico svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: #0047ff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 800px) {
  .adf-duo { grid-template-columns: 1fr; }
  .adf-tl::before { left: 6px; }
  .adf-tl-step { grid-template-columns: 1fr; padding-left: 40px; }
  .adf-tl-step::before { left: 6px; }
  .adf-tl-step .adf-tl-mark,
  .adf-tl-step .adf-tl-body { grid-column: 1 !important; text-align: left !important; }
  .adf-tl-step .adf-tl-mark { grid-row: 1; margin-bottom: 8px; }
  .adf-tl-step .adf-tl-body { grid-row: 2; }
  .adf-figs ul { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .adf-figs li:nth-child(3) { border-left: none; }
}

/* ============================================================
   TYPE SCALE — aligned on groupeadf.com
   titles 700 · 28–34px, body 14px / 500, small caps 12–14px
   ============================================================ */

html .adf-hero-title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  font-size: min(6rem, calc((100vw - 2 * var(--gutter)) / 11.5)) !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.02 !important;
}

html .adf-h2,
html .adf-intro-text h2,
html .loc-heading,
html .subhero h1,
html .uc-split-text h1,
html .wk-hero h1,
html .article h1 {
  font-size: clamp(1.55rem, 2.2vw, 2.05rem) !important;
  font-weight: 700;
  line-height: 1.2;
}

html .adf-case-head h1 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
}

.adf-case-sub { font-size: clamp(0.85rem, 1vw, 0.95rem); }

html .adf-sec-title { font-size: clamp(1.3rem, 1.8vw, 1.65rem); }

.adf-hero-lede { font-size: clamp(0.95rem, 1.1vw, 1.05rem); }

.adf-intro-text p,
.adf-split-text p,
.adf-case-text p,
.adf-duo-text p,
.adf-head-intro,
.adf-case-side p,
.adf-tl-body p,
html .subhero-intro,
html .prose p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.adf-res-row strong,
.adf-tl-mark { font-weight: 700; }
.adf-res-row strong { font-size: 0.98rem; }
.adf-res-row strong + span { font-size: 0.875rem; }
.adf-tl-mark { font-size: clamp(1.4rem, 2vw, 1.8rem); }

.adf-card-label { font-size: clamp(1rem, 1.3vw, 1.2rem); }
.adf-card-cap { font-size: 0.82rem; }
.adf-figs li { font-size: 0.92rem; }
@media (max-width: 600px) {
  html .adf-hero-title { font-size: calc((100vw - 2 * var(--gutter)) / 10.6) !important; }
}

/* cookie banner: white card, dark text (the navy background is gone) */
html .consent-banner {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(13, 15, 23, 0.16);
}
html .consent-text { color: var(--muted); font-weight: 500; }
html .consent-text a { color: #0047ff; }
html .consent-btn {
  border-radius: 4px;
  border-color: var(--line-strong);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}
html .consent-refuse:hover { border-color: var(--ink); }
html .consent-accept { color: #fff; border-color: var(--accent); }
html .consent-accept:hover { border-color: #0f7a49; }

/* ============================================================
   OFFICE BLOCK — ADF style: centered title, photo + grey card
   ============================================================ */
html .adf-office {
  padding: clamp(56px, 9vh, 96px) var(--gutter) clamp(40px, 6vh, 64px);
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: center;
}
.adf-office-sub {
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
}
.adf-office .adf-bar { margin: 18px auto 0; }

.adf-office-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  max-width: 980px;
  margin: clamp(32px, 5vh, 48px) auto 0;
  text-align: left;
}
.adf-office-photo { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.adf-office-photo img { width: 100%; height: 100%; object-fit: cover; }

.adf-office-card {
  position: relative;
  margin-left: -48px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--grey);
  z-index: 1;
}
.adf-office-label {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.adf-office-addr {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}
.adf-office-mail { margin-top: 10px; font-size: 0.9rem; }
.adf-office-mail a:hover { color: var(--accent); }
.adf-office-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}
.adf-office-li { display: inline-flex; color: var(--ink); }
.adf-office-li svg { width: 18px; height: 18px; fill: currentColor; }
.adf-office-li:hover { color: #0047ff; }
.adf-office-partner {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}
.adf-office-partner img { width: 120px; height: auto; margin-top: 10px; }

.adf-office-legal {
  max-width: 900px;
  margin: clamp(40px, 6vh, 56px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.72rem !important;
  font-weight: 400 !important;
  line-height: 1.7;
}
.adf-office-legal strong { color: var(--muted); font-weight: 600; }
.adf-office-legal a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 760px) {
  .adf-office-grid { grid-template-columns: 1fr; }
  .adf-office-card { margin: -32px 16px 0; }
}

/* legal mentions in the grey footer */
html .foot-center {
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.7;
}
html .foot-center { white-space: normal; }
html .foot-center strong { color: var(--muted); font-weight: 600; }
html .foot-center a { text-decoration: underline; text-underline-offset: 2px; }
html .foot-center a:hover { color: var(--accent); }
html .adf-office { padding-bottom: clamp(64px, 10vh, 104px); }

/* office photo a bit smaller */
.adf-office-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-width: 860px; }
@media (max-width: 760px) {
  .adf-office-grid { grid-template-columns: 1fr; max-width: 520px; }
  .adf-office-card { margin: -32px 16px 0; }
}
.adf-office-mail a, .adf-cta-mail a { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  html .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
}

/* Titre d'offre sur deux lignes (due diligence) */
html .adf-case-head h1.adf-h1-2l { max-width: none; }
html .adf-nw { white-space: nowrap; }

/* Exemples de leviers (due diligence IA) */
.adf-levers {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(64px, 10vh, 104px);
}
.adf-levers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(28px, 4vh, 40px);
}
.adf-lever {
  min-width: 0;
  padding: 4px clamp(20px, 3vw, 40px);
}
.adf-lever + .adf-lever { border-left: 1px solid var(--line); }
html .adf-lever h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}
.adf-lever ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.adf-lever li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.adf-lever li svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 760px) {
  .adf-levers-grid { grid-template-columns: 1fr; gap: 28px; }
  .adf-lever { padding: 0; }
  .adf-lever + .adf-lever { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
}

/* Nous rencontrer (accueil) : blocs décalés qui se chevauchent */
.adf-events {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 88px) var(--gutter) 0;
}
.adf-events .adf-sec-title { text-align: center; }
.adf-events .adf-bar { margin: 16px auto 0; }
.adf-evs { margin-top: clamp(32px, 5vh, 48px); }
.adf-ev {
  position: relative;
  width: 58%;
}
.adf-ev:nth-child(odd) { margin-left: auto; }
.adf-ev + .adf-ev { margin-top: -84px; }
.adf-ev:nth-child(2) { z-index: 2; }
.adf-ev:nth-child(3) { z-index: 3; }
.adf-ev img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
}
.adf-ev-card {
  position: relative;
  width: 74%;
  margin-top: -18px;
  padding: 22px 28px 24px;
  background: var(--grey);
}
.adf-ev:nth-child(odd) .adf-ev-card { margin-left: auto; }
.adf-ev-date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
html .adf-ev-card h3 {
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.adf-ev-card p:last-child {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 800px) {
  .adf-ev { width: 100%; }
  .adf-ev + .adf-ev { margin-top: 32px; }
  .adf-ev-card { width: 88%; margin-top: -16px; padding: 18px 20px 20px; }
}

/* Chiffres clés (accueil) */
.adf-kpis {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(96px, 14vh, 136px);
  text-align: center;
}
.adf-kpis .adf-bar { margin: 16px auto 0; }
.adf-kpis ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
  margin: clamp(32px, 5vh, 48px) auto 0;
  padding: 0;
  list-style: none;
}
.adf-kpis li {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 8px clamp(12px, 2vw, 24px);
}
.adf-kpis li + li { border-left: 1px solid var(--line-strong); }
.adf-kpis strong {
  color: #13284a;
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
}
.adf-kpi-logo { align-content: center !important; justify-items: center; }
.adf-kpi-logo img { display: block; width: 150px; max-width: 100%; height: auto; }
.adf-kpis span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .adf-kpis ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .adf-kpis li + li { border-left: 0; }
  .adf-kpis li:nth-child(2) { border-left: 1px solid var(--line-strong); }
}

/* Ils parlent de nous (accueil) */
.adf-press {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(72px, 11vh, 112px) var(--gutter) 0;
  text-align: center;
}
.adf-press .adf-bar { margin: 16px auto 0; }
.adf-press-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(28px, 4vh, 40px);
}
.adf-press-item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  min-width: 0;
  padding: 12px clamp(16px, 3vw, 40px);
  font-size: 14px;
  color: var(--muted);
}
.adf-press-item + .adf-press-item { border-left: 1px solid var(--line); }
.adf-press-item img { display: block; width: auto; height: 34px; opacity: 0.8; transition: opacity 0.2s; }
.adf-press-item img[src*="siparex"] { height: 24px; }
.adf-press-item img[src*="bpifrance"] { height: 42px; }
.adf-press-item:hover img { opacity: 1; }
.adf-press-item > span > span { color: #0047ff; }
.adf-press-item { grid-template-rows: 48px auto; }
.adf-press-item img { align-self: center; }
.adf-press-item > span { white-space: nowrap; }
@media (max-width: 480px) { .adf-press-item { font-size: 12px; padding-inline: 0; } }
@media (max-width: 380px) { .adf-press-item { font-size: 11px; } }
@media (max-width: 340px) { .adf-press-item > span { white-space: normal; } }
.adf-press-item:hover > span { color: var(--ink); }
@media (max-width: 1000px) {
  .adf-press-grid { grid-template-columns: 1fr; gap: 24px; }
  .adf-press-item + .adf-press-item { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}


/* Libellé « Ce que vous obtenez » gardé sur une ligne (due diligence) */
@media (min-width: 1100px) {
  .adf-figs ul:has(.adf-fig-1l) { max-width: 1080px; }
  .adf-fig-1l { white-space: nowrap; }
}

/* Contact intégré au bloc bureaux (accueil) */
.adf-press + .adf-office--cta { margin-top: clamp(72px, 11vh, 112px); }
@media (min-width: 1000px) {
  .adf-office--cta .adf-office-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 0.95fr);
    max-width: 1180px;
  }
}
.adf-office-cta {
  padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 48px);
  text-align: left;
}
html .adf-office-cta-title {
  margin: 10px 0 24px;
  color: var(--ink);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 999px) {
  .adf-office--cta .adf-office-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .adf-office-cta { grid-column: 1 / -1; padding: 40px 0 0; text-align: center; }
}
@media (max-width: 760px) {
  .adf-office--cta .adf-office-grid { grid-template-columns: 1fr; }
}

/* Bandeau miroir (photo à gauche, texte à droite) : donnée financière */
.adf-split--rev { margin-top: clamp(120px, 17vh, 176px); }
.adf-split--rev .adf-split-media { justify-self: end; width: 100%; }
.adf-split--rev .adf-split-text {
  justify-self: start;
  padding: clamp(64px, 10vh, 100px) var(--gutter) clamp(48px, 8vh, 80px) clamp(40px, 5vw, 80px);
  text-align: left;
}
.adf-split--rev .adf-bar--side { margin-left: 0; }
@media (max-width: 960px) {
  .adf-split--rev .adf-split-media { order: 2; }
  .adf-split--rev .adf-split-text { padding: 56px var(--gutter) 40px; }
}

/* Page « Nos offres » : trois cartes */
.adf-case-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; }
@media (max-width: 1000px) { .adf-case-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .adf-case-grid--3 { grid-template-columns: 1fr; } }

/* Cas d’usage liés, en bas des pages d’offre */
.adf-offer-cases {
  padding: clamp(56px, 9vh, 88px) var(--gutter) 0;
}
.adf-offer-cases .adf-case-grid { margin-top: clamp(28px, 4vh, 40px); }

/* Nos clients (accueil) */
.adf-icp { margin-bottom: clamp(72px, 11vh, 112px); }
.adf-icp ul { margin-top: clamp(28px, 4vh, 40px) !important; }
.adf-icp li > span:last-child { display: grid; gap: 6px; }
.adf-icp small { font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.45; }
.adf-icp .adf-fig-ico svg { stroke: var(--accent); }
.adf-icp ul { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 700px) {
  .adf-icp ul { grid-template-columns: 1fr !important; row-gap: 32px; }
  .adf-icp li + li { border-left: 0 !important; border-top: 1px solid var(--line-strong); padding-top: 28px; }
}
.adf-kpis:has(+ .adf-icp) { padding-bottom: clamp(56px, 8vh, 80px); }
@media (min-width: 1000px) { .adf-hero-lede { max-width: 64ch; } }

/* Bandeau unique : chiffres + clients (accueil) */
.adf-kpis { max-width: 1240px !important; }
.adf-kpis ul { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; max-width: none !important; align-items: center; }
.adf-kpis li { border-left: 0 !important; }
.adf-kpis li + li { border-left: 1px solid var(--line-strong) !important; }
.adf-kpi-icp { justify-items: center; gap: 10px !important; }
.adf-kpi-icp .adf-fig-ico svg { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.adf-kpi-icp > span:last-child { display: grid; gap: 4px; color: #13284a; font-size: 14px !important; font-weight: 700; line-height: 1.3; }
.adf-kpi-icp small { font-size: 12.5px; font-weight: 400; color: var(--muted); line-height: 1.4; }
@media (max-width: 1000px) {
  .adf-kpis ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; row-gap: 32px; }
  .adf-kpis li + li { border-left: 0 !important; }
  .adf-kpis li.adf-kpi-logo { order: 0; grid-column: auto; }
  .adf-kpis li:nth-child(even) { border-left: 1px solid var(--line-strong) !important; }
  .adf-kpis li:last-child { grid-column: 1 / -1; border-left: 0 !important; }
}
.adf-kpis ul { align-items: stretch !important; } .adf-kpis li { align-content: center !important; }

/* Applications dans ChatGPT (offre automatisation) */
.adf-gpt { max-width: 820px; margin: 0 auto; padding: clamp(56px, 9vh, 88px) var(--gutter) 0; text-align: center; }
.adf-gpt p { margin-top: 20px; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.adf-gpt .adf-gpt-src { margin-top: 14px; font-size: 0.85rem; }
.adf-gpt-src a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
