@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Montserrat:wght@400;500;600;700&display=swap");
:root {
  --blue: #123b63;
  --ochre: #c68116;
  --paper: #fffdf8;
  --outer: #e7e5df;
  --line: #d9d9d2;
  --pale: #edf7fb;
  --peach: #fff0e9;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--outer);
}
body {
  margin: 0;
  color: var(--blue);
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--outer);
}
.site {
  max-width: 1500px;
  margin: auto;
  background: var(--paper);
  box-shadow: 0 0 30px rgba(20, 35, 45, 0.08);
  min-height: 100vh;
}
.hero {
  height: 530px;
  display: grid;
  grid-template-columns: 46% 54%;
  position: relative;
  overflow: hidden;
  background: #f8f3e8;
}
.hero-image {
  position: relative;
  margin-left: -120px;
  width: calc(100% + 120px);

  background-image: url("../img/hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 180px;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(90deg, #f8f3e8 0%, rgba(248, 243, 232, 0.75) 30%, rgba(248, 243, 232, 0) 100%);
}
.hero-copy {
  padding: 35px 15px 25px 80px;
  position: relative;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #f8f3e8 0%,
    #f8f3e8 74%,
    rgba(248, 243, 232, 0.88) 86%,
    rgba(248, 243, 232, 0) 100%
  );
  margin-right: -110px;
}
.hero-copy i,
.hero-copy b {
  display: block;
  width: 70px;
  height: 2px;
  background: var(--ochre);
  margin: 0 0 16px;
}
.hero-copy b {
  margin: 12px 0;
}
h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  margin: 0;
  color: var(--blue);
}
h1 {
  font-size: 56px;
  line-height: 0.99;
  letter-spacing: -2px;
  margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--ochre);
}
.hero p {
  font-size: 17px;
  line-height: 1.35;
  max-width: 560px;
  margin: 0 0 12px;
}
.hero strong {
  display: block;
  color: var(--ochre);
  font-size: 17px;
  max-width: 570px;
}
main {
  padding: 0 80px 45px;
}
.row {
  display: grid;
  grid-template-columns: 62% 38%;
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 85px;
}
h2:before {
  content: "";
  position: absolute;
  width: 55px;
  height: 2px;
  background: var(--ochre);
  left: 0;
  top: 20px;
}
.copy p {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 11px;
  max-width: 760px;
}
.copy strong {
  color: var(--ochre);
}
aside {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}
.round,
.bubble,
.mini {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pale);
  color: var(--blue);
  font-family: Georgia, serif;
}
.round {
  width: 105px;
  height: 105px;
  font-size: 47px;
}
.sideText {
  border-left: 2px solid var(--ochre);
  padding: 18px 0 18px 30px;
  font-size: 18px;
  line-height: 1.35;
  min-width: 235px;
}
.share,
.not {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line);
}
.share h2,
.not h2 {
  margin-bottom: 20px;
}
.activities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.activities > div {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.activities > div:last-child {
  border: 0;
}
.bubble {
  width: 82px;
  height: 82px;
  margin: 0 auto 9px;
  font-size: 37px;
}
.bubble.warm {
  background: #fff0df;
}
.activities p {
  font-size: 15px;
  line-height: 1.25;
  margin: 0;
}
.notgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr 1fr 1.5fr;
  gap: 18px;
}
.notgrid p {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
}
.notgrid i {
  font-style: normal;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--peach);
  display: grid;
  place-items: center;
  font-size: 26px;
}
.founders {
  border-bottom: 0;
}
.cta {
  margin: 0 -50px 30px;
  padding: 24px 50px;
  display: grid;
  grid-template-columns: 240px 1fr 350px;
  gap: 28px;
  align-items: center;
  background: linear-gradient(90deg, #edf8fd, #e4f3fa);
  border-radius: 14px;
}
.cta h2 {
  margin: 0;
  font-size: 43px;
}
.cta-copy {
  font-size: 14px;
  line-height: 1.45;
  border-left: 2px solid var(--ochre);
  padding-left: 28px;
}
.cta-action {
  text-align: center;
}
.cta a {
  display: block;
  background: var(--ochre);
  color: white;
  text-decoration: none;
  padding: 17px 20px;
  border-radius: 7px;
  font-size: 16px;
}
.cta small {
  display: block;
  font-size: 11px;
  margin-top: 8px;
}
.after {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
}
.after h2 {
  font-size: 43px;
}
.steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.step {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mini {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  font-size: 25px;
}
.step p {
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}
.steps > span {
  font-size: 31px;
  color: var(--ochre);
}
@media (max-width: 900px) {
  .site {
    width: 100%;
  }
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .hero-image {
    order: -1;

    /* sort l'image des marges du conteneur */
    width: 100vw;
    height: 320px;

    margin-left: calc(50% - 50vw);

    background-image: url("../img/hero.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .hero-copy {
    width: 100%;
    margin: 0;
    padding: 35px 24px;
    background: #f8f3e8;
  }

  h1 {
    font-size: 45px;
  }
  main {
    padding: 0 24px 35px;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  h2 {
    font-size: 31px;
    padding-left: 58px;
  }
  h2:before {
    width: 38px;
    top: 17px;
  }
  aside {
    justify-content: flex-start;
  }
  .activities {
    grid-template-columns: 1fr 1fr;
  }
  .activities > div {
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px;
  }
  .activities > div:last-child {
    grid-column: 1/-1;
  }
  .notgrid {
    grid-template-columns: 1fr 1fr;
  }
  .cta {
    margin: 0;
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cta h2 {
    font-size: 38px;
  }
  .cta-copy {
    border-left: 0;
    padding: 0;
  }
  .after {
    grid-template-columns: 1fr;
  }
  .steps {
    display: grid;
    grid-template-columns: 1fr;
  }
  .steps > span {
    display: none;
  }
  .sideText {
    font-size: 15px;
  }
  .round {
    width: 85px;
    height: 85px;
  }
}
@media (max-width: 520px) {
  h1 {
    font-size: 39px;
  }
  .hero-image {
    height: 250px;
  }
  .notgrid,
  .activities {
    grid-template-columns: 1fr;
  }
  .activities > div:last-child {
    grid-column: auto;
  }
  aside {
    gap: 18px;
  }
  .sideText {
    min-width: 0;
    padding-left: 18px;
  }
}

/* --- Pictogrammes bitmap --- */
.bitmap {
  overflow: hidden;
  padding: 0;
  background: #edf7fb;
  box-shadow: 0 3px 12px rgba(18, 59, 99, 0.08);
}
.bitmap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.round.bitmap {
  border: 5px solid #edf7fb;
}
.bubble.bitmap {
  border: 4px solid #edf7fb;
}
.bubble.bitmap.warm {
  border-color: #fff0df;
}
.mini.bitmap {
  border: 4px solid #edf7fb;
}
.notgrid .notpic {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  padding: 0;
  overflow: visible;
  background: transparent;
  border-radius: 50%;
}
.notgrid .notpic img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}
.notgrid .notpic b {
  position: absolute;
  right: -2px;
  bottom: -1px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e72d43;
  color: #fff;
  font:
    700 18px/1 Arial,
    sans-serif;
  font-style: normal;
  box-shadow: 0 0 0 3px var(--paper);
}

/* =========================================================
   Sections "Ce que ce n'est pas" + "Et après ?" — maquette V2
   ========================================================= */
.not {
  padding: 34px 0 42px;
  border-bottom: 1px solid var(--line);
}
.not h2 {
  margin-bottom: 12px;
}
.section-lead,
.after-lead {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.45;
}
.notgrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.notitem {
  min-width: 0;
  text-align: center;
  padding: 4px 22px 10px;
  border-right: 1px solid var(--line);
}
.notitem:last-child {
  border-right: 0;
}
.notitem .notpic {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 14px;
  border-radius: 0;
  background: var(--peach);
  overflow: visible;
  box-shadow: none;
}
.notitem .notpic img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}
.notitem .notpic b {
  position: absolute;
  right: -4px;
  bottom: 4px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ef2944;
  color: #fff;
  font:
    700 24px/1 Arial,
    sans-serif;
  box-shadow: 0 0 0 4px var(--paper);
}
.notitem strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
}

/* Parcours en 3 étapes */
.after {
  display: block;
  padding: 36px 0 12px;
}
.after h2 {
  margin-bottom: 12px;
  font-size: 43px;
}
.after-lead {
  margin-bottom: 28px;
}
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr) 54px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.steps > .step {
  min-width: 0;
  width: auto;
}
.step {
  position: relative;
  display: block;
  height: 100%;
  padding: 66px 30px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, #edf8fd 0%, #f5fbfd 100%);
}
.step-number {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d9f1fb;
  color: var(--blue);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 30px;
}
.step-visual {
  width: 130px;
  height: 130px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--peach);
}
.step-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.step h3 {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
}
.step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}
.step-arrow {
  display: block;
  color: var(--ochre);
  text-align: center;
  font-size: 46px;
  font-weight: 300;
}

/* Responsive des deux nouvelles sections */
@media (max-width: 900px) {
  .notgrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .notitem {
    display: grid;
    grid-template-columns: 76px 1fr;
    align-items: center;
    gap: 18px;
    min-height: 82px;
    padding: 8px 18px;
    text-align: left;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(90deg, #fff2ec, #fff8f4);
  }
  .notitem .notpic {
    width: 68px;
    height: 68px;
    margin: 0;
  }
  .notitem .notpic b {
    width: 26px;
    height: 26px;
    right: -3px;
    bottom: 0;
    font-size: 18px;
    box-shadow: 0 0 0 3px #fff6f1;
  }
  .notitem strong {
    font-size: 14px;
    line-height: 1.3;
  }

  .after {
    padding-top: 34px;
  }
  .after h2 {
    font-size: 38px;
  }
  .after-lead br {
    display: none;
  }
  .steps {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-left: 0;
  }
  .steps::before {
    content: "";
    position: absolute;
    left: 29px;
    top: 34px;
    bottom: 42px;
    width: 2px;
    background: var(--ochre);
    opacity: 0.8;
  }
  .step {
    display: grid;
    grid-template-columns: 60px 76px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    min-height: 116px;
    padding: 12px 0;
    background: transparent;
    border-radius: 0;
  }
  .step-number {
    position: relative;
    z-index: 2;
    top: auto;
    left: auto;
    transform: none;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    width: 58px;
    height: 58px;
    background: #d9f1fb;
    border: 4px solid var(--paper);
    font-size: 24px;
  }
  .step-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 72px;
    height: 72px;
    margin: 0;
    align-self: start;
  }
  .step h3 {
    grid-column: 3;
    grid-row: 1;
    margin: 2px 0 3px;
    text-align: left;
    font-size: 17px;
  }
  .step p {
    grid-column: 3;
    grid-row: 2;
    font-size: 13px;
    line-height: 1.35;
  }
  .step-arrow {
    display: none;
  }
}

@media (max-width: 520px) {
  .not {
    padding-top: 28px;
  }
  .section-lead,
  .after-lead {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .notitem {
    grid-template-columns: 66px 1fr;
    gap: 14px;
    min-height: 74px;
    padding: 6px 12px;
  }
  .notitem .notpic {
    width: 60px;
    height: 60px;
  }
  .step {
    grid-template-columns: 52px 64px 1fr;
    column-gap: 10px;
    min-height: 110px;
  }
  .steps::before {
    left: 25px;
  }
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 21px;
  }
  .step-visual {
    width: 60px;
    height: 60px;
  }
  .step h3 {
    font-size: 15px;
  }
  .step p {
    font-size: 12px;
  }
}
.section-note,
.after-conclusion {
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--blue);
}

.section-note {
  max-width: 850px;
  font-style: italic;
}

.after-conclusion {
  max-width: 950px;
  margin-top: 30px;
}

.after-conclusion strong {
  color: var(--ochre);
}
