/* ============================= */
/* ADHÉSION TEST - GRHTLD */
/* ============================= */

:root {
  --bg: #F4F1EA;
  --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;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ============================= */
/* SECTION PARENTE WORDPRESS */
/* ============================= */

.builder.adhesion,
.builder.adhesion_test {
  background: #1F3565;
  color: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 110px 0;
}

/* Motif décoratif en haut à droite */
.builder.adhesion::before,
.builder.adhesion_test::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 18px,
    rgba(217, 165, 54, .10) 18px 22px
  );
  pointer-events: none;
}

.adhesion__inner {
  position: relative;
  z-index: 1;
}

.builder.adhesion .container,
.builder.adhesion_test .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================= */
/* HEADER */
/* ============================= */

.adhesion__header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.adhesion__surtitre {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.adhesion__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--bg);
}

.adhesion__title em,
.adhesion__title i {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.adhesion__intro {
  max-width: 420px;
  padding-bottom: 8px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  color: rgba(244, 241, 234, .78);
}

.adhesion__intro p {
  margin: 0;
}

/* ============================= */
/* GRID PRINCIPALE */
/* ============================= */

.adhesion__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* ============================= */
/* BLOC GAUCHE */
/* ============================= */

.adhesion__left-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 300;
  color: var(--bg);
}

.adhesion__left-title em,
.adhesion__left-title i {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.adhesion__left-text {
  margin-top: 28px;
  max-width: 520px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: rgba(244, 241, 234, .78);
}

.adhesion__left-text p {
  margin: 0;
}

/* ============================= */
/* BOUTONS */
/* ============================= */

.adhesion__actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.adhesion__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background .25s var(--ease),
    color .25s var(--ease),
    transform .15s var(--ease),
    border-color .25s;
}

.adhesion__btn:hover {
  transform: translateY(-1px);
}

.adhesion__btn--primary {
  background: var(--bg);
  color: var(--navy-dk);
  border-color: var(--bg);
}

.adhesion__btn--primary:hover {
  background: var(--gold);
  color: var(--navy-dk);
  border-color: var(--gold);
}

.adhesion__btn--secondary {
  background: transparent;
  color: var(--bg);
  border-color: rgba(244, 241, 234, .4);
}

.adhesion__btn--secondary:hover {
  background: var(--bg);
  color: var(--navy-dk);
  border-color: var(--bg);
}

/* ============================= */
/* AVANTAGES */
/* ============================= */

.adhesion__advantages {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(244, 241, 234, .14);
}

.adhesion__advantage {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid rgba(244, 241, 234, .14);
}

.adhesion__advantage-number {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}

.adhesion__advantage-title {
  margin: 0 0 6px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: 0;
  line-height: 1.3;
}

.adhesion__advantage-text {
  max-width: 480px;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(244, 241, 234, .7);
}

.adhesion__advantage-text p {
  margin: 0;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1200px) {
  .builder.adhesion,
  .builder.adhesion_test {
    padding: 96px 0;
  }

  .builder.adhesion .container,
  .builder.adhesion_test .container {
    padding: 0 28px;
  }
}

@media (max-width: 1024px) {
  .builder.adhesion,
  .builder.adhesion_test {
    padding: 84px 0;
  }

  .builder.adhesion .container,
  .builder.adhesion_test .container {
    padding: 0 26px;
  }

  .adhesion__header {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .adhesion__intro {
    max-width: 560px;
    padding-bottom: 0;
  }

  .adhesion__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 880px) {
  .builder.adhesion,
  .builder.adhesion_test {
    padding: 72px 0;
  }

  .adhesion__advantage {
    grid-template-columns: 50px 1fr 32px;
    gap: 16px;
    padding: 22px 0;
  }

  .adhesion__advantage-number {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .builder.adhesion,
  .builder.adhesion_test {
    padding: 56px 0;
  }

  .builder.adhesion .container,
  .builder.adhesion_test .container {
    padding: 0 20px;
  }

  .adhesion__header {
    margin-bottom: 40px;
    gap: 16px;
  }

  .adhesion__title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .adhesion__grid {
    gap: 36px;
  }

  .adhesion__left-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .adhesion__left-text {
    font-size: 16px;
  }

  .adhesion__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .adhesion__actions .adhesion__btn {
    justify-content: center;
  }

  .adhesion__advantage {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .adhesion__advantage-number {
    font-size: 24px;
  }

  .adhesion__advantage-title {
    font-size: 16px;
  }

  .adhesion__advantage-text {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .builder.adhesion .container,
  .builder.adhesion_test .container {
    padding: 0 16px;
  }
}