@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(fonts/source-serif-4-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url(fonts/source-serif-4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url(fonts/source-sans-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


*{
  box-sizing: border-box;
}
:root{
  /* orange */
  --action-color: #FF7811;
  --secondary-0: #1B4A5E;
  --secondary-1: #6C83E2;
  --secondary-2: #c0caf2;
  --light-color: #F8F7F4;

  --op-action-color:#FF781177;
  --op-secondary-0: #1B4A5E33;
  --op-secondary-1: #6C83E277;
  --op-secondary-2: #c0caf233;
  --op-light-color: #F8F7F433;

}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body{
  font-family: 'Source Sans 3', sans-serif;
  margin: 0;
  /* padding-top: 24px; */
  background: var(--light-color);
  display: grid;
}

img{
  display: block;
  max-width: 100%;
  height: auto;
}

figure{
  margin: 0;
  padding: 0;
}

a{
  color:currentColor;
}

em{
  font-style: italic;
  font-weight: 400;
  font-family: 'Source Serif 4',serif;
}

hr{
  border: 0;
  border-top: 1px dotted var(--action-color);
  margin: 24px 0;
}

.sticky{
  position: fixed;
  top:0;
  width:100%;
  background: var(--light-color);
  z-index: 1000;
  box-shadow: 0 0 16px rgba(0,0,0,0.2);
  transform: translateZ(0);
  will-change: transform;
}


.header h1{
   margin: 0;
  }
  @media (min-width:1200px){
    .header h1{
      width:384px;
     }
   
  }
.header h1 a{
  text-decoration: none;
  display: block;
}

.header{
  padding:0 24px;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;

}

@media (min-width:1200px){
  .header{
    grid-template-columns: max-content auto;
  }
}

.header .header-nav{
  display:none;
  height:72px;
}

.header .burger{
  display: block;
  width: 48px;
  height: 48px;
  border:0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

@media (min-width:1200px){
  .header .header-nav{
    display:block;
  }
  .header .burger{
    display:none;
  }
}

.header .progress{
  width:1px;
  position: relative;
  top:69px;
  transform: scale(0,1);
  height:4px;
  background-color: var(--action-color);
}

.header ul{
  /* transform: translate(0px,-11px); */
  display:grid;
  margin: 0;
  padding: 0;
  height: 72px;
  /* grid-template-columns: max-content max-content max-content max-content 1fr max-content; */
  /* grid-template-columns: max-content max-content max-content max-content max-content max-content; */
  /* gap:48px; */
  grid-auto-flow: column;
  justify-content: space-between;
  align-items: center;
}
.header ul li{
  list-style: none;
  margin: 0;
}
.header a{
  text-decoration: none;
  color: black;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.nav-premium a{
  color:var(--action-color);
}
/*********************/

.nav-mobile{
  min-height: 100vh;
  width:100%;
  position: fixed;
  top:72px;
  background: var(--light-color);
  z-index: 999;
  transform: translate(100%,0);
}
.nav-mobile ul{
  display: grid;
  margin: 0;
  padding: 0;
  /* gap:24px; */
  padding:24px;
}
.nav-mobile ul li{
  list-style: none;
  margin: 0;

}
.nav-mobile a{
  display: block;
  text-decoration: none;
  color: var(--secondary-0);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(22px,5vw,2em);
  border-bottom: 1px solid var(--op-secondary-0);
  padding:24px 0;
}

@media (min-width:1200px){
  .nav-mobile{
    display:none;
  }
}


/*********************/
.hero{
  margin-top: 71px;
  display: grid;
  background-color: #0e252f;
  justify-items: center;
  align-items: center;
  font-kerning: none;
  /* opacity: 0; */
  overflow: hidden;
}

.hero>*{
  opacity: 0;
  width:100%;
  grid-column: 1/-1;
  grid-row: 1/-1;
}

.hero .informations{
  max-width: 1400px;
  padding-bottom: 48px;
  padding-left: 24px;
  padding-right: 24px;
  display: grid;
  align-content: space-between;
  height:70%;
  /* aspect-ratio: 1308 / 688; */
  max-height: 600px;
  overflow: hidden;
}

@media (min-width:1280px){
  .hero .informations{
    padding-left: 408px;
  }
}

.svg-animation{
  height:100%;
  min-height: 500px;
  overflow: hidden;
}

.hero svg, .hero img{
  display: block;
  width: 100%;
  height:100%;
  object-fit: cover;
}

.hero .intro{
  color:#fff;
  font-size: clamp(16px, 2vw,1.5em) ; /* limit between 16px and 20px */
  text-transform: uppercase;
  max-width: 480px;
  margin: 0;
}
.hero .message{
  color:#fff;
  font-family: "Source Serif 4",serif;
  font-size: clamp(22px, 4vw,3em);
  line-height: 1.1;
  margin: 0;

}
.hero .message strong{
  font-weight: 800;
  font-size: clamp(16px, 4vw,1.5em);
  font-style: italic;
}

.hero .button-cta{
  text-transform: uppercase;
  width: clamp(48px,5vw,128px);
  height: clamp(48px,5vw,128px);
  line-height: clamp(48px,5vw,128px);
  font-size: clamp(32px,2vw,64px);
  text-align: center;
  /* border:1px solid #fff; */
  color:#fff;
  text-decoration: none;
  background: var(--action-color);
  border-radius: 50%;
  display: block;
  margin-top: 12px;
} 
.hero .button-cta:hover{
  background: #fff;
  color: var(--action-color);
}

/* .hero .button-cta::after{
  content:' ⟶';
  font-size: 1.2em;
  display: inline-block;
  transform: translateY(-3px);
  margin:0 8px;
} */

.hero strong .word{
  margin-right: 0.125em;
}

.char{
  /* border: 1px solid #000; */
  transform: rotate3d(0, 0, 0, 0deg);
}


._nappe{
  background-color: #000; /*var(--light-color);*/
  background-image: url('logo-aje-0.svg'), url('logo-aje-0.svg');
  /* background-repeat: repeat,repeat; */
  background-position: 50% 50%,calc(50% - 21px) calc(50% - 35px);
  /* background-size: 44px 72px, 44px 72px; */

}

.nappe {
  background-color: var(--light-color);
  background-image: 
      radial-gradient(circle at 50% 40%,rgba(255,255,255,1) 20%,rgba(255,255,255,0) 90%),
      radial-gradient(circle at 20% 30%, 
          var(--op-action-color) 0%, 
          transparent 80%
      ),
      radial-gradient(circle at 80% 20%, 
          var(--op-secondary-1) 0%, 
          transparent 55%
      ),
      radial-gradient(circle at 10% 90%, 
          var(--op-secondary-2) 0%, 
          transparent 30%
      ),
      radial-gradient(circle at 50% 70%, 
          var(--op-light-color) 0%, 
          transparent 25%
      );
      /* url('logo-aje-0.svg'), 
      url('logo-aje-0.svg'); */

  /* background-repeat: repeat,repeat; */
  background-position: 50% 50%,50% 50%,50% 50%,50% 50%,50% 50%,calc(50% - 21px) calc(50% - 35px);
  /* background-size:100% 100%,100% 100%,100% 100%,100% 100%, 44px 72px, 44px 72px; */
}


.expertise{
  min-height: 100vh; 
  display: grid;
  grid-template-columns: 0px 1fr;
  z-index: 999;
  overflow: hidden;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px;
  align-content: start;
  color:var(--secondary-0)
}

@media (min-width:960px){
  .expertise{
    grid-template-columns: 384px 1fr;
  }
}


.expertise .title{
  grid-column: 2;
  margin: 0;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.expertise .intro{
  grid-column: 2;
  margin: 0;
  font-family: "Source Serif 4",serif;
  font-size: 2em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.expertise .intro strong{
  font-weight: 800;
  font-size: 1.5em;
  font-style: italic;
}

/* FICHES */
.fiches{
  grid-column: 1/-1;
  display: grid;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
  /* height:100%; */
  position: relative;
}

@media (min-width:960px){
  .fiches{
    padding: 24px;
    padding-bottom: 96px;
  }
}


.count{
  position: absolute;
  top:45%;
  left:0;
  gap:16px;
  display: none;
}

@media (min-width:960px){
  .count{
    display: grid;
  }
}

.count b {
  display:block;
  width:24px;
  height: 24px;

}


.count b i{
  width:16px;
  height: 16px;
  border-radius: 50%;
  background: var(--secondary-0);
  display: block;
  transition: background 0.3s;
}
.count b:hover i{
  background: var(--action-color);
}

.fiche{
  background-color: rgba(255,255,255,0.2);
}

@media (min-width:960px){
  .fiche{
    grid-column: 1/-1;
    grid-area: 1/-1;
    background-color: transparent;
  }
    
  .fiche-1{background-color:var(--secondary-1) ;}
  .fiche-2{background-color:var(--secondary-0) ;}
  .fiche-3{background-color:var(--action-color) ;}
  .fiche-4{background-color:var(--secondary-1) ;}
  .fiche-5{background-color:var(--secondary-0) ;}
}

._fiche{
  border-radius: 8px;
  display: grid;
  font-family: "Source Serif 4",serif;
  box-shadow: 0 0 24px rgba(0,0,0,0.1);
  align-content: center;
  padding:24px;
  font-size: 1rem;
}

@media (min-width:960px){
  ._fiche{
    color:#fff;

    width: 800px;
    height:500px;
    padding:48px 48px 96px;
    text-align: center;
    font-size: 3em;

  }
}



._fiche h3{
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 21px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
@media (min-width:960px){
  ._fiche h3{
    font-size: 32px;
    margin-bottom: 24px;
  }
  ._fiche h3::after{
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: #fff;
    opacity: 0.5;
    margin: 24px auto;
  }
}
._fiche p{
  font-size: 16px;
  margin: 0;
}

@media (min-width:960px){
  ._fiche p{
   font-size: 24px;
  }
}


/* equipe */
.equipe-section{
  background-color: var(--secondary-2);
  color:var(--secondary-0);
  display: grid;
  z-index: 98;

  align-items: start;
  overflow-x: hidden;
}
.equipe-section>*{
  grid-column: 1/-1;
  grid-row: 1/-1;
  height:100%;
}

.equipe-animation{
  overflow-x: hidden;
}

.equipe-section svg{
  display: block;
  opacity: 0.2;
  width:auto;
  height: 100%;
  
}
.equipe{
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px;
}
@media (min-width:960px){
  .equipe{
    padding: 48px 24px;
    padding-left: 408px;
  }
}


.equipe h2{
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 24px;
  letter-spacing: 1px;
  grid-column: 1/-1;
}

.equipe .intro{
  grid-column: 1/-1;
  margin: 0;
  font-family: "Source Serif 4",serif;
  font-size: clamp(21px,5vw,2em);
  line-height: 1.1;
}
.equipe .intro strong{
  font-weight: 800;
  font-size: clamp(21px,5vw,1.5em);
  font-style: italic;
}

@media (min-width:360px) and (max-width: 960px){
  .equipe .intro{
    line-height: 1.5;
  }
  .equipe .intro br{
    display: none;
  }
}

.equipe p{
  font-size: clamp(1rem,4vw,1.3rem);
  margin: 0;
}

@media (min-width:960px){
  .equipe p{
    max-width: 400px;
  }
}

.equipe-portraits{
  display: grid;
  gap: 24px; 
  grid-template-columns: repeat(auto-fit,200px);
  justify-items: center; 
  justify-content: center;
  text-align: center;
  z-index: 999;
  padding: 24px;
  padding-bottom: 96px;
}



@media (min-width:960px){
  .equipe-portraits{
    margin-left:-384px;
    grid-template-columns: repeat(3,250px);
  }
}


@media (min-width:1400px){
  .equipe-portraits{
    grid-template-columns: repeat(5,1fr);
  }
}



.equipe-portraits img{
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(0,0,0,0.1);
  margin-bottom: 24px;
  border:14px solid transparent;

  transition: border 0.3s;
}

/* .equipe-portraits figure{
  pointer-events: none;
} */

.equipe-portraits figure:hover img{
  border:14px solid rgba(255, 255, 255, 0.4);
}

.equipe figcaption{
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  background-color: transparent;
  padding: 6px 8px;
  border-radius: 6px;
  display: inline-block;
  /* letter-spacing: 1px; */
  transition: background-color 0.3s;
}
.equipe figure:hover figcaption{
  background-color:#fff;
  /* color: var(--light-color); */
}

.equipe figcaption em{
  font-family: 'Source Serif 4', sans-serif;
  font-weight: 400;
  font-style: italic;
}

.card-container {
  perspective: 1000px;
  /* width: 100%;
  height:0;
  padding-top: 100% ;  */
}

.card {
  display:grid;
  -webkit-tap-highlight-color: transparent;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  cursor: pointer;
}

.card.flipped {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  grid-column: 1/-1;
  grid-row: 1/-1;
  backface-visibility: hidden;
  align-items: center;
  justify-content: center;
}

.card-back {
  transform: rotateY(180deg);
}

.email {
  display: grid;
  align-items: start;
  justify-items: center;
  align-content: center;
  gap:6px;
  font-size: 15px;
  color: #fff;
  width:100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  padding: 20px;
  background-color: hsl(198, 55%, 14%);
  text-align: center;
  /* display: inline-block; */
  /* transform: scale(1.15); */
}
.email .plus{
  /* background-color: var(--action-color); */
  color: #fff;
  /* border-radius: 4px; */
  padding:4px 8px;
  /* width: 24px; */
  /* height: 24px; */
  text-align: center;
  /* font-size: 20px; */
  transition: all 0.3s;
}
.email .plus:hover{
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.email a{
  color: #fff;
  text-decoration: none;
  /* padding:12px; */
}
.email a:hover{
  text-decoration: underline;
}

.equipe-portraits .more{
  justify-self: stretch;

}
.equipe-portraits .more-a{
  display: block;
  width:100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  background-image: url('data.svg');
  transform: scale(0.7);
  /* opacity: 0.5; */
  margin-bottom: 24px;
  border: 14px solid transparent;
}


.equipe-portraits .more-a:hover{
  background-color: rgba(255, 255, 255, 0.4);
  /* opacity: 1; */
}

/* equipe full */


.equipe-section.page-team{
  background-color: var(--light-color);
  background-image: 
      radial-gradient(circle at 50% 30%,rgba(255,255,255,1) 40%,rgba(255,255,255,0) 90%),
      radial-gradient(circle at 20% 30%, 
          var(--op-action-color) 0%, 
          transparent 80%
      ),
      radial-gradient(circle at 60% 20%, 
          var(--op-secondary-2) 0%, 
          transparent 55%
      ),
      radial-gradient(circle at 90% 70%, 
          var(--op-secondary-1) 0%, 
          transparent 30%
      ),
      radial-gradient(circle at 50% 50%, 
          var(--op-light-color) 0%, 
          transparent 35%
      );
      /* url('logo-aje-0.svg'), 
      url('logo-aje-0.svg'); */

  /* background-repeat: repeat,repeat; */
  background-position: 50% 50%,50% 50%,50% 50%,50% 50%,50% 50%,calc(50% - 21px) calc(50% - 35px);
  background-size: 100vw 100vh,100vw 100vh,100vw 100vh,100vw 100vh,100vw 100vh,100vw 100vh,100vw 100vh;
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed;

  padding-top: 72px;
}

.page-team .AJE-cest{
  margin-bottom: 72px;
}

.post-linkedin.post-linkedin.post-linkedin a{
  text-decoration: none;
  color: var(--secondary-0);
  font-size: clamp(1rem,4vw,1.3rem);
  font-family: 'Source Sans 3', sans-serif;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap:16px;
  margin-top: 12px;
  margin-bottom: 24px;
}
.equipe-portraits.full .post-linkedin a svg{
  opacity: 1;
}
.post-linkedin.post-linkedin.post-linkedin a svg{
  opacity: 1;
}

.equipe-portraits.full{
  grid-template-columns: 1fr;
  text-align: left;
  justify-content: flex-start;
  align-items: start;
  justify-items: start;
  gap: 48px 24px;  
  padding: 0;

}

@media (min-width:960px){
  .equipe-portraits.full{

  }
}

@media (max-width:959px){
  .equipe-portraits.full .portrait{
    border-width: 1px;
  }
  .equipe-portraits.full figcaption{
    display: none;
  }
}

.equipe-portraits.full figure{
  /* align-items: center; */
  display: none;
  justify-items: center;
}
.equipe-portraits.full p{
  max-width: 600px;
  margin-bottom: 1.5em;
}
.equipe-portraits.full ul,
.equipe-portraits.full li{
  font-size: clamp(1rem,4vw,1.3rem);
  margin: 0;
  padding: 0;
}
.equipe-portraits.full ul{
  margin-bottom: 1.5rem;
  padding-left: 3em;
}


@media (min-width:960px){
  .equipe-portraits.full{
    margin-left:-191px;
    grid-template-columns:1fr 3fr;
  }
  .equipe-portraits.full figure{
    display: grid;
  }
}
img.portrait-mobile{
  display: inline-block;
  width:64px;
  height:64px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(0,0,0,0.1);
  border: 1px solid transparent;
  transition: border 0.3s;
  margin: 0;
  grid-row: span 2;
}

@media (min-width:960px){
  img.portrait-mobile{
    display: none;
  }
}

.post-bio{
  padding: 8px;
  margin-bottom: 48px;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 16px rgba(0,0,0,0.1);
  border-radius: 4px;
  border-top: 4px solid var(--action-color);
}

.post-bio h3{
  font-family: 'Source Sans 3', sans-serif;
  display: grid;
  grid-template-columns: 64px auto;
  gap:0 12px;
  align-items: center;
  font-weight: 800;
  font-size: clamp(18px, 5vw, 32px);
  margin: 0;
  max-width: 600px;
  margin-bottom: 1em;
  letter-spacing: 1px;
}
.post-bio h3 span{
  font-family: "Source Serif 4",serif;
  letter-spacing: 0;
  font-size: 1em;
  font-weight: 500;
  font-style: italic;
}

@media (min-width:960px){
  .post-bio  {
    padding:24px;
    margin-bottom: 48px;
  }
  .post-bio h3 {
    display: block;
  }
}

.post-bio .post-email{
  font-size: clamp(1rem,4vw,1.3rem);
  color: var(--secondary-0);
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  margin-bottom: 12px;
  background-color: var(--action-color);
  color:#fff;
  padding: 12px 24px;
  border-radius: 4px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s;
}

.post-bio .post-email:hover{
  background-color: var(--secondary-0);
  color: #fff;
}

.post-bio .post-email a{
  text-decoration: none;
}

/* formations */


.formations-section{
  background-color: var(--secondary-0);
  background-image: url(/assets/img/formations-bg.jpg);
  background-size: cover ;
  color:var(--light-color);
  display: grid;
  padding: 24px;
  gap:24px;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

@media (min-width:960px){
  .formations-section{
    grid-template-columns: repeat(auto-fit, 408px);
  }
}

.formations{
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 24px;
}

.formations.page-formation{
  padding: 48px 0;
}


.formations .title{
  grid-column: 1/-1;
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.formations .intro{
  grid-column: 1/-1;
  margin: 0;
  font-family: "Source Serif 4",serif;
  font-size: 2em;
  line-height: 1.1;
}
.formations .intro strong{
  font-weight: 800;
  font-size: 1.5em;
  font-style: italic;
}

.formations p{
  font-size: 1.3em;
  margin: 0;
  max-width: 400px;
}

.formations.page-formation p{
  font-size: 1.3em;
  margin: 0;
  max-width: 900px;
}

.body-formations .post-content a[href$=".pdf"] {
    background-color: var(--action-color);
    color:#fff!important;
    font-weight: 400!important;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 96px;
}

/* premium */
.premium{
  color:white;
  display: grid;
  grid-template-columns: 1fr;
  gap:24px;
  align-items: start;
  justify-content: stretch;
  justify-items: stretch;
  padding:24px 32px 48px 32px;
  border-radius: 24px;
  /* margin-top: 296px; */
}

@media (min-width:960px){
  .premium{
    background-color: #292d3f9c;
  }
}

.premium .title{
  grid-column: 1/-1;
  margin: 0;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color:#FF7811;
}

.premium .intro{
  grid-column: 1/-1;
  margin: 0;
  font-family: "Source Serif 4",serif;
  font-size: 2em;
  line-height: 1.1;
}
.premium .intro strong{
  font-weight: 800;
  font-size: 1.5em;
  font-style: italic;
}

.premium p{
  font-size: 1.3em;
  margin: 0;
  max-width: 400px;
}

.formations-section .cta{
  color:#292D3F;
  text-transform: uppercase;
  text-decoration: none;
  background: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 24px;
  justify-self: start;
}


/*********/
/* Presse */
/*********/

.presse-section{
  width: 100%;
  padding: 48px 24px;
  background-image: url('/assets/svg/aje-actualites.svg');
  background-size: cover;
  min-height: 90vh;
 
}

.presse-section.single{
  background-image: url('/assets/svg/aje-actualites-single.svg');
}

.presse-section.single .actualites>*{
  opacity:0;
}

.post-date{
  font-weight: 250;
}

.presse-section.archives{
  background-size:  auto 100vh;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
@media (aspect-ratio > 1.9){
  .presse-section.archives{
    background-size:  100vw auto;
  }
}

.presse{
  max-width: 1400px;
  margin: 0 auto;
  color:var(--secondary-0);
  display: grid;
  gap: 24px;
}

.presse br.adjustement{
  display: none;
}

@media (min-width:960px){
  .presse{
    padding-left: 408px;
  }
  .presse br.adjustement{
    display: block;
  }  
}


.presse h2{
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.presse .intro{
  margin: 0;
  font-family: "Source Serif 4",serif;
  font-size: 2em;
  line-height: 1.1;
  max-width: 100%;
}

.presse .intro strong{
  font-weight: 800;
  font-style: italic;
}

@media (min-width:960px){
  .presse .intro strong{
     font-size: 1.5em;
  }
}

.presse p{
  font-size: 1.3em;
  margin: 0;
  max-width: 400px;
}

.actualites{
  max-width: 1400px;
  margin: 0 auto;
  /* margin-left: 384px; */
  display: grid;
  gap: 24px;
  /* grid-template-columns: repeat(auto-fit,320px); */
  /* justify-items: center; */
  align-items: stretch;
  margin-top: 24px;
}

@media (min-width:960px){
  .actualites{
    margin-top: 96px;
    grid-template-columns: repeat(3,1fr);
    padding-left: 384px;
  }
}

.actualites .post-title{
  font-family: 'Source Serif 4', serif;
  font-weight: 390;
  font-size: 1.7rem;
  color: var(--action-color);
}

.single .post h1.post-title-formation{
  font-family: "Source Sans 3", sans-serif;
  font-weight: 360;

  font-size: 2.5em;
  margin: 0;
  margin-bottom: 24px;
  letter-spacing: 1px;
  color: var(--action-color);
}

.actualite{
  color:#1B4A5E;
  padding:16px;
  background-color: var(--secondary-2);
  grid-column: 1/-1;
}


@media (min-width:1280px){
  .actualite{
    grid-column: auto;
  }
}

 .actualite:nth-child(2n){
  background-color: hsl(26, 100%, 89%);
 }

 .actualite h3{
  font-family: "Source Serif 4",serif;
  font-style: italic;
  margin: 0;
  text-wrap: balance;
 }

 .actualites .cta{
  color:var(--secondary-0);
  text-transform: uppercase;
  text-decoration: none;
  background: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  border: 1px solid var(--secondary-0);
  display: inline-block;
  margin-top: 24px;
  justify-self: start;
 }

/* FORMATIONS */
.page-formations{
  max-width: 800px;
  margin: 24px auto;
}


 /* FOOTER */


 .footer{
  /* background: linear-gradient(180deg, var(--light-color), var(--secondary-2)); */
  color: var(--secondary-0);
  background: var(--light-color);

  /* border-top: 1px solid var(--action-color); */
  box-shadow: 0 0 16px rgba(0,0,0,0.1);
  z-index: 99;
 }
 .footer-contact{
   display: grid;
   gap: 24px;
   padding: 48px 24px;
   max-width: 1400px;
   margin: 0 auto;
   align-items: start;
   justify-content: center;
   border-bottom: 1px solid var(--op-secondary-0);
  }

  @media (min-width:960px){
    .footer-contact,
    .footer-wrap{
      grid-template-columns: 360px 1fr 1fr;
    }
  }

 .footer-contact .cta{
  color:#fff;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--action-color);
  padding: 12px 24px;
  border-radius: 4px;
  width:300px;
  text-align: center;
  /* border: 1px solid #fff; */
  display: inline-block;
  justify-self: start;
 }

 .footer-wrap{
  display: grid;
  gap: 24px;
  padding: 48px 24px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
  justify-content: center;


 }

 .footer a{
  color: var(--secondary-0);
  text-decoration: none;
 }

 .footer ul{
  margin: 0;
  padding: 0;
  list-style: none;
  text-transform: uppercase;
 }
 .footer li{
  line-height: 44px;
 }

 .footer-nav{
  min-width:300px;
 }

 .footer-nav li{
  border-bottom:1px solid var(--op-secondary-0);
 }

 .cta{
  border:1px solid transparent;
  transition: all 0.3s;
 }

 .cta:hover{
  color:#F8F7F4;
  background: var(--action-color);
  border:1px solid transparent;
 }


 /* page archive */
 .archives{
  margin-top:72px;
 }
 .pagination{
  grid-column: 1/-1;
 }

 .pagination .page-numbers{
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border-radius: 4px;
  background-color: #fff;
  color: var(--secondary-0);
  text-decoration: none;
 }

 .pagination .page-numbers.current{
  background-color: var(--action-color);
  color: #fff;
 }

 .header-nav .current{
  position: relative;
 }

 .header-nav .current a::after{
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: var(--action-color);
  position: absolute;
  bottom: -25px;
  left:0;
 }

 .archives.single{
  min-height: 100vh;
 }

 .single .post{
  grid-column: 1/-1;
  color:var(--secondary-0);
  padding: 24px 48px;
  background: var(--light-color);
  box-shadow: 0 0 16px rgba(0,0,0,0.1);
 }

 .single .post h1{
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 800;
  font-size: 2.5em;
  margin: 0;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.single .post{
  font-size: 1.3em;
  line-height: 1.6;
  margin: 0;
}

.single .post .post-meta{
  margin: 48px 0 0;
  padding:24px 0;
  font-style: italic;
  font-size: 0.9em;
  border-top: 1px dotted var(--op-secondary-0);
}

.single .pagination{
  display: grid;
  grid-template-columns: auto auto;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  margin-bottom: 48px;
}

.single .post a,.single .post a *{
  color: var(--secondary-0)!important;
  font-weight: 600;
}

.single .pagination a{
  text-decoration: none;
  color: var(--secondary-0);
  padding: 8px 16px;
  border-radius: 4px;
  background-color: var(--light-color);
  box-shadow: 0 0 16px rgba(0,0,0,0.1);
}


/**** PRINT ****/

@media print {
  *{
    background: transparent !important;
    width: auto !important;
    max-width: 100% !important;
  }

  body{
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: black;
    background: white;
    overflow: visible;
  }
  .nav-mobile{
    display: none;
  }
  .post_premium .premium_cat{
    color:#000!important;
  }

  .sticky{
    position: static;
    box-shadow: none;
  }
  .header nav, .toolbar{
    display: none!important;
  }
  .footer{
    display: none;
  }
  .single .post{
    padding: 24px;
    font-size: 16px;
  }
  .single .pagination{
    display: none;
  }
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    break-after: avoid;
  }
  
  /* Éviter les veuves et orphelines */
  p {
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;

  }

  *{
    box-shadow: none!important;
  }
}


/* PREMIUM */
.body-premium-logged{
  /* background-color: var(--light-color); */
  background-color: #0e252f;
  background-image: linear-gradient(to bottom, rgba(14, 37, 47, 0.629), #0e252f), url('/assets/svg/aje-animation.svg');
  /* background-image: linear-gradient(to bottom, rgba(14, 37, 47, 0.629), #0e252f),url('/assets/svg/logo-aje-0.svg'), url('/assets/svg/logo-aje-0.svg') ; */
  background-repeat: repeat,repeat;
  background-size: 100% auto, 100vw 100vh;
  /* background-position:50% 50%, 50% 50%,calc(50% - 21px) calc(50% - 35px); */
  /* background-size: 100% auto,44px 72px, 44px 72px; */
  background-attachment: fixed;
}
.body-formations{
  background-image:  url('/assets/svg/aje-actualites-formation.svg');
  background-size: auto 100vh;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.body-premium{
  background-image: url(/assets/img/formations-bg.jpg);
  background-size: cover;
  background-position: center;
  background-color: var(--secondary-0);
}

.page-premium {
  min-height: 100vh; 
  display: grid;
  grid-template-columns: 384px 1fr;
  /* z-index: 999; */
  /* overflow: hidden; */
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 72px;
  align-content: start;
  color:var(--secondary-0);
  /* background-color: var(--light-color); */

}

.page-premium>*{
  padding:24px;
}

.page-premium .form_wrap{
  /* background-color: var(--op-action-color); */
  min-height: 100vh;
  background-color: rgba(255, 255, 255, 0.9);
}

.body-premium .page-premium>article{
  color:#fff;
  display: grid;
  align-items: center;
  justify-items: center;
  background-color: rgba(0,0,0,0.4);
  padding-bottom:20vh;
}

.page-premium label{
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.page-premium .button-primary{
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background-color: var(--action-color);
  padding: 12px 24px;
  border-radius: 4px;
  border:0;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.page-premium input{
  width: 100%;
  padding: 12px;
  border-radius: 4px;
  border: 1px solid var(--secondary-0);
  font-size: 1em;
  box-sizing: border-box;
}

.page-premium .button-primary:hover{
  background-color: var(--secondary-0);
  color: #fff;
}

.page-premium .login-remember>*{
  display: grid;
  grid-template-columns: 24px auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.page-premium article{
  font-size: 2em;
  line-height: 1.5;
  font-family: "Source Serif 4",serif;
  margin: 0;
  text-align: center;
  background-color: #fff;
  padding: 48px 24px;
}


.page-premium-logged{
  padding: 8px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: 72px;
  color:var(--secondary-0);
  /* background-color: #fff; */
}

@media (min-width:960px){
  .page-premium-logged{
    padding: 24px;
  }
}

.page-premium-logged .navigation.pagination{
  max-width: 800px;
  margin: 0 auto;
}

.post_premium{
  margin:24px auto;
  max-width: 800px;
  font-size: 1.3em;
  line-height: 1.6;
  background-color: #fff;
  padding:12px;

}

@media (min-width:960px){
  .post_premium{
    padding:24px 48px 24px;
  }
}
.post_premium p{
  font-weight: 370;
}
.post_premium strong{
  font-weight: 520;
}


.post_premium .meta-date{
  font-size: 15px;
  color:var(--secondary-0);
  font-family: 'Source Sans 3', sans-serif;
  padding: 6px 12px;
  display: inline-block;
  margin-bottom: 24px;
  border-top: 1px solid var(--op-secondary-0);
  border-bottom: 1px solid var(--op-secondary-0);
}
.post_premium .tags{
  font-size: 15px;
  color:var(--secondary-0);
  font-family: 'Source Sans 3', sans-serif;
  background-color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 24px;
}

.post_premium .tags{
  margin-right: 12px;
  color:var(--action-color)
}
.post_premium .tags a{
  font-weight: normal;
  text-decoration:none; 
}

.post_premium .premium_cat{
  font-size: 15px;
  color:#fff;
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--action-color);
  padding: 6px 12px;
  border-radius: 4px;
  border:1px solid var(--action-color);
  display: inline-block;
  margin-bottom: 24px;
}

.post_premium .edit-link{
  display: block;
}

.post_premium h1{
  font-family: 'Source Serif 4', serif;
  line-height: 1.2;
  font-weight: 400;
  font-size: clamp(18px,5vw,2em);
  margin: 0;
  margin-bottom: 24px;
  /* letter-spacing: 1px; */
  color:var(--action-color);
  text-wrap: balance;
}
.post_premium h1 a{
  text-decoration: none;
  color:var(--action-color)!important;
  font-weight: 400;
}
.post_premium h1 a::after,
.post_premium .tags a::after,
.post_premium a.more-link::after{
  display:none;
}

.post_premium a,
.post_premium a *{
  color:var(--secondary-0)!important;
  font-weight: 500;
}
.post_premium p a::after{
  content: '↓';
  font-size: 1.2em;
  font-style: normal;
  display: inline-block;
  transform: translateY(-2px);
  margin-left: 1px;
  color: var(--action-color);
}

.toolbar{
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
  align-items: center;
  font-size: clamp(0.9rem,2vw,1rem);
  box-shadow: 0 0 16px rgba(0,0,0,0.1);
}

@media (min-width:1200px){
  .toolbar{
    grid-auto-flow: column;
    height:48px; /**/
  }
}


.logout{
  padding: 3px 12px;
  display: inline-block;
  border: 0;
  color: #fff;
  line-height: 40px;
  background: var(--action-color);
  text-transform: uppercase;
  text-shadow: none;
  opacity: .9;
  font-size: 16px;
  font-size: clamp(0.9rem,2vw,1rem);
  text-decoration: none;
  text-align: center;
}
.hello{
  color:#fff;
  height:48px;
  line-height: 48px;
}

.select_form{
  font-size: clamp(0.9rem,2vw,1rem);
  display: grid;
  align-items: center;
}

@media (min-width:1200px){
  .select_form{
    grid-auto-flow: column;
  }
}
.button_test{
  display: inline-block;
  height:48px;

  text-decoration: none;
  color: #fff;
  background-color: var(--action-color);
  padding: 12px 24px;
  border:0;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

input.search_field{
  border:1px solid var(--op-secondary-0);
  font-size: clamp(0.9rem,2vw,1rem);
  box-sizing: border-box;
  padding: 12px;
  height:48px;
}

.toolbar select{
  font-size: clamp(0.9rem,2vw,1rem);
  line-height: 46px;
  padding:4px 12px;
  background-color: #fff;
  border:1px solid var(--op-secondary-0);
  color: var(--secondary-0);
  height:48px;
}

@media (min-width:1200px){
  .toolbar select{
    margin-right: 8px;
  }
}

/* TOOLS */

.screen-reader-text{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4, 
.post-content h5,
.post-content h6,
.post-content p{
  margin: 0.5em 0;
}


.anchor{
  position: relative;
  display: block;
  transform: translate(0,-118px);
}

.badge{
  display: inline-block;
  padding: 4px 8px;
  background-color: var(--action-color);
  color: #fff;
  font-size: clamp(0.9rem,2vw,1rem);
  border-radius: 4px;
  margin-bottom: 12px;
}

@media (min-width:960px){
  .badge{
    font-size:14px;
    width:180px;
    height:180px;
    box-shadow: 0 0 16px rgba(0,0,0,0.1);
    padding:12px;
    display: grid;
    align-items: center;
    justify-items: center;
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top:116px;
    left:calc(50% + 400px);
    transform:rotate(25deg) translateX(-50%);
    z-index: 999;
  }
}




/* page simple */

.body-simple{
  background-image: url('/assets/svg/aje-actualites-formation.svg');
  background-size: auto 100vh;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.page-simple{
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px;
}



.page-simple .title{
  grid-column: 1/-1;
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.page-simple h2{
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  margin-bottom: 0.75em;
  letter-spacing: 1px;
  text-wrap: balance;
  text-transform: uppercase;
}

.page-simple p{
  font-size: 1em;
  margin: 0;
}

/* 404 */

.body-404 .archives.single,
.body-404 .footer{
  min-height: 50vh;
}

.body-404 .single{
  min-height: 50vh;
  display: grid;
  align-items: center;
  justify-items: center;
  text-align: center;
}
