@font-face{
  font-family:"Louis George Cafe";
  src:url("../fonts/LouisGeorgeCafe-Regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Louis George Cafe";
  src:url("../fonts/LouisGeorgeCafe-Bold.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}



:root{
  --or:#CAAE84;
  --bleu:#152B46;
  --beige:#E3DBCF;

  --titre:"Asul", serif;
  --texte:"Poppins", sans-serif;

  --pad:56px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html, body{ height:100%; }

body.page-about{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:var(--beige);
  color:var(--bleu);
  font-family:var(--texte);
}

body.page-about .about{
  flex:1;
  display:flex;
  padding:20px 0 0;
}

.about__grid{
  flex:1;
  margin:0 auto;
  padding:0 var(--pad);

  display:grid;
  grid-template-columns: 1.05fr .95fr;
  column-gap:70px;
  align-items:stretch;
}

.about__title{
  font-family:var(--titre);
  color:var(--or);
  font-size:64px;
  letter-spacing:.02em;
  margin-top:6px;
  white-space:nowrap;
}

.about__subtitle{
  font-size:24px;
  letter-spacing:.12em;
  font-weight:600;
  margin-top:8px;
  font-family:var(--titre);
}

.about__left{
  display:flex;
  flex-direction:column;
  min-height:0;
}

.about__leftContent{
  position:relative;
  flex:1;
  margin-top:18px;
  min-height:520px;
}

.portrait{
  --pw: clamp(260px, 25vw, 350px);

  position:absolute;
  left:0;
  bottom:0;

  width:var(--pw);
  transform: translateX(calc(-1 * var(--pad)));
  margin:0;
}

.portrait img{
  width:100%;
  height:auto;
  display:block;
}

.portrait .traits{
  position:absolute;
  top: 160px;
  left: calc(100% - 8px);
  display:flex;
  flex-direction:column;
  gap:22px;
}

.portrait .trait{
  display:flex;
  align-items:center;
  justify-content:center;

  width: min(230px, calc(100vw - var(--pw) - (2 * var(--pad)) - 24px));
  height:50px;
  border-radius:999px;

  background:var(--or);
  color:var(--bleu);

  font-weight:600;
  font-size:16px;
  letter-spacing:.06em;
  text-align:center;
}

.portrait .trait:nth-child(1){ transform: translateX(18px); }
.portrait .trait:nth-child(2){ transform: translateX(-8px); }
.portrait .trait:nth-child(3){ transform: translateX(10px); }

.about__right{
  padding-top:8px;
}

.parcours__title{
  font-family:var(--titre);
  color:var(--bleu);
  font-size:24px;
  font-weight:700;
  letter-spacing:.08em;
  margin-top:18px;
  margin-bottom:14px;
}

.timelineCard{
  background:rgba(202,174,132,.25);
  border-radius:12px;

  padding:22px 24px;
  width:100%;
  max-width:750px;

  display:flex;
  justify-content:center;
}

.timeline{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:26px;
  max-width:100%;
}

.timeline__line{
  position:absolute;
  left:260px;
  top:12px;
  bottom:12px;
  width:3px;
  background:var(--bleu);
  border-radius:999px;
}

.timeline__row{
  display:grid;
  grid-template-columns: 240px 40px 1fr;
  align-items:center;
  min-height:72px;
}

.timeline__date{
  font-size:24px;
  font-weight:600;
  letter-spacing:.06em;
  color:var(--or);
  text-transform:uppercase;
  font-family:var(--titre);
  line-height:1.05;
}

.timeline__dot{
  width:12px;
  height:12px;
  background:var(--bleu);
  border-radius:50%;
  justify-self:center;
}

.timeline__item{
  background:var(--or);
  color:var(--bleu);
  border-radius:999px;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;

  padding:12px 18px;
  font-size:16px;
  font-weight:600;
  line-height:1.2;

  width:360px;
  max-width:360px;
}

.timeline__item strong{ font-weight:700; }

.timeline__small{
  font-weight:400;
  opacity:1;
}

.page-about .about,
.page-about .about__grid,
.page-about .about__leftContent{
  position: relative;
  z-index: 1;
}


@media (max-width: 1450px){
  :root{ --pad:40px; }

  .about__grid{ column-gap:50px; }

  .portrait{ --pw: clamp(240px, 23vw, 320px); }
  .portrait .traits{ top:150px; gap:18px; }
  .portrait .trait{ height:46px; font-size:15px; }

  .timelineCard{
    max-width:680px;
    overflow:hidden;
  }

  .timeline{ width:100%; max-width:100%; }

  .timeline__row{
    grid-template-columns: 230px 34px minmax(0, 1fr);
    min-height:68px;
  }

  .timeline__line{ left:248px; }

  .timeline__item{
    width:100%;
    max-width:100%;
    justify-self:stretch;
  }
}

@media (max-width: 1300px){
  :root{ --pad:28px; }

  .about__grid{ column-gap:38px; }

  .about__title{ font-size:58px; }

  .portrait{ --pw: clamp(230px, 24vw, 320px); }
  .portrait .traits{ top:142px; }
  .portrait .trait{ height:44px; font-size:14px; }

  .timelineCard{
    max-width:620px;
    overflow:hidden;
  }

  .timeline{ width:100%; max-width:100%; }

  .timeline__row{
    grid-template-columns: 215px 32px minmax(0, 1fr);
    min-height:66px;
  }

  .timeline__line{ left:232px; }

  .timeline__item{
    width:100%;
    max-width:100%;
    justify-self:stretch;
  }
}

@media (max-width: 1200px){
  :root{ --pad:18px; }

  .about__grid{ column-gap:26px; }

  .about__title{ font-size:52px; }
  .about__subtitle{ font-size:22px; }

  .portrait{ --pw: clamp(240px, 28vw, 320px); }

  .portrait .traits{ top:138px; gap:14px; }
  .portrait .trait{ height:42px; font-size:13px; }

  .timelineCard{
    max-width:560px;
    padding:18px 18px;
    overflow:hidden;
  }

  .timeline{ width:100%; max-width:100%; gap:18px; }

  .timeline__row{
    grid-template-columns: 190px 30px minmax(0, 1fr);
    min-height:62px;
  }

  .timeline__line{ left:205px; }

  .timeline__date{ font-size:22px; }

  .timeline__item{
    width:100%;
    max-width:100%;
    font-size:15px;
    justify-self:stretch;
  }
}


@media (max-width: 1000px){

  :root{ --pad:18px; }

  .about__grid{
    grid-template-columns:1fr;
    padding:0 var(--pad);
  }

  .about__leftContent{
    min-height:520px;
    margin-bottom:0;
    padding-bottom:0;
  }

  .portrait{
    position:absolute;
    left:0;
    bottom:0;
    transform: translateX(calc(-1 * var(--pad)));
    width: clamp(260px, 34vw, 340px);
    --pw: clamp(260px, 34vw, 340px);
  }

  .portrait .traits{
    position:absolute;
    top: 170px;
    left: calc(100% - 8px);
    gap:18px;
  }

  .portrait .trait{
    width: min(230px, calc(100vw - var(--pw) - (2 * var(--pad)) - 24px));
    height:46px;
    font-size:15px;
  }

  .timelineCard{
    max-width:620px;
    margin:0 auto;
    justify-content:center;
    overflow:hidden;
    margin-bottom: 30px;
  }

  .timeline{
    width:100%;
    max-width:560px;
    margin:0 auto;
  }

  .timeline__row{
    grid-template-columns: 210px 32px minmax(0, 1fr);
  }

  .timeline__line{ left:225px; }

  .timeline__item{
    width:100%;
    max-width:100%;
    justify-self:stretch;
  }

  .about__right{
    padding-top:0;
  }

  .parcours__title{
    background: var(--bleu);
    color: var(--or);

    width: calc(100% + (2 * var(--pad)));
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));

    padding:16px var(--pad);
    margin-top:0;
    margin-bottom:24px;

    font-size:22px;
    letter-spacing:.08em;
  }
}

@media (max-width: 900px){

  :root{ --pad:18px; }

  .about__grid{
    grid-template-columns:1fr;
    padding:0 var(--pad);
  }

  .about__title{ white-space:normal; }

  .about__leftContent{
    min-height:460px;
    margin-bottom:0;
    padding-bottom:0;
  }

  .portrait{
    position:absolute;
    left:0;
    bottom:0;
    transform: translateX(calc(-1 * var(--pad)));
    width: clamp(240px, 60vw, 300px);
    --pw: clamp(240px, 60vw, 300px);
  }

  .portrait .traits{
    position:absolute;
    top: 140px;
    left: calc(100% - 10px);
    gap:14px;
  }

  .portrait .trait{
    width: min(180px, calc(100vw - var(--pw) - (2 * var(--pad)) - 18px));
    height:38px;
    font-size:14px;
  }

  .portrait .trait:nth-child(1){ transform: translateX(10px); padding: 18px 57px; }
  .portrait .trait:nth-child(2){ transform: translateX(-6px); padding: 18px 57px; }
  .portrait .trait:nth-child(3){ transform: translateX(6px);  padding: 18px 57px; }

  .about__right{
    padding-top:0;
  }

  .timelineCard{
    max-width:100%;
    margin:0 auto;
    padding:18px 16px;
    justify-content:center;
    overflow:hidden;
    margin-bottom: 30px;
  }

  .timeline{
    width:100%;
    max-width:520px;
    margin:0 auto;
    gap:16px;
    position: relative;
    align-items: center;
  }

  .timeline__line{ display:none; }
  .timeline__dot{ display:none; }

  .timeline__row{
    grid-template-columns:1fr;
    gap:10px;
    justify-items:center;
    text-align:center;
    min-height:auto;
  }

  .timeline__item{
    width:100%;
    max-width:360px;
  }

  .parcours__title{
    background: var(--bleu);
    color: var(--or);

    width: calc(100% + (2 * var(--pad)));
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));

    font-size:20px;
    padding:14px var(--pad);
    margin-top:0;
    margin-bottom:20px;
    letter-spacing:.08em;
  }

    .page-about .portrait,
  .page-about .portrait img,
  .page-about .portrait .traits{
    pointer-events: none;
  }
}

@media (max-width: 420px){

  :root{ --pad:18px; }

  .about__grid{
    grid-template-columns:1fr;
    padding:0 var(--pad);
  }

  .about__title{
    white-space:normal;
    font-size:34px;
    line-height:1.05;
    text-align:center;
  }

  .about__subtitle{
    font-size:14px;
    letter-spacing:.10em;
    text-align:center;
    margin-top:10px;
  }

  .about__leftContent{
    position:relative;
    margin-top:-10px;
    padding-bottom:0;
    margin-bottom:0;
  }

  .portrait{
    position:absolute;
    left:0;
    bottom:0;
    transform: translateX(calc(-1 * var(--pad)));
    width: 270px;
    --pw: 270px;
  }

  .traits{
    position:absolute;
    left: 62%;
    top: 245px;
    transform: translateX(-50%);
    display:flex;
    flex-direction:column;
    gap:14px;
    align-items:center;
  }

  .trait{
    width: 190px;
    height: 40px;
    font-size:12px;
    letter-spacing:.08em;
  }

  .trait:nth-child(1),
  .trait:nth-child(2),
  .trait:nth-child(3){
    transform:none;
  }

  .about__right{ padding-top:0; }

  .parcours__title{
    background: var(--bleu);
    color: var(--or);

    width: calc(100% + (2 * var(--pad)));
    margin-left: calc(-1 * var(--pad));
    margin-right: calc(-1 * var(--pad));

    padding:14px var(--pad);
    margin-top:0;
    margin-bottom:20px;

    font-size:20px;
    letter-spacing:.08em;
  }
}

@media (max-width: 360px){

  :root{ --pad:14px; }

  .about__title{ font-size:32px; }
  .about__subtitle{ font-size:13px; }

  .portrait{
    width: 255px;
    --pw: 255px;
    transform: translateX(calc(-1 * var(--pad)));
  }

  .traits{
    left: 64%;
    top: 240px;
  }

  .trait{
    width: 175px;
    height: 38px;
    font-size:11px;
  }

  .parcours__title{
    padding:14px var(--pad);
    font-size:19px;
  }
}

