/* V4.1 owner-approved finishing pass. Keep these overrides narrow and reversible. */

/* The six pillars are labels, not six competing cards. */
.start-page .v32-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 22px;
  margin: 14px 0;
}

.start-page .v32-pillar-grid > span {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  position: static;
  isolation: auto;
  z-index: auto;
  place-items: unset;
  align-content: normal;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #314c5c;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  text-shadow: none;
}

.start-page .v32-pillar-grid > span::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-inline-end: 8px;
  border-radius: 50%;
  background: #0d9aa1;
  box-shadow: 0 0 0 3px rgba(13, 154, 161, .13);
}

.start-page .v32-pillar-grid > span::after {
  content: none;
  display: none;
}

.start-page .v32-pillar-grid > span img {
  display: none !important;
}

.start-page .v32-pillar-grid > span b {
  position: static;
  z-index: auto;
  color: inherit;
  font: inherit;
}

/* The approved live platform stays intact; only restore contrast and width. */
.start-page .v41-platform {
  color: #071927;
}

.start-page .v41-platform .section-heading {
  max-width: 1240px;
}

.start-page .v41-platform .section-heading h2,
.start-page .v41-platform .v41-platform-outcomes h3 {
  color: #071927;
  text-shadow: none;
}

.start-page .v41-platform .section-heading > p:last-child {
  max-width: 1120px;
  color: #48616f;
}

/* Compact Bio-Signature explanation and approved tree/forest crop. */
.start-page .v41-biosignature-section {
  background: linear-gradient(180deg, #fff 0%, #f6fbfb 100%);
}

.start-page .v41-biosignature-copy {
  max-width: 78ch;
  margin: 0 auto;
  text-align: center;
}

.start-page .v41-biosignature-copy h2 {
  margin: 0 0 18px;
  color: #071927;
}

.start-page .v41-biosignature-copy > p:not(.eyebrow) {
  margin: 0 auto 18px;
  color: #48616f;
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.65;
}

.start-page .v41-biosignature-copy .inline-links {
  justify-content: center;
}

.start-page .v41-forest-figs {
  display: grid;
  grid-template-columns: 22fr 78fr;
  gap: 14px;
  align-items: stretch;
  margin-top: clamp(24px, 3vw, 38px);
}

.start-page .v41-forest-figs figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #0d1f16;
  box-shadow: 0 18px 54px rgba(6, 26, 44, .12);
}

.start-page .v41-forest-figs .v41-tree {
  display: flex;
}

.start-page .v41-forest-figs .v41-tree img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.start-page .v41-forest-figs .v41-forest img {
  display: block;
  width: 100%;
  height: auto;
}

.start-page .v41-forest-figs figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px 18px 14px;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 21, 34, .88));
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.35;
}

@media (min-width: 1100px) {
  .start-page .v41-platform .section-heading h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(38px, 3.3vw, 52px);
  }
}

@media (max-width: 760px) {
  .start-page .v32-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }

  .start-page .v32-pillar-grid > span {
    font-size: 12px;
  }

  .start-page .v41-forest-figs {
    grid-template-columns: 1fr;
  }

  .start-page .v41-forest-figs .v41-tree img {
    height: 300px;
    object-position: 50% 28%;
  }
}

@media (max-width: 380px) {
  .start-page .v32-pillar-grid {
    grid-template-columns: 1fr;
  }
}


/* Menu deroulant des diaporamas sur les accueils statiques.

   Meme forme que dans les composants Astro, pour que le menu soit identique
   d'un accueil a l'autre et d'un accueil a une sous-page. Les accueils ne
   chargent ni v38.css ni le script data-navdrop, d'ou le <details> natif :
   il ouvre et ferme sans script et se pilote au clavier. */
.h36-navdrop { position: relative; }
.h36-navdrop > summary { cursor: pointer; list-style: none; white-space: nowrap; }
.h36-navdrop > summary::-webkit-details-marker { display: none; }
.h36-navdrop > summary::marker { content: ''; }
.h36-navdrop > summary::after {
  content: '';
  display: inline-block;
  width: .42em;
  height: .42em;
  margin-inline-start: .45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.15em) rotate(45deg);
}
.h36-navdrop[open] > summary::after { transform: translateY(.1em) rotate(-135deg); }
.h36-navdrop-menu {
  position: absolute;
  inset-inline-start: 0;
  top: calc(100% + 8px);
  z-index: 40;
  display: grid;
  gap: 2px;
  min-width: 288px;
  padding: 8px;
  border: 1px solid rgba(7, 27, 45, .12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(4, 21, 34, .16);
}
.h36-navdrop-menu a {
  padding: 9px 10px;
  border-radius: 8px;
  color: #0b2a3d;
  font-size: 13.5px;
  line-height: 1.3;
  text-decoration: none;
}
.h36-navdrop-menu a small { display: block; color: #6b7f8a; font-size: 11.5px; }
.h36-navdrop-menu a:hover,
.h36-navdrop-menu a:focus-visible { background: #eef7f8; }
