:root { --accent:#28675f; --pressed:#245950; --light:#f1f5f3; }
.mere-hero {
  min-height: 530px;
  text-align: left;
  background: linear-gradient(90deg, #122d36 0%, #122d36ed 31%, #122d3660 79%), url("famille.webp") center 50% / cover no-repeat #122d36;
}
.mere-hero .wrap { max-width: 1120px; }
.mere-hero h1 { margin:0; }
.mere-hero .hero-title { font-size:clamp(1.4rem, 6.9vw, 5.5rem); }
.hero-title span { display:block; }
.mere-hero p { margin:20px 0 0; max-width: 480px; }
.mere-hero .actions { justify-content: flex-start; }
.mere-nav > a { font-weight:600; text-decoration:none; padding:12px 4px; }
.mere-nav > a:hover { text-decoration:underline; }
.metiers { grid-template-columns:repeat(2,minmax(0,1fr)); }
.metiers .card { display:flex; align-items:flex-start; flex-direction:column; padding:clamp(23px,4vw,38px); border-top:3px solid #407a70; background:#fff; }
.metiers .card:nth-child(2) { border-top-color:#52798b; }
.metiers .card p { flex:1; margin:14px 0 21px; }
.band[id] { scroll-margin-top:90px; }
.preview-note { font-size:.86rem; margin:0 0 15px; padding:7px 0; border-bottom:1px solid #c9d7d7; color:#34535e; }
.profile { max-width:770px; margin:auto; padding:clamp(22px,5vw,51px); border:1px solid #cad8d8; background:#fff; }
.profile dl { margin:24px 0 0; }
.profile dt { font-weight:600; color:#163843; padding-top:16px; border-top:1px solid #dde6e7; margin-top:16px; }
.profile dd { margin:6px 0 0; line-height:1.65; }
.profile .profile-services { padding-left:20px; margin:6px 0 0; }
.header-inner > .brand { width:clamp(242px, 25vw, 315px); }
.brand .new-logo { width:100%; height:auto; }
@media (max-width:780px) {
  .mere-hero { min-height:400px; background-position:60% center; }
  .metiers { grid-template-columns:1fr; }
  .mere-nav > a { display:block; }
  .header-inner > .brand { width:min(268px, calc(100% - 57px)); }
}

.mere-hero { position:relative; }
.hero-credit { position:absolute; right:16px; bottom:8px; font-size:.75rem; color:#fff; background:#122d36cc; padding:1px 6px; }

.metiers .metier-logo {
  width: min(100%, 290px);
  height: clamp(90px, 14vw, 124px);
  object-fit: contain;
  object-position: left center;
  margin-bottom: 18px;
}
.metier-links { margin: 17px 0 0; }

.profile-group { margin-top: 38px; }
.profile-group h3 { margin-block: 15px 10px; }
.profile-group p + p { margin-top: 12px; }
.profile code { overflow-wrap: anywhere; }

.cards.situations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 780px) {
  .cards.situations { grid-template-columns: 1fr; }
}

.mere-nav ul { min-width: 220px; }
.process-list { margin-top: 0; }
.process-list li + li { margin-top: 16px; }
.process p { margin-block: 15px 20px; }

@media (min-width: 781px) {
  .metiers { row-gap: 0; }
  @supports (grid-template-rows: subgrid) {
    .metiers .card {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
      align-items: start;
      justify-items: start;
    }
  }
}
