body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    color: #2c3e50;
    min-height: 100vh;
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

header, main, footer {
  background-color: rgba(0,0,0,0.5);
  color: white;
  flex: 1;
}

a {
  color: #FFF;
  text-decoration: none;
  font-family: "IBM Plex Serif", serif;
  opacity: 1 !important;

}

h1 {
  font-size: 2.5rem;
  font-weight: 100;
  line-height: 2rem;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

p {
  color: #FFF;
  font-family: "IBM Plex Serif", serif;
  text-align: center;
}

  header {
    padding: 1rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  }
  .logo {
    width: 150px;
    height: auto;
  }


  main {
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
  }
  section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  main p {
    font-size: 1.3rem;
    margin: 0 0 50px;
    line-height: 1.5rem;  
  }

  
  footer {
    padding: 1rem 2rem 0;
    color: #eee;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(to top, black, rgba(0, 0, 0, 0.5));
  }

  footer p {
    color: #ccc;
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
  }




#loginModal>article {
  background-color: rgba(0,0,0,0.8);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
}
#loginModal>article>header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
#loginModal>article>header h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 200;
}
#loginModal article footer {
  padding: 1rem 0 0 !important;
}




.button-group {
  display: flex;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
  border-radius: 10px;
  flex: 1;
}
.button-group :first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;  
}
.button-group :last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;  
}

/* Mobile : empile les boutons en colonne */
@media (max-width: 600px) {
  main p {
    font-size: 1.1rem;
  }
  
  .button-group {
    flex-direction: column;
    align-items: center; /* pour centrer verticalement */
  }
  .button-group :first-child { 
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;      
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;    
  }
  .button-group :last-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;  
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;    
  }  
}

.btn-fci,
.btn-fci-secondary,
.btn-fci-warning {
  gap: 5px;
  display: flex;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 0.4em;
  font-weight: 200;
  height: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.btn-large-width {
  width: 230px;
}
.btn-flex-width {
  flex: 1;
}


.btn-fci { background-color: #2A9D8F;}
.btn-fci:hover {background-color: #21867B;}
.btn-fci:focus {outline: 2px solid #3DB1A1;outline-offset: 0px;}

.btn-fci-secondary { background-color: #F4A261; }
.btn-fci-secondary:hover { background-color: #e38e4e;}
.btn-fci-secondary:focus {outline: 2px solid #f4b07a;outline-offset: 0px;}

.btn-fci-warning { background-color: #E76F51; }
.btn-fci-warning:hover { background-color: #D35D43;}
.btn-fci-warning:focus {outline: 2px solid #F1917B;outline-offset: 0px;}







.rouge { color: #E76F51; } 
.bgrouge { background-color: #E76F51 !important;}

.orange { color: #F4A261; } 
.bgorange { background-color: #F4A261;}

.jaune { color: #E9C46A; }
.bgjaune { background-color: #E9C46A;}

.jaune1 { color: #FDBC44 }
.bgjaune1 { background-color: #FDBC44 }
.grad-jaune { background-image: linear-gradient(to right bottom,#6A4500, #B77A08, #FDBC44, #E9C46A); }

.vert1 { color: #2A9D8F } 
.bgvert1 { background-color: #2A9D8F !important;}

.vert2 { color: #264653 !important }
.bgvert2 { background-color: #264653 !important;}