:root {
  --entre-deux-pink: #fbe9e2;
  --entre-deux-orange: #EF773E;
  --entre-deux-brown: #000000C9;
  --entre-deux-page-padding: 40px;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

body,
p,
.hero-droite p,
.sur-titre,
.ligne-audit p {
  font-family: Inter;
  font-weight: 400;
}

.page {
  padding-right: var(--entre-deux-page-padding);
  padding-left: var(--entre-deux-page-padding);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  align-content: start;
  align-items: start;
  min-height: 600px;
  padding-top: 168px;
  padding-bottom: 0;
}

.hero-droite {
  display: contents;
}

.hero-droite h1 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding-bottom: 52px;
  font-size: 76px;
  font-weight: 700;
  line-height: 86px;
  letter-spacing: -3px;
}

.page:has(.vide) {
  min-height: 100dvh;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.page:has(.vide) .hero {
  flex: 0 0 540px;
  min-height: 540px;
}

.hero-gauche {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.hero-gauche .sur-titre {
  margin: 0;
  padding-bottom: 0;
}

.hero-droite p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding-bottom: 0;
  font-size: 0;
  line-height: 30px;
}

.hero-droite p::after {
  content: "Centralisez les preuves, suivez l’avancement des 32 indicateurs et gardez\A une trace claire pour chaque audit de Formation Entre-Deux.";
  display: block;
  white-space: pre-line;
  font-family: Inter;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.liste-audits {
  margin-right: calc(var(--entre-deux-page-padding) * -1);
  margin-bottom: -80px;
  margin-left: calc(var(--entre-deux-page-padding) * -1);
  padding: 120px var(--entre-deux-page-padding) 70px;
  background: var(--entre-deux-pink);
}

.entete-tableau,
.ligne-audit {
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr);
  gap: 0;
  padding-right: 30px;
  padding-left: 30px;
}

.entete-tableau {
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  border-bottom: 1px solid #262626;
}

.ligne-audit {
  min-height: 80px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #262626;
  transition: background-color .15s ease-out;
}

.ligne-audit:hover { background: rgba(255,255,255,.25); }

.ligne-audit h2,
.ligne-audit p {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 32px;
}

.ligne-audit > * { padding-right: 20px; }

.liste-audits:has(.vide) {
  display: flex;
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 40px var(--entre-deux-page-padding);
  background: var(--entre-deux-pink);
}

.liste-audits:has(.vide) .entete-tableau {
  display: none;
}

.vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 32px 24px;
  text-align: center;
  background: transparent;
  border: 0;
}

.vide h3 {
  max-width: 680px;
  margin: 0;
  font-family: Inter;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 0;
}

.vide p {
  max-width: 620px;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 30px;
}

.vide .bouton.principal {
  min-height: 48px;
  margin-top: 24px;
  padding: 14px 28px;
  color: #fff;
  font-family: Inter;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  background: var(--entre-deux-brown);
  border: 1px solid #000;
  border-radius: 10px;
}

.vide .bouton.principal:hover { background: #000; }

@media (max-width: 950px) {
  :root { --entre-deux-page-padding: 24px; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding-top: 140px;
    padding-bottom: 52px;
  }
  .hero-droite { display: contents; }
  .hero-droite h1 {
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 52px;
    font-size: 54px;
    line-height: 60px;
  }
  .hero-gauche {
    grid-column: 1;
    grid-row: 2;
    margin: 0 0 18px;
  }
  .hero-droite p {
    grid-column: 1;
    grid-row: 3;
  }
  .liste-audits:not(:has(.vide)) { padding-top: 80px; }
  .entete-tableau,
  .ligne-audit {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    padding-right: 16px;
    padding-left: 16px;
  }
  .liste-audits:has(.vide) {
    padding: 48px var(--entre-deux-page-padding);
    min-height: auto;
  }
  .page:has(.vide){min-height:0;display:block}
  .page:has(.vide) .hero{min-height:0}
  .vide {
    min-height: auto;
    padding: 40px 20px;
  }
  .vide h3 {
    font-size: 30px;
    line-height: 40px;
  }
}

@media (max-width: 600px) {
  .hero-droite h1 { font-size: 42px; line-height: 48px; }
  .liste-audits:not(:has(.vide)) { padding-top: 56px; }
  .ligne-audit { padding: 22px 10px; }
  .ligne-audit h2 { font-size: 21px; line-height: 28px; }
  .ligne-audit p { font-size: 16px; line-height: 24px; }
  .vide {
    padding: 32px 24px;
  }
  .vide h3 {
    font-size: 30px;
    line-height: 40px;
  }
}
