/*
Theme Name: APB Ambulances Paris Bercy
Theme URI: http://ambulancesparisbercy.fr/
Author: Codex pour AMBULANCES PARIS BERCY
Description: Theme vitrine WordPress pour AMBULANCES PARIS BERCY : accueil, prestations, coordonnees/localisation et ambitions.
Version: 1.5.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: apb-ambulances
*/

:root {
  --apb-blue: #062d74;
  --apb-blue-2: #0f56a8;
  --apb-red: #e30613;
  --apb-ink: #172033;
  --apb-muted: #5d697d;
  --apb-soft: #f3f7fb;
  --apb-line: #dce6f1;
  --apb-white: #ffffff;
  --apb-shadow: 0 18px 45px rgba(6, 45, 116, 0.13);
  --apb-radius: 8px;
  --apb-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--apb-ink);
  background: var(--apb-white);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
li,
a,
span,
strong {
  overflow-wrap: anywhere;
}

a {
  color: var(--apb-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus {
  color: var(--apb-red);
}

.apb-skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--apb-blue);
  color: var(--apb-white);
}

.apb-skip-link:focus {
  left: 12px;
}

.apb-container {
  width: min(calc(100% - 32px), var(--apb-max));
  margin: 0 auto;
}

.apb-main {
  min-width: 0;
}

.apb-topbar {
  background: var(--apb-blue);
  color: var(--apb-white);
  font-size: 0.9rem;
}

.apb-topbar__inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}

.apb-topbar a {
  color: var(--apb-white);
  text-decoration: none;
}

.apb-topbar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.apb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--apb-line);
  backdrop-filter: blur(12px);
}

.apb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  min-width: 0;
}

.apb-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--apb-blue);
  text-decoration: none;
  min-width: 0;
}

.apb-brand img {
  width: min(260px, 46vw);
  max-height: 76px;
  object-fit: contain;
}

.apb-brand__fallback {
  display: grid;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.apb-brand__fallback span:last-child {
  color: var(--apb-red);
}

.apb-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.apb-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apb-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 11px;
  border-radius: 6px;
  color: var(--apb-ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.apb-menu a:hover,
.apb-menu a:focus,
.apb-menu .current-menu-item > a {
  background: var(--apb-soft);
  color: var(--apb-blue);
}

.apb-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--apb-line);
  border-radius: 6px;
  background: var(--apb-white);
  color: var(--apb-blue);
  cursor: pointer;
}

.apb-menu-toggle span,
.apb-menu-toggle span::before,
.apb-menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.apb-menu-toggle span {
  margin: 0 auto;
}

.apb-menu-toggle span::before {
  transform: translateY(-7px);
}

.apb-menu-toggle span::after {
  transform: translateY(5px);
}

.apb-btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: var(--apb-red);
  color: var(--apb-white);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  max-width: 100%;
  white-space: normal;
}

.apb-btn:hover,
.apb-btn:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: #ba0710;
  color: var(--apb-white);
}

.apb-btn--blue {
  background: var(--apb-blue);
}

.apb-btn--blue:hover,
.apb-btn--blue:focus {
  background: #041f51;
}

.apb-btn--ghost {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  color: var(--apb-white);
}

.apb-btn--ghost:hover,
.apb-btn--ghost:focus {
  border-color: var(--apb-white);
  background: var(--apb-white);
  color: var(--apb-blue);
}

.apb-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 86px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #071b3d;
  color: var(--apb-white);
}

.apb-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 20, 52, 0.92) 0%, rgba(5, 20, 52, 0.72) 42%, rgba(5, 20, 52, 0.18) 78%),
    linear-gradient(0deg, rgba(5, 20, 52, 0.26), rgba(5, 20, 52, 0.08));
  content: "";
  z-index: 1;
}

.apb-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* valeur initiale max-width: 690px; */
.apb-hero__content {
  position: relative;
  z-index: 2;
/*  max-width: 1000px; */
    max-width:min(720px, 90vw);
  padding: 86px 0;
}

.apb-eyebrow {
  margin: 0 0 14px;
  color: var(--apb-red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.apb-hero h1,
.apb-page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}
/* valeur initiale max-width: 650px; */
.apb-hero p {
/*  max-width: 950px; */
	max-width:min(680px, 90%);
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.apb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.apb-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -56px auto 0;
  position: relative;
  z-index: 4;
  background: var(--apb-line);
  border: 1px solid var(--apb-line);
  box-shadow: var(--apb-shadow);
}

.apb-stat {
  min-height: 128px;
  padding: 24px;
  background: var(--apb-white);
}

.apb-stat strong {
  display: block;
  color: var(--apb-blue);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  line-height: 1;
}

.apb-stat span {
  display: block;
  margin-top: 8px;
  color: var(--apb-muted);
  font-weight: 700;
}

.apb-section {
  padding: 86px 0;
}

.apb-section--soft {
  background: var(--apb-soft);
}

.apb-section--dark {
  background: var(--apb-blue);
  color: var(--apb-white);
}

.apb-section--dark .apb-muted,
.apb-section--dark p {
  color: rgba(255, 255, 255, 0.82);
}

.apb-section__head {
  max-width: 780px;
  margin-bottom: 36px;
}

.apb-section__head h2,
.apb-content h2 {
  margin: 0 0 12px;
  color: var(--apb-blue);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.apb-section--dark .apb-section__head h2 {
  color: var(--apb-white);
}

.apb-section__head p,
.apb-muted {
  color: var(--apb-muted);
}

.apb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.apb-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apb-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--apb-line);
  border-radius: var(--apb-radius);
  background: var(--apb-white);
}

.apb-card__image {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  background: var(--apb-soft);
}

.apb-card__body {
  padding: 24px;
}

.apb-card h3 {
  margin: 0 0 8px;
  color: var(--apb-blue);
  font-size: 1.25rem;
  line-height: 1.22;
}

.apb-card p {
  margin: 0;
  color: var(--apb-muted);
}

.apb-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 46px;
  align-items: center;
}

.apb-split__media {
  overflow: hidden;
  border-radius: var(--apb-radius);
  box-shadow: var(--apb-shadow);
}

.apb-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.apb-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.apb-list li {
  position: relative;
  padding-left: 28px;
}

.apb-list li::before {
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--apb-red);
  content: "";
}

.apb-band {
  padding: 42px;
  border-left: 6px solid var(--apb-red);
  background: var(--apb-white);
  box-shadow: var(--apb-shadow);
}

.apb-page-hero {
  padding: 86px 0;
  background:
    linear-gradient(90deg, rgba(6, 45, 116, 0.95), rgba(6, 45, 116, 0.74)),
    var(--apb-blue);
  color: var(--apb-white);
}

.apb-page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
}

.apb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.apb-contact-box {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--apb-line);
  border-radius: var(--apb-radius);
  background: var(--apb-white);
}

.apb-contact-box h2,
.apb-contact-box h3 {
  margin-top: 0;
  color: var(--apb-blue);
}

.apb-contact-item {
  padding: 16px 0;
  border-top: 1px solid var(--apb-line);
}

.apb-contact-item:first-of-type {
  border-top: 0;
}

.apb-contact-item strong {
  display: block;
  color: var(--apb-blue);
}

.apb-map {
  min-width: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--apb-radius);
  background: var(--apb-soft);
}

.apb-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.apb-map-placeholder {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 28px;
  text-align: center;
}

.apb-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--apb-line);
  border-radius: var(--apb-radius);
  background: var(--apb-line);
}

.apb-timeline__item {
  min-height: 146px;
  padding: 22px;
  background: var(--apb-white);
}

.apb-timeline__item strong {
  display: block;
  color: var(--apb-red);
  font-size: 1.6rem;
}

.apb-process {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.apb-process span {
  display: grid;
  min-height: 88px;
  place-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--apb-radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--apb-white);
  font-weight: 800;
  text-align: center;
}

.apb-quote {
  margin: 0;
  padding: 42px;
  border-radius: var(--apb-radius);
  background: var(--apb-blue);
  color: var(--apb-white);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.22;
}

.apb-editor-content {
  padding-top: 42px;
}

.apb-footer {
  background: #061b43;
  color: rgba(255, 255, 255, 0.82);
}

.apb-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.9fr));
  gap: 28px;
  padding: 54px 0;
}

@media (min-width: 1440px) {
  :root {
    --apb-max: 1320px;
  }

  body {
    font-size: 18px;
  }

  .apb-hero {
    min-height: 780px;
  }

  .apb-hero__content {
    max-width: 760px;
  }
}

@media (min-width: 1920px) {
  :root {
    --apb-max: 1540px;
  }

  body {
    font-size: 19px;
  }

  .apb-section {
    padding: 108px 0;
  }

  .apb-hero {
    min-height: 860px;
  }

  .apb-hero h1,
  .apb-page-hero h1 {
    max-width: 980px;
  }

  .apb-grid {
    gap: 30px;
  }

  .apb-card__body {
    padding: 30px;
  }
}

@media (min-width: 2560px) {
  :root {
    --apb-max: 1760px;
  }

  body {
    font-size: 21px;
  }

  .apb-hero {
    min-height: 940px;
  }

  .apb-hero__content {
    max-width: 900px;
  }

  .apb-section {
    padding: 126px 0;
  }
}

@media (max-width: 1180px) {
  .apb-header__inner {
    gap: 14px;
  }

  .apb-menu {
    gap: 2px;
  }

  .apb-menu a {
    padding-inline: 9px;
  }
}

.apb-footer h2,
.apb-footer h3 {
  margin-top: 0;
  color: var(--apb-white);
}

.apb-footer a {
  color: var(--apb-white);
}

.apb-footer__logo {
  max-width: 260px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: var(--apb-white);
}

.apb-footer__bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.apb-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apb-footer li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .apb-grid,
  .apb-grid--2,
  .apb-split,
  .apb-contact-grid,
  .apb-footer__main {
    grid-template-columns: 1fr;
  }

  .apb-stats,
  .apb-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apb-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apb-menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .apb-nav {
    position: relative;
  }

  .apb-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 18px);
    display: none;
    width: min(320px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--apb-line);
    border-radius: var(--apb-radius);
    background: var(--apb-white);
    box-shadow: var(--apb-shadow);
  }

  .apb-menu.is-open {
    display: grid;
  }

  .apb-menu a {
    display: flex;
    width: 100%;
    min-height: 48px;
  }

  .apb-hero__content {
    max-width: 680px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .apb-topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

  .apb-header__inner {
    min-height: 76px;
  }

  .apb-brand img {
    width: min(210px, 58vw);
  }

  .apb-hero {
    min-height: 660px;
  }

  .apb-hero::before {
    background: linear-gradient(90deg, rgba(5, 20, 52, 0.94), rgba(5, 20, 52, 0.68));
  }

  .apb-hero__image {
    object-position: 62% center;
  }

  .apb-section,
  .apb-page-hero {
    padding: 58px 0;
  }

  .apb-hero__content {
    padding: 64px 0;
  }

  .apb-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .apb-hero__actions .apb-btn {
    width: 100%;
  }

  .apb-stats,
  .apb-timeline,
  .apb-process {
    grid-template-columns: 1fr;
  }

  .apb-band,
  .apb-quote {
    padding: 28px;
  }
}

@media (max-width: 420px) {
  .apb-container {
    width: min(calc(100% - 24px), var(--apb-max));
  }

  .apb-brand img {
    width: min(188px, 54vw);
  }

  .apb-hero {
    min-height: 620px;
  }

  .apb-hero h1,
  .apb-page-hero h1 {
    font-size: clamp(2.15rem, 14vw, 3.2rem);
  }

  .apb-card__body,
  .apb-contact-box {
    padding: 20px;
  }

  .apb-stat {
    min-height: 112px;
    padding: 20px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .apb-menu a,
  .apb-btn,
  .wp-block-button__link,
  .apb-menu-toggle {
    min-height: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* APB refined redesign v1.1.0 */
:root {
  --apb-max: 1160px;
  --apb-blue: #07336f;
  --apb-blue-2: #1261a6;
  --apb-red: #d81728;
  --apb-ink: #162033;
  --apb-muted: #657185;
  --apb-soft: #f5f8fb;
  --apb-line: #e1e8f0;
  --apb-shadow: 0 14px 34px rgba(7, 51, 111, 0.1);
}

body {
  font-size: 16px;
  line-height: 1.62;
  background: #ffffff;
}

.apb-topbar {
  background: #071f46;
  font-size: 0.82rem;
}

.apb-topbar__inner {
  min-height: 34px;
}

.apb-header {
  box-shadow: 0 10px 28px rgba(7, 31, 70, 0.06);
}

.apb-header__inner {
  min-height: 74px;
  gap: 16px;
}

.apb-brand {
  flex: 0 0 auto;
  align-self: stretch;
  padding: 8px 0;
}

.apb-brand img {
  width: min(220px, 30vw);
  max-height: 58px;
  object-position: left center;
}

.apb-nav {
  flex: 1;
  justify-content: flex-end;
}

.apb-menu {
  gap: 4px;
}

.apb-menu a {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #233047;
  font-size: 0.84rem;
  font-weight: 750;
}

.apb-menu a:hover,
.apb-menu a:focus,
.apb-menu .current-menu-item > a {
  border-color: rgba(216, 23, 40, 0.16);
  background: #fff4f5;
  color: var(--apb-red);
}

.apb-header-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.apb-header-actions a {
  text-decoration: none;
}

.apb-header-actions__reserve,
.apb-header-actions__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
}

.apb-header-actions__reserve {
  padding: 0 14px;
  background: var(--apb-red);
  color: #ffffff;
}

.apb-header-actions__call {
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--apb-line);
  color: var(--apb-blue);
}

.apb-header-actions__call svg,
.apb-contact-icon svg,
.apb-service-card__icon svg,
.apb-values-grid svg,
.apb-floating-actions svg,
.apb-chatbot svg,
.apb-footer__compact svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.apb-hero {
  min-height: 610px;
}

.apb-hero--refined::before {
  background:
    linear-gradient(90deg, rgba(4, 18, 44, 0.84) 0%, rgba(4, 18, 44, 0.62) 46%, rgba(4, 18, 44, 0.08) 84%),
    linear-gradient(0deg, rgba(4, 18, 44, 0.22), rgba(4, 18, 44, 0.04));
}

.apb-hero__content {
  max-width: 690px;
  padding: 72px 0;
}

.apb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--apb-red);
  font-size: 0.76rem;
  font-weight: 900;
}

.apb-eyebrow::before {
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.apb-hero h1,
.apb-page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  line-height: 1.04;
  text-transform: none;
}
/* modifié "max-width: 570px;"  et "1.35vw" */
.apb-hero p {
  max-width: 790px;
  font-size: clamp(1rem, 1.15vw, 1.16rem);
}

.apb-section {
  padding: 68px 0;
}

.apb-page-hero {
  padding: 62px 0;
}

.apb-page-hero--compact {
  padding: 56px 0;
}

.apb-section__head {
  margin-bottom: 28px;
}

.apb-section__head h2,
.apb-content h2,
.apb-split h2,
.apb-contact-box h2,
.apb-job h2,
.apb-cta-band h2 {
  position: relative;
  margin-bottom: 16px;
  color: var(--apb-blue);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.15;
}

.apb-section__head h2::after,
.apb-content h2::after,
.apb-split h2::after,
.apb-contact-box h2::after,
.apb-job h2::after,
.apb-cta-band h2::after {
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--apb-red), var(--apb-blue-2));
  content: "";
}

.apb-card h3,
.apb-service-card h3,
.apb-values-grid h3,
.apb-job h3 {
  font-size: 1.08rem;
}

.apb-btn,
.wp-block-button__link {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  box-shadow: 0 10px 22px rgba(216, 23, 40, 0.18);
}

.apb-btn--blue {
  box-shadow: 0 10px 22px rgba(7, 51, 111, 0.16);
}

.apb-btn--ghost {
  box-shadow: none;
}

.apb-stats--slim {
  margin-top: -38px;
  border-radius: 10px;
  overflow: hidden;
}
/* Titres à l'accueil "Depuis 2009, Professionnalisme, Qualité & Sécurité, Réactivité"
.apb-stat {
  min-height: 96px;
  padding: 20px;
}

.apb-stat strong {
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}
*/

/* Nouveaux titres à l'accueil "Depuis 2009, Professionnalisme, Qualité & Sécurité, Réactivité" */
.apb-stat strong{
    display:grid;
    grid-template-columns:36px 1fr;
    align-items:center;
    column-gap:12px;

    margin-bottom:12px;

    color:var(--apb-blue);
    font-size:1.35rem;
    font-weight:1000;
    line-height:1.2;
}

/* Puces coches des titres à l'accueil "Depuis 2009, Professionnalisme, Qualité & Sécurité, Réactivité" */

.apb-stat strong::before{
    content:"✓";

    width:24px;
    height:24px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    background:#0b5ca7;
    color:#fff;

    font-size:13px;
    font-weight:bold;
}

.apb-split {
  gap: 38px;
}

.apb-pencil-media img,
.apb-service-card img {
  filter: grayscale(1) contrast(1.12) brightness(1.08);
  transition: filter 220ms ease, transform 220ms ease;
}

.apb-pencil-media:hover img,
.apb-service-card:hover img,
.apb-service-card:focus-within img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.025);
}

.apb-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apb-service-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--apb-line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(7, 51, 111, 0.07);
}

.apb-service-card--large {
  padding: 20px;
}

.apb-service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
  border-radius: 8px;
  object-fit: cover;
}

.apb-service-card__icon {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--apb-blue);
  box-shadow: 0 8px 20px rgba(7, 31, 70, 0.14);
}

.apb-service-card__icon svg {
  width: 22px;
  height: 22px;
}

.apb-service-card h3 {
  margin: 0 0 6px;
  color: var(--apb-blue);
}

.apb-service-card p {
  margin: 0;
  color: var(--apb-muted);
  font-size: 0.94rem;
}

.apb-center-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.apb-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--apb-blue);
  font-weight: 850;
  text-decoration: none;
}

.apb-link-arrow::after {
  content: ">";
  color: var(--apb-red);
}

.apb-list--check li::before {
  width: 16px;
  height: 16px;
  top: 0.28em;
  border-radius: 4px;
  background: var(--apb-red);
  clip-path: polygon(14% 48%, 39% 72%, 86% 18%, 100% 31%, 41% 96%, 0 61%);
}

.apb-section--cta {
  background: #071f46;
  color: #ffffff;
}

.apb-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
}

.apb-section--cta h2,
.apb-section--cta p {
  color: #ffffff;
}

.apb-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apb-contact-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 0;
}

.apb-contact-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #eef5fb;
  color: var(--apb-blue);
}

.apb-contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.apb-form {
  display: grid;
  gap: 14px;
}

.apb-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.apb-form label {
  display: grid;
  gap: 6px;
  color: var(--apb-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.apb-form input,
.apb-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--apb-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--apb-ink);
}

.apb-form input.is-invalid,
.apb-form textarea.is-invalid,
.apb-form select.is-invalid {
  border-color: #ef8d98;
  background: #fff7f8;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08);
}

.apb-form textarea {
  resize: vertical;
}

.apb-form-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.apb-form-alert--success {
  background: #e9f7ef;
  color: #17633a;
}

.apb-form-alert--error {
  border: 1px solid #ffcbd1;
  background: #fff0f1;
  color: #9e1020;
}

.apb-form-alert[hidden] {
  display: none;
}

.apb-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apb-values-grid article,
.apb-job,
.apb-job-apply,
.apb-mini-facts span {
  border: 1px solid var(--apb-line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(7, 51, 111, 0.06);
}

.apb-values-grid article {
  padding: 24px;
}

.apb-values-grid span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #eef5fb;
  color: var(--apb-blue);
}

.apb-mini-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.apb-mini-facts span {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: var(--apb-muted);
  font-size: 0.86rem;
}

.apb-mini-facts strong {
  color: var(--apb-blue);
  font-size: 1rem;
}

.apb-job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 26px;
  align-items: start;
}

.apb-job,
.apb-job-apply {
  padding: 28px;
}

.apb-job__meta {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--apb-soft);
  color: var(--apb-muted);
  font-weight: 800;
}

.apb-footer {
  background: #061b43;
}

.apb-footer__compact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.82);
}

.apb-footer__compact strong,
.apb-footer__compact span {
  display: block;
}

.apb-footer__compact strong {
  color: #ffffff;
}

.apb-footer__compact a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.apb-footer__mark {
  width: 126px;
  border-radius: 6px;
  background: #ffffff;
}

.apb-floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  gap: 8px;
  align-items: center;
}

.apb-floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(7, 31, 70, 0.18);
  text-decoration: none;
}

.apb-floating-actions__reserve {
  padding: 0 16px;
  background: var(--apb-red);
  color: #ffffff;
  font-weight: 900;
}

.apb-floating-actions__call {
  width: 46px;
  background: var(--apb-blue);
  color: #ffffff;
}

.apb-chatbot {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
}

.apb-chatbot__toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--apb-blue);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(7, 31, 70, 0.18);
  cursor: pointer;
}

.apb-chatbot__panel {
  position: absolute;
  left: 0;
  bottom: 58px;
  display: none;
  width: min(320px, calc(100vw - 28px));
  max-height: min(440px, calc(100vh - 118px));
  overflow: auto;
  scrollbar-width: none;
  border: 1px solid var(--apb-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(7, 31, 70, 0.2);
}

.apb-chatbot__panel::-webkit-scrollbar {
  display: none;
}

.apb-chatbot.is-open .apb-chatbot__panel {
  display: block;
}

.apb-chatbot__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--apb-blue);
  color: #ffffff;
}

.apb-chatbot__close {
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
}

.apb-chatbot__messages {
  display: grid;
  gap: 7px;
  padding: 10px;
  font-size: 0.84rem;
}

.apb-chatbot__messages p {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--apb-soft);
}

.apb-chatbot__user {
  justify-self: end;
  background: #fff0f1 !important;
}

.apb-chatbot__quicklinks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.apb-chatbot__quicklinks a,
.apb-chatbot__quicklinks button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid rgba(7, 51, 111, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--apb-blue);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.apb-chatbot__quicklinks a:hover,
.apb-chatbot__quicklinks button:hover {
  border-color: var(--apb-red);
  color: var(--apb-red);
}

.apb-chatbot__form {
  display: grid;
  gap: 7px;
  padding: 10px;
  border-top: 1px solid var(--apb-line);
}

.apb-chatbot__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.apb-chatbot__form input {
  min-height: 36px;
  border: 1px solid var(--apb-line);
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.84rem;
}

.apb-chatbot__form button {
  border: 0;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 10px;
  background: var(--apb-red);
  color: #ffffff;
  font-weight: 900;
}

@media (max-width: 1180px) {
  .apb-header-actions__call span {
    display: none;
  }
}

@media (max-width: 980px) {
  .apb-header-actions {
    margin-left: 0;
  }

  .apb-menu {
    right: 0;
  }

  .apb-service-grid,
  .apb-values-grid,
  .apb-job-layout,
  .apb-cta-band {
    grid-template-columns: 1fr 1fr;
  }

  .apb-footer__compact {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 720px) {
  .apb-header-actions__reserve {
    display: none;
  }

  .apb-brand img {
    width: min(190px, 52vw);
  }

  .apb-service-grid,
  .apb-values-grid,
  .apb-form__grid,
  .apb-job-layout,
  .apb-cta-band,
  .apb-mini-facts {
    grid-template-columns: 1fr;
  }

  .apb-footer__compact {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .apb-floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .apb-chatbot {
    left: 12px;
    bottom: 68px;
  }
}

/* APB refinements v1.2.0 */
.apb-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  text-decoration: none;
}

.apb-topbar__item svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.92;
}

.apb-topbar__label svg {
  color: #ffffff;
}

.apb-menu {
  gap: 8px;
}

.apb-menu a {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 7px;
  background: transparent;
  font-size: 0.88rem;
}

.apb-menu a:hover,
.apb-menu a:focus,
.apb-menu .current-menu-item > a {
  border-color: var(--apb-red);
  background: var(--apb-red);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(216, 23, 40, 0.18);
}

.apb-eyebrow::before {
  width: 33px;
  height: 10px;
  border: 1px solid rgba(7, 51, 111, 0.28);
  border-radius: 2px;
  background: linear-gradient(90deg, #07336f 0 33.33%, #ffffff 33.33% 66.66%, #d81728 66.66% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.apb-page-hero h1 {
  max-width: 820px;
  font-size: clamp(1.78rem, 3.2vw, 3rem);
}

.apb-page-hero p {
  font-size: 1.04rem;
}

.apb-section__head h2,
.apb-content h2,
.apb-split h2,
.apb-contact-box h2,
.apb-job h2,
.apb-cta-band h2,
.apb-band h2 {
  font-size: clamp(1.38rem, 2.4vw, 2.05rem);
}

.apb-service-card {
  border-color: rgba(7, 51, 111, 0.08);
  background: #ffffff;
}

.apb-service-card:nth-child(4n + 1) {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 54%);
}

.apb-service-card:nth-child(4n + 2) {
  background: linear-gradient(180deg, #fff7f8 0%, #ffffff 54%);
}

.apb-service-card:nth-child(4n + 3) {
  background: linear-gradient(180deg, #f7fff9 0%, #ffffff 54%);
}

.apb-service-card:nth-child(4n + 4) {
  background: linear-gradient(180deg, #fffdf3 0%, #ffffff 54%);
}

.apb-service-card:nth-child(4n + 1) .apb-service-card__icon {
  background: #eaf4ff;
  color: #0b5ca7;
}

.apb-service-card:nth-child(4n + 2) .apb-service-card__icon {
  background: #fff0f2;
  color: #d81728;
}

.apb-service-card:nth-child(4n + 3) .apb-service-card__icon {
  background: #ebf8f0;
  color: #237349;
}

.apb-service-card:nth-child(4n + 4) .apb-service-card__icon {
  background: #fff8dc;
  color: #a36b00;
}

.apb-service-card:hover {
  border-color: rgba(216, 23, 40, 0.28);
  box-shadow: 0 16px 36px rgba(7, 51, 111, 0.12);
}

.apb-reservation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 26px;
  align-items: start;
}

.apb-reservation-form select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--apb-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--apb-ink);
}

@media (max-width: 980px) {
  .apb-reservation-layout {
    grid-template-columns: 1fr;
  }
}
/* Correction alignement coches+titres à l'accueil "Depuis 2009, Professionnalisme, Qualité & Sécurité,.. */
.apb-stat strong{
    display:grid !important;
    grid-template-columns:28px 1fr !important;
    column-gap:14px !important;
    align-items:center !important;

    justify-content:initial !important;
    text-align:left !important;

    margin:0 0 12px 0 !important;
    padding:0 !important;

    color:var(--apb-blue);
    font-size:1.35rem;
    font-weight:800;
    line-height:1.2;
}

.apb-stat strong::before{
    content:"✓";
    width:24px;
    height:24px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    background:#0b5ca7;
    color:#fff;

    font-size:13px;
    font-weight:700;

    margin:0 !important;
    padding:0 !important;
    flex-shrink:0;
}

/* APB refinements v1.2.2 */
.apb-menu a:hover,
.apb-menu a:focus,
.apb-menu .current-menu-item > a {
  border-color: transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, var(--apb-blue) 0%, #ffffff 50%, var(--apb-red) 100%) border-box;
  color: var(--apb-blue);
  box-shadow: 0 8px 18px rgba(7, 51, 111, 0.11);
}

.apb-menu .current-menu-item > a {
  color: var(--apb-red);
}
/* badge + 15 ans d'expérience
.apb-stat--experience-badge {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: start;
  padding-block: 10px;
}

.apb-experience-badge {
  width: min(230px, 100%);
  max-height: 92px;
  object-fit: contain;
}

.apb-stat--experience-badge span {
  margin-top: 0;
  max-width: 260px;
}
*/
/* nouveau badge + 15 ans d'expérience */
.apb-stat--experience-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.apb-experience-badge {
  width: 70%;
  height: 70%;
  max-height: none;
  object-fit: contain;
}

.apb-stat--experience-badge span {
  display: none;
}

.apb-form select,
.apb-form input[type="file"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--apb-line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--apb-ink);
}

.apb-form input[type="file"] {
  min-height: 50px;
  padding: 12px;
  font-size: 0.88rem;
}

.apb-form-note {
  margin: -4px 0 0;
  color: var(--apb-muted);
  font-size: 0.86rem;
}

.apb-field-hint {
  display: block;
  margin-top: 6px;
  color: var(--apb-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.apb-phone-combo {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.apb-phone-combo__label {
  color: var(--apb-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.apb-phone-combo__control {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: stretch;
}

.apb-phone-combo select,
.apb-phone-combo input {
  width: 100%;
  min-height: 44px;
}

.apb-phone-combo select {
  overflow: hidden;
  padding: 10px 8px;
  border-radius: 8px 0 0 8px;
  border-right: 0;
  font-weight: 900;
  text-overflow: clip;
}

.apb-phone-combo input {
  border-radius: 0 8px 8px 0;
}

.apb-phone-combo .apb-field-hint {
  margin-top: 0;
}

.apb-career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.88fr);
  gap: 28px;
  align-items: start;
}

.apb-job-application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.apb-career-main {
  min-width: 0;
}

.apb-job-apply .apb-form__grid {
  grid-template-columns: 1fr;
}

.apb-job-carousel {
  display: grid;
  gap: 16px;
}

.apb-job-carousel__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.apb-job-carousel__arrow {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--apb-line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--apb-blue);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 900;
}

.apb-job-carousel__arrow:hover,
.apb-job-carousel__arrow:focus {
  border-color: var(--apb-red);
  color: var(--apb-red);
}

.apb-job-carousel__counter {
  color: var(--apb-muted);
  font-weight: 850;
}

.apb-job-slide {
  display: none;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--apb-line);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(7, 51, 111, 0.08);
}

.apb-job-slide.is-active {
  display: block;
}

.apb-job-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.apb-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.apb-status--open {
  background: #eaf8f0;
  color: #1f6b42;
}

.apb-status--processing {
  background: #fff6de;
  color: #8a5a00;
}

.apb-status--closed {
  background: #eef1f5;
  color: #586273;
}

.apb-job-card__date {
  color: var(--apb-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.apb-job-slide h3 {
  margin: 0 0 10px;
  color: var(--apb-blue);
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.18;
}

.apb-job-card__excerpt {
  margin: 0 0 18px;
  color: var(--apb-muted);
  font-weight: 750;
}

.apb-job-card__content {
  display: grid;
  gap: 12px;
  margin: 18px 0 22px;
}

.apb-job-card__content h2,
.apb-job-card__content h3 {
  margin: 10px 0 0;
  color: var(--apb-blue);
  font-size: 1.04rem;
  line-height: 1.25;
}

.apb-job-card__content p,
.apb-job-card__content ul {
  margin: 0;
}

.apb-job-card__content ul {
  display: grid;
  gap: 7px;
  padding-left: 20px;
}

.apb-job-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.apb-job-carousel__dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c7d2e2;
  cursor: pointer;
}

.apb-job-carousel__dots button.is-active {
  background: var(--apb-red);
}

.apb-job-apply.is-hidden {
  display: none;
}

.apb-btn.is-disabled,
.apb-btn:disabled {
  cursor: not-allowed;
  background: #d7dce4;
  color: #667085;
  box-shadow: none;
  opacity: 0.78;
}

.apb-qcm-page [data-apb-qcm-civique] {
  min-height: 420px;
}

.apb-bpmn-section {
  padding: clamp(54px, 7vw, 82px) 0;
  background: linear-gradient(135deg, #06366f, #0b4b93 55%, #052a59);
  color: #ffffff;
}

.apb-bpmn-header {
  max-width: 860px;
  margin-bottom: 34px;
}

.apb-bpmn-header span {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.apb-bpmn-header h2 {
  margin: 16px 0 12px;
  font-size: clamp(1.7rem, 3.2vw, 2.65rem);
  line-height: 1.1;
}

.apb-bpmn-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.6;
}

.apb-bpmn {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.apb-bpmn-lane {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 122px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.apb-bpmn-lane:last-child {
  border-bottom: 0;
}

.apb-bpmn-lane__title {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.16);
  font-weight: 900;
  font-size: 0.95rem;
  text-align: center;
}

.apb-bpmn-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(6px, 0.8vw, 10px);
  overflow: visible;
  padding: clamp(16px, 1.7vw, 22px);
  min-width: 0;
}

.apb-bpmn-node {
  flex: 1 1 126px;
  min-width: 0;
  max-width: 156px;
  min-height: 78px;
  padding: 13px 12px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--apb-blue);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.apb-bpmn-node:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.26);
}

.apb-bpmn-node strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  line-height: 1.18;
}

.apb-bpmn-node small {
  display: block;
  color: #36506f;
  font-size: 0.76rem;
  line-height: 1.28;
}
/* schéma de processus page Croissance */
.apb-bpmn-node--start,
.apb-bpmn-node--end {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--apb-blue);
/*  font-size: 0.78rem; */
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.apb-bpmn-node--end {
  border: 4px solid #ffffff;
  background: var(--apb-red);
  color: #ffffff;
/*   font-size: 0.7rem; */
  font-size: 0.6rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.apb-bpmn-arrow {
  position: relative;
  flex: 0 0 clamp(18px, 2.2vw, 28px);
  height: 2px;
  background: rgba(255, 255, 255, 0.68);
}

.apb-bpmn-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -5px;
  border-left: 10px solid rgba(255, 255, 255, 0.76);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.apb-bpmn-gateway {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg);
  border: 2px solid #ffffff;
  background: #ffffff;
  color: var(--apb-blue);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.apb-bpmn-gateway span {
  transform: rotate(-45deg);
  font-size: 1.2rem;
  font-weight: 900;
}

.apb-bpmn-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.apb-bpmn-footer div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.apb-bpmn-footer strong {
  display: block;
  margin-bottom: 5px;
/* commenter color: #ffffff; car il maintient blanc les titres + du BPM de la page Croisance *
/*  color: #ffffff; */
  font-size: 1.2rem;
}

.apb-bpmn-footer span {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .apb-career-layout,
  .apb-job-application-layout {
    grid-template-columns: 1fr;
  }

  .apb-bpmn-lane {
    grid-template-columns: 1fr;
  }

  .apb-bpmn-lane__title {
    justify-content: flex-start;
    text-align: left;
  }

  .apb-bpmn-flow {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 10px;
  }

  .apb-bpmn-node,
  .apb-bpmn-node--start,
  .apb-bpmn-node--end {
    width: 100%;
    max-width: none;
    min-height: auto;
    height: auto;
    border-radius: 14px;
  }

  .apb-bpmn-node--start,
  .apb-bpmn-node--end {
    padding: 12px 14px;
  }

  .apb-bpmn-arrow {
    width: 2px;
    height: 22px;
    justify-self: center;
    flex-basis: auto;
  }

  .apb-bpmn-arrow::after {
    right: -5px;
    top: auto;
    bottom: -2px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid rgba(255, 255, 255, 0.76);
    border-bottom: 0;
  }

  .apb-bpmn-gateway {
    justify-self: center;
  }

  .apb-bpmn-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .apb-chatbot__fields {
    grid-template-columns: 1fr;
  }

  .apb-phone-combo__control {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .apb-experience-badge {
    width: min(210px, 100%);
  }

  .apb-job-slide {
    padding: 22px;
  }

  .apb-job-card__head,
  .apb-job-carousel__top {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Couleur des titres "+ simplicité,..." fin BPM */

.apb-bpmn-footer strong.apb-tag--green {
  color: #4ADE80;
}

.apb-bpmn-footer strong.apb-tag--orange {
  color: #FBBF24;
}

.apb-bpmn-footer strong.apb-tag--red {
  color: #F87171;
}