html,
body {
    background-color: #FFFEF9;
    font-family: "Inter", sans-serif;
}



h1, h2, h3, .carousel-text h2, .progress-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
}

p, .text p, .carousel-text p, .data p, .subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400; 
}



.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.image-col,
.text-col {
  flex: 1 1 500px;
}

.image-col img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}
.image-col img:hover{
  transform: scale(1.02);
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}
.clickable-image {
  width: 300px;
  cursor: pointer;
  transition: transform 0.3s;
  margin: 20px;
}
.clickable-image:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  overflow-y: auto; 
  padding: 40px 0; 
}

.modal-content {
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  max-height: 80vh; 
  overflow-y: auto; 
  text-align: left;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}



.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #aaa;
}
.close:hover {
  color: black;
}

.modal:target {
  display: flex; 
}

#images-multiples .container {
  display: flex;
  justify-content: space-between;  
  align-items: center;            
  flex-wrap: wrap;               
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
}

.img-gauche,
.img-droite {
  width: 350px;
  height: 350px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.img-centre {
  width: 350px;
  height: 350px;
  border-radius: 12px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.img-gauche:hover,
.img-centre:hover,
.img-droite:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

  section {
      margin-bottom: 2em;
    }

    h3 {
      color: #F45D05;
      font-size: 1.4em;
      border-left: 4px solid#F45D05;
      padding-left: 10px;
    }

    .data {
      padding: 1em 1.5em;
      border-radius: 10px;
      margin: 1em 0;
      border-left: 4px solid #F45D05 ;
    }

    .data p {
      margin: 0.4em 0;
    }


.text {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: 'Arial', sans-serif;
  color: #4a2c00; 
  border-radius: 12px;
}

.text p:first-of-type {
  font-size: 1rem;
  font-weight: bold;
  color: #F45D05; 
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.text p:last-of-type {
  font-size: 1rem;
  line-height: 1.6;
  color: #a35c1a; 
}

.carousel1 {
  text-align: center;
  margin: 50px auto;
}

.carousel-inner {
  min-height: 450px; 
  display: flex;
  align-items: center; 
}

.carousel-slide {
  display: flex;
  align-items: center;
  gap: 30px;
  background: linear-gradient(135deg, #f0f4ff, #d9e4ff); 
  padding: 50px; 
  border-radius: 25px; 
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  max-width: 800px;
  margin: auto;
  text-align: left;
  transition: transform 0.5s ease; 
}

.carousel-slide img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}


.carousel-text h2 {
  margin-bottom: 15px;
  color: #1a1a1a;
  font-weight: 600;
}

.carousel-text p {
  margin-bottom: 0;
  color: #333333;
  font-size: 1.05rem;
}

.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
}

:root{
  --text:#1f3d2e;
  --muted:#6b6b6b;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}


.progress-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin: 50px auto;
  max-width: 1200px;
}


.progress-group {
  flex: 1 1 300px; 
  max-width: 350px;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 15px 24px rgba(193, 23, 23, 0.06);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.progress-group:hover {
  box-shadow: 0 18px 38px rgba(0,0,0,0.09);
  transform: translateY(-6px);
}


.progress-label {
  text-align: center;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 1.15rem;
}


.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}


.progress {
  flex: 1;
  height: 22px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}


.progress-bar-custom {
  height: 100%;
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  text-align: center;
  line-height: 22px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,0.22);
  border-radius: 12px 0 0 12px;
  position: relative;
  transition: all 0.3s ease;
}


.progress-bar-custom:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(31,61,46,0.96);
  color: #fff;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 0.82rem;
  white-space: nowrap;
  z-index: 30;
}


.value-text {
  width: 170px;
  text-align: right;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.nd-value {
  color: #8a8a8a;
  font-weight: 700;
}

.nd-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  color: #444;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.2px;
  pointer-events: none;
}


.legend {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 28px;
  font-weight: 600;
  color: var(--text);
}

.legend-color {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}


.bg-co2 { background: linear-gradient(90deg,#F45D05,#F45D05); border-right:2px solid #F45D05; }
.bg-water { background: linear-gradient(90deg,#86f0bf,#34d399); border-right:2px solid #86f0bf; }
.bg-energy{ background: linear-gradient(90deg,#F45D05,#F45D05); border-right:2px solid #F45D05; }


.footnote {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}


@media (max-width: 1024px) {
  .progress-group {
    flex: 1 1 45%; 
  }
}

@media (max-width: 450px) {
  .progress-group {
    flex: 1 1 100%; 
  }

  .value-text {
    width: 120px;
    font-size: 0.82rem;
  }

  .progress-bar-custom {
    font-size: 0.78rem;
  }

  .progress-label {
    font-size: 1.05rem;
  }
}



footer.footer-bandes {
  position: relative;
  width: 100vw;
  height: 200px;
  left: 50%;
  right: 0;
  transform: translateX(-50%);
  overflow: hidden;
  text-align: center;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: none;
}

footer .band {
  width: 100%;
  height: 20%;
  display: block;
}

footer .footer-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

footer .footer-content p {
  color: white;
  text-decoration: none;
}

footer .footer-content a:hover {
  text-decoration: underline;
}

footer .footer-content img {
  width: 35px;
  vertical-align: middle;
}


@media (max-width: 768px) {
  footer.footer-bandes {
    height: 150px;
  }
  footer .footer-content {
    font-size: 0.9rem;
  }
  footer .footer-content img {
    width: 28px;
  }
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .image-col,
  .text-col {
    flex: 1 1 100%;
  }

  h1 {
    font-size: 2rem;
  }

  #images-multiples .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .carousel-slide {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .carousel-slide img {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 10px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, .text p, .carousel-text p {
    font-size: 0.95rem;
  }

  .container, #images-multiples .container {
    padding: 20px 10px;
  }

  .image-col img,
  .img-gauche,
  .img-centre,
  .img-droite,
  .carousel-slide img {
    width: 100%;
    height: auto;
  }

  .clickable-image {
    width: 100%;
    margin: 10px 0;
  }

}
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin: 50px auto;
  max-width: 1200px;
}

.card {
  flex: 1 1 270px;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.card h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin-bottom: 10px;
  color: #333;
}

.card .data p {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #555;
}

@media (max-width: 1024px) {
  .card {
    flex: 1 1 45%;
  }
}

@media (max-width: 480px) {
  .card {
    flex: 1 1 100%;
  }
}


.carousel-content{
  background-color: #ffffff;
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 50px;
  margin-left: 15%;
  margin-right: 15%;
}