/* =========================================================
   MEDICKALAB — CSS GLOBAL (v2)
   À coller dans Elementor > Réglages du site > CSS personnalisé
   Titres : Cormorant Garamond (reprend le logotype) · Texte : Manrope
   Toutes les classes sont préfixées mdl-
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --mdl-navy: #082D83;
  /* Bleu MEDICKALAB */
  --mdl-blue: #0756B5;
  /* Bleu dynamique : liens, boutons */
  --mdl-deep: #071C57;
  /* Bleu profond : dernier bandeau */
  --mdl-ink: #0D1B3E;
  /* Titres */
  --mdl-night: #0D1B3E;
  --mdl-text: #3A4767;
  /* Texte courant */
  --mdl-sky: #EAF1FC;
  --mdl-grey: #F4F7FC;
  /* Gris laboratoire */
  --mdl-line: #D6DFEE;
  --mdl-amber: #F3B24A;
  /* Accent unique : délai de livraison */
  --mdl-radius: 12px;
  --mdl-radius-sm: 8px;
  --mdl-shadow-lg: 0 24px 60px rgba(8, 45, 131, .16);
  --mdl-header-h: 76px;
  --mdl-max: 1280px;
  --mdl-gutter: clamp(20px, 2.6vw, 40px);
  --mdl-font: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mdl-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --mdl-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1279px) {
  :root {
    --mdl-header-h: 64px;
  }
}

/* ---------- Base (spécificité volontairement basse) ---------- */
:where(.mdl),
:where(.mdl) *,
:where(.mdl) *::before,
:where(.mdl) *::after {
  box-sizing: border-box;
}

.mdl {
  font-family: var(--mdl-font);
  color: var(--mdl-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.mdl :where(h1, h2, h3, h4, p, ul, ol, li) {
  margin: 0;
  padding: 0;
}

.mdl :where(ul, ol) {
  list-style: none;
}

.mdl :where(h1, h2, h3, h4) {
  font-family: var(--mdl-font);
  color: var(--mdl-ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.mdl a {
  text-decoration: none;
  color: inherit;
}

.mdl :where(img, video, svg) {
  max-width: 100%;
  display: block;
}

.mdl button {
  font-family: inherit;
  cursor: pointer;
}

.mdl :focus-visible {
  outline: 3px solid var(--mdl-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.mdl-container {
  width: 100%;
  max-width: var(--mdl-max);
  margin: 0 auto;
  padding: 0 var(--mdl-gutter);
}

/* ---------- Boutons ---------- */
.mdl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  font: 700 16px/1 var(--mdl-font);
  border-radius: 8px;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.mdl-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}

.mdl-btn:hover svg {
  transform: translateX(3px);
}

.mdl-btn--primary {
  background: var(--mdl-blue);
  color: #fff !important;
}

.mdl-btn--primary:hover {
  background: var(--mdl-navy);
}

.mdl-btn--light {
  background: #fff;
  color: var(--mdl-navy) !important;
}

.mdl-btn--light:hover {
  background: var(--mdl-sky);
}

.mdl-btn--line {
  border-color: rgba(255, 255, 255, .5);
  color: #fff !important;
}

.mdl-btn--line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

.mdl-btn--amber {
  background: var(--mdl-amber);
  color: var(--mdl-ink) !important;
}

.mdl-btn--amber:hover {
  background: #fff;
}

.mdl-btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.mdl-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--mdl-radius-sm);
  background: var(--mdl-sky);
  color: var(--mdl-blue);
  display: grid;
  place-items: center;
  flex: none;
}

.mdl-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   HEADER
   ========================================================= */
.mdl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--mdl-header-h);
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.admin-bar .mdl-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .mdl-header {
    top: 46px;
  }
}

.mdl-header.is-scrolled {
  border-bottom-color: var(--mdl-line);
  box-shadow: 0 6px 24px rgba(8, 45, 131, .07);
}

.mdl-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mdl-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.mdl-logo__img {
  display: block;
  height: auto;
  width: auto;
  max-width: 220px !important;
  object-fit: contain;
}

.mdl-logo__img--light {
  display: none;
}

.mdl-header.is-clear .mdl-logo--duo .mdl-logo__img--dark {
  display: none;
}

.mdl-header.is-clear .mdl-logo--duo .mdl-logo__img--light {
  display: block;
}

@media (max-width: 1279px) {
  .mdl-logo__img {
    height: 40px;
  }
}

.mdl-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--mdl-display);
  color: var(--mdl-navy);
  transition: color .3s ease;
}

.mdl-logo__text strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .02em;
}

.mdl-logo__text span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-top: 3px;
}

.mdl-nav {
  display: none;
}

.mdl-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.mdl-nav__item {
  position: static;
}

.mdl-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 10px;
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mdl-ink);
  background: none;
  border: 0;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}

.mdl-nav__link:hover,
.mdl-nav__item.is-open>.mdl-nav__link,
.mdl-nav__link[aria-current="page"] {
  background: var(--mdl-sky);
  color: var(--mdl-navy);
}

.mdl-nav__link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: transform .25s ease;
}

.mdl-nav__item.is-open>.mdl-nav__link svg {
  transform: rotate(180deg);
}

.mdl-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mdl-header__cta {
  display: none;
}

.mdl-burger {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--mdl-line);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background .3s ease, border-color .3s ease;
}

.mdl-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--mdl-navy);
  border-radius: 2px;
  position: relative;
  transition: background .2s ease;
}

.mdl-burger span::before,
.mdl-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--mdl-navy);
  border-radius: 2px;
  transition: transform .25s ease, background .2s ease;
}

.mdl-burger span::before {
  top: -6px;
}

.mdl-burger span::after {
  top: 6px;
}

.mdl-header.is-menu-open .mdl-burger span {
  background: transparent;
}

.mdl-header.is-menu-open .mdl-burger span::before {
  transform: translateY(6px) rotate(45deg);
}

.mdl-header.is-menu-open .mdl-burger span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Header transparent au-dessus du hero (classe ajoutée par le script du header) */
.mdl-header.is-clear {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.mdl-header.is-clear .mdl-logo__text {
  color: #fff;
}

.mdl-header.is-clear .mdl-nav__link {
  color: #fff;
}

.mdl-header.is-clear .mdl-nav__link:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.mdl-header.is-clear .mdl-header__cta {
  background: #fff;
  color: var(--mdl-navy) !important;
}

.mdl-header.is-clear .mdl-header__cta:hover {
  background: var(--mdl-sky);
}

.mdl-header.is-clear .mdl-burger {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
}

.mdl-header.is-clear .mdl-burger span,
.mdl-header.is-clear .mdl-burger span::before,
.mdl-header.is-clear .mdl-burger span::after {
  background: #fff;
}

/* Méga-menu */
.mdl-mega {
  display: none;
}

@media (max-width: 1279px) {
  .mdl-nav {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: calc(100vh - var(--mdl-header-h));
    height: calc(100dvh - var(--mdl-header-h));
    background: #fff;
    overflow-y: auto;
    padding: 16px var(--mdl-gutter) 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }

  .admin-bar .mdl-nav {
    height: calc(100dvh - var(--mdl-header-h) - 46px);
  }

  .mdl-header.is-menu-open .mdl-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mdl-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
  }

  .mdl-nav__item {
    border-bottom: 1px solid var(--mdl-line);
  }

  .mdl-nav__link {
    width: 100%;
    height: 58px;
    padding: 0 4px;
    font-size: 18px;
    justify-content: space-between;
    border-radius: 0;
    background: none !important;
  }

  .mdl-mega {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
  }

  .mdl-mega__inner {
    overflow: hidden;
  }

  .mdl-nav__item.is-open .mdl-mega {
    grid-template-rows: 1fr;
  }

  .mdl-mega__grid {
    display: grid;
    gap: 4px;
    padding: 0 0 14px;
  }

  .mdl-mega__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 8px;
    border-radius: 10px;
  }

  .mdl-mega__link:active {
    background: var(--mdl-sky);
  }

  .mdl-mega__link p,
  .mdl-mega__promo {
    display: none;
  }

  .mdl-mega__link h4 {
    font-size: 16px;
    font-weight: 600;
  }

  .mdl-mega .mdl-icon {
    width: 40px;
    height: 40px;
  }

  .mdl-mega .mdl-icon svg {
    width: 20px;
    height: 20px;
  }
}

body.mdl-lock {
  overflow: hidden;
}

/* Bouton « Demander un devis » toujours visible sur mobile */
.mdl-mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9998;
  padding-bottom: env(safe-area-inset-bottom);
  transition: transform .35s var(--mdl-ease), opacity .25s ease;
}

.mdl-mobile-cta.is-away {
  transform: translateY(160%);
  opacity: 0;
  pointer-events: none;
}

.mdl-mobile-cta .mdl-btn {
  width: 100%;
  min-height: 54px;
  box-shadow: 0 14px 34px rgba(8, 45, 131, .38);
}

@media (min-width: 1280px) {
  .mdl-nav {
    display: block;
    height: 100%;
  }

  .mdl-nav__item--m {
    display: none;
  }

  .mdl-header__cta {
    display: inline-flex;
  }

  .mdl-burger,
  .mdl-mobile-cta {
    display: none;
  }

  .mdl-mega {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--mdl-line);
    box-shadow: var(--mdl-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }

  .mdl-nav__item.is-open>.mdl-mega {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mdl-mega__inner {
    max-width: var(--mdl-max);
    margin: 0 auto;
    padding: 32px var(--mdl-gutter) 36px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
  }

  .mdl-mega__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mdl-mega__link {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: var(--mdl-radius);
    transition: background .2s ease;
  }

  .mdl-mega__link:hover {
    background: var(--mdl-grey);
  }

  .mdl-mega__link h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
  }

  .mdl-mega__link p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--mdl-text);
  }

  .mdl-mega__promo {
    background: var(--mdl-navy);
    color: #C5D2EE;
    border-radius: var(--mdl-radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
  }

  .mdl-mega__promo h4 {
    color: #fff;
    font-size: 20px;
  }

  .mdl-mega__promo p {
    font-size: 15px;
    margin-top: 8px;
  }
}

/* =========================================================
   ACCUEIL — structure générale
   ========================================================= */
.mdl-sec {
  position: relative;
  padding: clamp(72px, 10vw, 144px) 0;
  background: #fff;
  --rule: var(--mdl-line);
}

.mdl-sec--paper {
  background: var(--mdl-grey);
}

.mdl-sec--dark {
  background: var(--mdl-navy);
  color: #C5D2EE;
  --rule: rgba(255, 255, 255, .22);
}

.mdl-head2 {
  display: grid;
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}

@media (min-width: 960px) {
  .mdl-head2 {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.mdl .mdl-h2 {
  font-family: var(--mdl-display);
  font-weight: 600;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -.012em;
  color: var(--mdl-ink);
}

.mdl .mdl-h2--light {
  color: #fff;
}

.mdl-intro {
  font-size: 18px;
  max-width: 46ch;
  color: var(--mdl-text);
}

.mdl-sec--dark .mdl-intro {
  color: #BFCDEA;
}

.mdl-link {
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  color: var(--mdl-blue) !important;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 3px;
  transition: color .2s ease;
}

.mdl-link:hover {
  color: var(--mdl-navy) !important;
}

/* Emplacements photo (remplacez par vos images : style="--mdl-img:url('URL')") */
.mdl-ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--mdl-radius);
  background:
    var(--mdl-img, none) center / cover no-repeat,
    linear-gradient(rgba(8, 45, 131, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(8, 45, 131, .07) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(var(--ph-ang, 160deg), var(--ph-a, #E1ECFB), var(--ph-b, #A8C3EE));
}

/* Filets qui se tracent à l'apparition (seule animation au scroll) */
.mdl-row {
  position: relative;
}

.mdl-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--rule);
  transform-origin: left center;
  transition: transform 1s var(--mdl-ease);
  transition-delay: calc(var(--i, 0) * .12s);
}

.mdl-row:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--rule);
}

.mdl-js .mdl-rows[data-reveal]:not(.is-in) .mdl-row::before {
  transform: scaleX(0);
}

/* =========================================================
   1 · HERO
   ========================================================= */
.mdl-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 680px;
  min-height: max(680px, 100svh);
  color: #fff;
  background: var(--mdl-navy);
  overflow: hidden;
}

.mdl-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -2;
}

.mdl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 20, 64, .68) 0%, rgba(5, 20, 64, .26) 28%, rgba(5, 20, 64, .5) 58%, rgba(5, 20, 64, .95) 100%);
}

.mdl-hero__main {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--mdl-header-h) + 56px) 0 clamp(36px, 5vw, 64px);
}

.mdl .mdl-hero__title {
  font-family: var(--mdl-display);
  font-weight: 600;
  color: #fff;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: .95;
  letter-spacing: -.015em;
  max-width: 16ch;
}

.mdl-hero__row {
  display: grid;
  gap: 28px;
  margin-top: clamp(24px, 3vw, 40px);
  align-items: end;
}

@media (min-width: 960px) {
  .mdl-hero__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 64px;
  }
}

.mdl-hero__lead {
  max-width: 54ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
}

.mdl-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 640px) {
  .mdl-hero__cta .mdl-btn {
    width: 100%;
  }
}

/* Bandeau de preuves en bas du hero */
.mdl-facts {
  border-top: 1px solid rgba(255, 255, 255, .25);
  background: rgba(5, 20, 64, .38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.mdl-facts__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.mdl-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 0 20px;
}

.mdl-fact:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.mdl-fact:nth-child(n+3) {
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.mdl .mdl-fact__name {
  font-family: var(--mdl-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}

.mdl-fact__cap {
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .72);
}

.mdl-fact--hl .mdl-fact__name {
  color: var(--mdl-amber);
}

@media (min-width: 900px) {
  .mdl-facts__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .mdl-fact,
  .mdl-fact:nth-child(n+3),
  .mdl-fact:nth-child(even) {
    border-top: 0;
    border-left: 0;
    padding: 24px 28px 26px;
  }

  .mdl-fact:first-child {
    padding-left: 0;
  }

  .mdl-fact+.mdl-fact {
    border-left: 1px solid rgba(255, 255, 255, .2);
  }
}

/* Entrée du hero (le seul moment animé au chargement) */
@keyframes mdlIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.mdl-hero__in {
  animation: mdlIn 1s var(--mdl-ease) both;
  animation-delay: var(--d, 0s);
}

/* =========================================================
   2 · LE LABORATOIRE
   ========================================================= */
.mdl .mdl-statement {
  font-family: var(--mdl-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1.1;
  letter-spacing: -.008em;
  color: var(--mdl-ink);
  max-width: 30ch;
  margin-bottom: clamp(44px, 6vw, 88px);
}

.mdl-duo {
  display: grid;
  gap: 40px clamp(40px, 7vw, 112px);
  align-items: center;
}

@media (min-width: 960px) {
  .mdl-duo {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

.mdl-duo__img {
  aspect-ratio: 4 / 5;
}

.mdl-caps .mdl-row {
  padding: 34px 0;
}

.mdl .mdl-caps h3 {
  font-family: var(--mdl-display);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--mdl-ink);
}

.mdl-caps p {
  margin-top: 10px;
  max-width: 44ch;
}

.mdl-duo__more {
  margin-top: 32px;
}

/* =========================================================
   3 · FORMES GALÉNIQUES (index avec aperçu photo)
   ========================================================= */
.mdl-ix {
  position: relative;
}

.mdl-ix__row {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--rule);
}

.mdl-ix__row:last-child {
  border-bottom: 1px solid var(--rule);
}

.mdl-ix__img {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 8px;
}

.mdl-ix__link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.mdl-ix__body {
  display: block;
  min-width: 0;
}

.mdl-ix__name {
  display: block;
  font-family: var(--mdl-display);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1;
  color: var(--mdl-ink);
  transition: color .25s ease, transform .4s var(--mdl-ease);
}

.mdl-ix__txt {
  display: block;
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 40ch;
}

.mdl-ix__go {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--mdl-line);
  display: grid;
  place-items: center;
  color: var(--mdl-navy);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.mdl-ix__go svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdl-ix__row:nth-child(2) .mdl-ph {
  --ph-a: #DDE9FA;
  --ph-b: #86A9E4;
  --ph-ang: 200deg;
}

.mdl-ix__row:nth-child(3) .mdl-ph {
  --ph-a: #E8F0FC;
  --ph-b: #9BB8EA;
  --ph-ang: 135deg;
}

.mdl-ix__row:nth-child(4) .mdl-ph {
  --ph-a: #D8E6FA;
  --ph-b: #7FA2E0;
  --ph-ang: 170deg;
}

.mdl-ix__row:nth-child(5) .mdl-ph {
  --ph-a: #E4EEFB;
  --ph-b: #94B3E8;
  --ph-ang: 215deg;
}

.mdl-ix__row:nth-child(6) .mdl-ph {
  --ph-a: #DCE7F8;
  --ph-b: #8AA8DE;
  --ph-ang: 150deg;
}

.mdl-ix__cta {
  margin-top: clamp(32px, 4vw, 52px);
}

@media (min-width: 960px) {
  .mdl-ix {
    padding-right: calc(38% + 56px);
  }

  .mdl-ix__row {
    display: block;
  }

  .mdl-ix__img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 38%;
    height: auto;
    border-radius: var(--mdl-radius);
    opacity: 0;
    transition: opacity .5s ease;
  }

  .mdl-ix__row.is-active .mdl-ix__img {
    opacity: 1;
    z-index: 1;
  }

  .mdl-ix__link {
    padding: 26px 0;
  }

  .mdl-ix__row.is-active .mdl-ix__name {
    color: var(--mdl-blue);
    transform: translateX(10px);
  }

  .mdl-ix__row.is-active .mdl-ix__go {
    background: var(--mdl-blue);
    border-color: var(--mdl-blue);
    color: #fff;
  }
}

/* =========================================================
   4 · PROCESSUS
   ========================================================= */
.mdl-proc {
  display: grid;
  gap: 48px clamp(40px, 8vw, 128px);
}

@media (min-width: 960px) {
  .mdl-proc {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .mdl-proc__side {
    position: sticky;
    top: calc(var(--mdl-header-h) + 32px);
    align-self: start;
  }
}

.mdl-proc__side .mdl-intro {
  margin: 24px 0 36px;
}

.mdl-steps .mdl-row {
  display: grid;
  grid-template-columns: clamp(52px, 6vw, 88px) 1fr;
  gap: 12px 20px;
  padding: 32px 0;
  align-items: start;
}

.mdl-steps__n {
  font-family: var(--mdl-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 500;
  line-height: .85;
  color: #9DBDF4;
}

.mdl .mdl-steps h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.mdl-steps p {
  color: #BFCDEA;
  max-width: 46ch;
}

/* =========================================================
   5 · QUALITÉ ET CERTIFICATIONS
   ========================================================= */
.mdl-q {
  display: grid;
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: stretch;
}

@media (min-width: 960px) {
  .mdl-q {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.mdl-certs .mdl-row {
  display: grid;
  gap: 8px 24px;
  padding: 30px 0;
  align-items: center;
}

@media (min-width: 720px) {
  .mdl-certs .mdl-row {
    grid-template-columns: clamp(190px, 19vw, 270px) minmax(0, 1fr) auto;
  }
}

.mdl .mdl-cert__name {
  white-space: nowrap;
  font-family: var(--mdl-display);
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1;
  color: var(--mdl-navy);
}

.mdl-cert__cap {
  font-size: 15.5px;
  line-height: 1.45;
}

.mdl-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-weight: 700;
  font-size: 15px;
  color: var(--mdl-blue) !important;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: color .2s ease;
}

.mdl-doc:hover {
  color: var(--mdl-navy) !important;
}

.mdl-doc svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdl-days {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--mdl-navy);
  color: #C5D2EE;
  border-radius: var(--mdl-radius);
  padding: clamp(28px, 4vw, 48px);
}

.mdl-days__fig {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--mdl-amber);
  padding-top: .08em;
}

.mdl-days__n {
  font-family: var(--mdl-display);
  font-size: clamp(120px, 15vw, 210px);
  font-weight: 600;
  line-height: .78;
  letter-spacing: -.03em;
}

.mdl-days__u {
  font-family: var(--mdl-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 600;
}

.mdl .mdl-days h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

.mdl-days p {
  max-width: 34ch;
}

.mdl-days .mdl-btn {
  align-self: flex-start;
}

/* =========================================================
   6 · BANDEAU FINAL
   ========================================================= */
.mdl-fin {
  position: relative;
  overflow: hidden;
  background: var(--mdl-deep);
  color: #C5D2EE;
  padding: clamp(80px, 11vw, 160px) 0;
}

.mdl-fin::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -24vw;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 clamp(16px, 2.2vw, 32px) rgba(255, 255, 255, .04);
  pointer-events: none;
}

.mdl-fin__in {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px clamp(40px, 8vw, 128px);
  align-items: end;
}

@media (min-width: 960px) {
  .mdl-fin__in {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

.mdl .mdl-fin__title {
  font-family: var(--mdl-display);
  font-weight: 600;
  color: #fff;
  font-size: clamp(46px, 7vw, 104px);
  line-height: .95;
  letter-spacing: -.015em;
}

.mdl .mdl-fin__title--long {
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1;
  text-wrap: balance;
}

.mdl-fin p {
  max-width: 40ch;
  font-size: 18px;
}

.mdl-fin__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 640px) {
  .mdl-fin__cta .mdl-btn {
    width: 100%;
  }
}

@media (max-width: 1279px) {
  .mdl-fin {
    padding-bottom: calc(clamp(80px, 11vw, 160px) + 76px);
  }
}

/* =========================================================
   PAGES SECONDAIRES (ex. Nos capacités)
   ========================================================= */
.mdl-pagehead {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: calc(var(--mdl-header-h) + clamp(56px, 8vw, 120px)) 0 clamp(64px, 9vw, 120px);
}

.mdl-pagehead::after {
  content: "";
  position: absolute;
  right: -12vw;
  top: -18vw;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  border: 1px solid rgba(8, 45, 131, .12);
  box-shadow: 0 0 0 clamp(16px, 2.2vw, 32px) rgba(8, 45, 131, .04);
  pointer-events: none;
}

.mdl-pagehead__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px clamp(32px, 6vw, 96px);
  align-items: end;
}

@media (min-width: 960px) {
  .mdl-pagehead__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

.mdl .mdl-h1 {
  font-family: var(--mdl-display);
  font-weight: 600;
  font-size: clamp(54px, 9vw, 132px);
  line-height: .92;
  letter-spacing: -.02em;
  color: var(--mdl-ink);
}

.mdl .mdl-pagehead__lead {
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--mdl-ink);
}

.mdl-pagehead__text p+p {
  margin-top: 16px;
}

.mdl-pagehead__text .mdl-pagehead__lead+p {
  margin-top: 24px;
}

.mdl-proc__side .mdl-intro:last-child {
  margin-bottom: 0;
}

.mdl-lead-in {
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--mdl-ink);
  max-width: 52ch;
}

.mdl-sec--dark .mdl-lead-in {
  color: #fff;
}

.mdl-steps--light .mdl-steps__n {
  color: var(--mdl-blue);
}

.mdl .mdl-steps--light h3 {
  color: var(--mdl-ink);
}

.mdl-steps--light p {
  color: var(--mdl-text);
}

/* Du concept au produit fini : texte long + démarche en 3 étapes */
.mdl-dev {
  display: grid;
  gap: 32px clamp(40px, 8vw, 128px);
  margin-bottom: clamp(56px, 7vw, 96px);
}

@media (min-width: 960px) {
  .mdl-dev {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .mdl-dev>.mdl-h2 {
    position: sticky;
    top: calc(var(--mdl-header-h) + 32px);
    align-self: start;
  }
}

.mdl-dev__text p+p {
  margin-top: 18px;
}

.mdl-dev__text .mdl-pagehead__lead {
  margin-bottom: 24px;
}

.mdl .mdl-dev__quote {
  font-family: var(--mdl-display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--mdl-blue);
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid var(--mdl-line);
  max-width: 24em;
}

.mdl .mdl-dev__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--mdl-ink);
  padding-bottom: 16px;
}

.mdl-steps--long .mdl-row {
  grid-template-columns: clamp(52px, 6vw, 88px) 1fr;
  padding: 36px 0;
}

@media (min-width: 960px) {
  .mdl-steps--long .mdl-row {
    grid-template-columns: clamp(64px, 6vw, 88px) minmax(0, 4fr) minmax(0, 7fr);
    gap: 12px clamp(24px, 4vw, 56px);
  }
}

.mdl-steps--long .mdl-steps__t,
.mdl-steps--long .mdl-steps__b {
  grid-column: 2;
}

@media (min-width: 960px) {
  .mdl-steps--long .mdl-steps__t {
    grid-column: 2;
  }

  .mdl-steps--long .mdl-steps__b {
    grid-column: 3;
  }
}

.mdl-steps--long .mdl-steps__n {
  grid-row: 1;
}

.mdl-steps--long .mdl-steps__b p {
  max-width: 62ch;
}

.mdl-steps--long .mdl-steps__b p+p {
  margin-top: 14px;
}

.mdl .mdl-steps--long h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  margin-bottom: 6px;
}

.mdl-steps--long .mdl-steps__sub {
  font-size: 15px;
  font-weight: 500;
  color: var(--mdl-blue);
  margin-bottom: 4px;
}

.mdl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.mdl-tags li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #C9D9F3;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mdl-navy);
}

/* Formes galéniques : grille de visuels, sans cartes */
.mdl-tiles {
  display: grid;
  gap: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .mdl-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .mdl-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mdl-tile .mdl-ph {
  aspect-ratio: 4 / 3;
}

.mdl .mdl-tile h3 {
  font-family: var(--mdl-display);
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--mdl-ink);
  margin: 20px 0 8px;
}

.mdl-tile p {
  max-width: 38ch;
}

.mdl-tile:nth-child(2) .mdl-ph {
  --ph-a: #DDE9FA;
  --ph-b: #86A9E4;
  --ph-ang: 200deg;
}

.mdl-tile:nth-child(3) .mdl-ph {
  --ph-a: #E8F0FC;
  --ph-b: #9BB8EA;
  --ph-ang: 135deg;
}

.mdl-tile:nth-child(4) .mdl-ph {
  --ph-a: #D8E6FA;
  --ph-b: #7FA2E0;
  --ph-ang: 170deg;
}

.mdl-tile:nth-child(5) .mdl-ph {
  --ph-a: #E4EEFB;
  --ph-b: #94B3E8;
  --ph-ang: 215deg;
}

.mdl-tile:nth-child(6) .mdl-ph {
  --ph-a: #DCE7F8;
  --ph-b: #8AA8DE;
  --ph-ang: 150deg;
}

/* Listes à filets */
.mdl-list .mdl-row {
  padding: 26px 0;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
}

.mdl .mdl-pull {
  font-family: var(--mdl-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.1;
  letter-spacing: -.008em;
  color: #fff;
  max-width: 26ch;
  margin-top: clamp(56px, 8vw, 112px);
  padding-top: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--rule);
}

.mdl-points__lead {
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--mdl-ink);
}

.mdl-points {
  display: grid;
  gap: 0 clamp(20px, 3vw, 40px);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .mdl-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .mdl-points {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.mdl-points .mdl-row {
  padding: 28px 0 12px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--mdl-ink);
}

.mdl-points .mdl-row:last-child::after {
  display: none;
}

/* =========================================================
   PARTENAIRES (carrousel de logos : fond blanc, sans cartes ni ombres)
   ========================================================= */
.mdl-partners {
  background: #fff;
}

.mdl-partners__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.mdl-partners__nav {
  display: flex;
  gap: 8px;
  flex: none;
}

.mdl-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--mdl-line);
  background: #fff;
  color: var(--mdl-navy);
  display: grid;
  place-items: center;
  padding: 0;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.mdl-arrow[hidden] {
  display: none;
}

.mdl-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdl-arrow:hover:not([aria-disabled="true"]) {
  background: var(--mdl-navy);
  border-color: var(--mdl-navy);
  color: #fff;
}

.mdl-arrow[aria-disabled="true"] {
  opacity: .35;
  cursor: default;
}

.mdl-partners__viewport {
  border-top: 1px solid var(--mdl-line);
  border-bottom: 1px solid var(--mdl-line);
}

.mdl-partners__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.mdl-partners__track::-webkit-scrollbar {
  display: none;
}

.mdl-partner {
  flex: 0 0 50%;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
  height: clamp(88px, 10vw, 112px);
  padding: 0 clamp(16px, 2.4vw, 32px);
}

@media (min-width: 768px) {
  .mdl-partner {
    flex-basis: 25%;
  }
}

@media (min-width: 1100px) {
  .mdl-partner {
    flex-basis: 20%;
  }
}

/* Même hauteur visuelle pour tous les logos : chacun tient dans une boîte de 56 px de haut */
.mdl-partner img {
  width: 100%;
  max-width: 150px;
  height: 56px;
  object-fit: contain;
  transition: transform .3s var(--mdl-ease);
}

.mdl-partner:hover img {
  transform: scale(1.05);
}

/* =========================================================
   Accessibilité : mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .mdl-hero__in {
    animation: none;
  }

  .mdl-row::before {
    transition: none;
  }

  .mdl-js .mdl-rows[data-reveal]:not(.is-in) .mdl-row::before {
    transform: none;
  }

  .mdl-ix__img,
  .mdl-ix__name,
  .mdl-btn svg,
  .mdl-partner img {
    transition: none;
  }
}

/* =========================================================
   PAGE « LE LABORATOIRE »
   ========================================================= */
.mdl-hero--page {
  min-height: 600px;
  min-height: max(600px, 88svh);
}

.mdl .mdl-hero--page .mdl-hero__title {
  font-size: clamp(40px, 6vw, 88px);
  max-width: 20ch;
}

.mdl .mdl-lead {
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--mdl-ink);
  margin-bottom: 18px;
}

.mdl .mdl-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--mdl-ink);
  padding-bottom: 16px;
}

/* Qui sommes-nous */
.mdl-lab {
  display: grid;
  gap: 32px clamp(40px, 7vw, 112px);
  align-items: center;
  margin-bottom: clamp(56px, 7vw, 96px);
}

@media (min-width: 960px) {
  .mdl-lab {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }
}

.mdl-lab__img {
  aspect-ratio: 4 / 3;
}

.mdl-lab__text p+p {
  margin-top: 0;
}

.mdl-site .mdl-row {
  display: grid;
  grid-template-columns: clamp(72px, 10vw, 150px) 1fr;
  gap: 8px 24px;
  align-items: center;
  padding: 28px 0;
}

.mdl-site__n {
  font-family: var(--mdl-display);
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 600;
  line-height: .8;
  color: var(--mdl-blue);
}

.mdl .mdl-site h4 {
  font-family: var(--mdl-display);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--mdl-ink);
}

.mdl-site p {
  margin-top: 6px;
}

/* Environnement maîtrisé */
.mdl-env {
  display: grid;
  gap: 40px clamp(40px, 7vw, 112px);
  align-items: stretch;
}

@media (min-width: 960px) {
  .mdl-env {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.mdl-env__list .mdl-row {
  padding: 32px 0;
  display: grid;
  gap: 8px 24px;
}

@media (min-width: 720px) {
  .mdl-env__list .mdl-row {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: baseline;
  }
}

.mdl .mdl-env__list h3 {
  font-family: var(--mdl-display);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}

.mdl-env__img {
  min-height: 320px;
}

.mdl-sec--dark .mdl-ph {
  --ph-a: #1B3F9A;
  --ph-b: #0A2A78;
}

/* Contrôle qualité */
.mdl-qc {
  display: grid;
  gap: 36px clamp(24px, 4vw, 56px);
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .mdl-qc {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mdl-qc li {
  padding-top: 24px;
  border-top: 1px solid var(--mdl-line);
}

.mdl-qc__n {
  display: block;
  font-family: var(--mdl-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 500;
  line-height: .85;
  color: var(--mdl-blue);
  margin-bottom: 14px;
}

.mdl .mdl-qc h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  margin-bottom: 8px;
}

.mdl-qc p {
  max-width: 34ch;
}

.mdl-qc__trace {
  max-width: 62ch;
  margin-bottom: clamp(56px, 7vw, 96px);
  font-size: 18px;
}

.mdl-qc__trace strong {
  color: var(--mdl-ink);
}

.mdl .mdl-days h4 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}

/* Pourquoi MEDICKALAB */
.mdl-why {
  display: grid;
  gap: 48px clamp(40px, 8vw, 128px);
}

@media (min-width: 960px) {
  .mdl-why {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .mdl-why__side {
    position: sticky;
    top: calc(var(--mdl-header-h) + 32px);
    align-self: start;
  }
}

.mdl-why__side .mdl-intro {
  margin-top: 24px;
}

.mdl-why__list .mdl-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 24px 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
}

.mdl-why__n {
  font-family: var(--mdl-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--mdl-blue);
}

.mdl-why__list strong {
  color: var(--mdl-ink);
  font-weight: 700;
}

.mdl .mdl-sec--dark .mdl-h2 {
  color: #fff;
}

/* =========================================================
   PAGE CONTACT
   ========================================================= */
.mdl-contact__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mdl-btn--outline {
  background: transparent;
  color: var(--mdl-navy) !important;
  box-shadow: inset 0 0 0 1.5px var(--mdl-navy);
}

.mdl-btn--outline:hover {
  background: var(--mdl-sky);
}

@media (max-width: 640px) {
  .mdl-contact__quick .mdl-btn {
    width: 100%;
  }
}

.mdl-contact {
  display: grid;
  gap: 56px clamp(40px, 7vw, 112px);
}

@media (min-width: 960px) {
  .mdl-contact {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
}

.mdl-contact__info .mdl-h2 {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.mdl-reach .mdl-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
}

.mdl-reach__i {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  fill: none;
  stroke: var(--mdl-blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdl .mdl-reach h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--mdl-text);
  margin-bottom: 4px;
}

.mdl-reach__v {
  font-style: normal;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.35;
  font-weight: 700;
  color: var(--mdl-ink) !important;
}

a.mdl-reach__v {
  display: inline-block;
  border-bottom: 1.5px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

a.mdl-reach__v:hover {
  color: var(--mdl-blue) !important;
  border-bottom-color: currentColor;
}

/* Panneau du formulaire */
.mdl-contact__form {
  background: #fff;
  border: 1px solid var(--mdl-line);
  border-radius: var(--mdl-radius);
  padding: clamp(24px, 4vw, 48px);
}

.mdl .mdl-form__title {
  font-family: var(--mdl-display);
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.02;
  color: var(--mdl-ink);
}

.mdl-form__intro {
  margin: 12px 0 28px;
  max-width: 52ch;
}

/* Contact Form 7 */
.mdl-form .wpcf7 form {
  display: grid;
  gap: 18px 20px;
}

@media (min-width: 640px) {
  .mdl-form .wpcf7 form {
    grid-template-columns: 1fr 1fr;
  }

  .mdl-form .wpcf7 form>p:has(textarea),
  .mdl-form .wpcf7 form>p:has(select),
  .mdl-form .wpcf7 form>p:has(input[type=file]),
  .mdl-form .wpcf7 form>p:has(.wpcf7-acceptance),
  .mdl-form .wpcf7 form>p:has(input[type=submit]),
  .mdl-form .wpcf7 form>.wpcf7-response-output {
    grid-column: 1 / -1;
  }
}

.mdl-form .wpcf7 p {
  margin: 0;
}

.mdl-form .wpcf7 label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--mdl-ink);
}

.mdl-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.mdl-form input[type=text],
.mdl-form input[type=email],
.mdl-form input[type=tel],
.mdl-form input[type=url],
.mdl-form input[type=number],
.mdl-form select,
.mdl-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 16px;
  font: 500 16px/1.4 var(--mdl-font);
  color: var(--mdl-ink);
  background: var(--mdl-grey);
  border: 1px solid var(--mdl-line);
  border-radius: var(--mdl-radius-sm);
  box-shadow: none;
  transition: border-color .2s ease, background .2s ease;
}

.mdl-form textarea {
  min-height: 150px;
  resize: vertical;
}

.mdl-form input:focus,
.mdl-form select:focus,
.mdl-form textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--mdl-blue);
  box-shadow: 0 0 0 3px rgba(7, 86, 181, .15);
}

.mdl-form input[type=file] {
  font: 500 14px var(--mdl-font);
  color: var(--mdl-text);
}

.mdl-form .wpcf7-acceptance label,
.mdl-form .wpcf7-list-item-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--mdl-text);
  line-height: 1.5;
}

.mdl-form .wpcf7-list-item {
  margin: 0;
}

.mdl-form input[type=submit],
.mdl-form button[type=submit] {
  min-height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--mdl-radius-sm);
  cursor: pointer;
  font: 700 16px/1 var(--mdl-font);
  color: #fff;
  background: var(--mdl-blue);
  transition: background .2s ease;
}

.mdl-form input[type=submit]:hover,
.mdl-form button[type=submit]:hover {
  background: var(--mdl-navy);
}

.mdl-form .wpcf7-spinner {
  margin: 0 0 0 12px;
}

.mdl-form .wpcf7-not-valid {
  border-color: #C0392B;
}

.mdl-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #C0392B;
}

.mdl-form .wpcf7 form .wpcf7-response-output {
  margin: 4px 0 0;
  padding: 14px 16px;
  border-radius: var(--mdl-radius-sm);
  border: 1px solid var(--mdl-line);
  font-size: 15px;
}

.mdl-form .wpcf7 form.sent .wpcf7-response-output {
  border-color: #2E8B57;
  background: #EEF8F2;
  color: #1F6B42;
}

.mdl-form .wpcf7 form.invalid .wpcf7-response-output,
.mdl-form .wpcf7 form.failed .wpcf7-response-output {
  border-color: #C0392B;
  background: #FBEFED;
  color: #8E2A1F;
}

/* Carte */
.mdl-map {
  position: relative;
  background: var(--mdl-grey);
}

.mdl-map__frame {
  display: block;
  width: 100%;
  height: clamp(360px, 46vw, 560px);
  border: 0;
  filter: saturate(.85);
}

.mdl-map__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  padding: 28px var(--mdl-gutter) 32px;
  border-top: 1px solid var(--mdl-line);
}

.mdl .mdl-map__panel h2 {
  font-family: var(--mdl-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--mdl-ink);
}

.mdl-map__panel address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.5;
  color: var(--mdl-ink);
  font-weight: 600;
}

@media (min-width: 960px) {
  .mdl-map__panel {
    position: absolute;
    left: max(var(--mdl-gutter), calc((100% - var(--mdl-max)) / 2 + var(--mdl-gutter)));
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    border: 1px solid var(--mdl-line);
    border-radius: var(--mdl-radius);
    padding: 32px;
    box-shadow: var(--mdl-shadow-lg);
  }
}

@media (max-width: 1279px) {
  .mdl-map {
    margin-bottom: 0;
  }
}

/* Contact Form 7 : blocs .mdl-f du modèle de formulaire */
.mdl-form .wpcf7 form {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .mdl-form .wpcf7 form {
    grid-template-columns: 1fr 1fr;
  }
}

.mdl-form .wpcf7 form>.mdl-f--full,
.mdl-form .wpcf7 form>.wpcf7-response-output {
  grid-column: 1 / -1;
}

.mdl-f>label,
.mdl-f__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--mdl-ink);
}

.mdl-f__hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--mdl-text);
}

.mdl-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082D83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.mdl-form input[type=file] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: var(--mdl-grey);
  border: 1px dashed #B9C9E6;
  border-radius: var(--mdl-radius-sm);
}

.mdl-form input[type=file]::file-selector-button {
  margin-right: 14px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--mdl-sky);
  color: var(--mdl-navy);
  font: 700 14px var(--mdl-font);
  cursor: pointer;
}

.mdl-form ::placeholder {
  color: #8A97B4;
  opacity: 1;
}

/* Formes galéniques : pastilles à cocher */
.mdl-form .mdl-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.mdl-form .mdl-checks .wpcf7-list-item {
  margin: 0;
}

.mdl-form .mdl-checks label {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.mdl-form .mdl-checks input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.mdl-form .mdl-checks .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--mdl-line);
  background: var(--mdl-grey);
  font-size: 15px;
  font-weight: 600;
  color: var(--mdl-ink);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.mdl-form .mdl-checks label:hover .wpcf7-list-item-label {
  border-color: var(--mdl-blue);
}

.mdl-form .mdl-checks input:checked+.wpcf7-list-item-label {
  background: var(--mdl-blue);
  border-color: var(--mdl-blue);
  color: #fff;
}

.mdl-form .mdl-checks input:focus-visible+.wpcf7-list-item-label {
  box-shadow: 0 0 0 3px rgba(7, 86, 181, .25);
}

/* Consentement et envoi */
.mdl-form .wpcf7-acceptance label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.mdl-form .wpcf7-acceptance input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--mdl-blue);
}

.mdl-f--submit {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 639px) {
  .mdl-f--submit input[type=submit] {
    width: 100%;
  }
}

/* =========================================================
   PAGES FORMES GALÉNIQUES
   ========================================================= */
.mdl-pagehead--form {
  padding-bottom: clamp(48px, 6vw, 88px);
}

.mdl-pagehead--form .mdl-pagehead__grid {
  align-items: center;
}

.mdl-crumb {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}

.mdl-crumb a {
  color: var(--mdl-blue) !important;
}

.mdl-crumb a::before {
  content: "\2190";
  margin-right: 8px;
}

.mdl-crumb a:hover {
  color: var(--mdl-navy) !important;
}

.mdl .mdl-h1--form {
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: .96;
  margin-bottom: 24px;
}

.mdl-pagehead--form .mdl-pagehead__lead {
  max-width: 46ch;
}

.mdl-form__hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--mdl-radius);
}

/* Navigation entre les formats de la page */
.mdl-chips {
  background: #fff;
  border-top: 1px solid var(--mdl-line);
  border-bottom: 1px solid var(--mdl-line);
}

.mdl-chips ul {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.mdl-chips ul::-webkit-scrollbar {
  display: none;
}

.mdl-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--mdl-line);
  background: var(--mdl-grey);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--mdl-ink) !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.mdl-chips a:hover {
  background: var(--mdl-blue);
  border-color: var(--mdl-blue);
  color: #fff !important;
}

html {
  scroll-behavior: smooth;
}

.mdl-prod {
  scroll-margin-top: calc(var(--mdl-header-h) + 24px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Un format = une ligne : photo + fiche */
.mdl-prod {
  display: grid;
  gap: 32px clamp(40px, 7vw, 112px);
  align-items: start;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--mdl-line);
}

.mdl-prod:first-child {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 960px) {
  .mdl-prod {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .mdl-prod--rev {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .mdl-prod--rev .mdl-prod__media {
    order: 2;
  }

  .mdl-prod__media {
    position: sticky;
    top: calc(var(--mdl-header-h) + 32px);
  }
}

.mdl-prod__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--mdl-radius);
}

.mdl .mdl-prod__title {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  margin-bottom: 18px;
}

.mdl-prod__intro {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.55;
  font-weight: 500;
  color: var(--mdl-ink);
  max-width: 56ch;
  margin-bottom: 28px;
}

.mdl-spec {
  margin: 0;
  border-top: 1px solid var(--mdl-line);
}

.mdl-spec__r {
  display: grid;
  gap: 4px 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--mdl-line);
}

@media (min-width: 640px) {
  .mdl-spec__r {
    grid-template-columns: minmax(130px, 1fr) minmax(0, 3fr);
  }
}

.mdl-spec dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--mdl-ink);
}

.mdl-spec dd {
  margin: 0;
}

.mdl-cap {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 28px);
  background: var(--mdl-sky);
  border-radius: var(--mdl-radius);
}

.mdl-cap__fig {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}

.mdl-cap__n {
  font-family: var(--mdl-display);
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 600;
  line-height: .9;
  color: var(--mdl-blue);
}

.mdl-cap__u {
  font-size: 17px;
  font-weight: 700;
  color: var(--mdl-ink);
}

.mdl-cap__l {
  margin-top: 8px;
  font-size: 14px;
}

.mdl-prod__note {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.55;
}

/* Autres formes */
.mdl-other {
  display: grid;
  gap: 28px clamp(40px, 8vw, 128px);
}

@media (min-width: 960px) {
  .mdl-other {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.mdl-other__list .mdl-row a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-family: var(--mdl-display);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--mdl-ink) !important;
  transition: color .2s ease, padding .3s var(--mdl-ease);
}

.mdl-other__list .mdl-row a svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--mdl-blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s var(--mdl-ease);
}

.mdl-other__list .mdl-row a:hover {
  color: var(--mdl-blue) !important;
}

.mdl-other__list .mdl-row a:hover svg {
  transform: translateX(6px);
}

/* =========================================================
   PAGE « NOS FORMES GALÉNIQUES » (hub SEO)
   ========================================================= */
.mdl-cat .mdl-prod__media {
  display: block;
}

.mdl-cat .mdl-prod__title a {
  color: inherit !important;
}

.mdl-cat .mdl-prod__title a:hover {
  color: var(--mdl-blue) !important;
}

.mdl-minichips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.mdl-minichips a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--mdl-line);
  background: var(--mdl-grey);
  font-size: 14px;
  font-weight: 600;
  color: var(--mdl-ink) !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.mdl-minichips a:hover {
  background: var(--mdl-blue);
  border-color: var(--mdl-blue);
  color: #fff !important;
}

.mdl-cat__go {
  margin-top: 4px;
}

.mdl-crit .mdl-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 26px 0;
}

.mdl .mdl-crit h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  margin-bottom: 6px;
}

.mdl-crit p {
  max-width: 70ch;
}

.mdl .mdl-label--table {
  margin-top: clamp(56px, 7vw, 96px);
}

.mdl-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--mdl-line);
  border-radius: var(--mdl-radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.mdl-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}

.mdl-table thead th {
  padding: 16px 20px;
  background: var(--mdl-sky);
  font-size: 13px;
  font-weight: 700;
  color: var(--mdl-navy);
}

.mdl-table td,
.mdl-table tbody th {
  padding: 14px 20px;
  border-top: 1px solid var(--mdl-line);
  vertical-align: top;
  font-weight: 400;
}

.mdl-table tbody th[scope=row] {
  font-weight: 700;
  width: 24%;
}

.mdl-table tbody th[scope=row] a {
  color: var(--mdl-ink) !important;
  border-bottom: 1px solid transparent;
}

.mdl-table tbody th[scope=row] a:hover {
  color: var(--mdl-blue) !important;
  border-bottom-color: currentColor;
}

.mdl-table td:last-child {
  white-space: nowrap;
  font-weight: 700;
  color: var(--mdl-ink);
}

.mdl-table__fam th {
  padding: 12px 20px;
  background: var(--mdl-grey);
  font-family: var(--mdl-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--mdl-blue);
}

.mdl-whyf .mdl-row p {
  max-width: 56ch;
}

.mdl-whyf__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 56px);
}

.mdl-faq {
  border-top: 1px solid var(--mdl-line);
}

.mdl-faq__i {
  border-bottom: 1px solid var(--mdl-line);
}

.mdl-faq__i summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

.mdl-faq__i summary::-webkit-details-marker {
  display: none;
}

.mdl .mdl-faq__i h3 {
  font-family: var(--mdl-font);
  font-size: clamp(17px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--mdl-ink);
}

.mdl-faq__i summary svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--mdl-blue);
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform .3s var(--mdl-ease);
}

.mdl-faq__i[open] summary svg {
  transform: rotate(45deg);
}

.mdl-faq__i summary:focus-visible {
  outline: 2px solid var(--mdl-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.mdl-faq__i p {
  padding: 0 40px 24px 0;
  max-width: 64ch;
}

/* =========================================================
   PAGES SANS HERO : en-tête du laboratoire, chiffres clés, vidéo, FAQ
   ========================================================= */
.mdl .mdl-h1--lab {
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: .98;
}

.mdl-figs {
  background: var(--mdl-sky);
  border-top: 1px solid var(--mdl-line);
  border-bottom: 1px solid var(--mdl-line);
}

.mdl-figs__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mdl-figs__list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 20px 0 22px;
}

.mdl-figs__list li:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid #C9D9F3;
}

.mdl-figs__list li:nth-child(n+3) {
  border-top: 1px solid #C9D9F3;
}

.mdl .mdl-figs__list strong {
  font-family: var(--mdl-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--mdl-navy);
}

.mdl-figs__list span {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--mdl-text);
}

.mdl-figs__list li:last-child strong {
  color: #B8780B;
}

@media (min-width: 900px) {
  .mdl-figs__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .mdl-figs__list li,
  .mdl-figs__list li:nth-child(n+3),
  .mdl-figs__list li:nth-child(even) {
    border-top: 0;
    border-left: 0;
    padding: 26px 28px 28px;
  }

  .mdl-figs__list li:first-child {
    padding-left: 0;
  }

  .mdl-figs__list li+li {
    border-left: 1px solid #C9D9F3;
  }
}

/* Vidéo verticale de la gamme */
.mdl-gamme {
  display: grid;
  gap: 40px clamp(40px, 8vw, 128px);
  align-items: center;
}

@media (min-width: 860px) {
  .mdl-gamme {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}

.mdl-gamme__video {
  margin: 0;
  justify-self: center;
  width: min(100%, 360px);
}

.mdl-gamme__video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--mdl-deep);
  border-radius: var(--mdl-radius);
}

.mdl-gamme__text .mdl-h2 {
  margin-bottom: 20px;
}

.mdl-gamme__text p+p {
  margin-top: 16px;
  max-width: 56ch;
}

.mdl-gamme__text .mdl-doc {
  margin-top: 24px;
}

/* Page FAQ */
.mdl-faqnav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mdl-line);
}

.mdl-faqnav li {
  border-bottom: 1px solid var(--mdl-line);
}

.mdl-faqnav a {
  display: block;
  padding: 14px 0;
  font-weight: 600;
  color: var(--mdl-ink) !important;
  transition: color .2s ease, padding .3s var(--mdl-ease);
}

.mdl-faqnav a:hover {
  color: var(--mdl-blue) !important;
  padding-left: 6px;
}

.mdl-faqgroups {
  display: grid;
  gap: clamp(48px, 6vw, 80px);
}

.mdl-faqgroup {
  scroll-margin-top: calc(var(--mdl-header-h) + 24px);
}

.mdl .mdl-faqgroup__t {
  font-family: var(--mdl-display);
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  color: var(--mdl-ink);
  margin-bottom: 20px;
}

.mdl-sec--paper .mdl-faq__i summary h3 {
  color: var(--mdl-ink);
}

@media (max-width: 959px) {
  .mdl-faqnav {
    position: static;
  }
}

/* Vidéo « Qui sommes-nous » (page Le laboratoire) */
.mdl-lab__video {
  overflow: hidden;
  border-radius: var(--mdl-radius);
  background: var(--mdl-deep);
  aspect-ratio: 4 / 3;
}

.mdl-lab__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   PAGE « DEMANDE DE DEVIS » — Fluent Forms (multi-étapes)
   ========================================================= */
.mdl-quote {
  background: var(--mdl-grey);
  padding: calc(var(--mdl-header-h) + clamp(40px, 6vw, 88px)) 0 clamp(56px, 7vw, 104px);
}

.mdl-quote__head {
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.mdl .mdl-h1--quote {
  font-size: clamp(44px, 6vw, 80px);
  line-height: .98;
  margin-bottom: 18px;
}

.mdl-quote__head .mdl-pagehead__lead {
  margin: 0 auto;
  max-width: 56ch;
}

.mdl-quote__help {
  max-width: 900px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 15px;
}

.mdl-quote__help a {
  font-weight: 700;
  color: var(--mdl-blue) !important;
  border-bottom: 1px solid currentColor;
}

/* Conteneur blanc centré */
.mdl-ffwrap {
  --ff-green: #1F9D63;
  --ff-green-dark: #17784B;
  --ff-grey: #DCE3EF;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 34px rgba(8, 45, 131, .08);
  padding: clamp(24px, 5vw, 56px);
}

.mdl-ffwrap .fluentform,
.mdl-ffwrap .frm-fluent-form {
  font-family: var(--mdl-font);
  color: var(--mdl-text);
}

.mdl-ffwrap .fluentform * {
  box-sizing: border-box;
}

/* Étapes : titres numérotés + barre de progression */
.mdl-ffwrap .ff-step-titles {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: ffstep;
}

.mdl-ffwrap .ff-step-titles li {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0 4px 0 0;
  counter-increment: ffstep;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #8A97B4;
  background: none;
  border: 0;
  cursor: default;
  opacity: 1;
}

.mdl-ffwrap .ff-step-titles li::before {
  content: counter(ffstep);
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ff-grey);
  color: #8A97B4;
  font-size: 14px;
  font-weight: 800;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.mdl-ffwrap .ff-step-titles li::after {
  display: none;
}

.mdl-ffwrap .ff-step-titles li.ff_active,
.mdl-ffwrap .ff-step-titles li.ff_completed {
  color: var(--mdl-ink);
}

.mdl-ffwrap .ff-step-titles li.ff_active::before,
.mdl-ffwrap .ff-step-titles li.ff_completed::before {
  background: var(--ff-green);
  border-color: var(--ff-green);
  color: #fff;
}

.mdl-ffwrap .ff-step-titles li.ff_completed::before {
  content: "\2713";
}

@media (max-width: 639px) {
  .mdl-ffwrap .ff-step-titles li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
  }
}

.mdl-ffwrap .ff-el-progress {
  height: 8px;
  margin: 0 0 8px;
  border-radius: 999px;
  background: var(--ff-grey);
  overflow: hidden;
  box-shadow: none;
}

.mdl-ffwrap .ff-el-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: var(--ff-green);
  box-shadow: none;
  transition: width .5s var(--mdl-ease);
}

.mdl-ffwrap .ff-el-progress-bar span {
  display: none;
}

.mdl-ffwrap .ff-el-progress-status {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mdl-text);
}

/* Titres et descriptions d'étape (champ « Séparateur de section » / HTML personnalisé) */
.mdl-ffwrap .ff-el-section-break {
  margin: 0 0 8px;
}

.mdl-ffwrap .ff-el-section-break .ff-el-section-title,
.mdl-ffwrap .ff-step-header h3,
.mdl-ffwrap .mdl-ff-title {
  margin: 0 0 6px;
  font-family: var(--mdl-display);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--mdl-ink);
}

.mdl-ffwrap .ff-el-section-break div,
.mdl-ffwrap .ff-step-header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--mdl-text);
}

.mdl-ffwrap .ff-el-section-break hr {
  display: none;
}

.mdl-ffwrap .ff-el-section-break.mdl-ff-sub .ff-el-section-title {
  margin: 20px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--mdl-line);
  font-family: var(--mdl-font);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--mdl-navy);
}

/* Champs */
.mdl-ffwrap .ff-el-group {
  margin-bottom: 20px;
}

.mdl-ffwrap .ff-el-input--label label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--mdl-ink);
}

.mdl-ffwrap .ff-el-is-required.asterisk-right label::after,
.mdl-ffwrap .ff-el-input--label.ff-el-is-required label::after {
  color: #C0392B;
}

.mdl-ffwrap .ff-el-form-control,
.mdl-ffwrap .fluentform select.ff-el-form-control,
.mdl-ffwrap .iti input.ff-el-form-control {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: 500 16px/1.4 var(--mdl-font);
  color: var(--mdl-ink);
  background-color: var(--mdl-grey);
  border: 1px solid var(--mdl-line);
  border-radius: var(--mdl-radius-sm);
  box-shadow: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.mdl-ffwrap textarea.ff-el-form-control {
  min-height: 130px;
  resize: vertical;
}

.mdl-ffwrap .ff-el-form-control::placeholder {
  color: #8A97B4;
  opacity: 1;
}

.mdl-ffwrap .ff-el-form-control:focus {
  outline: 0;
  background-color: #fff;
  border-color: var(--mdl-blue);
  box-shadow: 0 0 0 3px rgba(7, 86, 181, .15);
}

.mdl-ffwrap .iti {
  display: block;
  width: 100%;
}

.mdl-ffwrap .ff-el-is-error .ff-el-form-control {
  border-color: #C0392B;
}

.mdl-ffwrap .error.text-danger,
.mdl-ffwrap .ff-el-is-error .error {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #C0392B;
}

/* Colonnes : 2 sur ordinateur, 1 sur mobile */
.mdl-ffwrap .ff-t-container {
  display: flex;
  gap: 0 20px;
}

.mdl-ffwrap .ff-t-cell {
  min-width: 0;
}

@media (max-width: 639px) {
  .mdl-ffwrap .ff-t-container {
    flex-direction: column;
    gap: 0;
  }

  .mdl-ffwrap .ff-t-container .ff-t-cell {
    width: 100% !important;
    flex-basis: auto !important;
  }
}

/* Cases à cocher en pastilles */
.mdl-ffwrap .ff-el-form-check {
  margin: 0;
}

.mdl-ffwrap .ff-el-group .ff-el-input--content>div:has(> .ff-el-form-check),
.mdl-ffwrap .ff_checkable_grids {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mdl-ffwrap .ff-el-form-check label.ff-el-form-check-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--mdl-line);
  border-radius: 999px;
  background: var(--mdl-grey);
  font-size: 15px;
  font-weight: 600;
  color: var(--mdl-ink);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.mdl-ffwrap .ff-el-form-check label.ff-el-form-check-label:hover {
  border-color: var(--mdl-blue);
}

.mdl-ffwrap .ff-el-form-check input[type=checkbox],
.mdl-ffwrap .ff-el-form-check input[type=radio] {
  accent-color: var(--ff-green);
  width: 18px;
  height: 18px;
  margin: 0;
}

.mdl-ffwrap .ff-el-form-check.ff_item_selected label.ff-el-form-check-label,
.mdl-ffwrap .ff-el-form-check label:has(input:checked) {
  background: #E7F6EE;
  border-color: var(--ff-green);
}

/* Consentement : pas de pastille */
.mdl-ffwrap .ff_gdpr_field .ff-el-form-check label,
.mdl-ffwrap .ff-el-gdpr-field label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--mdl-text);
}

.mdl-ffwrap .ff_gdpr_field .ff-el-form-check input,
.mdl-ffwrap .ff-el-gdpr-field input {
  flex: none;
  margin-top: 3px;
}

/* Téléversement */
.mdl-ffwrap .ff_upload_btn,
.mdl-ffwrap .ff-upload-btn {
  border-radius: var(--mdl-radius-sm);
}

.mdl-ffwrap .ff-el-input--content .ff_file_upload_holder {
  display: block;
}

.mdl-ffwrap .ff_file_upload_holder .ff_upload_btn.ff-btn {
  background: var(--mdl-sky);
  color: var(--mdl-navy);
  border: 1px dashed #B9C9E6;
  box-shadow: none;
  font-weight: 700;
  padding: 14px 20px;
}

.mdl-ffwrap .ff_file_upload_holder .ff_upload_btn.ff-btn:hover {
  background: #DCE8FA;
}

/* Boutons de navigation */
.mdl-ffwrap .ff_step_nav,
.mdl-ffwrap .step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.mdl-ffwrap .step-nav .ff-btn,
.mdl-ffwrap .ff-btn-submit,
.mdl-ffwrap .ff-btn-next,
.mdl-ffwrap .ff-btn-prev {
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--mdl-radius-sm);
  font: 700 16px/1 var(--mdl-font);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.mdl-ffwrap .ff-btn-next,
.mdl-ffwrap .ff-btn-submit {
  background-color: var(--mdl-blue);
  color: #fff;
  margin-left: auto;
}

.mdl-ffwrap .ff-btn-next:hover,
.mdl-ffwrap .ff-btn-submit:hover {
  background-color: var(--mdl-navy);
  color: #fff;
}

.mdl-ffwrap .ff-btn-submit {
  background-color: var(--ff-green);
}

.mdl-ffwrap .ff-btn-submit:hover {
  background-color: var(--ff-green-dark);
}

.mdl-ffwrap .ff-btn-prev {
  background: transparent;
  color: var(--mdl-navy);
  box-shadow: inset 0 0 0 1.5px var(--mdl-line);
}

.mdl-ffwrap .ff-btn-prev:hover {
  background: var(--mdl-sky);
  color: var(--mdl-navy);
}

@media (max-width: 639px) {
  .mdl-ffwrap .step-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .mdl-ffwrap .step-nav .ff-btn {
    width: 100%;
    margin-left: 0;
  }
}

/* Message de confirmation */
.mdl-ffwrap .ff-message-success {
  padding: 20px 22px;
  border: 1px solid var(--ff-green);
  border-radius: var(--mdl-radius-sm);
  background: #EAF7F0;
  color: #14603D;
  font-size: 16px;
}

/* Pourquoi nous choisir : 4 avantages */
.mdl-adv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1024px) {
  .mdl-adv {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 479px) {
  .mdl-adv {
    gap: 12px;
  }

  .mdl-adv__i {
    padding: 18px 16px;
  }

  .mdl-adv__ic {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
  }

  .mdl .mdl-adv h3 {
    font-size: 16px;
  }

  .mdl-adv p {
    font-size: 14px;
  }
}

.mdl-adv__i {
  padding: clamp(22px, 2.6vw, 32px);
  background: #fff;
  border: 1px solid var(--mdl-line);
  border-radius: var(--mdl-radius);
  transition: border-color .25s ease, transform .3s var(--mdl-ease);
}

.mdl-adv__i:hover {
  border-color: #B9C9E6;
  transform: translateY(-3px);
}

.mdl-adv__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--mdl-sky);
}

.mdl-adv__ic svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--mdl-blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdl .mdl-adv h3 {
  font-family: var(--mdl-font);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--mdl-ink);
  margin-bottom: 8px;
}

.mdl-adv p {
  font-size: 15px;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .mdl-adv__i:hover {
    transform: none;
  }
}

.mdl-ffwrap fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.mdl-adv__i {
  min-width: 0;
}

.mdl .mdl-adv h3,
.mdl-adv p {
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 479px) {
  .mdl .mdl-adv h3 {
    font-size: 15px;
  }
}

.mdl .mdl-adv h3,
.mdl-adv p {
  overflow-wrap: break-word;
}

@media (max-width: 479px) {
  .mdl-adv__i {
    padding: 18px 14px;
  }

  .mdl .mdl-adv h3 {
    font-size: 14px;
    letter-spacing: -.01em;
  }
}

/* =========================================================
   FOOTER MEDICKALAB — aligné sur le reste du site
   (même police, mêmes variables, filets fins, lisibilité ≥ 14 px)
   ========================================================= */
.mdl-footer {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--mdl-deep);
  color: #C5D2EE;
  font-family: var(--mdl-font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  --f-text: #C5D2EE;
  --f-muted: #9FB1D6;
  --f-rule: rgba(255, 255, 255, .16);
  --f-hover: #9DBDF4;
}

.mdl-footer,
.mdl-footer *,
.mdl-footer *::before,
.mdl-footer *::after {
  box-sizing: border-box;
}

.mdl-footer a {
  text-decoration: none !important;
}

.mdl-footer a:focus-visible {
  outline: 2px solid var(--f-hover);
  outline-offset: 3px;
  border-radius: 4px;
}

.mdl-footer__main {
  padding: clamp(56px, 7vw, 96px) var(--mdl-gutter) clamp(44px, 5vw, 72px);
}

.mdl-footer__container {
  max-width: var(--mdl-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 48px clamp(32px, 4vw, 64px);
}

/* Marque */
.mdl-footer .mdl-footer__logo {
  display: inline-block;
  margin-bottom: 22px;
}

.mdl-footer .mdl-footer__logo img {
  display: block;
  width: 200px;
  height: auto;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.mdl-footer .mdl-footer__intro {
  margin: 0 0 26px;
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--f-text);
}

/* Colonnes */
.mdl-footer .mdl-footer__column h3 {
  margin: 0 0 22px;
  padding: 0 0 16px;
  font-family: var(--mdl-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  color: #fff;
  border-bottom: 1px solid var(--f-rule);
}

.mdl-footer .mdl-footer__column h3::after {
  content: none;
}

.mdl-footer .mdl-footer__column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mdl-footer .mdl-footer__column li {
  margin: 0;
  padding: 0;
}

.mdl-footer .mdl-footer__column ul a {
  display: inline-block;
  font-size: 15px;
  line-height: 1.5;
  color: var(--f-text) !important;
  transition: color .25s ease, transform .3s var(--mdl-ease);
}

.mdl-footer .mdl-footer__column ul a:hover {
  color: #fff !important;
  transform: translateX(5px);
}

/* Contact */
.mdl-footer__contact {
  min-width: 0;
}

.mdl-footer .mdl-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 20px;
  color: #fff !important;
  min-width: 0;
}

.mdl-footer .mdl-footer__contact-item:last-child {
  margin-bottom: 0;
}

.mdl-footer__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--f-rule);
  border-radius: var(--mdl-radius-sm);
  transition: background .25s ease, border-color .25s ease;
}

.mdl-footer__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdl-footer__contact-item:hover .mdl-footer__icon {
  background: var(--mdl-blue);
  border-color: var(--mdl-blue);
}

.mdl-footer__contact-item>span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.mdl-footer__contact-item strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.mdl-footer__contact-item small {
  font-size: 15px;
  line-height: 1.5;
  color: var(--f-text);
  overflow-wrap: anywhere;
}

/* Réseaux sociaux */
.mdl-footer__socials {
  display: flex;
  gap: 10px;
}

.mdl-footer .mdl-footer__social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--f-rule);
  border-radius: 50%;
  color: #fff !important;
  background: transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--mdl-ease);
}

.mdl-footer__social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdl-footer .mdl-footer__social:hover {
  background: #fff;
  color: var(--mdl-navy) !important;
  border-color: #fff;
  transform: translateY(-3px);
}

/* Bouton optionnel (même style que les boutons du site) */
.mdl-footer .mdl-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  margin-top: 8px;
  border-radius: var(--mdl-radius-sm);
  background: var(--mdl-amber);
  color: var(--mdl-deep) !important;
  font-size: 15px;
  font-weight: 800;
  transition: background .25s ease, transform .3s var(--mdl-ease);
}

.mdl-footer .mdl-footer__cta:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Barre du bas */
.mdl-footer__bottom {
  padding: 22px var(--mdl-gutter);
  border-top: 1px solid var(--f-rule);
  background: rgba(0, 0, 0, .18);
}

.mdl-footer__bottom-inner {
  max-width: var(--mdl-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.mdl-footer .mdl-footer__bottom p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--f-muted);
}

.mdl-footer .mdl-footer__bottom p a {
  color: #fff !important;
  font-weight: 700;
}

.mdl-footer .mdl-footer__bottom p a:hover {
  color: var(--f-hover) !important;
}

.mdl-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-left: auto;
}

.mdl-footer .mdl-footer__legal a {
  font-size: 14px;
  color: var(--f-muted) !important;
  transition: color .2s ease;
}

.mdl-footer .mdl-footer__legal a:hover {
  color: #fff !important;
}

.mdl-footer__legal span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--f-muted);
}

.mdl-footer .mdl-footer__top {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--f-rule);
  border-radius: 50%;
  transition: background .25s ease, border-color .25s ease, transform .3s var(--mdl-ease);
}

.mdl-footer__top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdl-footer .mdl-footer__top:hover {
  background: var(--mdl-blue);
  border-color: var(--mdl-blue);
  transform: translateY(-3px);
}

/* Tablette */
@media (max-width: 1024px) {
  .mdl-footer__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mdl-footer__brand {
    grid-column: 1 / -1;
  }

  .mdl-footer .mdl-footer__intro {
    max-width: 52ch;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .mdl-footer__container {
    gap: 40px 20px;
  }

  .mdl-footer .mdl-footer__column h3 {
    font-size: 23px;
  }

  .mdl-footer__contact {
    grid-column: 1 / -1;
  }

  .mdl-footer__bottom-inner {
    flex-wrap: wrap;
  }

  .mdl-footer .mdl-footer__bottom p {
    flex: 1 1 calc(100% - 60px);
  }

  .mdl-footer__legal {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .mdl-footer .mdl-footer__top {
    order: 2;
  }
}

@media (max-width: 420px) {
  .mdl-footer__container {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mdl-footer * {
    transition: none !important;
  }
}

/* =========================================================
   PAGE LABORATOIRE — slider, cartes d'atouts
   ========================================================= */
.mdl-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9DBDF4;
  margin-bottom: 18px;
}

.mdl-sec:not(.mdl-sec--dark) .mdl-kicker {
  color: var(--mdl-blue);
}

/* Slider */
.mdl-slider {
  position: relative;
  min-width: 0;
  align-self: start;
}

.mdl-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--mdl-radius);
  outline-offset: 4px;
  -webkit-overflow-scrolling: touch;
}

.mdl-slider__track::-webkit-scrollbar {
  display: none;
}

.mdl-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0A2A78;
}

.mdl .mdl-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  transform: scale(1.06);
  transition: transform 6s ease-out;
}

.mdl .mdl-slide:hover img {
  transform: scale(1.0);
}

.mdl-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 20px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to top, rgba(5, 20, 64, .78), rgba(5, 20, 64, 0));
}

.mdl-slider__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.mdl-slider__count {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #BFCDEA;
  font-variant-numeric: tabular-nums;
}

.mdl-slider__count b {
  color: #fff;
}

.mdl-slider__dots {
  display: flex;
  gap: 6px;
  flex: 1;
}

.mdl-slider__dots span {
  height: 3px;
  flex: 1;
  max-width: 44px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .25);
  transition: background .3s ease;
}

.mdl-slider__dots span.is-on {
  background: #fff;
}

.mdl-slider__nav {
  display: flex;
  gap: 8px;
}

.mdl-sec--dark .mdl-arrow {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.mdl-sec--dark .mdl-arrow:hover {
  background: #fff;
  color: var(--mdl-navy);
}

.mdl-sec--dark .mdl-arrow svg {
  stroke: currentColor;
}

@media (min-width: 960px) {
  .mdl-slide {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 959px) {
  .mdl-slide {
    aspect-ratio: 4 / 3;
  }
}

/* Cartes d'atouts */
.mdl-atouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .mdl-atouts {
    gap: 18px;
  }
}

@media (min-width: 1100px) {
  .mdl-atouts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.mdl-atout {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.2vw, 30px) clamp(16px, 2vw, 28px) clamp(22px, 2.4vw, 32px);
  background: #fff;
  border: 1px solid var(--mdl-line);
  border-radius: var(--mdl-radius);
  transition: transform .35s var(--mdl-ease), box-shadow .35s ease, border-color .25s ease;
}

.mdl-atout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--mdl-blue), #5CA2F5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--mdl-ease);
}

.mdl-atout:hover {
  transform: translateY(-6px);
  border-color: #B9C9E6;
  box-shadow: 0 18px 40px rgba(8, 45, 131, .12);
}

.mdl-atout:hover::before {
  transform: scaleX(1);
}

.mdl-atout__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: clamp(16px, 2vw, 26px);
  border-radius: 14px;
  background: var(--mdl-sky);
  transition: background .3s ease, transform .4s var(--mdl-ease);
}

.mdl-atout__ic svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--mdl-blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s ease;
}

.mdl-atout:hover .mdl-atout__ic {
  background: var(--mdl-blue);
  transform: rotate(-6deg) scale(1.06);
}

.mdl-atout:hover .mdl-atout__ic svg {
  stroke: #fff;
}

.mdl .mdl-atout h3 {
  font-family: var(--mdl-font);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--mdl-ink);
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

.mdl-atout p {
  font-size: clamp(13.5px, 1.1vw, 15.5px);
  line-height: 1.5;
  color: var(--mdl-text);
  overflow-wrap: break-word;
}

.mdl-js .mdl-atouts[data-reveal] .mdl-atout {
  opacity: 0;
  transform: translateY(26px);
}

.mdl-js .mdl-atouts[data-reveal].is-in .mdl-atout {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease calc(var(--i) * 80ms), transform .8s var(--mdl-ease) calc(var(--i) * 80ms), box-shadow .35s ease, border-color .25s ease;
}

.mdl-js .mdl-atouts[data-reveal].is-in .mdl-atout:hover {
  transform: translateY(-6px);
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {

  .mdl-atout,
  .mdl-atout__ic,
  .mdl .mdl-slide img {
    transition: none !important;
    transform: none !important;
  }

  .mdl-js .mdl-atouts[data-reveal] .mdl-atout {
    opacity: 1;
  }
}

/* =========================================================
   PAGE NOS CAPACITÉS — frise « Notre démarche », fabrication, engagement
   ========================================================= */
.mdl-tl {
  position: relative;
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  margin-top: 8px;
}

.mdl-tl::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--mdl-blue), #B9C9E6);
  border-radius: 2px;
}

.mdl-tl__step {
  position: relative;
  padding-left: 44px;
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.mdl-tl__dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--mdl-blue);
  box-shadow: 0 0 0 6px var(--mdl-grey);
}

.mdl-tl__fig {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--mdl-radius);
  background: var(--mdl-sky);
  aspect-ratio: 16 / 9;
}

.mdl .mdl-tl__fig img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  transition: transform 1.2s var(--mdl-ease);
}

.mdl-tl__step:hover .mdl-tl__fig img {
  transform: scale(1.04);
}

.mdl-tl__fig::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 45, 131, .18), rgba(8, 45, 131, 0) 55%);
  pointer-events: none;
}

.mdl-tl__body {
  display: grid;
  gap: 18px 36px;
  align-content: start;
  padding: clamp(4px, 1vw, 10px) 0;
}

.mdl-tl__n {
  display: block;
  font-family: var(--mdl-display);
  font-size: clamp(56px, 6vw, 92px);
  font-weight: 500;
  line-height: .85;
  color: var(--mdl-blue);
  margin-bottom: 12px;
}

.mdl .mdl-tl__head h3 {
  font-family: var(--mdl-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--mdl-ink);
}

.mdl-tl__sub {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mdl-blue);
}

.mdl-tl__txt p+p {
  margin-top: 14px;
}

.mdl-tl__txt p {
  max-width: 62ch;
}

.mdl-js .mdl-tl__step[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .9s var(--mdl-ease);
}

.mdl-js .mdl-tl__step[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.mdl-js .mdl-tl__step[data-reveal] .mdl-tl__dot {
  transform: scale(.4);
  transition: transform .6s var(--mdl-ease) .25s;
}

.mdl-js .mdl-tl__step[data-reveal].is-in .mdl-tl__dot {
  transform: none;
}

@media (min-width: 960px) {
  .mdl-tl::before {
    left: 11px;
  }

  .mdl-tl__step {
    padding-left: 72px;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 40px;
  }

  .mdl-tl__dot {
    top: 10px;
    width: 24px;
    height: 24px;
    left: 0;
  }

  .mdl-tl__fig {
    aspect-ratio: auto;
    min-height: 320px;
  }

  .mdl-tl__step:nth-child(even) {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  }

  .mdl-tl__step:nth-child(even) .mdl-tl__fig {
    order: 2;
  }

  .mdl-tl__body {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mdl-js .mdl-tl__step[data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* De la formulation à la fabrication */
.mdl-fab__grid {
  display: grid;
  gap: 48px clamp(40px, 7vw, 112px);
}

@media (min-width: 960px) {
  .mdl-fab__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
    align-items: start;
  }

  .mdl-fab__side {
    position: sticky;
    top: calc(var(--mdl-header-h) + 32px);
  }
}

.mdl-fab__side .mdl-intro {
  margin: 22px 0 32px;
}

.mdl-fab__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--mdl-radius);
  aspect-ratio: 4 / 3.4;
  background: #0A2A78;
}

.mdl .mdl-fab__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.mdl-fab__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 20, 64, .85), rgba(5, 20, 64, 0) 60%);
}

.mdl-fab__big {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--mdl-display);
  color: #fff;
  line-height: 1;
}

.mdl-fab__big b {
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 600;
  letter-spacing: -.02em;
}

.mdl-fab__big span {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  color: #9DBDF4;
}

.mdl-fab__main .mdl-lead-in {
  font-size: 18px;
}

.mdl-fab__list .mdl-row {
  display: grid;
  grid-template-columns: clamp(44px, 5vw, 64px) minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  padding: clamp(22px, 2.6vw, 34px) 0;
  transition: padding .35s var(--mdl-ease), background .3s ease;
}

.mdl-fab__n {
  font-family: var(--mdl-display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  color: #6FA0F0;
  transition: color .3s ease;
}

.mdl-fab__t {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.35;
  font-weight: 600;
  color: #fff;
}

.mdl-fab__a {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #9DBDF4;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .3s ease, transform .35s var(--mdl-ease);
}

.mdl-fab__list .mdl-row:hover {
  padding-left: 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0));
}

.mdl-fab__list .mdl-row:hover .mdl-fab__n {
  color: #fff;
}

.mdl-fab__list .mdl-row:hover .mdl-fab__a {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .mdl-fab__a {
    opacity: .6;
    transform: none;
  }
}

/* Engagement */
.mdl-eng {
  margin-top: clamp(56px, 7vw, 104px);
  padding: clamp(28px, 4vw, 60px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: radial-gradient(120% 140% at 0% 0%, rgba(60, 139, 240, .22), rgba(255, 255, 255, .03) 60%);
}

.mdl .mdl-eng__quote {
  font-family: var(--mdl-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.1;
  letter-spacing: -.008em;
  color: #fff;
  max-width: 30ch;
}

.mdl-eng__flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(36px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.mdl-eng__flow::before {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 7px;
  height: 2px;
  background: linear-gradient(90deg, #6FA0F0, #fff);
  transform-origin: left;
  transition: transform 1.6s var(--mdl-ease) .2s;
}

.mdl-js .mdl-eng[data-reveal]:not(.is-in) .mdl-eng__flow::before {
  transform: scaleX(0);
}

.mdl-eng__flow li {
  position: relative;
  padding-top: 30px;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  color: #fff;
}

.mdl-eng__flow li:nth-child(2) {
  text-align: center;
}

.mdl-eng__flow li:last-child {
  text-align: right;
}

.mdl-eng__flow li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mdl-navy);
  border: 3px solid #fff;
  transition: transform .5s var(--mdl-ease);
}

.mdl-eng__flow li:nth-child(2)::before {
  left: calc(50% - 8px);
}

.mdl-eng__flow li:last-child::before {
  left: auto;
  right: 0;
  background: #fff;
}

.mdl-js .mdl-eng[data-reveal]:not(.is-in) .mdl-eng__flow li::before {
  transform: scale(0);
}

.mdl-eng__flow li:nth-child(2)::before {
  transition-delay: .7s;
}

.mdl-eng__flow li:last-child::before {
  transition-delay: 1.4s;
}

@media (prefers-reduced-motion: reduce) {

  .mdl-eng__flow::before,
  .mdl-eng__flow li::before {
    transition: none;
  }
}

/* =========================================================
   NOS CAPACITÉS — « Une approche fondée sur la qualité » (style éditorial du site)
   ========================================================= */
.mdl-qa {
  --qa-teal: #12B5C4;
}

.mdl-qa .mdl-points__lead {
  margin: 0 0 28px;
}

.mdl-qa__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .mdl-qa__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .mdl-qa__card:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .mdl-qa__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mdl-qa__card:last-child {
    grid-column: auto;
  }
}

.mdl-qa__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
  justify-content: flex-start;
  min-height: 230px;
  padding: 28px 24px 26px;
  background: #fff;
  border: 1px solid var(--mdl-line);
  border-radius: var(--mdl-radius);
  transition: transform .35s var(--mdl-ease), border-color .25s ease, box-shadow .35s ease;
}

.mdl-qa__card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: -1px;
  width: 44px;
  height: 3px;
  background: var(--qa-teal);
  transition: width .5s var(--mdl-ease);
}

.mdl-qa__card:hover {
  transform: translateY(-5px);
  border-color: #B9C9E6;
  box-shadow: 0 18px 38px rgba(8, 45, 131, .1);
}

.mdl-qa__card:hover::before {
  width: calc(100% - 48px);
}

.mdl .mdl-qa__ic svg {
  display: block;
  width: 38px;
  height: 38px;
  max-width: none;
  fill: none;
  stroke: var(--mdl-blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mdl-qa__ic {
  display: block;
}

.mdl-qa__card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mdl-text);
  overflow-wrap: break-word;
}

.mdl-qa__card b {
  color: var(--mdl-ink);
  font-weight: 700;
}

.mdl-js .mdl-qa__grid[data-reveal] .mdl-qa__card {
  opacity: 0;
  transform: translateY(24px);
}

.mdl-js .mdl-qa__grid[data-reveal].is-in .mdl-qa__card {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease calc(var(--i) * 90ms), transform .8s var(--mdl-ease) calc(var(--i) * 90ms), border-color .25s ease, box-shadow .35s ease;
}

.mdl-js .mdl-qa__grid[data-reveal].is-in .mdl-qa__card:hover {
  transform: translateY(-5px);
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .mdl-js .mdl-qa__grid[data-reveal] .mdl-qa__card {
    opacity: 1;
    transform: none;
  }

  .mdl-qa__card,
  .mdl-qa__card::before {
    transition: none !important;
  }
}

/* Laboratoire — « Notre site comprend » : 3 cartes en ligne */
.mdl-sitecards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 820px) {
  .mdl-sitecards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.mdl-sc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 32px;
  background: #fff;
  border: 1px solid var(--mdl-line);
  border-radius: var(--mdl-radius);
  transition: transform .35s var(--mdl-ease), border-color .25s ease, box-shadow .35s ease;
}

.mdl-sc::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -1px;
  width: 44px;
  height: 3px;
  background: var(--mdl-blue);
  transition: width .5s var(--mdl-ease);
}

.mdl-sc:hover {
  transform: translateY(-5px);
  border-color: #B9C9E6;
  box-shadow: 0 18px 38px rgba(8, 45, 131, .1);
}

.mdl-sc:hover::before {
  width: calc(100% - 56px);
}

.mdl-sc__n {
  font-family: var(--mdl-display);
  font-size: clamp(72px, 7vw, 104px);
  font-weight: 500;
  line-height: .85;
  color: var(--mdl-blue);
  margin-bottom: 22px;
}

.mdl .mdl-sc h4 {
  font-family: var(--mdl-display);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.12;
  color: var(--mdl-ink);
  margin-bottom: 10px;
}

.mdl-sc p {
  margin: 0;
  color: var(--mdl-text);
}

.mdl-js .mdl-sitecards[data-reveal] .mdl-sc {
  opacity: 0;
  transform: translateY(24px);
}

.mdl-js .mdl-sitecards[data-reveal].is-in .mdl-sc {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease calc(var(--i) * 100ms), transform .8s var(--mdl-ease) calc(var(--i) * 100ms), border-color .25s ease, box-shadow .35s ease;
}

.mdl-js .mdl-sitecards[data-reveal].is-in .mdl-sc:hover {
  transform: translateY(-5px);
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .mdl-js .mdl-sitecards[data-reveal] .mdl-sc {
    opacity: 1;
    transform: none;
  }

  .mdl-sc,
  .mdl-sc::before {
    transition: none !important;
  }
}

.mdl-label+.mdl-sitecards {
  margin-top: 8px;
}