/* V3.7 - fusion de la version allegee et de l'originale, plus corrections de l'audit externe.
   Charge en dernier. */

:root { --v37-green: #0d8f96; --v37-green-light: #6fe3d6; --v37-ink: #071927; }

/* ---------- 1. HERO ---------- */
.v37-hero { padding: clamp(34px, 4vw, 62px) 0 clamp(48px, 6vw, 88px); background: #fff; }
.v37-hero .container { text-align: center; }
.v37-hero .eyebrow {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.v37-hero h1 { max-width: 100%; margin: 14px auto 0; line-height: 1.06; color: var(--v31-navy, #0b2a3d); }
.v37-hook {
  max-width: 760px; margin: 14px auto 0;
  color: #33505f; font-size: clamp(16px, 1.9vw, 21px); font-weight: 650; line-height: 1.35;
}

/* Cadre de l'image reduit, trois appels a l'action dans le bas */
.v37-figure {
  position: relative; overflow: hidden;
  width: min(100%, 1080px); margin: clamp(24px, 3vw, 40px) auto 0;
  border-radius: 24px;
}
.v37-figure img { display: block; width: 100%; height: auto; }
.v37-figure-cta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  padding: 70px 24px 24px;
  background: linear-gradient(180deg, transparent, rgba(4, 18, 30, .82));
}
.v37-figure-cta .button {
  min-width: 0;
  min-height: 50px;
  justify-content: center;
  padding: 12px 16px;
  border: 1.5px solid var(--v37-green) !important;
  background: var(--v37-green) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(3, 30, 42, .22);
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}
.v37-figure-cta .button:hover {
  border-color: #087b82 !important;
  background: #087b82 !important;
  transform: translateY(-1px);
}
.v37-note { max-width: 780px; margin: 15px auto 0; color: #8494a0; font-size: 12.5px; }
.v37-note a { color: #8494a0; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .v37-figure { border-radius: 18px; }
  .v37-figure-cta {
    gap: 6px;
    padding: 42px 8px 10px;
  }
  .v37-figure-cta .button {
    min-height: 44px;
    padding: 7px 5px;
    font-size: 9.5px;
    line-height: 1.12;
  }
}

/* ---------- 2. RYTHME ET TITRES DE SECTION ---------- */
.v37-section { padding: clamp(60px, 7vw, 116px) 0; }
.v37-alt { background: #f7fafb; }
.v37-heading { max-width: min(100%, 1120px); margin: 0 auto clamp(28px, 3.4vw, 48px); text-align: center; }
.v37-heading h2 { margin: 0; }
/* Surtitre en texte simple, sans encadre */
.v37-over {
  margin: 0 0 10px;
  color: var(--v37-green); font-size: 12px; font-weight: 900;
  letter-spacing: .14em; text-transform: uppercase;
}
.v37-over-green { color: var(--v37-green-light); }
.v37-more { margin: clamp(24px, 3vw, 38px) 0 0; text-align: center; }
.v37-more a { color: var(--v37-green); font-size: 15px; font-weight: 850; text-decoration: none; }
.v37-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Le titre Programmes restait sur deux lignes: on elargit son conteneur */
#programmes .v37-heading, #media .v37-heading, #technologie .v37-heading { max-width: min(100%, 1200px); }

/* ---------- 3. CADRAGE DES VISAGES ---------- */
/* Les cartes Longevite et Gestion du poids coupaient la tete: on descend le cadrage */
.v37-crop-low { object-position: center 22% !important; }

/* ---------- 4. MONTAGE DES DIAPORAMAS ---------- */
/* Quatre scènes lisibles par carte, choisies pour représenter chaque parcours. */
.v37-montage {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 3px; opacity: .74;
}
.v37-montage img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .v37-montage { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
}

/* ---------- 5. SECTION SCIENCE ---------- */
.v34-banner-science .v36-oneline-title { color: #fff; }
.v37-science-wrap { padding: clamp(50px, 6vw, 84px) 0; }
.v37-science-heading { margin-bottom: 24px; }
.v37-science-heading .v37-over {
  margin: 0;
  color: var(--v37-green);
  text-align: center;
}
.v37-science-wrap .v34-banner-science { border-radius: 22px; }

/* ---------- 6. MEDIAS: reprise exacte de la V3.5 ---------- */
.v36-media-band .v36-media-head { display: flex; }
