@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&family=Ms+Madi&display=swap');

.inter-400 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.005em;
}

.inter-500 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.005em;
}

.inter-600 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.005em;
}

.literata-600 {
  font-family: "Literata", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.hand-writing {
  font-family: "Ms Madi", serif;
  font-weight: 400;
  font-style: normal;
}

h1.hand-writing.souligne {
    margin-bottom: 2px;
}
h2.hand-writing.souligne {
    margin-bottom: 2px;
}

.bg-saiteki-blue {
    background-color: rgb(216, 225, 241);
}

.bg-saiteki-light-blue {
    background-color: rgb(216, 225, 241, 0.5);
}

.bg-saiteki-beige {
    background-color: #f7f7f7;
}

.bg-saiteki-dark-blue {
    background-color: #7a9bcf;
}

.text-blue {
    color: #7A9BCF;
}

.text-white {
    color: #fff;
}

.text {
    color: rgba(0, 0, 0, 0.7);
}

.hover-text::hover {
    color: rgba(0, 0, 0, 0.5);
}

.text-right {
    text-align: right;
}

.fit-content {
    width: fit-content;
}

body {
    font-family: 'Inter', sans-serif;
    color: #7A9BCF;
}

p {
    font-family: 'Inter', sans-serif;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 40px;
}

pre {
    font-family: 'Inter', sans-serif;
    text-wrap: auto;
}

section.bg-saiteki-dark-blue {
    color: white;
}

section > .content {
    max-width: 1300px;
    margin: 0 auto;  
    padding: 20px 0;
    height: 100%;
}

.d-flex-row {
    display: flex;
    flex-direction: row;
}

.d-flex-col {
    display: flex;
    flex-direction: column;
}

.d-grid {
    display: grid;
}

.button-white {
    background-color: white;
    width: fit-content;
    height: 47px;
    border-radius: 12px;
    border: 1px solid rgb(122, 155, 207);
    padding: 12px 16px;
}

.button-white a {
    text-transform: none;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    color: rgb(122, 155, 207);
    font-weight: 600;
}

.button-white.on-blue {
    border-color: transparent;
}

.button-blue {
    background-color: white;
    width: fit-content;
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 12px 16px;
    background-color: #7a9bcf;
}

.button-blue a {
    text-transform: none;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    color: white;
    font-weight: 600;
}

.justify-evenly {
  justify-content: space-evenly;
}

.pl5-5 {
  padding-left: 6rem;
}

.pr5-5 {
  padding-right: 6rem;
}

@media screen and (min-width: 60em) {
    .pr5-5-l {
    padding-right: 6rem;
    }

    .pl5-5-l {
    padding-left: 6rem;
    }
}

/*****  Navigation ******/

header {
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 2px 14px 0px !important;
}

header nav .space {
    padding: 4px 0 1px 0;
}

nav {
    height: 137px;
}

@media screen and (max-width: 59em) {
    nav {
        height: 95px;
    }

    nav a.logo {
        height: 47px !important;
    }
}

nav > div {
    min-width: 300px;
    max-width: 1300px;
}

nav a.logo {
    height: 62px;
}

nav div.links > ul {
    max-width: 500px;
    font-size: 16px;
    color: #676c73;
}


nav div.links > ul > li a {
    color: #7A9BCF;
}

.links a.active {
    border-bottom: 3px solid #7A9BCF;
    padding-bottom: 5px;
    color: #7A9BCF;
}



nav a.cta {
    border-radius: 12px;
    border: 1px solid transparent;
    background-color: #7a9bcf;
    color: white;
    padding: 12px 16px;
    text-transform: none;
    text-decoration: none;
}

/***** Footer ******/

footer {
    font-size: 15px;
}

footer > div {
    max-width: 1300px;
    min-width: 300px;
}

footer .content {
    border-top: 1px solid #7A9BCF;
    height: 214px;
}

footer .author {
    gap: 10px;
    width: 245px;
    align-self: center;
}

footer .socials {
    gap: 24px;
}

footer .socials i {
    height: 35px;
    width: 35px;
    font-size: 35px;
}

footer p {
    margin: 0;
}

footer a {
    text-decoration: none;
    color: #7A9BCF;
}

footer .footerlinks {
    height: 100px;
}

footer .sublinks {
    margin: 0 10px;
}


@media screen and (min-width: 60em) {
    footer .footerlinks {
        flex: 1 auto;
        align-self: center;
    }
}

@media screen and (max-width: 59em) {
    footer .content {
        flex-direction: column-reverse;
        height: 300px;
    }

    footer .footerlinks {

        height: unset;
        flex-wrap: wrap;
        align-content: space-around;
        justify-content: space-between;
        flex: 1 auto;
    }
}

/***** Presentation ******/

.presentation .figure-container {
    width: 330px;
}

.presentation .intro {
    max-width: 500px;
}

.presentation .intro .tl {
    margin: auto;
    max-width: 430px;
    padding: 1rem;
}

.presentation .avatar {
    max-width: 299px;
}

@media screen and (max-width: 59em) {
    .presentation .figure-container {
        margin: auto;
    }

    .presentation .switch-column {
        flex-direction: column;
        align-items: center;
    }

    .presentation .buttons {
        gap: 2rem;
    } 
    
    .presentation .buttons .button-white {
        width: 237px;
    } 

    .presentation .intro {
        max-width: unset;
        padding-right: 0;
    }
}

/***** Problèmes ******/

.problems {
    position: relative;
    overflow: hidden;
    background-color: #7A9BCF;
}

.problems .content {
    padding:
}

.top-border {
  height:90px;
  position:relative;
}
.top-border:before,
.top-border:after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:100%;
  background: linear-gradient(to bottom right, #7A9BCF, #7A9BCF);
}
.top-border:after {
  -webkit-mask:
    radial-gradient(var(--r1,100%) var(--r2,80%) at top   ,white 79.5%,transparent 80%) left,
    radial-gradient(var(--r1,100%) var(--r2,80%) at bottom,transparent 79.5%,white 80%) right;
  mask:
    radial-gradient(var(--r1,100%) var(--r2,80%) at top   ,white 79.5%,transparent 80%) left,
    radial-gradient(var(--r1,100%) var(--r2,80%) at bottom,transparent 79.5%,white 80%) right;
  -webkit-mask-size:50.1% 100%;
  -webkit-mask-repeat:no-repeat;
  mask-size:50.1% 100%;
  mask-repeat:no-repeat;
  background:linear-gradient(to bottom right, white, white);
}

.bottom-border {
  height:40px;
  position:relative;
}
.bottom-border:before,
.bottom-border:after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:100%;
  background: linear-gradient(to bottom right, #7A9BCF, #7A9BCF);
}
.bottom-border:after {
  -webkit-mask:
    radial-gradient(var(--r1,100%) var(--r2,80%) at bottom   ,white 79.5%,transparent 80%) left,
    radial-gradient(var(--r1,100%) var(--r2,80%) at top,transparent 79.5%,white 80%) right;
  mask:
    radial-gradient(var(--r1,100%) var(--r2,80%) at bottom   ,white 79.5%,transparent 80%) left,
    radial-gradient(var(--r1,100%) var(--r2,80%) at top,transparent 79.5%,white 80%) right;
  -webkit-mask-size:50.1% 100%;
  -webkit-mask-repeat:no-repeat;
  mask-size:50.1% 100%;
  mask-repeat:no-repeat;
  background:linear-gradient(to bottom right, white, white);
}

.problems .one-problem {
    align-items: center;
}

.problems .one-problem i.icon {
    width: 40px;
    height: 40px;
    font-size: 40px;
}

.problems .one-problem i.square {
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
}


@media screen and (max-width: 59em) {
   .problems .desktop {
        display: none;
   }
   
    .problems .one-problem {
        width: 300px;
        gap: 10px;
    }
}


@media screen and (min-width: 60em) {
    .problems .mobile {
        display: none;
    }

    .problems .one-problem {
        width: 180px;
    }
}

/***** Avantages ******/

.avantages .avantage {
    height: 40px;
}

.avantages .avantage p {
    width: 250px;
    margin: 0 0 0 1rem;
}

.avantages .avantage img, .avantages .avantage i {
    width: 40px;
    height: 40px;
    font-size: 40px;
}

@media screen and (min-width: 60em) {
    
    .avantages {
        height: 106px;
    }
    
    .avantages .avantage p {
        width: 180px;
    }
}


@media screen and (max-width: 59em) {
   .avantages .list {
     gap: 2rem;
     align-items: center;
   }
}

/***** Mes services intro ******/

.mes-services-intro .separateur {
    border-right: 1px solid white;
}

.mes-services-intro .hand-writing.no-margin {
    margin: 0;
}

.mes-services-intro .block {
    width: 42%;
}

@media screen and (max-width: 59em) {
    .mes-services-intro .mobile-flex-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mes-services-intro .block {
        width: 80%;
    }
}

/***** Objectifs ******/

.objectifs .d-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    padding: 20px 0;
}

.objectifs figure {
    flex-basis: 90%;
    align-self: center;
}

@media screen and (max-width: 59em) {
    .objectifs .d-flex-row {
        flex-direction: column;
    }

    .objectifs .d-grid {
         grid-template-columns: 1fr;
         grid-template-rows: 1fr 1fr 1fr 1fr;
    }
}

/***** Mes services ******/

.services h1.hand-writing {
    font-size: 45px;
}

.services h2 {
    font-weight: 500;
}

.services .categorie {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 32%;
}

.services .categorie img {
    height: auto;
}

.services figure {
    margin: 0;
}

.service .content {
    padding: 20px;
}

@media screen and (max-width: 59em) {
    .services .d-flex-row {
        flex-direction: column;
        align-items: center;
    }

    .services .categorie {
        width: 85%;
    }

    .services .categorie + .categorie {
        margin-top: 10px;
    }
}


/***** Accompagnement ******/

.accompagnement .frise {
    margin-top: 20px;
}

.accompagnement .frise {
    position: relative;
}

.accompagnement .surfrise {
    z-index: 1;
}


@media (max-width: 60em) {
    .accompagnement .frise {
        flex-direction: column;
    }
}

@media (min-width: 60em) {
    .accompagnement .frise::before {
        content: ' ';
        position: absolute;
        width: 80%;
        top: 38px;
        height: 0;
        border-top: 2px solid #bdc5d3;
        margin-left: 10%;
        z-index: 0;
    }
}


/***** Chiffres ******/

.chiffres h2 {
    font-size: 50px;
}

@media (max-width: 60em) {
    .chiffres .d-flex-row {
        flex-direction: column;
    }
}


/***** Prestations ******/

.prestations .categories {
    width: 780px;
    gap: 20px;
    margin-top: 20px;
}

.prestations .categorie {
    border: 1px solid rgba(216, 225 ,241, 0.4);
    border-radius: 20px;
}

.prestations .categorie-par {
    padding: 0 20px;
    margin: auto 0;
}


@media (max-width: 60em) {
    .prestations .categories {
        width: 250px;
    }

    
    .prestations .categorie {
        flex-direction: column-reverse;
    }

}

/***** Contact me ******/

.contact-me .content > div {
    gap: 80px;
}

@media (max-width: 60em) {
    
    .contact-me .content > div {
        gap: 10px;
    }

}

/***** Ce qui m'anime ******/

.m-anime .bloc {
    width: 320px;
    height: 130px;
    background-color: white;
    border-radius: 18px;
    padding: 10px;
}

.m-anime .bloc .image-container{
    height: 100px;
    min-width: 100px;
    border-radius: 50px;
}

.m-anime .bloc .image-container i{
    transform: translate(42px, 40px) scale(3.3);
}

.m-anime .bloc .image-container img{
    transform: translate(21px, 22px);
}


/***** Etapes parcours ******/

.etapes-parcours .frise {
    margin-top: 20px;
}

.etapes-parcours .frise {
    position: relative;
}

.etapes-parcours .surfrise {
    z-index: 1;
    width: 200px;
}


@media (max-width: 60em) {
    .etapes-parcours .frise {
        flex-direction: column;
    }
}

@media (min-width: 60em) {
    .etapes-parcours .frise::before {
        content: ' ';
        position: absolute;
        width: 100%;
        top: 25px;
        height: 0;
        border-top: 2px solid #7A9BCF;
        z-index: 0;
    }
}

@media (max-width: 59em) {
    .etapes-parcours .frise::before {
        content: ' ';
        position: absolute;
        width: 0;
        height: 89%;
        border-left: 2px solid #7A9BCF;
        z-index: 0;
    }
    
    .etapes-parcours .surfrise .dot {
        position: absolute;
        background-color: #7A9BCF;
        height: 8px;
        width: 8px;
        z-index: 1;
        left: -35px;
        top: 30px;
        border-radius: 100%;
    }
    
    .etapes-parcours .surfrise {
        width: 215px;
        height: 69px;
    }

    .etapes-parcours p {
        text-align: left;
    }
}


/***** Pourquoi saiteki ******/
.pourquoi-saiteki .content > div {
    gap: 20px
}

@media (min-width: 60em) {
    .pourquoi-saiteki .content > div {
        gap: 50px
    }
}