:root {
  --blue: #083fb8;
  --blue-strong: #0636a3;
  --blue-dark: #07277d;
  --blue-soft: #eaf1ff;
  --teal: #08a78b;
  --light: #f4f7fd;
  --text: #101828;
  --muted: #526070;
  --line: #dfe7f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-halo,
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    pointer-events: none;
    opacity: 0;
    will-change: transform;
  }

  .cursor-halo {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    margin-left: -21px;
    border: 1px solid rgba(8, 63, 184, 0.42);
    border-radius: 50%;
    background: rgba(8, 63, 184, 0.06);
    box-shadow: 0 0 0 0 rgba(8, 63, 184, 0);
    transition: width 0.18s ease, height 0.18s ease, margin 0.18s ease, opacity 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    margin-top: -3px;
    margin-left: -3px;
    border-radius: 50%;
    background: var(--blue);
    transition: width 0.18s ease, height 0.18s ease, margin 0.18s ease, opacity 0.18s ease, background 0.18s ease;
  }

  body.cursor-active .cursor-halo,
  body.cursor-active .cursor-dot {
    opacity: 1;
  }

  body.cursor-hovering .cursor-halo {
    width: 58px;
    height: 58px;
    margin-top: -29px;
    margin-left: -29px;
    border-color: rgba(8, 63, 184, 0.56);
    background: rgba(8, 63, 184, 0.09);
    box-shadow: 0 0 0 7px rgba(8, 63, 184, 0.04);
  }

  body.cursor-hovering .cursor-dot {
    background: var(--teal);
  }

  body.cursor-action .cursor-halo {
    width: 78px;
    height: 78px;
    margin-top: -39px;
    margin-left: -39px;
    border-color: rgba(8, 63, 184, 0.76);
    background: rgba(8, 63, 184, 0.14);
    box-shadow: 0 0 0 10px rgba(8, 63, 184, 0.06);
  }

  body.cursor-action .cursor-dot {
    width: 9px;
    height: 9px;
    margin-top: -4.5px;
    margin-left: -4.5px;
    background: var(--teal);
  }

  .btn,
  .logo,
  .nav-links a,
  .footer-grid a,
  .card:has(a),
  .page-card:has(a),
  .card:has(button),
  .page-card:has(button),
  .service-index a,
  .resource-stack article:has(a),
  .project-panel:has(a),
  .project-step-list article:has(a),
  .sub-visual-card:has(a),
  .socials a {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  }

  .btn:hover,
  .logo:hover,
  .nav-links a:hover,
  .footer-grid a:hover,
  .socials a:hover {
    transform: translateY(-2px);
  }

  .card:has(a):hover,
  .page-card:has(a):hover,
  .card:has(button):hover,
  .page-card:has(button):hover,
  .service-index a:hover,
  .resource-stack article:has(a):hover,
  .project-panel:has(a):hover,
  .project-step-list article:has(a):hover,
  .sub-visual-card:has(a):hover {
    transform: translateY(-4px);
    border-color: rgba(8, 63, 184, 0.35);
    box-shadow: 0 18px 38px rgba(16, 24, 40, 0.11);
  }
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.86);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.page-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loader-circle {
  width: 62px;
  height: 62px;
  border: 6px solid var(--blue-soft);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: loader-spin 0.8s linear infinite;
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

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

h1,
h2,
h3,
h4,
p,
li,
a,
span,
strong,
b {
  overflow-wrap: break-word;
}

img,
svg {
  max-width: 100%;
}

.material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Outlined";
  font-size: 1.35em;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24;
}

.inline-icon {
  margin-right: 6px;
  vertical-align: -0.18em;
}

.container {
  width: min(1210px, 92%);
  margin: 0 auto;
}

.section {
  padding: 38px 0;
}

.muted {
  background: var(--light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #eef2f8;
}

.nav-wrap {
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  width: 70px;
  height: 70px;
  border: 4px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-wrap > .btn.small {
  flex: 0 0 auto;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.nav-toggle {
  display: none;
}

.nav-toggle-btn {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid #dce6fb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle-btn span {
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: normal;
  box-shadow: 0 10px 20px rgba(8, 63, 184, 0.14);
}

.btn.small {
  min-height: 42px;
  padding: 11px 18px;
  font-size: 13px;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: #fff;
  border-color: #9dafdc;
  color: var(--blue);
  box-shadow: none;
}

.btn-light {
  background: #fff;
  color: var(--blue);
}

.hero {
  padding-top: 0;
  border-bottom: 1px solid #eef2f8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 42px;
  min-height: 520px;
}

.hero-copy {
  width: 100%;
  max-width: none;
  min-height: clamp(460px, 52vw, 620px);
  display: grid;
  align-content: center;
  padding: clamp(34px, 6vw, 74px) clamp(18px, 5vw, 70px);
  border: 1px solid rgba(8, 63, 184, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.34)),
    url("assets/arriere-plan.jpeg");
  background-size: cover;
  background-position: center 18%;
  box-shadow: 0 18px 46px rgba(16, 24, 40, 0.08);
  text-align: center;
}

.hero-copy h1 {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.08;
}

.hero-copy h1 span {
  color: var(--blue);
}

.hero-copy > p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  color: #2d3545;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.72);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.hero-features article {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  column-gap: 10px;
  text-align: left;
}

.ico,
.card-icon,
.benefit-icon {
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
}

.ico {
  width: 52px;
  height: 52px;
  grid-row: span 2;
  border-radius: 50%;
  font-size: 24px;
}

.ico .material-symbols-outlined,
.card-icon .material-symbols-outlined,
.benefit-icon .material-symbols-outlined,
.page-card > .material-symbols-outlined,
.process-list article > .material-symbols-outlined,
.project-step-list article > .material-symbols-outlined {
  font-size: 28px;
}

.hero-features h3 {
  align-self: end;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.13;
}

.hero-features p {
  align-self: start;
  color: #293243;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.hero-media {
  position: relative;
  min-height: 430px;
  align-self: stretch;
  overflow: hidden;
  background-image: url("hero.jpg");
  background-repeat: no-repeat;
  background-size: 853px auto;
  background-position: right 0 top -70px;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 24% 100%, 0 52%);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: var(--blue);
  clip-path: polygon(72% 0, 100% 0, 31% 50%, 100% 100%, 72% 100%, 0 50%);
}

.play {
  position: absolute;
  right: 112px;
  bottom: 100px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.36);
}

.play span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  text-shadow: none;
  font-size: 20px;
}

.pillars-section {
  padding-top: 34px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
  color: var(--blue-dark);
  font-size: 19px;
  font-weight: 800;
  text-align: center;
}

.section-title::before,
.section-title::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #8fa3cf;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  min-height: 210px;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid #edf1f8;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
}

.card-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
  border-radius: 14px;
  font-size: 30px;
}

.card h3 {
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 800;
}

.card p {
  max-width: 360px;
  margin-bottom: 24px;
  color: #202a3c;
  font-size: 13px;
  line-height: 1.65;
}

.card a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.platform-section {
  padding: 0;
}

.platform {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(420px, 1fr) minmax(230px, 0.42fr);
  gap: 28px;
  align-items: center;
  padding: 30px max(4vw, calc((100vw - 1210px) / 2));
  color: #fff;
  background: linear-gradient(90deg, var(--blue-strong) 0%, var(--blue) 74%, #fff 74%, #fff 100%);
}

.platform-left {
  padding-left: 2px;
}

.platform h2 {
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.12;
}

.platform h2 span {
  display: block;
  max-width: 340px;
  font-size: 24px;
  font-weight: 800;
}

.platform ul {
  margin-bottom: 22px;
  list-style: none;
  color: #f5f8ff;
  font-size: 14px;
  font-weight: 600;
}

.platform li {
  position: relative;
  margin: 11px 0;
  padding-left: 30px;
}

.platform li::before {
  content: "check";
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-family: "Material Symbols Outlined";
  font-size: 13px;
  font-weight: 600;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 20;
}

.platform-center {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
}

.laptop-mock {
  display: none;
  position: absolute;
  right: 0;
  bottom: 12px;
  width: min(560px, 100%);
  padding: 12px 12px 18px;
  border: 8px solid #141824;
  border-bottom-width: 18px;
  border-radius: 18px 18px 10px 10px;
  background: #111827;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.laptop-mock::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -24px;
  width: 122%;
  height: 15px;
  border-radius: 0 0 80px 80px;
  background: linear-gradient(90deg, #303846, #f1f4f8 70%, #949ba7);
}

.screen {
  min-height: 260px;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  color: #111827;
}

.screen-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mini-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 3px solid var(--blue);
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}

.mini-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 3px;
}

.screen-top strong,
.chart-row b {
  color: #172033;
  font-size: 11px;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.metric-grid span {
  min-height: 64px;
  padding: 10px 8px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  line-height: 1.35;
}

.metric-grid span:nth-child(3),
.metric-grid span:nth-child(4) {
  background: var(--teal);
}

.metric-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  font-weight: 800;
}

.chart-row {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 20px;
}

.chart-row > div {
  min-height: 122px;
  padding: 10px;
  border: 1px solid #e8edf6;
  border-radius: 6px;
}

.chart-row svg {
  width: 100%;
  height: 82px;
}

/* Styles pour les articles d'actualité et la galerie */
.resource-stack .news-article {
  display: block;
  padding: 24px;
}

.resource-stack .news-article > span {
  display: inline-grid;
  min-height: auto;
  margin-bottom: 14px;
  padding: 9px 13px;
  border-radius: 6px;
  font-size: 12px;
}

.news-copy {
  max-width: 980px;
}

.resource-stack .news-article .news-meta {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.news-meta time::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 9px 2px;
  border-radius: 50%;
  background: var(--teal);
}

.resource-stack .news-article h3 {
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1.25;
}

.resource-stack .news-article p {
  margin-bottom: 14px;
  color: #293243;
  font-size: 15px;
  line-height: 1.75;
}

.news-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

.news-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eef3fb;
}

.news-gallery img:nth-child(1),
.news-gallery img:nth-child(2) {
  grid-column: span 3;
  height: 260px;
}

.news-gallery img:nth-child(n + 3) {
  grid-column: span 2;
}

@media (max-width: 820px) {
  .resource-stack .news-article h3 {
    font-size: 24px;
  }

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

  .news-gallery img,
  .news-gallery img:nth-child(1),
  .news-gallery img:nth-child(2),
  .news-gallery img:nth-child(n + 3) {
    grid-column: auto;
    height: 190px;
  }
}

@media (max-width: 560px) {
  .resource-stack .news-article {
    padding: 18px;
  }

  .resource-stack .news-article h3 {
    font-size: 21px;
  }

  .news-gallery {
    grid-template-columns: 1fr;
  }

  .news-gallery img,
  .news-gallery img:nth-child(1),
  .news-gallery img:nth-child(2),
  .news-gallery img:nth-child(n + 3) {
    height: 220px;
  }
}

.chart-row polyline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.donut {
  width: 86px;
  height: 86px;
  display: block;
  margin: 16px auto 0;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 42%, #25a8dc 42% 67%, var(--teal) 67% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #fff;
}

.phone-mock {
  position: relative;
  left: auto;
  bottom: auto;
  z-index: 2;
  width: min(178px, 72vw);
  height: 344px;
  padding: 28px 18px;
  border: 8px solid #141824;
  border-radius: 32px;
  background: #fff;
  color: #152348;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);
}

.phone-mock span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.phone-mock b {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
}

.phone-mock i {
  display: block;
  height: 52px;
  margin: 10px 0;
  border-radius: 5px;
  background: var(--blue);
}

.phone-mock i:last-child {
  height: 70px;
  background: linear-gradient(145deg, #f7f9ff, #dce7ff);
  border: 1px solid #dce7ff;
}

.benefits {
  display: grid;
  gap: 23px;
  color: var(--blue-dark);
}

.benefits article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 16px;
  align-items: center;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  grid-row: span 2;
  border: 1px solid #d8e1f2;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 24px;
  font-weight: 800;
}

.benefits strong {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.benefits article > span {
  max-width: 190px;
  color: #273448;
  font-size: 12px;
  line-height: 1.35;
}

.communes-section {
  padding-top: 30px;
  padding-bottom: 22px;
  background: #fff;
}

.mairie-band .container {
  display: flex;
  justify-content: flex-end;
}

.communes-grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.75fr) minmax(160px, 0.62fr) minmax(120px, 0.42fr) minmax(420px, 1.65fr);
  gap: 22px;
  align-items: center;
}

.communes h2,
.mairie-advantages h2 {
  color: var(--blue-dark);
  font-size: 23px;
  font-weight: 800;
}

.communes p {
  max-width: 240px;
  margin: 12px 0 20px;
  color: #273448;
  font-size: 13px;
  line-height: 1.7;
}

.map-wrap {
  min-height: 170px;
  display: grid;
  place-items: center;
}

.map-shape {
  position: relative;
  width: 178px;
  height: 156px;
  background: #6fa0e2;
  clip-path: polygon(23% 2%, 41% 8%, 58% 0, 74% 12%, 84% 26%, 95% 38%, 82% 52%, 92% 66%, 76% 84%, 58% 78%, 43% 96%, 29% 82%, 12% 86%, 18% 68%, 5% 54%, 13% 36%, 8% 18%);
}

.map-shape span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(6, 39, 125, 0.28);
}

.map-shape span::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}

.map-shape span:nth-child(1) { top: 30px; left: 42px; }
.map-shape span:nth-child(2) { top: 46px; right: 44px; }
.map-shape span:nth-child(3) { top: 74px; left: 76px; }
.map-shape span:nth-child(4) { bottom: 35px; left: 36px; }
.map-shape span:nth-child(5) { right: 22px; bottom: 28px; }
.map-shape span:nth-child(6) { right: 62px; bottom: 14px; }

.stats {
  display: grid;
  gap: 13px;
}

.stats article {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  column-gap: 12px;
}

.stats article::before {
  content: "location_on";
  width: 40px;
  height: 40px;
  grid-row: span 2;
  display: grid;
  place-items: center;
  border: 1px solid #dce5f5;
  border-radius: 50%;
  color: var(--blue);
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  font-weight: 600;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 24;
}

.stats strong {
  color: var(--blue);
  font-size: 24px;
  line-height: 1;
}

.stats span {
  color: #273448;
  font-size: 11px;
}

.mairie-advantages {
  padding-left: 22px;
  border-left: 1px solid #d6deed;
}

.mairie-band .mairie-advantages {
  width: min(980px, 100%);
  margin-left: auto;
  margin-right: 0;
}

.mairie-advantages h2 {
  margin-bottom: 22px;
}

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

.adv-grid article {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 10px;
  border: 1px solid #e8edf6;
  border-radius: 8px;
  background: #fff;
  color: #182238;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.adv-grid span {
  color: var(--blue);
  font-size: 27px;
}

.quote {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.cta-band {
  color: #fff;
  background: var(--blue);
}

.cta-band:empty {
  display: none;
}

.cta-wrap {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.3fr) auto;
  gap: 28px;
  align-items: center;
}

.mairie-band + .cta-band .cta-wrap {
  padding-left: clamp(0px, 3vw, 36px);
}

.cta-wrap p {
  font-size: 13px;
}

.cta-wrap strong {
  font-size: 18px;
  line-height: 1.2;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.contact-list > span {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 24px;
}

.contact-list b {
  font-size: 12px;
  line-height: 1.35;
}

.site-footer {
  padding: 36px 0 18px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(190px, 1.6fr) repeat(4, minmax(120px, 1fr));
  gap: 42px;
}

.footer-grid .logo {
  margin-bottom: 14px;
}

.footer-grid p {
  max-width: 280px;
  color: #475467;
  font-size: 13px;
  line-height: 1.7;
}

.footer-grid h4 {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.footer-grid a {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 7px;
  border: 1px solid #dfe7f5;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.socials a:hover {
  background: var(--blue-soft);
}

.socials img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.copyright {
  max-width: 1210px;
  margin: 24px auto 0;
  padding-top: 16px;
  color: #667085;
  font-size: 13px;
  text-align: right;
}

@media (max-width: 1180px) {
  .container {
    width: min(100% - 44px, 1210px);
  }

  .nav-wrap {
    gap: 14px;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 14px;
    font-size: 12px;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .nav-wrap > .btn.small {
    padding: 10px 14px;
    font-size: 12px;
  }

  .hero-grid,
  .platform,
  .communes-grid,
  .cta-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 34px;
  }

  .hero-media {
    min-height: 360px;
  }

  .platform {
    padding: 30px 4vw;
    background: var(--blue);
  }

  .platform-center {
    min-height: 360px;
    overflow: hidden;
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
    border-radius: 12px;
    background: #fff;
  }

  .mairie-advantages {
    padding-left: 0;
    border-left: 0;
  }

  .mairie-band .container {
    display: block;
  }

  .mairie-band .mairie-advantages {
    margin-left: auto;
    margin-right: auto;
  }

  .mairie-band + .cta-band .cta-wrap {
    padding-left: 0;
  }

  .contact-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    padding-left: 0;
    border-left: 0;
  }

  .copyright {
    width: 92%;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 32px 0;
  }

  .nav-wrap {
    min-height: 72px;
  }

  .logo {
    width: 58px;
    height: 58px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-features,
  .pillars,
  .benefits,
  .contact-list {
    grid-template-columns: 1fr;
  }

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

  .hero-features article {
    width: min(100%, 330px);
    grid-template-columns: 52px 1fr;
    justify-self: center;
  }

  .hero-media {
    min-height: 300px;
    background-size: 720px auto;
    background-position: right 0 top -60px;
  }

  .play {
    right: 24px;
    bottom: 42px;
  }

  .platform-center {
    min-height: 300px;
  }

  .laptop-mock {
    display: none;
  }

  .phone-mock {
    display: block;
    width: min(150px, 68vw);
    height: 292px;
    padding: 24px 16px;
  }

  .phone-mock span {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .phone-mock b {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .phone-mock i {
    height: 42px;
    margin: 8px 0;
  }

  .phone-mock i:last-child {
    height: 58px;
  }

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

  .communes-grid,
  .map-page {
    gap: 28px;
  }

  .large-map {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .nav-toggle-btn {
    display: grid;
    margin-left: auto;
  }

  .nav-wrap > .btn.small {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid #dce6fb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.12);
    font-size: 14px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    white-space: normal;
  }

  .nav-links a {
    padding: 13px 14px;
    border-bottom: 1px solid #edf2fb;
  }

  .nav-links a.active {
    border-bottom-color: var(--blue);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), 1210px);
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-wrap .btn {
    width: auto;
  }

  .hero-grid {
    display: block;
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-features article {
    text-align: left;
  }

  .hero-media {
    margin-top: 28px;
    min-height: 230px;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 18% 100%, 0 52%);
  }

  .play {
    left: 42px;
    right: auto;
    bottom: 22px;
    font-size: 12px;
  }

  .play span {
    width: 42px;
    height: 42px;
  }

  .card {
    padding: 24px;
  }

  .platform h2 {
    font-size: 25px;
  }

  .platform h2 span {
    font-size: 21px;
  }

  .platform-center {
    min-height: 230px;
  }

  .screen {
    padding: 12px;
  }

  .screen-top,
  .chart-row {
    display: none;
  }

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

  .metric-grid strong {
    font-size: 13px;
  }

  .phone-mock {
    display: block;
    width: min(138px, 70vw);
    height: 268px;
    padding: 22px 15px;
  }

  .phone-mock span {
    margin-bottom: 12px;
  }

  .phone-mock b {
    margin-bottom: 8px;
  }

  .phone-mock i {
    height: 36px;
    margin: 7px 0;
  }

  .phone-mock i:last-child {
    height: 50px;
  }

  .laptop-mock {
    display: none;
  }

  .adv-grid {
    grid-template-columns: 1fr;
  }

  .contact-list > span {
    grid-template-columns: 36px 1fr;
  }

  .cta-wrap {
    gap: 18px;
    padding: 24px 0;
  }

  .footer-grid {
    gap: 28px;
  }
}

button,
input,
textarea {
  font: inherit;
  max-width: 100%;
}

.sub-hero {
  min-height: auto;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #fff;
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 46px;
  padding: 54px 0;
}

.sub-hero-copy {
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border: 1px solid #dce6fb;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.sub-hero h1 {
  margin-bottom: 18px;
  color: #08152c;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.06;
}

.sub-hero-copy > p:not(.eyebrow) {
  max-width: none;
  color: #2d3545;
  font-size: 17px;
  line-height: 1.72;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.tag-row span {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.sub-visual {
  display: none;
}

.sub-visual-card {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(360px, 72%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(8, 23, 57, 0.2);
}

.sub-visual-card > strong {
  display: block;
  margin: 14px 0;
  color: var(--blue-dark);
  font-size: 22px;
}

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

.sub-metrics article {
  padding: 12px 10px;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
}

.sub-metrics strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.sub-metrics span {
  display: block;
  margin-top: 6px;
  color: #e7efff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

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

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-heading h2,
.split-story h2,
.media-layout h2,
.map-page h2,
.contact-panel h2 {
  color: var(--blue-dark);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
}

.page-heading a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

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

.page-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
}

.page-card span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.page-card h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 18px;
}

.page-card p {
  color: #344054;
  font-size: 14px;
  line-height: 1.7;
}

.split-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr);
  gap: 42px;
  align-items: start;
}

.split-story > div:first-child {
  padding: 34px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.split-story > div:first-child h2 {
  margin-bottom: 16px;
  color: #fff;
}

.split-story > div:first-child p {
  color: #edf4ff;
  line-height: 1.8;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list h3 {
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 22px;
}

.process-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.process-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}

.process-list p {
  color: #243044;
  font-weight: 700;
}

.media-layout,
.map-page,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: stretch;
}

.video-frame {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 21, 44, 0.08), rgba(8, 21, 44, 0.86)),
    url("hero.jpg");
  background-size: cover;
  background-position: center top;
  color: #fff;
}

.video-frame > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 28px;
}

.video-frame h2 {
  color: #fff;
}

.video-frame p {
  max-width: 520px;
  margin-top: 10px;
  color: #eaf1ff;
}

.media-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.media-gallery figure {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
}

.media-gallery img,
.media-gallery video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
}

.media-gallery video {
  background: #071b44;
}

.channel-board,
.contact-panel aside {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
}

.channel-board article {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px 0;
  border-top: 1px solid #e7edf7;
}

.channel-board b {
  color: var(--blue);
}

.channel-board span {
  color: #344054;
  text-align: right;
}

.map-page {
  align-items: center;
}

.large-map {
  position: relative;
  min-height: clamp(260px, 42vw, 420px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 23% 35%, rgba(255, 255, 255, 0.72) 0 7px, transparent 8px),
    linear-gradient(145deg, #6fa0e2, #0d55cc);
  clip-path: polygon(18% 5%, 39% 9%, 57% 0, 78% 13%, 92% 33%, 84% 49%, 96% 66%, 76% 91%, 57% 79%, 39% 98%, 24% 84%, 8% 89%, 12% 67%, 0 51%, 12% 29%);
}

.large-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 26px;
  height: 26px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--blue-dark);
  transform: rotate(-45deg);
  box-shadow: 0 10px 18px rgba(8, 21, 44, 0.25);
}

.large-map span::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.map-page p {
  margin: 14px 0 24px;
  color: #344054;
  line-height: 1.8;
}

.product-board {
  padding: 30px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blue) 0 46%, #f4f7fd 46% 100%);
}

.app-screen {
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 22px 50px rgba(8, 23, 57, 0.18);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
}

.contact-form h2 {
  color: #fff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #f3f7ff;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: #101828;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: 4px;
  background: #fff;
  color: var(--blue);
}

.contact-panel aside p {
  margin-top: 18px;
  color: #344054;
  line-height: 1.7;
}

.contact-panel aside strong {
  color: var(--blue-dark);
}

.service-index {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.service-index a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.service-index span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.service-index b {
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.2;
}

.service-index small {
  color: #526070;
  font-weight: 800;
}

.resource-stack {
  display: grid;
  gap: 14px;
}

.resource-stack article {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.05);
}

.resource-stack span {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.resource-stack h3 {
  color: var(--blue-dark);
}

.resource-stack p {
  color: #344054;
}

.resource-stack a {
  color: var(--blue);
  font-weight: 800;
  white-space: nowrap;
}

.project-hero .sub-hero-copy {
  max-width: 980px;
}

.project-hero .sub-hero-copy > p:not(.eyebrow) {
  max-width: 900px;
}

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

.project-panel {
  min-height: 320px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.06);
}

.project-panel.is-blue {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.project-panel span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-panel.is-blue span {
  background: #fff;
  color: var(--blue);
}

.project-panel h2 {
  max-width: 620px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
}

.project-panel.is-blue h2,
.project-panel.is-blue p {
  color: #fff;
}

.project-panel p {
  color: #344054;
  font-size: 15px;
  line-height: 1.8;
}

.project-need-grid,
.project-pillar-grid {
  display: grid;
  gap: 18px;
}

.project-need-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-pillar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-need-grid article,
.project-pillar-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
}

.project-need-grid article.has-visual {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(600px, 1.58fr);
  column-gap: 22px;
  align-items: center;
}

.project-need-grid article.has-visual > span,
.project-need-grid article.has-visual > h3,
.project-need-grid article.has-visual > p {
  grid-column: 1;
}

.need-media {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.need-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 32vw, 430px);
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(16, 24, 40, 0.1);
}

.project-need-grid span,
.project-pillar-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.project-need-grid h3,
.project-pillar-grid h3 {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 18px;
  line-height: 1.25;
}

.project-need-grid p,
.project-pillar-grid p {
  color: #344054;
  font-size: 14px;
  line-height: 1.7;
}

.project-step-list {
  display: grid;
  gap: 16px;
}

.project-step-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.05);
}

.project-step-list article > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.project-step-list h3 {
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.2;
}

.project-step-list p {
  color: #344054;
  line-height: 1.75;
}

.project-step-list ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-left: 18px;
  color: #243044;
  font-size: 14px;
  line-height: 1.6;
}

.project-step-list li::marker {
  color: var(--blue);
}

.director-message {
  max-width: 980px;
}

.director-message .page-heading {
  margin-bottom: 18px;
}

.director-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.07);
}

.director-photo {
  float: right;
  width: min(320px, 42%);
  margin: 0 0 22px 30px;
}

.director-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.16);
}

.director-card p {
  color: #2f3a4d;
  font-size: 15px;
  line-height: 1.85;
}

.director-card p + p {
  margin-top: 14px;
}

.director-signature {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  color: var(--blue-dark);
}

.director-signature strong {
  font-size: 18px;
}

.director-signature span {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .sub-hero-grid,
  .project-intro-grid,
  .split-story,
  .media-layout,
  .map-page,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .sub-hero {
    background: #fff;
  }

  .sub-visual {
    min-height: 360px;
  }

  .service-index,
  .page-card-grid,
  .project-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .sub-hero h1 {
    font-size: 38px;
  }

  .sub-visual {
    min-height: 300px;
    background-size: 720px auto;
  }

  .sub-visual-card {
    right: 20px;
    bottom: 20px;
    width: min(390px, 82%);
  }

  .sub-metrics,
  .page-card-grid,
  .project-pillar-grid,
  .media-gallery,
  .service-index,
  .resource-stack article {
    grid-template-columns: 1fr;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-panel h2 {
    font-size: 26px;
  }

  .large-map {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .sub-hero-grid {
    padding: 36px 0;
  }

  .sub-hero h1 {
    font-size: 31px;
  }

  .sub-hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .sub-visual {
    min-height: 250px;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 18% 100%, 0 50%);
  }

  .sub-visual-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: 106px 14px 14px auto;
  }

  .tag-row span {
    max-width: 100%;
  }

  .page-section {
    padding: 42px 0;
  }

  .page-heading h2,
  .split-story h2,
  .media-layout h2,
  .map-page h2,
  .contact-panel h2,
  .project-panel h2 {
    font-size: 24px;
  }

  .split-story > div:first-child,
  .page-card,
  .project-panel,
  .project-need-grid article,
  .project-pillar-grid article,
  .project-step-list article,
  .director-card,
  .contact-form,
  .channel-board,
  .contact-panel aside {
    padding: 22px;
  }

  .project-need-grid article.has-visual {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .project-need-grid article.has-visual > span,
  .project-need-grid article.has-visual > h3,
  .project-need-grid article.has-visual > p,
  .need-media {
    grid-column: 1;
  }

  .need-media {
    grid-row: auto;
    margin-top: 4px;
  }

  .need-media img {
    min-height: 210px;
  }

  .director-photo {
    float: none;
    width: 100%;
    margin: 0 0 22px;
  }

  .project-step-list article {
    grid-template-columns: 1fr;
  }

  .project-step-list article > span {
    width: 52px;
    height: 52px;
  }

  .project-step-list h3 {
    font-size: 20px;
  }

  .project-panel,
  .project-need-grid article,
  .project-pillar-grid article {
    min-height: auto;
  }

  .product-board {
    padding: 18px;
    background: var(--blue-soft);
  }

  .laptop-mock::after {
    display: none;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

  .video-frame {
    min-height: 300px;
    padding: 24px;
  }

  .resource-stack article {
    gap: 12px;
  }

  .resource-stack a {
    white-space: normal;
  }

  .large-map {
    min-height: 250px;
  }
}
