/* ============================================================
   medO corps médical — page styles  (MDS Templates plugin)
   Extracted from the QA preview; Figma 6365-16682 (desktop 1920).
   No mobile frame exists: the ≤1023 layout follows the acto /
   alys mobile patterns (same components, same stacking rules).

   Loaded only on posts that contain the [mds_corps_medical] shortcode.
   Typography always comes from the DS classes in the markup
   (.h2/.h4/.h5/.h6, .text-p1-.text-p4 + .fw-*) - this file
   carries layout, colour and documented deviations only.
   ============================================================ */
.corps-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* page-scoped border-box: several blocks pair a % width or a min-height with
   padding, and the DS does not set a global box-sizing */
[class^="corps-"], [class*=" corps-"] { box-sizing: border-box; }

/* 1420 content container, sized as a % of the 1920 design width and centred */
.corps-in {
  width: calc(100% - 2 * var(--section-gutter)); /* 1420 cap, gutters below it */
  max-width: var(--section-container);
  margin-inline: auto;
}
.corps-pad { padding-block: var(--spacing-step-11); } /* 64px */

/* icon box — exported vectors keep their own aspect ratio inside it */
.corps-ico { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.corps-ico svg { display: block; width: 100%; height: 100%; }

/* viewfinder corners (Figma Vector 20/24: 24px, 1px stroke) */
.corps-brackets { position: relative; }
.corps-brackets > .c { position: absolute; width: 24px; height: 24px; pointer-events: none; color: var(--site-accent); }
.corps-brackets > .c svg { width: 100%; height: 100%; display: block; }
.corps-brackets > .tr { top: 0; right: 0; }
.corps-brackets > .br { bottom: 0; right: 0; transform: rotate(90deg); }
.corps-brackets > .bl { bottom: 0; left: 0; transform: rotate(180deg); }
.corps-brackets > .tl { top: 0; left: 0; transform: rotate(270deg); }

/* ============================================================
   1. Hero (6365-16685) — one flattened background: clinic photo,
   medO mark and the masked brand gradient exported together.
   ============================================================ */
.corps-hero {
  display: flex;
  align-items: center;
  min-height: 568px;
  background: var(--corps-hero-bg, url("../img/corps-hero.jpg")) center / cover no-repeat;
  color: var(--neutrals-100-white);
}
.corps-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-step-10); /* 48px */
  width: 47.68%; /* 677/1420 */
  min-width: 420px;
  margin-top: -15px; /* Figma centres the block 7.5px above the band's midline */
}
.corps-hero-text { display: flex; flex-direction: column; gap: var(--spacing-step-6); }
.corps-hero-text h1 { max-width: 695px; } /* Figma title box is 695 wide, wider than its 677 column */

/* ============================================================
   2. Votre temps, comme vous l'entendez (6365-16706)
   ============================================================ */
.corps-temps { display: flex; align-items: center; gap: var(--spacing-step-10); padding-block: var(--spacing-step-11); }
.corps-temps-media {
  flex: 0 0 44.37%; /* 630/1420 */
  border-radius: var(--radius-7md); /* 16px */
  overflow: hidden;
}
.corps-temps-media img { display: block; width: 100%; height: auto; aspect-ratio: 630 / 565; object-fit: cover; }
.corps-temps-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 65px; /* Figma copy → button, no token */
  color: var(--neutrals-950);
}
.corps-temps-head { display: flex; flex-direction: column; gap: var(--spacing-step-6); }
/* the DS .check-list li hard-codes P3; this list is P2, so the size rides on the
   .text-p2 that sits on the <ul> and the items simply inherit it */
.corps-temps .check-list { gap: var(--spacing-step-4); }
.corps-temps .check-list li { font-size: inherit; line-height: inherit; }
.corps-temps .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%230c67e9'/%3E%3Cpath d='M6 10.2l2.6 2.6L14 7.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ============================================================
   3. Un outil pour chaque moment (6365-16732) — features carousel,
   component set 6365-16066 (3 variants). CSS-only: 3 radios drive
   the tab chrome and the panels together (acto rig, 3 × 3s).
   ============================================================ */
.corps-features { display: flex; flex-direction: column; gap: var(--spacing-step-10); }
.corps-features-pad { padding-bottom: var(--spacing-step-12); } /* Figma frame is 1037 tall: 64 top, 80 below the stage */
.corps-features-head { display: flex; align-items: flex-start; gap: var(--spacing-step-6); color: var(--neutrals-950); }
.corps-features-head > * { flex: 1 1 0; min-width: 0; margin: 0; }
.corps-feat { position: relative; }
.corps-feat > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.corps-feat-stage {
  position: relative;
  aspect-ratio: 1420 / 745;
  border-radius: var(--radius-7md);
  overflow: hidden;
  box-shadow: 0 var(--dropshadow-positioning-2xs) var(--dropshadow-blur-2xs-2) var(--opacity-dark-10);
}
.corps-feat-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background: center / cover no-repeat;
  transition: opacity 0.35s ease;
}
/* Overlay-Top + Overlay-Bottom from Figma, as scrims behind the live text */
.corps-feat-panel::before,
.corps-feat-panel::after { content: ""; position: absolute; pointer-events: none; }
.corps-feat-panel::before {
  left: 0; right: 0; top: 0;
  height: 17.45%; /* 130/745 */
  background: linear-gradient(180deg, var(--opacity-dark-60) 5.371%, rgb(0 0 0 / 0) 84.156%);
}
.corps-feat-panel::after {
  inset: 0;
  background: radial-gradient(51.83% 114.23% at 10.28% 72.62%, var(--feat-scrim-stops));
}
.corps-feat-copy {
  position: absolute;
  left: 1.83%;   /* 26/1420 */
  bottom: 6.71%; /* 50/745 */
  width: var(--panel-w, 33.66%); /* 478/1420 */
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 29px; /* Figma text block → button, no token */
  color: var(--neutrals-100-white);
}
.corps-feat-head { display: flex; flex-direction: column; gap: var(--spacing-step-6); }
.corps-feat-head .h5 { white-space: nowrap; }
.corps-feat-desc { color: var(--opacity-light-90); }
.corps-feat-tabs {
  position: absolute;
  left: 1.83%;
  right: 1.83%;
  top: 3.22%; /* 24/745 */
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-step-4);
  z-index: 2;
}
.corps-feat-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--spacing-step-4);
  padding: var(--spacing-step-5) var(--spacing-step-7); /* 12px 24px */
  border-radius: 60px; /* no 60px radius token */
  background: var(--opacity-light-20);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  color: var(--neutrals-100-white);
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}
.corps-feat-tab:hover { background: var(--opacity-light-30); }
.corps-feat-tab .corps-ico { width: 24px; height: 24px; }
/* the blue progress fill sweeps left→right under the label */
.corps-feat-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--primary-default);
}
.corps-feat-tab > :not(.corps-feat-fill) { position: relative; z-index: 1; }

/* ── autoplay: 3 slides × 3s, looping ── */
@keyframes corps-panel {
  0%    { opacity: 0; visibility: hidden; }
  1%    { opacity: 1; visibility: visible; }
  33.3% { opacity: 1; visibility: visible; }
  36%   { opacity: 0; visibility: hidden; }
  100%  { opacity: 0; visibility: hidden; }
}
@keyframes corps-fill-1 { 0%         { width: 0; } 33.3% { width: 100%; } 100% { width: 100%; } }
@keyframes corps-fill-2 { 0%, 33.3%  { width: 0; } 66.6% { width: 100%; } 100% { width: 100%; } }
@keyframes corps-fill-3 { 0%, 66.6%  { width: 0; } 100%  { width: 100%; } }

.corps-feat-panel { animation: corps-panel 9s linear infinite both; }
.corps-feat-panel:nth-of-type(2) { animation-delay: -6s; }
.corps-feat-panel:nth-of-type(3) { animation-delay: -3s; }
.corps-feat-fill { animation: 9s linear infinite both; }
.corps-feat-tab:nth-of-type(1) .corps-feat-fill { animation-name: corps-fill-1; }
.corps-feat-tab:nth-of-type(2) .corps-feat-fill { animation-name: corps-fill-2; }
.corps-feat-tab:nth-of-type(3) .corps-feat-fill { animation-name: corps-fill-3; }

/* hovering anywhere in the block freezes the rotation */
.corps-feat:hover .corps-feat-panel,
.corps-feat:hover .corps-feat-fill { animation-play-state: paused; }

/* picking a tab takes over: autoplay stops and that slide stays put.
   The radios therefore ship UNCHECKED — a pre-checked one would kill autoplay. */
.corps-feat:has(> input:checked) .corps-feat-panel,
.corps-feat:has(> input:checked) .corps-feat-fill { animation: none; }
.corps-feat:has(> input:checked) .corps-feat-panel { opacity: 0; visibility: hidden; }
.corps-feat:has(> input:checked) .corps-feat-fill { width: 0; }
.corps-feat:has(> input:nth-of-type(1):checked) .corps-feat-tab:nth-of-type(1) .corps-feat-fill,
.corps-feat:has(> input:nth-of-type(2):checked) .corps-feat-tab:nth-of-type(2) .corps-feat-fill,
.corps-feat:has(> input:nth-of-type(3):checked) .corps-feat-tab:nth-of-type(3) .corps-feat-fill { width: 100%; }
.corps-feat:has(> input:nth-of-type(1):checked) .corps-feat-panel:nth-of-type(1),
.corps-feat:has(> input:nth-of-type(2):checked) .corps-feat-panel:nth-of-type(2),
.corps-feat:has(> input:nth-of-type(3):checked) .corps-feat-panel:nth-of-type(3) { opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  .corps-feat-panel, .corps-feat-fill { animation: none; }
  .corps-feat-panel { opacity: 0; visibility: hidden; }
  .corps-feat-panel:nth-of-type(1) { opacity: 1; visibility: visible; }
  .corps-feat-tab:nth-of-type(1) .corps-feat-fill { width: 100%; }
}

/* ============================================================
   4. Vos journées, bien en main (6365-16738) — accolade list
   ============================================================ */
.corps-days { display: flex; align-items: stretch; }
.corps-days-intro {
  flex: 1 1 0;
  min-width: 0;
  padding-block: var(--spacing-step-10); /* 48px */
  color: var(--neutrals-950);
}
.corps-days-list {
  flex: 0 0 50%; /* 710/1420 */
  list-style: none;
  margin: 0;
  padding: var(--spacing-step-9) 0; /* 40px */
  display: flex;
  flex-direction: column;
}
.corps-days-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-step-4);
  padding: var(--spacing-step-7);
  border: 1px solid var(--neutrals-400);
}
.corps-days-item + .corps-days-item { margin-top: -1px; }
.corps-days-item .corps-ico { width: 28px; height: 28px; color: var(--primary-default); }
.corps-days-body { display: flex; flex-direction: column; justify-content: center; gap: var(--spacing-step-3); }
.corps-days-body .t { color: var(--neutrals-950); }
.corps-days-body .d { color: var(--neutrals-800); }

/* ============================================================
   5. Votre allié sur la première ligne (6365-16797) — blue band.
   One full-band background image (blue + glow + portrait + mark),
   no colour underneath; the template sets --corps-band-bg from ACF.
   ============================================================ */
.corps-band {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 376px;
  padding: var(--spacing-step-10) var(--spacing-step-7); /* 48px 24px */
  background: var(--corps-band-bg, url("../img/corps-band.jpg")) center / cover no-repeat;
  color: var(--neutrals-100-white);
}
.corps-band-text { display: flex; flex-direction: column; gap: var(--spacing-step-4); width: 28.5%; } /* 391 of the 1372 content box */
.corps-band-text .h5 { width: 101.5%; } /* Figma title box is 397, 6px wider than its column */

/* ============================================================
   6. Avant, pendant, après la consultation (6365-16815)
   ============================================================ */
.corps-flow { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-step-8); }
/* Figma centres the 493 component in a 520 frame: 13.5px extra above and below the 64 padding */
.corps-flow-pad { padding-block: calc(var(--spacing-step-11) + 13.5px); }
.corps-flow-head {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-step-6);
  width: 58.17%; /* 826/1420 */
  text-align: center;
  color: var(--neutrals-950);
}
.corps-flow-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 164px;
}
.corps-flow-step {
  flex: 0 0 13.94%; /* 198/1420 */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.corps-flow-tag {
  width: 100%;
  margin-top: 2px;
  padding: var(--spacing-step-4) var(--spacing-step-7); /* 8px 24px */
  text-align: center;
  background: rgb(0 106 250 / 0.1); /* Figma tint, not a token */
  color: var(--primary-default);
}
.corps-flow-logo { display: block; height: 24px; width: auto; margin-top: 38.5px; } /* Figma tag bottom → logo top */
.corps-flow-logo.is-alys { height: 29px; }
.corps-flow-logo-link { display: block; transition: opacity 0.2s ease; } /* logo links to its product page */
.corps-flow-logo-link:hover { opacity: 0.75; }
.corps-flow-list { margin: 11px 0 0; padding-left: 24px; color: var(--neutrals-950); }
/* dotted connector (Vector 70: 154px, 1px #0c67e9, dash 2/2) centred in each 228px gutter */
.corps-flow-link { flex: 0 0 16.06%; display: flex; justify-content: center; padding-top: 23px; }
.corps-flow-link::before {
  content: "";
  width: 67.54%; /* 154/228 */
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--primary-default) 0 2px, transparent 2px 4px);
}

/* ============================================================
   7. Intégrations et certifications (6365-16849) — full-bleed
   glow background (one flattened export), white copy, TGV card
   ============================================================ */
.corps-integr {
  min-height: 532px;
  background: var(--corps-integr-bg, url("../img/corps-integr.jpg")) center / cover no-repeat;
  color: var(--neutrals-100-white);
}
.corps-integr-inner { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-step-10); }
.corps-integr-head { display: flex; flex-direction: column; gap: var(--spacing-step-6); width: 58.17%; text-align: center; }
.corps-integr-head p { margin: 0; }
.corps-cert {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 91px; /* Figma, no token */
  width: 81.9%; /* 1163/1420 */
  padding: var(--spacing-step-7);
  background: var(--opacity-light-20);
}
.corps-cert > .c { color: var(--neutrals-100-white); }
.corps-cert-l { display: flex; align-items: center; gap: var(--spacing-step-7); }
.corps-cert-ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--opacity-light-30);
  border: 1.2px solid var(--opacity-light-10);
  color: var(--neutrals-100-white);
}
.corps-cert-ico svg { width: 29.5px; height: 34.5px; }
.corps-cert-txt { display: flex; flex-direction: column; gap: var(--spacing-step-3); }

/* ============================================================
   8. La confiance, ça se mérite (6365-16872) — DS .testimonials
   ============================================================ */
.corps-testi-wrap { display: flex; flex-direction: column; gap: var(--spacing-step-8); }
.corps-trust-title { color: var(--neutrals-950); }
/* slides 3–4 share the square acto illustration; the Figma box is 485×369.33 */
.corps-testi .testimonial-photo.is-illustration { aspect-ratio: 485 / 369.33; }
.corps-testi .testimonial-photo.is-illustration img { height: 100%; object-fit: cover; }
/* the DS leaves .testimonial-logo img at its natural size, so wide logos are
   clipped by the 64px tile; Figma fits them: 64×33 (St-Georges), 48×30 (Hampstead) */
.corps-testi .testimonial-logo img { width: 100%; height: auto; }
.corps-testi .testimonial-logo img.is-narrow { width: 75%; }

/* ============================================================
   9. Le soin, la gestion, la facturation (6365-16877)
   ============================================================ */
.corps-solutions { display: flex; align-items: flex-start; gap: var(--spacing-step-6); padding: 49px 0 var(--spacing-step-11); } /* Figma 49/64, no 49px token */
.corps-solutions-head { flex: 0 0 36.76%; color: var(--neutrals-950); } /* 522/1420 */
.corps-solutions-cards { flex: 1 1 0; min-width: 0; display: flex; align-items: stretch; gap: var(--spacing-step-6); }
.corps-solutions-cards .card-product { flex: 1 1 0; min-width: 0; justify-content: space-between; }
.corps-solutions-cards .card-ghost { height: 23px; }
.corps-solutions-cards .card-ghost .btn-icon { width: 16px; height: 16px; }

/* ============================================================
   10. CTA (6365-16885) — same flattened gradient + colour-burn
   texture as acto's CTA (pixel-identical export), centred copy
   ============================================================ */
.corps-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 494px;
  padding: var(--spacing-step-10) var(--spacing-step-7); /* 48px 24px */
  background: var(--corps-cta-bg, url("../img/acto-cta.jpg")) center / cover no-repeat;
  color: var(--neutrals-100-white);
}
.corps-cta-text { display: flex; flex-direction: column; align-items: center; gap: var(--spacing-step-6); text-align: center; }
.corps-cta-text .h4 { max-width: 700px; }
.corps-cta-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: center; gap: var(--spacing-step-6); }
/* both buttons share the wider one's width (equal 1fr tracks), content centred */
.corps-cta-actions .btn-pill { justify-content: center; }

/* hover states reproduced for headless screenshots — mirrors every :hover rule,
   including the .btn-secondary and .mds-nav-cta overrides, so measured widths match */
.qa-hover.btn-pill { padding: 8px 24px; margin-right: 34px; background-clip: padding-box; border-radius: 28px; }
.qa-hover.btn-pill .btn-icon-circle { width: 0; opacity: 0; margin-right: -10px; }
.qa-hover.btn-pill .btn-icon-pop { opacity: 1; transform: scale(1); }
.qa-hover.btn-secondary { border-color: transparent; }
.qa-hover.mds-nav-cta { padding: 7px 21px; margin-right: 31px; border-radius: 25px; }

/* ============================================================
   Tablet (1024–1439): fixed-geometry blocks get room to breathe
   ============================================================ */
@media (max-width: 1439px) and (min-width: 1024px) {
  .corps-feat-head .h5 { white-space: normal; }
  .corps-feat-copy { width: max(var(--panel-w, 33.66%), 420px); }
  .corps-band-text { width: 40%; }
  .corps-cert { width: 100%; gap: var(--spacing-step-8); }
  .corps-flow-head, .corps-integr-head { width: 80%; }
}

/* ============================================================
   Mobile (≤1023) — no Figma frame; acto / alys mobile patterns
   ============================================================ */
@media (max-width: 1023px) {
  .corps-in { width: 88.406%; } /* 366/414 */
  .corps-pad, .corps-flow-pad { padding-block: var(--spacing-step-10); } /* 48px */

  /* hero: copy on the brand gradient, clinic photo along the bottom */
  .corps-hero {
    min-height: 750px;
    align-items: flex-start;
    background: var(--corps-hero-bg-mobile, url("../img/corps-hero-mobile.jpg")) center bottom / cover no-repeat;
  }
  .corps-hero .corps-in { padding-top: var(--spacing-step-10); }
  .corps-hero-copy { width: 100%; min-width: 0; margin-top: 0; gap: var(--spacing-step-8); }
  .corps-hero-text p br { display: none; }

  /* split: title → photo → text → checklist → button */
  .corps-temps { flex-direction: column; align-items: stretch; gap: 0; padding-block: var(--spacing-step-10); }
  .corps-temps-content, .corps-temps-head { display: contents; }
  .corps-temps-title { order: 1; }
  .corps-temps-media { order: 2; flex: none; margin-top: var(--spacing-step-6); }
  .corps-temps-text { order: 3; margin-top: var(--spacing-step-6); }
  .corps-temps .check-list { order: 4; margin-top: var(--spacing-step-6); }
  .corps-temps-content > .btn-pill { order: 5; margin-top: var(--spacing-step-8); align-self: flex-start; }

  .corps-features { gap: var(--spacing-step-7); }
  .corps-features-head { flex-direction: column; }
  .corps-features-head > * { flex: none; }
  .corps-feat-stage { aspect-ratio: 366 / 687; }
  .corps-feat-panel { background-position: var(--panel-pos-m, 62%) center; }
  .corps-feat-panel::before { height: 18.92%; } /* 130/687 */
  .corps-feat-panel::after {
    background: radial-gradient(201.09% 123.87% at 39.89% 78.75%, var(--feat-scrim-stops));
  }
  .corps-feat-tabs {
    left: 0; right: 0; top: 24px;
    padding-inline: var(--spacing-step-6);
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .corps-feat-tabs::-webkit-scrollbar { display: none; }
  .corps-feat-tab { padding: 10px var(--spacing-step-6); }
  .corps-feat-copy { left: var(--spacing-step-6); right: var(--spacing-step-6); width: auto; bottom: var(--spacing-step-7); gap: var(--spacing-step-7); }
  .corps-feat-head .h5 { white-space: normal; }
  .corps-feat-desc br { display: none; }

  /* accolades: title → list */
  .corps-days { flex-direction: column; }
  .corps-days-intro { padding-block: 0; }
  .corps-days-list { flex: none; padding: 0; margin-top: var(--spacing-step-8); }

  /* band runs edge to edge (Figma 6825-36132: 414×552, p 48/24, gap 24): it
     escapes the 88.406% container, copy on top, the portrait art baked into
     the lower part of one full-section image */
  .corps-band {
    width: calc(100% / 0.88406);
    margin-inline: calc((100% - 100% / 0.88406) / 2);
    min-height: 552px;
    justify-content: flex-start;
    gap: var(--spacing-step-7);
    padding: var(--spacing-step-10) var(--spacing-step-7);
    background-image: var(--corps-band-bg-mobile, url("../img/corps-band-full-mobile.jpg"));
    background-position: center bottom;
  }
  .corps-band-text { width: 100%; }
  .corps-band-text .h5 { width: auto; }

  /* flow: the three steps stack, connectors turn vertical */
  .corps-flow-head { width: 100%; }
  .corps-flow-head p br { display: none; }
  .corps-flow-row { flex-direction: column; align-items: center; min-height: 0; }
  .corps-flow-step { flex: none; width: 198px; }
  .corps-flow-tag { margin-top: 0; }
  .corps-flow-logo { margin-top: var(--spacing-step-7); }
  .corps-flow-link { flex: none; height: 64px; padding-top: 0; align-items: center; }
  .corps-flow-link::before {
    width: 1px;
    height: 40px;
    background: repeating-linear-gradient(180deg, var(--primary-default) 0 2px, transparent 2px 4px);
  }

  .corps-integr-head { width: 100%; text-align: left; }
  .corps-cert { width: 100%; flex-direction: column; align-items: flex-start; gap: var(--spacing-step-7); }
  .corps-cert-l { align-items: flex-start; gap: var(--spacing-step-6); }
  .corps-cert-txt br { display: none; }

  .corps-solutions { flex-direction: column; padding-block: var(--spacing-step-10); }
  .corps-solutions-head { flex: none; }
  .corps-solutions-cards { flex-direction: column; width: 100%; }

  .corps-cta {
    min-height: 775px;
    justify-content: flex-start;
    align-items: flex-start;
    background-image: var(--corps-cta-bg-mobile, url("../img/acto-cta-mobile.jpg"));
  }
  .corps-cta-text { align-items: flex-start; text-align: left; }
  .corps-cta-actions { grid-auto-flow: row; grid-template-columns: max-content; justify-content: start; margin-top: var(--spacing-step-4); }
  /* stacked equal-width pills: content left-aligned on mobile (centred on desktop) */
  .corps-cta-actions .btn-pill { justify-content: flex-start; }
}
