:root {
  --ct-shadow-soft: 0 18px 45px rgba(23, 32, 42, 0.12);
  --ct-shadow-card: 0 18px 44px rgba(23, 32, 42, 0.08);
  --ct-radius: 8px;
}

body {
  overflow-x: hidden;
  background: #fff;
  color: var(--wp--preset--color--ink);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ct-site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 32, 42, 0.08);
  box-shadow: 0 12px 36px rgba(23, 32, 42, 0.08);
  backdrop-filter: blur(18px);
}

.ct-header-top {
  background: var(--wp--preset--color--brand-blue);
  color: #fff;
  font-size: 0.84rem;
}

.ct-header-top__inner {
  width: min(1180px, calc(100vw - 40px));
  min-height: 34px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ct-header-top a,
.ct-header-top a:visited {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.ct-header-main {
  width: min(1180px, calc(100vw - 40px));
  min-height: 76px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.ct-brand,
.ct-brand:visited {
  display: inline-flex;
  align-items: center;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
}

.ct-brand__logo {
  width: clamp(178px, 18vw, 248px);
  height: clamp(38px, 4vw, 54px);
  display: block;
  background-image: url("../images/logo-scherrer-services-couverture.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}

.ct-desktop-nav {
  justify-self: center;
}

.ct-desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-desktop-nav li {
  position: relative;
}

.ct-desktop-nav a,
.ct-desktop-nav a:visited {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--wp--preset--color--ink);
  font-size: 0.94rem;
  font-weight: 780;
  text-decoration: none;
}

.ct-desktop-nav a:hover,
.ct-desktop-nav a:focus-visible {
  background: rgba(2, 78, 139, 0.08);
  color: var(--wp--preset--color--brand-blue);
}

.ct-has-submenu > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.ct-desktop-nav .ct-has-submenu > ul {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 280px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(23, 32, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.ct-desktop-nav .ct-has-submenu:hover > ul,
.ct-desktop-nav .ct-has-submenu:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ct-desktop-nav .ct-has-submenu > ul::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}

.ct-desktop-nav .ct-has-submenu > ul a {
  width: 100%;
  justify-content: flex-start;
  min-height: 38px;
}

.ct-header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ct-call-link,
.ct-call-link:visited {
  color: var(--wp--preset--color--brand-blue);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
}

.ct-header-quote {
  min-height: 42px;
  padding-inline: 16px;
}

.ct-mobile-toggle,
.ct-mobile-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.ct-mobile-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  gap: 5px;
  padding: 11px;
  border: 1px solid rgba(23, 32, 42, 0.12);
  border-radius: 8px;
  background: #fff;
}

.ct-mobile-toggle__bar {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--wp--preset--color--brand-blue);
}

.ct-mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 60;
  width: min(430px, 100vw);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding: 18px;
  box-sizing: border-box;
  overflow-y: auto;
  background: #fff;
  box-shadow: -24px 0 70px rgba(23, 32, 42, 0.22);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  overscroll-behavior: contain;
}

.ct-mobile-panel * {
  box-sizing: border-box;
}

.ct-mobile-panel.is-open {
  transform: translateX(0);
}

.ct-mobile-panel::before {
  content: "";
  position: fixed;
  inset: 0 100% 0 auto;
  width: 100vw;
  background: rgba(23, 32, 42, 0.34);
}

.ct-mobile-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(23, 32, 42, 0.1);
  color: var(--wp--preset--color--brand-blue);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-mobile-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--ink);
  font-size: 2rem;
  line-height: 1;
}

.ct-mobile-nav {
  display: grid;
  gap: 8px;
  padding: 20px 0;
}

.ct-mobile-nav a,
.ct-mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--ink);
  font-weight: 800;
  text-decoration: none;
}

.ct-mobile-nav details {
  display: grid;
  gap: 8px;
}

.ct-mobile-nav details[open] {
  padding-bottom: 8px;
}

.ct-mobile-nav details a {
  min-height: 42px;
  margin: 8px 0 0 16px;
  background: #fff;
  border: 1px solid rgba(23, 32, 42, 0.1);
  font-size: 0.94rem;
  font-weight: 700;
}

.ct-mobile-nav summary {
  cursor: pointer;
  list-style: none;
}

.ct-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.ct-mobile-nav summary::after {
  content: "+";
  color: var(--wp--preset--color--brand-orange);
  font-size: 1.3rem;
  line-height: 1;
}

.ct-mobile-nav details[open] summary::after {
  content: "−";
}

.ct-mobile-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 32, 42, 0.1);
  background: #fff;
}

.ct-mobile-contact .ct-button--secondary,
.ct-mobile-contact .ct-button--secondary:visited {
  border: 1px solid rgba(2, 78, 139, 0.16);
  background: #fff;
}

.ct-menu-open {
  overflow: hidden;
}

.ct-header__inner,
.ct-footer__inner,
.ct-section {
  width: min(1120px, calc(100vw - 40px));
  margin-inline: auto;
}

.ct-hero {
  min-height: calc(100vh - 110px);
  display: grid;
  align-items: center;
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(2, 78, 139, 0.95) 0%, rgba(2, 78, 139, 0.84) 42%, rgba(2, 78, 139, 0.26) 100%),
    var(--ct-hero-image, linear-gradient(135deg, #024e8b, #17202a));
  background-size: cover;
  background-position: center;
  color: #fff;
}

.ct-hero__content {
  width: min(760px, calc(100vw - 40px));
  margin-inline: auto;
}

.ct-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: var(--wp--preset--font-size--hero);
  letter-spacing: 0;
}

.ct-hero p {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: var(--wp--preset--font-size--lead);
}

.ct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ct-button,
.ct-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--wp--preset--color--brand-orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.ct-button--secondary,
.ct-button--secondary:visited {
  background: #fff;
  color: var(--wp--preset--color--brand-blue);
}

.ct-button--ghost,
.ct-button--ghost:visited {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ct-kicker {
  margin: 0 0 12px;
  color: var(--wp--preset--color--brand-orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ct-lead {
  font-size: var(--wp--preset--font-size--lead);
  line-height: 1.65;
}

.ct-service-hero {
  min-height: 640px;
  color: #fff;
}

.ct-service-hero .wp-block-cover__background {
  background:
    linear-gradient(90deg, rgba(2, 78, 139, 0.96) 0%, rgba(2, 78, 139, 0.82) 48%, rgba(2, 78, 139, 0.18) 100%);
}

.ct-service-hero--hub .wp-block-cover__background {
  background:
    linear-gradient(90deg, rgba(2, 78, 139, 0.94) 0%, rgba(2, 78, 139, 0.78) 50%, rgba(2, 78, 139, 0.16) 100%);
}

.ct-service-hero__content {
  width: min(760px, calc(100vw - 40px));
  margin-inline: 0 auto;
}

.ct-service-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: var(--wp--preset--font-size--hero);
  letter-spacing: 0;
}

.ct-service-hero .ct-lead {
  max-width: 680px;
  margin-top: 24px;
}

.ct-page-nav {
  position: sticky;
  top: 111px;
  z-index: 20;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 32, 42, 0.08);
  backdrop-filter: blur(14px);
}

.ct-page-nav nav {
  width: min(1120px, calc(100vw - 40px));
  margin-inline: auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.ct-page-nav a,
.ct-page-nav a:visited {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.ct-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: var(--ct-radius);
  overflow: hidden;
  box-shadow: var(--ct-shadow-soft);
  transform: translateY(-42px);
  position: relative;
  z-index: 2;
}

.ct-proof > * {
  margin: 0;
  padding: 24px;
  background: #fff;
  border-right: 1px solid rgba(23, 32, 42, 0.08);
}

.ct-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.ct-service-card {
  min-height: 236px;
  padding: 28px;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: var(--ct-radius);
  background: #fff;
  box-shadow: var(--ct-shadow-card);
  display: flex;
  flex-direction: column;
}

.ct-service-card--featured {
  border-color: rgba(255, 106, 42, 0.32);
  background: linear-gradient(180deg, rgba(255, 106, 42, 0.08), #fff 42%);
}

.ct-service-card h3 {
  margin-top: 0;
}

.ct-service-card p {
  margin-bottom: 0;
}

.ct-card-link {
  margin-top: auto;
  padding-top: 24px;
}

.ct-card-link a,
.ct-card-link a:visited {
  color: var(--wp--preset--color--brand-blue);
  font-weight: 850;
  text-decoration: none;
}

.ct-card-link a::after {
  content: " ->";
  color: var(--wp--preset--color--brand-orange);
}

.ct-band {
  padding: 84px 0;
}

.ct-band--surface {
  background: var(--wp--preset--color--surface);
}

.ct-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.ct-section-lead {
  max-width: 760px;
  margin-top: 12px;
  color: rgba(23, 32, 42, 0.78);
  font-size: 1.05rem;
}

.ct-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ct-check-grid p {
  min-height: 70px;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 18px 18px 18px 48px;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: var(--ct-radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.06);
  position: relative;
  font-weight: 750;
}

.ct-check-grid p::before {
  content: "";
  position: absolute;
  left: 18px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--wp--preset--color--brand-orange);
  border-bottom: 3px solid var(--wp--preset--color--brand-orange);
  transform: rotate(-45deg);
}

.ct-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.ct-process--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ct-number-card,
.ct-aside-card {
  padding: 28px;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: var(--ct-radius);
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.08);
}

.ct-number {
  margin: 0 0 18px;
  color: var(--wp--preset--color--brand-orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.ct-number-card h3,
.ct-aside-card h3 {
  margin-top: 0;
}

.ct-list {
  display: grid;
  gap: 12px;
  padding-left: 1.2em;
}

.ct-list li::marker {
  color: var(--wp--preset--color--brand-orange);
}

.ct-zone-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ct-zone-links a,
.ct-zone-links a:visited {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(2, 78, 139, 0.18);
  border-radius: 6px;
  background: #fff;
  color: var(--wp--preset--color--brand-blue);
  font-weight: 800;
  text-decoration: none;
}

.ct-region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.ct-region-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(23, 32, 42, 0.1);
  border-radius: var(--ct-radius);
  background: #fff;
  box-shadow: var(--ct-shadow-card);
  display: flex;
  flex-direction: column;
}

.ct-region-card__number {
  margin: 0 0 18px;
  color: var(--wp--preset--color--brand-orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.ct-region-card h3 {
  margin-top: 0;
}

.ct-region-card p {
  color: rgba(23, 32, 42, 0.74);
}

.ct-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.ct-city-links a,
.ct-city-links a:visited {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(2, 78, 139, 0.08);
  color: var(--wp--preset--color--brand-blue);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.ct-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 7vw, 80px);
  align-items: center;
}

.ct-media-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--ct-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ct-shadow-card);
}

.ct-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30px;
  box-sizing: border-box;
}

.ct-footer {
  padding: 48px 0 24px;
  background: #17202a;
  color: #fff;
}

.ct-footer__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 52px);
}

.ct-footer a {
  color: #fff;
}

.ct-footer-nav {
  display: grid;
  gap: 10px;
}

.ct-footer-nav a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.ct-footer-nav a:hover,
.ct-footer-nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ct-footer > .has-text-align-center {
  width: min(1120px, calc(100vw - 40px));
  margin: 32px auto 0;
}

@media (max-width: 820px) {
  .ct-header-top {
    display: none;
  }

  .ct-header-main {
    min-height: 70px;
    grid-template-columns: 1fr auto;
  }

  .ct-desktop-nav,
  .ct-call-link,
  .ct-header-quote {
    display: none;
  }

  .ct-mobile-toggle {
    display: grid;
  }

  .ct-brand__logo {
    width: 236px;
    height: 52px;
  }

	  .ct-proof,
	  .ct-service-grid,
	  .ct-region-grid,
	  .ct-split,
	  .ct-section-grid,
	  .ct-process,
  .ct-footer__inner {
    grid-template-columns: 1fr;
  }

  .ct-hero {
    min-height: calc(100vh - 70px);
    padding: 72px 0;
    background:
      linear-gradient(180deg, rgba(2, 78, 139, 0.92) 0%, rgba(2, 78, 139, 0.86) 54%, rgba(2, 78, 139, 0.52) 100%),
      var(--ct-hero-image, linear-gradient(135deg, #024e8b, #17202a));
    background-position: 62% center;
  }

  .ct-hero h1,
  .ct-service-hero h1 {
    font-size: 3.1rem;
  }

  .ct-hero p,
  .ct-lead {
    font-size: 1.08rem;
  }

  .ct-proof {
    transform: translateY(-26px);
  }

  .ct-proof > * {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 32, 42, 0.08);
  }

  .ct-proof > *:last-child {
    border-bottom: 0;
  }

  .ct-band {
    padding: 64px 0;
  }

  .ct-service-hero {
    min-height: 560px;
  }

  .ct-page-nav {
    position: static;
    top: auto;
  }
}

@media (max-width: 640px) {
  .ct-hero h1,
  .ct-service-hero h1 {
    font-size: 2.7rem;
  }

  .ct-hero__content,
  .ct-service-hero__content {
    width: min(100vw - 32px, 760px);
  }

  .ct-hero .ct-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ct-hero .ct-actions .ct-button--ghost {
    grid-column: 1 / -1;
  }

  .ct-button,
  .ct-button:visited {
    min-height: 46px;
    padding-inline: 14px;
    text-align: center;
  }

  .ct-check-grid {
    grid-template-columns: 1fr;
  }

  .ct-service-grid {
    gap: 14px;
  }

  .ct-region-grid {
    gap: 14px;
  }

  .ct-region-card {
    min-height: 0;
    padding: 22px;
  }

  .ct-service-card {
    min-height: 0;
    padding: 22px;
  }

  .ct-footer-nav {
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .ct-header-main {
    width: min(100vw - 24px, 1180px);
  }

  .ct-brand__logo {
    width: 205px;
    height: 45px;
  }

  .ct-mobile-panel {
    padding: 14px;
  }

  .ct-mobile-contact {
    grid-template-columns: 1fr;
  }

  .ct-hero h1,
  .ct-service-hero h1 {
    font-size: 2.35rem;
  }

  .ct-hero .ct-actions {
    grid-template-columns: 1fr;
  }

  .ct-media-frame img {
    padding: 18px;
  }
}
