* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
    list-style: none;
}

body {
    font-family: "texte";
}

html {
  scroll-behavior: smooth;
}

:root { 
  --bleuf: #5573a1;
  --bleuc: #a0bce5;
  --blanc: #fefefe;
  --noir: #171717;
}

@font-face {
  font-family: "titre";
  src: url(fonts/CooperHewitt-Bold.otf);
}

@font-face {
  font-family: "soustitre";
  src: url(fonts/CooperHewitt-Light.otf);
}

@font-face {
  font-family: "texte";
  src: url(fonts/Roboto-Regular.ttf);
}

@font-face {
  font-family: "nom";
  src: url(fonts/daydream.ttf);
}

/*Head*/

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 85px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    transition: all 0.2s ease-out;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;

}

header.scroll {
    background-color: var(--bleuf);
    transition: all 0.2s ease-out;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
}

header.scroll .nav ul li a {
    color: var(--blanc);
}

header.scroll .nav ul li a:hover {
    color: var(--blanc);
    border-bottom: solid 1.5px var(--blanc);
}

.logo {
    height: 35px;
}

.titre3 {
    z-index: 1;
    font-family: "titre";
    color: var(--bleuf);
    font-size: 10vw;
    text-transform: uppercase;
    white-space: nowrap;
    position: absolute;
    top: 46%;
    left: 52%;
    transform: translateX(-53%) translateY(-62%);
    text-align: center;
    line-height: 13vw;
}

.titre4 {
    z-index: 2;
    font-family: "titre";
    color: var(--bleuc);
    font-size: 10vw;
    text-transform: uppercase;
    position: absolute;
    white-space: nowrap;
    top: 48%;
    left: 53%;
    transform: translateX(-53%) translateY(-62%);
    text-align: center;
    line-height: 13vw;
}

.titre3 span, .titre4 span {
    font-size: 12vw;
}

.nav ul {
    display: flex;
    align-items: center;
}

.nav ul li a {
    color: var(--noir);
    text-decoration: none;
    margin-right: 35px;
    font-weight: bold;
    font-size: 1.2em;
}

.nav ul li:last-child a {
    margin-right: 0;
}

.nav ul li a:hover {
    color: var(--bleuf);
    border-bottom: solid 1.5px var(--bleuf);
}

.ban {
    background-image: url(images/fond.jpg);
    position: relative;
    opacity: 1;
    height: 100vh;
}

.ban::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--noir);
    opacity: 0.78;
    height: 100%;
    width: 33%;
}

.profil {
    position: absolute;
    left: -2%;
    bottom: 0;
    width: 32%;
    z-index: 3;
}

.texteBan {
    position: absolute;
    bottom: 20px;
    right: 50px;
    width: 52%;
    text-align: right;
    font-family: "texte";
    font-size: 1.3em;
}

.texteBan span {
    color: var(--bleuf);
    font-size: 7vw;
    margin-bottom: 30px;
    font-family: "nom";
}

.down {
    position: absolute;
    bottom: 20px;
    left: 37%;
    width: 50px;
}

/*Sommaire*/

.som {
    position: relative;
    padding-top: 100px !important;
    padding-bottom: 130px !important;
}

.som:after {
    content: "";
    background-color: #5573a1;
    height: 100%;
    width: 35%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.sommaire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 35px;
}

.card {
    border-radius: 15px;
    background-color: transparent;
    perspective: 1000px;
    flex: 1;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.card.card2 {
    aspect-ratio: 3/1;
}

.card a {
    display:block;
    width:100%;
    height:100%;
    perspective:1000px;
}

.somDiv {
    border-radius: 15px;
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.card:hover .somDiv {
    transform:rotateY(180deg);
    cursor: pointer;
}

.pile, .face {
    border-radius: 15px;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.imgSom {
    border-radius: 15px;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.pile {
    transform: rotateY(180deg);
}

.pictoDiv {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 45px;
    height: 45px;
    background-color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.picto2Div {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 45px;
    height: 45px;
    background-color: var(--bleuf);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.pictoSom {
    width: 30px;
    height: 30px;
}

.picto2Div .pictoSom {
    filter: brightness(100);
}

.titreSom {
    position: absolute;
    z-index: 2;
    bottom: 10px;
    left: 15px;
    color: var(--blanc);
    text-transform: uppercase;
    font-family: "soustitre";
    font-weight: bold;
    font-size: 1.5em;
}

.titre2Som {
    color: var(--blanc);
    text-transform: uppercase;
    font-family: "soustitre";
    font-weight: bold;
    font-size: 1.5em;
}

.face:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.face:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 2;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.desc {
    position: absolute;
    top: 10px;
    left: 15px;
    z-index: 2;
    right: 15px;
}

.descProjet {
    color: var(--blanc);
    font-family: "texte";
}

.starSom {
    position: absolute;
    height: 100px;
    top: -35px;
    right: 5px;
    z-index: 2;
}

.pile:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.70);
    border-radius: 15px;
}

.sepSom {
    margin: 15px 0;
    height: 1.5px;
    width: 30%;
    background-color: var(--blanc);
}

.dev {
    padding-top: 150px;
    padding-bottom: 150px;
}

.dev p {
    text-align: center;
    color: var(--bleuf);
    font-size: 3vw;
    font-family: "soustitre";
    text-transform: uppercase;
}

/*Ligne*/

.ligne {
    background-color: var(--bleuc);
    height: 10px;
    width: 100%;
}

.container {
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.titreAll {
    color: var(--bleuf);
    font-family: "soustitre";
    text-transform: uppercase;
    font-size: 3em;
    font-weight: bold;
}

.titreAll span {
    color: var(--bleuc);
}


/* Accueil */

.organisme {
    padding: 100px 0;
}

.gaucheOrga {
    width: 30%;
}

.imgOrga {
    width: 100%;
    padding-bottom: 40px;
    max-width: 500px;
}

.nomMDS span {
    font-weight: bold;
}

.adresseMDS {
    display: flex;
    padding-top: 10px; 
}

.orgaMDS {
    padding-bottom: 10px;
}

.orgaMDS span {
    font-weight: bold;
}

.adresseMDS p:first-child {
    font-weight: bold;
    margin-right: 3px;
}

.projet2 {
    padding-bottom:100px;
    position: relative;
}

.projet2:after {
    content: "";
    background-color: var(--bleuf);
    height: 100%;
    width: 40%;
    position: absolute;
    top: 0;
    left: 0;
}

.projet2.mis:after {
    content: none;
}

.projet2 .titreAll {
    padding-top: 60px;
}

.projet2.mis .titreAll {
    padding-top: 100px;
}

.titreM {
    text-align: right;
}

.imgP1, .imgP2, .imgP3 {
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.imgP1 {
    margin-top: 35px !important;
}

.imgP1 img, .imgP2 img {
    width: 32%;
    border-radius: 15px;
}

.imgP3 img {
    width: 24%;
    border-radius: 15px;
}

.veille {
    display: block;
    width: 70%;
    margin: 0 auto;
    margin-top: 60px;
    border-radius: 20px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
}

.veille.points {
    width: 65%;
}

.veilleContainer {
    position: relative;
    padding-top: 60px;
    padding-bottom: 100px;
    margin-bottom: 60px;
}

.veilleContainer:after {
    content: "";
    background-color: var(--bleuc);
    height: 100%;
    width: 35%;
    position: absolute;
    bottom: 0;
    left: 0;
}

.pointsContainer {
    position: relative;
    padding-top: 60px;
    padding-bottom: 100px;
    margin-bottom: 60px;
    margin-top: 50px;
}

.pointsContainer:after {
    content: "";
    background-color: var(--bleuc);
    height: 100%;
    width: 35%;
    position: absolute;
    bottom: 0;
    right: 0;
}

.pointsContainer .titreAll {
    text-align: left !important;
}

.contenuP1, .contenuP2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
}

.contenuP1 {
    flex-direction: row-reverse;
}

.contenuP2 {
    margin-top: 35px;
}

.bilan {
    margin-bottom: 70px;
}

.frise {
    margin-top: 60px;
}

.frise img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
}

.imgJeu {
    border-radius: 15px;
    width: 29%;
    height: 100%;
}

.texteP1 {
    width: 63%;
    display: flex;
    flex-direction: column;
}

.texteP3 {
    width: 69%;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.texteP2 {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.gaucheC {
    width: 55%;
}

.projet1 .titreAll {
    text-align: right;
}

.texteP3 .txt {
    text-align: right;
}

.bouton {
    text-transform: uppercase;
    color: var(--blanc);
    padding: 15px 35px;
    background-color: var(--bleuf);
    border-radius: 40px;
    transition: all 0.2s ease-out;
    font-size: 1.1em;
    border: solid 1px #5c101f;
}

.bouton:hover {
    cursor: pointer;
    transition: all 0.2s ease-out;
    color: var(--bleuf);
    background-color: var(--blanc);
    border: solid 1px #5c101f;
}

.txt span {
    font-weight: bold;
}

.txtTitre {
    color: var(--bleuf);
    font-size: 1.5em;
    text-align: right;
    font-weight: bold;
    margin: 25px 0 20px 0;
}

.texteP1 .txtTitre, .txtL .txtTitre, .gaucheC .txtTitre {
    text-align: left;
}

.gaucheC .txt {
    margin-bottom: 0;
}

.gaucheC ul {
    list-style: disc;
    padding-left: 20px;
}

.texteP1 .txtTitre:first-child, .gaucheC .txtTitre:first-child {
    margin-top: 0;
}

.txtTitre2 {
    color: var(--bleuf);
    font-size: 1.5em;
    font-weight: bold;
    margin: 25px 0 20px 0;
}

.txt img {
    margin: 15px 0;
    width: unset;
    border-radius: 15px;
    max-width: 70%;
}

code {
    color: var(--bleuf);
}

.bt {
    color: var(--bleuf);
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
}

.bt:hover {
    font-weight: bold;
}

.bt img {
    width: 20px;
    margin-right: 5px;
}

.lien {
    color: #5c101f;
    text-decoration: none;
    font-weight: bold;
}

.hover .mission:hover {
    background-color: var(--bleuf);
    transition: all 0.2s ease-out;
    cursor: pointer;
}

.hover .mission:hover li, .hover .mission:hover .txtTitre {
    transition: all 0.2s ease-out;
    color: var(--blanc);
}

.lien:hover {
    text-decoration: underline;
}

.txt {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 50px;
    padding: 20px 30px;
}

.txtL {
    padding: 20px 30px 20px 0 !important;
}

.texteP3 .txt {
    aspect-ratio: 4/1.8;
}

.contenuP2 .txt {
    padding-left: 0;
}

.txt::-webkit-scrollbar {
    width: 10px;
}

.txt::-webkit-scrollbar-track {
    background: var(--bleuc);
    border-radius: 4px;
}

.txt::-webkit-scrollbar-thumb {
    background-color: var(--bleuf);
    border-radius: 4px;
    border: 2px solid var(--bleuc);
}

.txt::-webkit-scrollbar-thumb:hover {
    cursor: pointer;
}

a {
    text-decoration: none;
}

.divbt {
    display: flex;
}

.divbt .bouton:first-child {
    margin-right: 10px;
}

.projet3 {
    margin-bottom: 100px;
    margin-top: 100px;
}

.missions {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-top: 60px;
    justify-content: center;
}

.mission {
    text-align: center;
    background-color: var(--blanc);
    border-radius: 20px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
    padding: 15px;
}

.mission .txtTitre {
    text-align: center;
    margin-top: 0;
}

.mission li {
    padding-bottom: 7px;
    color: var(--bleuf);
}


/* Carrousel */

.container2 {
    width: 40%;
}

.carousel {
    position: relative;
    border-radius: 20px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    overflow: hidden;
    height: auto;
    flex-wrap: nowrap;
}

.slide {
    flex: 0 0 100%;
    aspect-ratio: 4/3;
    transition: .5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-controls {
    position: absolute;
    z-index: 5;
    left: 3%;
    right: 3%;
    top: 50%;
    display: flex;
    justify-content: space-between;
}

.carousel-controls img {
    width: 20px;
    display: block;
}

.carousel-controls button {
    background-color: #fefefe;
    border: solid 1px var(--bleuc);
    border-radius: 20px;
}

#prev img {
    transform: rotate(180deg);
}

.carousel-controls button {
    padding: 10px;
}

.carousel-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    right: 50%;
    bottom: 4%;
    display: flex;
    justify-content: center;
}

.carousel-dots .dot {
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}

.carousel-dots .active {
    border: 5px solid var(--bleuc) !important;
}

.carousel-dots .inactive {
    border: 5px solid var(--bleuf);
}


/* Footer */

footer {
    background-color: var(--bleuc);
    color: var(--noir);
    height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer p {
    font-size: 1.2em;
    color: var(--noir);
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
}

footer a {
    color: var(--noir);
    font-size: 1.2em;
}

footer a:hover {
    font-weight: bold;
    text-decoration: underline;
}

.img-missions, .img-missions2, .img-missions3, .img-missions4 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 70px 0;
}

.img-missions5 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 70px 0;
}

.img-missions img, .img-missions2 img {
    width: 25%;
    margin-right: 60px;
    max-width: 500px;
}

.img-missions2 img {
    border-radius: 10px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
}

.img-missions img:nth-child(2) {
    width: 6%;
    max-width: 150px;
    filter: brightness(0);
}

.img-missions img:last-child, .img-missions2 img:last-child {
    margin-right: 0;
}

.img-missions3 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-missions3 img {
    border-radius: 25px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
    width: 80%;
    margin-bottom: 25px;
}

.img-missions4 img:first-child {
    width: 60%;
    margin-right: 20px;
    border-radius: 15px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
}

.img-missions4 img:last-child {
    width: 35%;
    border-radius: 25px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
}

.img-missions5 {
    flex-direction: column;
    align-items: center;
}

.img-missions5 img:nth-child(2),.img-missions5 img:last-child {
    width: 50%;
    margin-top: 30px;
    border-radius: 25px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
}

.gauche-arb, .droite-arb {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.miniTitre {
    color: var(--bleuf);
    font-size: 1.5em;
    font-weight: bold;
    padding: 100px 0 30px 0;
}

.miniTitre2 {
    color: var(--bleuc);
    font-size: 1.2em;
    margin-bottom: 20px;
}

.miniTitre3 {
    padding: 25px 0 15px 0;
    font-weight: bold;
}

summary:hover {
    cursor: pointer;
}

.img-plan {
    width: 60%;
    display: block;
    margin: 35px auto;
    border-radius: 25px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
}

.img-missions-all {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 50px 0 70px 0;
}

.img-missions-all img {
    width: 23%;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.30);
}

.seo-ref {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.seo-ref img {
    margin-bottom: 15px;
}


/* Barre */

.barre {
  margin: 0 !important;
  background-color: #cf7a75;
  padding: 10px 0;
  overflow: hidden;
  width: 100%;
  position: relative;
  display: block;
  text-decoration: none;
}

.barre p {
  display: inline-block;
  animation: scroll-txt 20s linear infinite;
  white-space: nowrap;
  color: #fefefe;
  font-weight: bold;
  padding-left: 100%;
}

@keyframes scroll-txt {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.barre:hover p {
  animation-play-state: paused;
}

.barre:hover {
  cursor: pointer;
}