/* ============================= */
/* HERO ADHÉRER - GRHTLD */
/* ============================= */

:root {
  --bg: #F4F1EA;
  --bg-2: #ECE8DD;
  --surface: #FFFFFF;
  --ink: #14110D;
  --ink-2: #3B362D;
  --ink-3: #71695C;
  --line: #DDD6C6;

  --navy: #1F3565;
  --navy-dk: #152545;
  --gold: #D9A536;

  --serif: "Source Serif 4", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --radius-l: 4px;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* Si le parent builder existe */
.builder.adherer_hero,
.builder.hdp_adherer,
.builder.adherer-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background: var(--bg);
  color: var(--ink);
}

/* ============================= */
/* PAGE L'ASSOCIATION ID 1916 */
/* HDP BACKGROUND */
/* ============================= */

body.page-id-1916 section.builder.hdp,
body.page-id-1916 section.builder.hdp.adherer-hero,
body.page-id-1916 .adherer-hero__inner {
  background: #F4F1EA !important;
}

body.page-id-1917 section.builder.hdp_adherer {
  background: var(--bg-2) !important;
}

/* Si tu utilises directement la classe interne */
.adherer-hero__inner {
  position: relative;
  z-index: 1;
}

.builder.adherer_hero .container,
.builder.hdp_adherer .container,
.builder.adherer-hero .container,
.adherer-hero__inner .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================= */
/* BREADCRUMB */
/* ============================= */

.adherer-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
}

.adherer-hero__breadcrumb a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.adherer-hero__breadcrumb a:hover {
  border-color: var(--navy);
}

.adherer-hero__sep {
  color: var(--line);
}

/* ============================= */
/* GRID HERO */
/* ============================= */

.adherer-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 80px;
  align-items: end;
}

.adherer-hero__content {
  max-width: 820px;
}

/* ============================= */
/* LABEL */
/* ============================= */

.adherer-hero__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* ============================= */
/* TITRE */
/* ============================= */

.adherer-hero__title {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 3.3vw, 96px);
  line-height: .98;
  letter-spacing: -.04em;
  color: var(--navy);
}

.adherer-hero__title em,
.adherer-hero__title i {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

/* ============================= */
/* TEXTE INTRO */
/* ============================= */

.adherer-hero__lede {
  max-width: 780px;
  margin-top: 30px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.58;
  color: var(--ink-2);
}

.adherer-hero__lede p {
  margin: 0;
}

.adherer-hero__lede em,
.adherer-hero__lede i {
  font-style: italic;
}

/* ============================= */
/* STATS DROITE - PAGE HERO */
/* ============================= */

.adherer-hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-self: end;

  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px 32px;
}

.adherer-hero__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;

  padding: 18px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px dashed var(--line);
  border-radius: 0;
}

.adherer-hero__stat:first-child {
  padding-top: 0;
}

.adherer-hero__stat:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.adherer-hero__stat-label {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
}

.adherer-hero__stat-value {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  color: var(--navy);
  white-space: nowrap;
}

.adherer-hero__stat-value em,
.adherer-hero__stat-value i {
  font-style: italic;
  color: var(--gold);
}



/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1200px) {
  .builder.adherer_hero,
  .builder.hdp_adherer,
  .builder.adherer-hero {
    padding: 88px 0 80px;
  }

  .builder.adherer_hero .container,
  .builder.hdp_adherer .container,
  .builder.adherer-hero .container,
  .adherer-hero__inner .container {
    padding: 0 28px;
  }

  .adherer-hero__grid {
    gap: 64px;
  }
}

@media (max-width: 1024px) {
  .builder.adherer_hero,
  .builder.hdp_adherer,
  .builder.adherer-hero {
    padding: 80px 0 72px;
  }

  .builder.adherer_hero .container,
  .builder.hdp_adherer .container,
  .builder.adherer-hero .container,
  .adherer-hero__inner .container {
    padding: 0 26px;
  }

  .adherer-hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
  }

  .adherer-hero__content {
    max-width: 900px;
  }

  .adherer-hero__lede {
    max-width: 760px;
  }

  .adherer-hero__stats {
    max-width: 560px;
  }
}

@media (max-width: 700px) {
  .builder.adherer_hero,
  .builder.hdp_adherer,
  .builder.adherer-hero {
    padding: 64px 0 56px;
  }

  .builder.adherer_hero .container,
  .builder.hdp_adherer .container,
  .builder.adherer-hero .container,
  .adherer-hero__inner .container {
    padding: 0 20px;
  }

  .adherer-hero__breadcrumb {
    margin-bottom: 32px;
    font-size: 12.5px;
  }

  .adherer-hero__title {
    font-size: clamp(42px, 13vw, 64px);
  }

  .adherer-hero__lede {
    margin-top: 24px;
    font-size: 17.5px;
  }

  .adherer-hero__stat {
    padding: 16px 18px;
  }

  .adherer-hero__stat-value {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .builder.adherer_hero .container,
  .builder.hdp_adherer .container,
  .builder.adherer-hero .container,
  .adherer-hero__inner .container {
    padding: 0 16px;
  }

  .adherer-hero__stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 1024px) {
  .adherer-hero__stats {
    max-width: 560px;
    align-self: start;
  }
}

@media (max-width: 700px) {
  .adherer-hero__stats {
    padding: 22px 24px;
  }

  .adherer-hero__stat {
    padding: 16px 0;
  }

  .adherer-hero__stat-value {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .adherer-hero__stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}