/* Activités publiques V2 — CSS dédié, aucun JS public. */
.activity-v2 {
  color: #18324b;
  background: #fff;
  font-size: 16px;
  line-height: 1.58;
}
.activity-v2__wrap {
  width: min(1600px,calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 64px;
  box-sizing: border-box;
}
.activity-v2__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: #718296;
  font-size: 13px;
}
.activity-v2__breadcrumb a {
  color: #5c7187;
  text-decoration: none;
}
.activity-v2__breadcrumb a:hover,
.activity-v2__breadcrumb a:focus {
  text-decoration: underline;
}
.activity-v2__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid #e1eaf2;
}
.activity-v2__eyebrow {
  margin: 0 0 7px;
  color: #1261ba;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.activity-v2__heading h1 {
  margin: 0;
  color: #102b50;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.activity-v2__subtitle {
  margin: 11px 0 0;
  color: #536b83;
  font-size: 18px;
  line-height: 1.45;
}
.activity-v2__contact {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid #d7e5f4;
  border-radius: 9px;
  background: #f7fbff;
}
.activity-v2__contact-icon {
  display: flex;
  color: #0f4f9d;
}
.activity-v2__contact-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.activity-v2__contact strong {
  display: block;
  color: #18375f;
  font-size: 14px;
  line-height: 1.3;
}
.activity-v2__contact p {
  margin: 4px 0 10px;
  color: #5f7184;
  font-size: 12px;
  line-height: 1.45;
}
.activity-v2__contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 5px 12px;
  border-radius: 6px;
  background: #1267cf;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.activity-v2__intro {
  max-width: none;
  margin: 0;
  padding-top: 20px;
  border-top: 0;
  color: #293f55;
  font-size: 16px;
  line-height: 1.62;
}
.activity-v2__intro p {
  max-width: 1120px;
  margin: 0 0 10px;
}
.activity-v2__intro p:last-child {
  margin-bottom: 0;
}
.activity-v2__section {
  margin-top: 52px;
}
.activity-v2__section > h2,
.activity-v2__section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #132f55;
  font-size: 21px;
  line-height: 1.3;
}
.activity-v2__section-icon {
  display: inline-flex;
  color: #0e69d4;
}
.activity-v2__section-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.activity-v2__section--essentials {
  padding: 18px 20px 19px;
  border: 1px solid #dbe8f4;
  border-radius: 9px;
  background: #f5faff;
}
.activity-v2__essentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.activity-v2__essential {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 6px 18px;
  border-right: 1px solid #d9e4ef;
}
.activity-v2__essential:first-child {
  padding-left: 0;
}
.activity-v2__essential:last-child {
  padding-right: 0;
  border-right: 0;
}
.activity-v2__essential-icon {
  display: flex;
  color: #0e69d4;
}
.activity-v2__essential-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.activity-v2__essential h3,
.activity-v2__steps h3 {
  margin: 0 0 5px;
  color: #173556;
  font-size: 14px;
  line-height: 1.35;
}
.activity-v2__essential p,
.activity-v2__steps p {
  margin: 0;
  color: #52677b;
  font-size: 13px;
  line-height: 1.5;
}
.activity-v2__section--intervention {
  padding-bottom: 20px;
  border-bottom: 1px solid #e2eaf2;
}
.activity-v2__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.activity-v2__steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 3px 18px;
  border-right: 1px solid #dde6ef;
}
.activity-v2__steps li:first-child {
  padding-left: 0;
}
.activity-v2__steps li:last-child {
  padding-right: 0;
  border-right: 0;
}
.activity-v2__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #1269d4;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.activity-v2__text-blocks {
  margin-top: 52px;
}
.activity-v2__text-block {
  max-width: 980px;
  margin: 0 0 26px;
}
.activity-v2__text-block h2 {
  margin: 0 0 12px;
  color: #173556;
  font-size: 21px;
}
.activity-v2__text-subtitle {
  margin: -5px 0 12px;
  color: #697b8c;
}
.activity-v2__richtext {
  color: #30485e;
  line-height: 1.72;
}
.activity-v2__richtext p {
  margin: 0 0 12px;
}
.activity-v2__richtext h2,
.activity-v2__richtext h3,
.activity-v2__richtext h4 {
  margin: 22px 0 9px;
  color: #173556;
}
.activity-v2__text-block--encadre,
.activity-v2__text-block--mise_en_avant {
  padding: 18px 20px;
  border: 1px solid #dce7f1;
  border-radius: 8px;
  background: #f8fbfd;
}
.activity-v2__section--links {
  text-align: center;
}
.activity-v2__section--links > h2 {
  justify-content: center;
}
.activity-v2__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  max-width: 1180px;
  margin: 0 auto;
}
.activity-v2__tags a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid #d4e0eb;
  border-radius: 999px;
  background: #fff;
  color: #365b79;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.activity-v2__tags a:hover,
.activity-v2__tags a:focus {
  border-color: #9ebbd2;
  background: #f3f8fc;
  color: #0e5ca8;
}
.activity-v2__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}
.activity-v2__section-head h2 {
  margin-bottom: 0;
}
.activity-v2__more-link {
  color: #1261ba;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.activity-v2__realisations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.activity-v2__realisation {
  min-width: 0;
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.activity-v2__realisation > a {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.activity-v2__realisation-media {
  width: 112px;
  height: 92px;
  background: #eef3f6;
  overflow: hidden;
}
.activity-v2__realisation-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.activity-v2__realisation-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.activity-v2__realisation-body {
  padding: 11px 12px;
}
.activity-v2__realisation h3 {
  margin: 0;
  color: #173556;
  font-size: 13px;
  line-height: 1.35;
}
.activity-v2__realisation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 9px;
  color: #6a7d90;
  font-size: 11px;
}
/* Pages secteur / famille : styles minimum dédiés, sortis du bundle public global. */
.public-activity-page {
  color: #263b4b;
  font-size: 16px;
  line-height: 1.7;
}
.public-activity-page .wrap_default {
  width: min(1600px,calc(100% - 48px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
.public-page-hero {
  text-align: center;
  background: linear-gradient(180deg, #f5f9fc 0%, #fff 100%);
  border-bottom: 1px solid #edf2f6;
}
.public-page-hero > .wrap_default {
  padding-top: 42px;
  padding-bottom: 44px;
}
.public-page-hero__eyebrow {
  margin: 0 0 12px;
  color: #0f5eac;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.public-page-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #173b5e;
  font-size: 34px;
  line-height: 1.2;
}
.public-page-hero h1 + p {
  max-width: 760px;
  margin: 16px auto 0;
  color: #5a7182;
}
.public-list-page {
  padding-top: 48px;
  padding-bottom: 58px;
}
.public-list-page__intro {
  max-width: 820px;
  margin: 0 auto 36px;
  color: #4b6375;
  text-align: center;
}
.public-family-links {
  margin: 0 auto 32px;
  text-align: center;
}
.public-family-links__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.public-family-links__items a {
  display: inline-flex;
  padding: 6px 11px;
  border: 1px solid #d8e3ec;
  border-radius: 999px;
  color: #42627b;
  text-decoration: none;
  font-size: 13px;
}
.public-list-page__crosslink {
  margin-top: 34px;
  text-align: center;
}
.public-list-page__crosslink a {
  color: #0f5e9e;
  text-decoration: none;
  font-weight: 700;
}
.public-list-page__sector-nav {
  margin-top: 36px;
}
.public-related-section {
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid #e0e8ee;
}
.public-related-section__head {
  margin-bottom: 20px;
  text-align: center;
}
.public-related-section__head h2 {
  margin: 0;
  color: #173b5e;
  font-size: 22px;
}
.public-related-section__head span {
  display: block;
  margin-top: 7px;
  color: #6d7f8d;
  font-size: 13px;
}
.public-realisation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 900px) {
  .activity-v2__hero {
    grid-template-columns: 1fr 285px;
    gap: 28px;
  }
  .activity-v2__essentials,
  .activity-v2__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
  .activity-v2__essential:nth-child(2n),
  .activity-v2__steps li:nth-child(2n) {
    border-right: 0;
  }
  .activity-v2__essential:nth-child(3),
  .activity-v2__steps li:nth-child(3) {
    padding-left: 0;
  }
  .activity-v2__realisations {
    grid-template-columns: 1fr;
  }
  .public-realisation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .activity-v2__wrap,
  .public-activity-page .wrap_default {
    width: calc(100% - 28px);
  }
  .activity-v2__wrap {
    padding-top: 16px;
    padding-bottom: 42px;
  }
  .activity-v2__breadcrumb {
    margin-bottom: 14px;
    font-size: 12px;
  }
  .activity-v2__hero {
    display: block;
    margin-bottom: 0;
    padding-bottom: 18px;
  }
  .activity-v2__heading h1 {
    font-size: 29px;
  }
  .activity-v2__subtitle {
    font-size: 16px;
  }
  .activity-v2__contact {
    margin-top: 18px;
  }
  .activity-v2__intro {
    padding-top: 18px;
    font-size: 15px;
  }
  .activity-v2__section {
    margin-top: 38px;
  }
  .activity-v2__section--essentials {
    padding: 15px;
  }
  .activity-v2__essentials,
  .activity-v2__steps {
    grid-template-columns: 1fr;
  }
  .activity-v2__essential,
  .activity-v2__essential:first-child,
  .activity-v2__essential:last-child,
  .activity-v2__steps li,
  .activity-v2__steps li:first-child,
  .activity-v2__steps li:last-child {
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid #dfe8f0;
  }
  .activity-v2__essential:last-child,
  .activity-v2__steps li:last-child {
    border-bottom: 0;
  }
  .activity-v2__section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .activity-v2__realisation > a {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .activity-v2__realisation-media {
    width: 92px;
    height: 82px;
  }
  .public-page-hero > .wrap_default {
    padding-top: 32px;
    padding-bottom: 34px;
  }
  .public-page-hero h1 {
    font-size: 27px;
  }
  .public-list-page {
    padding-top: 38px;
    padding-bottom: 46px;
  }
  .public-realisation-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   Ajustements visuels validés après recette — 02/10/2026
   - largeur mieux exploitée sur grand écran
   - séparation du hero sur toute la largeur
   - respiration verticale accrue entre les blocs
   ========================================================================== */
@media (min-width: 1200px) {
  .activity-v2__essentials,
  .activity-v2__steps {
    column-gap: 0;
  }
  .activity-v2__section--essentials {
    padding-top: 21px;
    padding-bottom: 22px;
  }
  .activity-v2__section--intervention {
    padding-bottom: 26px;
  }
}
