/* RESET */
* {
  margin: 0;
  padding: 0;
  font-family: 'Raleway-Regular', Arial, sans-serif; /* Arial et sans-serif sont les polices de secours */
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Raleway-Regular', Arial, sans-serif; /* Arial et sans-serif sont les polices de secours */
  overflow-x: hidden;
  overflow: scroll;
  scrollbar-width: none; /* Firefox */
}

/* Pour Chrome, Edge, Safari */
body::-webkit-scrollbar {
  display: none;
}

/* -------------------- PLAYFAIR_DISPLAY ------------------------*/

@font-face {
    font-family: 'PlayfairDisplay-SemiBold';
    src: url('fonts/PlayfairDisplay-SemiBold.woff2') format('woff2'),
         url('fonts/PlayfairDisplay-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'PlayfairDisplay-SemiBoldItalic';
    src: url('fonts/PlayfairDisplay-SemiBoldItalic.woff2') format('woff2'),
         url('fonts/PlayfairDisplay-SemiBoldItalic.ttf') format('truetype');
}

@font-face {
    font-family: 'PlayfairDisplay-Italic';
    src: url('fonts/PlayfairDisplay-Italic.woff2') format('woff2'),
         url('fonts/PlayfairDisplay-Italic.ttf') format('truetype');
}

@font-face {
    font-family: 'PlayfairDisplay-Regular';
    src: url('fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
         url('fonts/PlayfairDisplay-Regular.ttf') format('truetype');
}

/* -------------------- RALEWAY ------------------------*/

@font-face {
    font-family: 'Raleway-Light';
    src: url('fonts/Raleway-Light.woff2') format('woff2'),
         url('fonts/Raleway-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Raleway-Regular';
    src: url('fonts/Raleway-Regular.woff2') format('woff2'),
         url('fonts/Raleway-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Raleway-SemiBold';
    src: url('fonts/Raleway-SemiBold.woff2') format('woff2'),
         url('fonts/Raleway-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Raleway-Bold';
    src: url('fonts/Raleway-Bold.woff2') format('woff2'),
         url('fonts/Raleway-Bold.ttf') format('truetype');
}

/*---------------------STYLES-----------------------*/

.nombold{
    font-size:16px;
    font-family: 'Raleway-Bold', sans-serif;
}

.domaine{
    font-size:14px;
    font-family: 'PlayfairDisplay-Italic', serif;
}

.titre{
    font-size:20px;
    font-family: 'Raleway-Bold', sans-serif;
}

.titre_italic{
    font-size:20px;
    font-family: 'PlayfairDisplay-Italic', serif;
}

.corps{
    font-size:18px;
    font-family: 'Raleway-Regular', sans-serif;
    /*text-align: justify;*/
    line-height: 1.3;
}

.categorie {
font-size:13px;
vertical-align: super;
margin-left:5px;
}


/*---------------------LIENS-----------------------*/

a {
  color: black; /* couleur du lien */
  text-decoration: none; /* enlève le soulignement */
}

a:hover {
  font-size:14px;
  text-decoration: underline; /* soulignement au survol */
}

a img {
  cursor: pointer; /* Change le curseur en pointeur lorsqu'on survole l'image */
}

/*---------------------LISTE_PROJETS-----------------------*/

.liste-projets {
  list-style: none;
  padding: 0;
  margin-left: 40px;


}

.liste-projets li {
  border-bottom: 0.5px solid #000;
  padding: 6px 0;
}

.liste-projets li:last-child {
  border-bottom: none;
}

.liste-projets a {
  text-decoration: none;
  font-size: 20px;
  color: #333;
  display: block;
  transition: font-family 0.3s ease, color 0.3s ease;
}

.liste-projets a:hover {
  text-decoration: underline;
  font-family: 'PlayfairDisplay-Italic', serif; /* Tu peux changer cette police */

  
}

/*---------------------HEADER-----------------------*/
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
  background:white;
  /*border:1px solid black;*/
}

header .left {
  font-size: 1rem;
}

header .center {
  text-align: center;
  font-size: 14px;
}

header .right {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

header button {
  background: none;
  border: none;
  border-radius: 999px;
   padding: 10px 10px;
  font-size: 1rem;
  color:black;
  cursor: pointer;
}

header button:hover {
  text-decoration: underline;
 /* font-size:17px;
  font-family: 'PlayfairDisplay-Italic', serif;*/
}

/*---------------------MAIN-----------------------*/

main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 100px 10px 10px; /* espace pour le header et le footer */
  /*border:1px solid black;*/
}

/* Styles de base pour chaque colonne */
.column-left {
/*padding-bottom: 5px;*/
/*border:1px solid black;*/

}
.column-right {
 /* border: 1px solid black;*/
  padding-left: 25px;
  padding-right: 25px;
 /* border:1px solid black;*/
}

/* SUBGRID à l'intérieur de la colonne de droite */
.subgrid {
  display: grid;
  grid-template-columns: 1.6fr 2fr 0.5fr;
  gap: 10px;
  margin-top: 20px;
}

/* Styles communs aux blocs */
.subgrid-item {
  /*border: 1px solid black;*/
  
}

/* Alignement spécifique */
.subgrid-item.left{
  text-align: left;
}
.subgrid-item.center {
  text-align: left;
}

.subgrid-item.right {
  text-align: right;
}

/*---------------------IMAGE-----------------------*/

.image-gauche {
  width: 100%;              /* Prend toute la largeur de la colonne */
  /*aspect-ratio: 4 / 3;      /* Forcé à 1440x1080, soit 4:3 */
  /*object-fit: cover; */       /* Pour que ça remplisse sans déformer */
  /*display: block;*/
  margin-bottom: 5px; /* espace entre les images */
}

/*---------------------IMAGE_SURVOL-----------------------*/
.hover-image {
  position: fixed;
  bottom: 35%;
  right: 10%;
  width: 700px;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  /*transition: opacity 0.3s ease;*/
  z-index: -10;
}

/*---------------------FOOTER-----------------------*/
footer .logo-footer {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: auto;
  z-index: 999;
 /* border: 1px solid black;*/
}

footer .copyright-footer {
  position: fixed;
  bottom: 10px;
  left: 10px;
  font-size: 12px;
  color: #333; /* couleur du texte, tu peux changer */
  z-index: 999;
  margin: 0;
  padding: 0;
  /* Optional : pour un rendu plus propre */
  /* background: rgba(255, 255, 255, 0.7); */
  /* padding: 2px 5px; */
  /* border-radius: 4px; */
}


/* RESPONSIVE */
@media (max-width: 900px) {
  header {
    grid-template-columns: 1fr 1fr;
  }

  header .center {
    display: none;
  }


  header .left {
    font-size: 0.8rem;
  }

   header .right {
  gap: 2px;
}

  header button {
    font-size: 1rem;
    padding: 1px 10px;
    /*border: 1px solid black;*/
  }

   main {
  grid-template-columns: 1fr;
  padding: 70px 10px 10px; /* espace pour le header et le footer */
  /*border:1px solid black;*/
}

.domaine{
    display: none;
}

  .liste-projets {
  margin-left: 10px;
   margin-right: 10px;
}

  .column-right {
    display: none;
  }
  
  footer .logo-footer {
  
  width: 30px;
 
}
}
