@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Signika:wght@300..700&display=swap');
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Quicksand", sans-serif;
}
body.no-scroll {
  overflow: hidden; 
}
.container {
  height: 100%;
}

.section {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding-bottom: 50px;
}

#section1 { 
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: beige;
  font-family: "Signika", sans-serif;
  background-color: #1C1F74;
}
#section1::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image/region_couleurs.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(3px); 
    z-index: -1;
}
#section1 h2{
  margin-bottom: 0px;
}
#section2 {
  background-color: #1C1F74;
  color: beige;
  font-size: 1em;
}
#section3 { 
  background-color: #1A1D68; 
  display: flex;
  justify-content: space-between;
  color: beige;
}

#section4 { 
  background-color: #181A5A;
  color: beige;
}

#section5 { 
  background-color: #16184E; /* Bleu nuit */
  color: beige;
}

#section6 { 
  background-color: #141642; /* Bleu très sombre */
  color: beige;
}

#section7 { 
  background-color: #13153F; /* Bleu très sombre */
  color: beige;
}
#section8 { 
  background-color: #13153F; /* Bleu très sombre */
  color: beige;
}
#section9 { 
  background-color: #15173e; /* Bleu noirâtre */
  color: white;
  min-height: 50vh;
  padding: 0;
}

h1 {
  font-size: 4.5em;
  margin-bottom: 20px;
}

h2 {
  font-size: 2em;
  margin-bottom: 25px;
  text-align: center;
  width: 900px;
  font-family: "Signika", sans-serif;
  font-weight: 400;
}

.pintro {
  font-size: 1.5em;
  margin-bottom: 20px;
  line-height: 1.5;
}

button {
  padding: 1.3em 3em;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
  margin-top: 30px;
}

button:hover {
  background-color: #2b23c4;
  box-shadow: 0px 15px 20px rgb(137, 159, 255);
  color: #fff;
  transform: translateY(-7px);
}

button:active {
  transform: translateY(-1px);
}
.next-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 1em 2em;
  font-size: 16px;
  color: white;
  background-color: #3498db;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.next-btn:hover {
  background-color: #2980b9;
  box-shadow: 0px 15px 20px rgba(41, 128, 185, 0.4);
  transform: translateY(-5px);
}

.next-btn:active {
  transform: translateY(-2px);
}


/* section 2 */
.contexte, #section2 h3 {
  text-align: left;
  padding-right: 45%;
  font-size: 1.8em;
}

.p2{
  font-size: 1.2em;
  text-align: left;
  padding-right: 0px;
  width: 900px;
  line-height: 35px;
}
#p2{
  line-height: 50px;
}

/* S3 */
.infographique {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
  align-items: start;
}

.chart-container {
  width: 50%;
  max-width: 400px;
  margin-bottom: 10px;
}

.graphique-tableau {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card {
  padding: 15px;
  font-size: 1.2em;
  line-height: 1.6;
  text-align: left;
  margin: 80px;
  width: 500px;
  border-radius: 15px;
  background: #212121;
  box-shadow: 15px 15px 30px rgb(25, 25, 25),
              -15px -15px 30px rgb(60, 60, 60);
 }

table {
  width: 80%;
  max-width: 800px;
  border-collapse: collapse;
  margin-top: 5px;
}

th, td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

th {
  font-weight: bold;
}
/* S4 */
.chart-container2 {
  width: 700px;
  height: 400px;
  margin: 0 auto;
  padding-top: 88px;
}
/* S5 */
.chart-container3{
  width: 500px;
  height: 500px;
  margin: 0 auto;
  padding-top: 50px;
}
/*S7 */
.chart-container4{
  width: 80%;
  max-width: 450px;
  height: 270px;
  padding: 25px;
  padding-left: 15px;
}
/*S8*/
.chart-container5 {
  width: 94%;
  height: 480px;
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
}
/*Footer*/
.fin {
  background-color: #1c1f7462;
  padding: 100px;
  height: 560px;
  width: 1450px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.2em;
  line-height: 1.6;
  color: white;
  text-align: justify;
}
.navigation-buttons {
  position: absolute; 
  top: 20px;      
  right: 20px;        
  display: flex;     
  flex-direction: column; 
  gap: 0px;
}

.navigation-buttons button {
  font-size: 10px;
}
.navigation-buttons button:hover {
  background-color: #E3D748;
  box-shadow: 0px 15px 20px rgba(234, 255, 0, 0.393);
  color: #000000;
  transform: translateY(-7px);
}
.troyes-nav-menu{
  display: flex;
  justify-content: center;
  margin: 80px;
  gap: 20px;
}
.troyes-nav-link {
  padding: 10px 20px;
  background: rgba(227, 215, 72, 0.9);
  color: #1a1a1a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.troyes-nav-link:hover {
  background: rgba(227, 215, 72, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.troyes-nav-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


