* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: Baskervville;
  src: url(/assets/font/Baskervville-Regular.ttf);
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: Baskervville;
  src: url(/assets/font/Baskervville-Medium.ttf);
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: Baskervville;
  src: url(/assets/font/Baskervville-SemiBold.ttf);
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: Baskervville;
  src: url(/assets/font/Baskervville-Regular.ttf);
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url(../font/montserrat-700.woff) format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url(../font/montserrat-400.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url(../font/montserrat-300.woff) format("woff");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Montserrat';
  src: url(../font/montserrat-200.woff) format("woff");
  font-weight: 200;
  font-style: normal;
}


:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
}

html {
  font-family: Montserrat, sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}


h1,
.uk-h1,
h3,
.uk-h3,
.uk-heading-small,
.uk-heading-medium,
.uk-heading-large,
.uk-heading-xlarge,
.uk-heading-2xlarge,
.uk-heading-3xlarge {
  font-family: Montserrat;
}

h1 {
  font-family: Baskervville;
 font-weight: 500;
 color: #000;
 text-transform: uppercase;
 font-size: 2.2rem;
}

.chiffres h2 {
 color: #9C3C2E;
 text-transform: uppercase;
 font-size: 3rem;
 font-weight: 500;
}

.chiffres-liste li {
  padding-top: 10px;
}

/*.chiffres {border: solid 1px #303030;}*/

h2,
.uk-h2,
h4,
.uk-h4,
h5,
.uk-h5,
h6,
.uk-h6 {
  font-family: Montserrat;
}

h4, .uk-h4, * + h4 {margin-top: 20px;}

h4 {font-size: 1.1rem;}

.uk-navbar-nav > li > a,
.uk-navbar-item,
.uk-navbar-toggle,
.uk-logo {
  font-family: Montserrat;
}

.uk-navbar-nav > li.uk-active-lang > a {
  text-decoration: underline;
  color: #9C3C2E;
}

em {
  color: #000;
  font-weight: 300;
}

a {color: #9C3C2E;}
a:hover {color: #977C32;}

ul {
  padding-left: 0px;
  list-style-type: disc;
  list-style-position: inside;
}

ul li::marker {
    color: #999; /* Couleur du marqueur */
    font-size: 1.1em; /* Taille du marqueur */
}

.uk-offcanvas-bar a {color: #000;}

.image-bloc-texte {margin-top: 20px; margin-bottom: 40px;}


/*Bloc projets*/

.wrapper-projet {
  position: relative;
  margin-bottom: 0px; /* Espace pour le logo */
}

.logo-projet {
  position: absolute;
  bottom: 0; /* En bas de la div */
  left: 50%;
  transform: translate(-50%, 50%); /* Centre et descend de moitié */
  width: 80px;
  height: 80px;
  z-index: 10;
  background: white;
  border-radius: 50%;
  padding: 0px;
  font-size: 2rem;
  color: #9C3C2E;
}

.logo-projet-mini {
  width: 70px;
  height: 70px;
}


/*Bloc image cover decoupe*/

.wrapper-image {
  position: relative;
  margin-bottom: 20px; /* Espace pour le logo */
}

.image-triangle {
  position: relative; /* Important ! */
  width: 100%;
  background-color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 65% 100%, 0 80%);
}

.logo-m {
  position: absolute;
  bottom: 0; /* En bas de la div */
  right: 31%;
  transform: translate(-50%, 50%); /* Centre et descend de moitié */
  width: 90px;
  z-index: 10;
  /*background: white;*/
  border-radius: 50%;
  /*padding: 0px;*/
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-logo {
    width: 80px;
    top: 20px;
    right: 20px;
  }
}



.title-with-logo {
  position: relative;
  padding-left: 80px;
  margin-bottom: 30px;
}

.title-with-logo::before {
  /*content: '';
  position: absolute;
  right: 110%;
  top: 35%;
  width: 100vw;
  height: 1px;
  background: #9C3C2E;
  transform: rotate(15deg);
  transform-origin: right center;*/
}

.title-with-logo::after {
  content: '';
  position: absolute;
  left: 0px; /* position du logo */
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-image: url('/assets/logo-m.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.orientation {
      visibility: hidden;
}

@media only screen
and (orientation: landscape)
and (max-width: 900px) {
    .orientation {
      visibility: visible;
    }
}


.uk-navbar-container.uk-navbar-sticky {background-color: #202020;}
.uk-navbar-container.uk-navbar-sticky {background-color: #ffffff;}
.uk-navbar-container:not(.uk-navbar-transparent) {background-color: #ffffff;}



/* COUNTER SLIDESHOW */

/*A droite*/

/*.counter {
            position: absolute;
            bottom: 20px;
            right: 40px;
            background: rgba(255, 255, 255, 0.7);
            color: black;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            z-index: 10;
        }*/

/*Au centre       */

/*.counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: black;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}*/

/*Au centre mais en dessous de la div */

.counter {
    position: absolute;
    bottom: -40px; /* Décalage en dessous de la div parente */
    right: 0px;
    color: black;
    padding-top: 20px;
    font-size: 16px;
}