
.sector__hero {
  padding: 32px 24px;
  overflow: hidden;
  background-color: #FDE1CE;
}

.sector__hero-inner {
  display: flex;
  gap: 16px;
}

/* ---- Texte ---- */

.sector__hero-text {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin-left: auto;
}

.sector__hero-title {
}

.sector__hero-title strong,
.sector__hero-title .highlight {
  color: #ff6b35;
}

.sector__hero-title em {
  font-style: italic;
  font-weight: 700;
}

.sector__hero-title h1 {
  font-size: 2.8rem;
  margin-bottom: 0;
}

.sector__hero-subtitle {
  font-family: var(--font-fraunces);
}

.text__content > h3 {
  margin: 0;
  line-height: normal;
}

.sector__hero-subtitle a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #1a1a5e;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #1a1a5e;
  text-decoration: none;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.sector__hero-subtitle a::after {
  content: '↗';
  font-size: 0.7rem;
}

.sector__hero-subtitle a:hover {
  background: #1a1a5e;
  color: #fff;
}


/* ---- Image ---- */

/* Mobile : image masquée */

.sector__hero-image {
  display: none;
}


/* ==================================================
   À partir de 650px
================================================== */

@media (min-width: 650px) {

  .sector__hero {
    background-color: unset;
  }

  .sector__hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
  }

  .sector__hero-image::before {
    content: '';
    position: absolute;
    inset: 0 0 0 -280px;
    border-radius: 20px;
    background-color: #FDE1CE;
    width: 668px;
    height: 604px;
    z-index: -1;
    top: -4px;
    left: -365px;
  }

  .sector__hero-image picture,
  .sector__hero-image img,
  .sector__hero-image svg {
    width: 782px;
    height: auto;
    display: block;
  }
}


/* ==================================================
   Desktop
================================================== */

@media (min-width: 900px) {

  .sector__hero {
    padding: 56px 48px 96px 48px;
  }

  .sector__hero-inner {
    grid-template-columns: 806px minmax(0, 600px);
    align-items: center;
    gap: unset;
  }

  .sector__hero-title h1 {
    font-size: 3rem;
  }

  .sector__hero-image::before {
    width: 560px;
    height: 520px;
    left: -280px;
    top: -130px;
  }
}

@media (min-width: 1150px) {
  .sector__hero-image::before {
    width: 560px;
    height: 520px;
    left: -365px;
    top: -100px;
  }
}

@media (min-width: 1200px) {
  .sector__hero-title h1 {
    font-size: 4rem;
  }
}

@media (min-width: 1400px) {
  .sector__hero-image::before {
    width: 560px;
    height: 520px;
    left: -365px;
    top: -60px;
  }
}

@media (min-width: 1600px) {
  .sector__hero-image::before {
    width: 620px;
    height: 525px;
    left: -365px;
    top: -40px;
  }
}


/* ==================================================
   Layout
================================================== */

.layout--twocol {
  align-items: center;
}


/* ==================================================
   Tags
================================================== */

.sector__hero-service-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media screen and (min-width: 999px) {
  .sector__hero-service-tags {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
}

.service-sector-wrapper__tag {
  color: var(--Primary-Dark, #001E6C);
  font-family: "Albert Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 125%;
  padding: 10px 15px;
  background-color: white;
  border-radius: 36px;
  border: 1px solid;
  position: relative;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: fit-content;
}

.service-sector-wrapper__tag:hover {
  cursor: default;
}

@media screen and (min-width: 1000px) {
  .service-sector-wrapper__tag {
    font-size: 20px;
    padding: 15px 20px;
  }
}


/* ==================================================
   Override for sector node
================================================== */

.sector__content h2 {
  margin-bottom: 0;
  font-size: var(--stylized-title-l);
}

h2:has(> span.title-xl):not(:has(> *:not(.title-xl))) {
  line-height: 0;
  margin: 0;
}
