/* AJUSTEMENTS RAPIDES — changez les valeurs ici pour modifier les tailles. */
:root {
  --ecc-edit-text-size: 16px;
  --ecc-edit-lead-size: 18px;
  --ecc-edit-main-title: clamp(38px, 5vw, 76px);
  --ecc-edit-section-title: clamp(34px, 4.35vw, 62px);
  --ecc-edit-card-title: 20px;
  --ecc-edit-card-text: 14px;
  --ecc-edit-mandate-heading: 20px;
  --ecc-edit-mandate-number: 52px;
}

body { font-size: var(--ecc-edit-text-size); }
.homePage .hero h1,
.mandatesHero h1 { font-size: var(--ecc-edit-main-title); }
.homePage .hero .lead,
.mandatesHero .lead,
.mandateLead { font-size: var(--ecc-edit-lead-size); }
.title h2,
.mandateDetailCopy h2,
.mandatesFinalCta h2,
.unifiedCopy h2 { font-size: var(--ecc-edit-section-title); }
.mandatePickerText strong,
.mandateOverviewGrid>a>strong { font-size: var(--ecc-edit-card-title); }
.mandatePickerText small,
.mandateOverviewGrid>a>p { font-size: var(--ecc-edit-card-text); }

/* Choix des deux mandats — règles autonomes pour que l’affichage reste correct
   même si le fichier site.css de l’hébergement est ancien ou mis en cache. */
.homePage .hero .heroMandateChoice {
  display: block;
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin: 24px 0 0;
  padding: 20px;
  background: rgba(8, 34, 51, .94);
  border-top: 3px solid #18b7d1;
}
.homePage .hero .heroMandateChoice > small {
  display: block;
  color: #66daee;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
}
.homePage .hero .heroMandateChoice > b {
  display: block;
  margin: 8px 0 5px;
  color: #fff;
  font-size: var(--ecc-edit-mandate-heading);
  line-height: 1.3;
}
.homePage .hero .heroMandateChoice > p {
  display: block;
  margin: 0;
  color: #b6c8d0;
  font-size: 13px;
  line-height: 1.5;
}
.homePage .hero .mandatePickerLinks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.homePage .hero .mandatePickerLinks > a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 132px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .035);
  color: #fff;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.homePage .hero .mandatePickerLinks > a:hover {
  background: rgba(255, 255, 255, .09);
  border-color: #18b7d1;
}
.homePage .hero .mandatePickerLinks > a:focus-visible {
  outline: 2px solid #66daee;
  outline-offset: 3px;
}
.homePage .hero .mandatePickerNumber {
  display: block;
  box-sizing: border-box;
  width: 58px;
  color: #18b7d1;
  font-family: Georgia, serif;
  font-size: var(--ecc-edit-mandate-number);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  line-height: .95;
  text-align: center;
}
.homePage .hero .mandatePickerText { display: block; min-width: 0; }
.homePage .hero .mandatePickerText strong {
  display: block;
  color: #fff;
  font-size: var(--ecc-edit-card-title);
  line-height: 1.25;
}
.homePage .hero .mandatePickerText small {
  display: block;
  margin-top: 6px;
  color: #c0cdd3;
  font-size: var(--ecc-edit-card-text);
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

/* Évite de laisser « croissance. » seul sur une troisième ligne. */
@media (min-width: 761px) {
  .homePage .hero h1 > em {
    display: inline-block;
    font-size: clamp(40px, 4.6vw, 66px);
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .homePage .hero .heroMandateChoice { margin-top: 20px; padding: 16px; }
  .homePage .hero .heroMandateChoice > b { font-size: 19px; }
  .homePage .hero .mandatePickerLinks { grid-template-columns: 1fr; gap: 10px; }
  .homePage .hero .mandatePickerLinks > a {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 0;
    padding: 13px;
  }
  .homePage .hero .mandatePickerNumber { width: 50px; font-size: 46px; }
  .homePage .hero .mandatePickerText strong { font-size: 18px; }
  .homePage .hero .mandatePickerText small { font-size: 13px; }
}
