/* GECCA review 2026-09-09: desktop navigation and service-section decoration. */
@media (min-width: 992px) {
  body .container-header .gecca-mobile-toggle { display: none !important; }
}
body.itemid-101 .main-bottom:has(#mod-custom111) {
  position: relative;
  isolation: isolate;
}
body.itemid-101 .main-bottom:has(#mod-custom111)::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset-block: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  background: url("/images/hp/vague-bleu-clair-orange.svg") left top / auto no-repeat;
}

/* Formation: preserve the production background's native size and content gutter. */
body.itemid-101 .container-component > .moduletable:has(#mod-custom113) {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: url("/images/hp/vagues-et-photo-groupe-de-personnes-en-formation.webp") left top / auto no-repeat;
}
body.itemid-101 #mod-custom113 {
  box-sizing: border-box !important;
  width: 90% !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 723px 0 54px !important;
  background: none !important;
}
@media (max-width: 767px) {
  body.itemid-101 #mod-custom113 {
    width: 85% !important;
    padding-top: 54px !important;
  }
  body.itemid-101 #mod-custom113 > div,
  body.itemid-101 #mod-custom113 > div > div,
  body.itemid-101 #mod-custom113 p {
    width: 100% !important;
    margin-left: 0 !important;
  }
  body.itemid-101 #mod-custom113 h2 {
    width: 100% !important;
    font-size: 69px !important;
    line-height: 71.07px !important;
    margin: 0 0 9px !important;
    padding: 0 0 12.66px !important;
  }
  body.itemid-101 #mod-custom113 p {
    font-size: 18px !important;
    line-height: normal !important;
    margin: 0 0 15px !important;
  }
  body.itemid-101 #mod-custom113 .btn {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 8.44px 7.8px !important;
    font-size: 18px !important;
    line-height: 27px !important;
  }
}
@media (max-width: 767px) {
  body.itemid-101 #mod-custom113 h2,
  body.itemid-101 #mod-custom113 p,
  body.itemid-101 #mod-custom113 > div,
  body.itemid-101 #mod-custom113 > div > div {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    position: static !important;
    transform: none !important;
  }
  body.itemid-101 #mod-custom113 .btn {
    height: auto !important;
    min-height: 0 !important;
    border: 1px solid #000 !important;
    font-weight: 400 !important;
  }
}

/* Lower homepage: quote backgrounds, fluid news cards, footer columns. */
body.itemid-101 .container-component > .moduletable:has(#mod-custom114) {
  width: 100% !important; margin: 0 !important; height: auto !important;
  background: url("/images/hp/devis-haut.webp") left top / auto no-repeat,
              url("/images/hp/devis-bas.webp") left bottom / auto no-repeat;
}
body.itemid-101 #mod-custom114 {
  width: 90% !important; margin: 0 auto !important; height: auto !important;
  background: none !important;
}
body.itemid-101 .container-component { height: auto !important; }
body.itemid-101 .container-component > .gecca-collection-110 {
  width: 90% !important; height: auto !important; margin: 0 auto !important;
}
body.itemid-101 .gecca-news-grid {
  width: 106% !important; max-width: none !important; margin: 9px -3% 0 !important;
  padding: 0 !important; grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 0 !important; height: auto !important;
}
body.itemid-101 .gecca-news-card {
  width: auto !important; min-width: 0 !important; height: auto !important;
  padding: 5px 12% !important; margin: 0 0 30px !important;
}
body.itemid-101 .gecca-news-card img { width: 100% !important; height: auto !important; }
@media (min-width: 992px) {
  body.itemid-101 .site-grid > .container-bottom-a {
    padding: 281.5px 0 30px 6.8vw !important; gap: 1.727vw !important;
    align-items: flex-start !important;
  }
  body.itemid-101 .container-bottom-a > .bottom-a:first-child {
    flex: 0 0 20.065vw !important; width: 20.065vw !important;
  }
  body.itemid-101 .container-bottom-a > .bottom-a:nth-child(2) {
    flex: 1 1 0 !important; width: auto !important;
  }
  body.itemid-101 .site-grid > .container-bottom-b {
    padding: 281.5px 6.8vw 30px 0 !important; align-items: flex-start !important;
  }
  body.itemid-101 #mod-custom149 img { width: 100% !important; max-width: 269px !important; height: auto !important; }
}
@media (max-width: 767px) {
  body.itemid-101 .gecca-news-grid { grid-template-columns: 1fr !important; width: 100% !important; margin-inline: 0 !important; }
  body.itemid-101 .gecca-news-card { padding-inline: 0 !important; }
}
body.itemid-101 #mod-custom151,
body.itemid-101 #mod-custom151 > div,
body.itemid-101 #mod-custom149 > div,
body.itemid-101 #menuFooter {
  width: 100% !important; max-width: 100% !important;
}
body.itemid-101 .container-bottom-b > .moduletable { width: 100% !important; min-width: 0; }
body.itemid-101 #menuFooter { font-size: 16.2px !important; }
body.itemid-101 #menuFooter > li { width: auto !important; white-space: normal !important; }
body.itemid-101 #menuFooter > li { height: auto !important; min-height: 24px; }
body.itemid-101 #menuFooter a,
body.itemid-101 #menuFooter .nav-header { font-size: 16.2px !important; line-height: 24.3px !important; }
body.itemid-101 .gecca-news-card > a:first-child { height: auto !important; }
body.itemid-101 #mod-custom151 p { height: auto !important; }

/* 2026-09-10 visual verification: quote contrast and unclipped news text. */
body.itemid-101 .container-component > .moduletable:has(#mod-custom114) {
  background-color: #4da1f5 !important;
  background-position: center top, center bottom !important;
}
body.itemid-101 .gecca-news-card h3,
body.itemid-101 .gecca-news-card p {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
@media (max-width: 991px) {
  body.itemid-101 .site-grid > .container-bottom-a,
  body.itemid-101 .site-grid > .container-bottom-b {
    height: auto !important;
    min-height: 0 !important;
  }
  body.itemid-101 .site-grid > .container-bottom-a { padding-bottom: 32px !important; }
  body.itemid-101 .site-grid > .container-bottom-b { padding-top: 16px !important; }
}
