/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

:root {
  --blue-light: #4A90E2;
  --blue-dark: #003366;
  --yellow-solar: #ffec4e;
  --green-eco: #2E7D32;
  --grey-dark: #4B4B4B;
  --white: #FFFFFF;
}

/* General */



  /* Barre de navigation */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: var(--blue-dark);
      padding: 15px 30px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.775);
    }

    .logo {
      display: flex;
      align-items: center;
    }

    .logo img {
      height: 60px;
      margin-right: 10px;
    }

    .logo span {
      font-size: 22px;
      font-weight: bold;
      color: var(--white);
    }

    /* Contact et horaires */
    .contact {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .info {
      display: flex;
      align-items: center;
      gap: 5px;
      color: var(--white);
      font-size: 14px;
    }
    .tel{
      color: var(--white);
      text-decoration: none;
    }
    /* Bouton */
    .btn {
      background-color: var(--blue-light);
      color: white;
      padding: 15px 17px;
      text-decoration: none;
      border-radius: 5px;
      font-size: 14px;
      transition: background 0.6s;
    }
    @media (max-width: 768px) {
      .btn {
        color: #FFD82A;
      }
    }
    .btn:hover {
      background-color: var(--yellow-solar);
      color: var(--white);
      
    }

    /* Menu */
    .menu {
      display: flex;
      justify-content: center;
      background-color: var(--white);
      padding: 10px 0;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      list-style: none;
    }

    .menu li {
      padding: 10px 20px;
    }

    .menu li a {
      text-decoration: none;
      color: var(--blue-dark);
      font-weight: bold;
      transition: color 0.3s;
    }

    .menu .active a {
      border-bottom: 3px solid var(--blue-light);
    }

    .menu .highlight a {
      color: var(--green-eco);
      font-weight: bold;
    }

    .menu li a:hover {
      color: var(--blue-light);
    }

    /* Responsive */
    @media (max-width: 768px) {
      .navbar {
          flex-direction: column;
          text-align: center;
          padding: 30px 30px;
      }

      .contact {
          flex-direction: column;
          gap: 10px;
          margin-top: 10px;
      }

      .menu {
          flex-wrap: wrap;
          justify-content: center;
      }

      .menu li {
          padding: 8px 15px;
      }
    }
/************************************************************************************************************
/* Accueil */

/* Section Services Overview */
.info a {
  color: var(--white);
  text-decoration: none;
}
.info a:hover {
  color: var(--yellow-solar);
}

.services-overview {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.services-overview h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.renov{
  color: #3498db;
  font-weight: bold;
}
.climt{
  color: #ffec4e;
  font-weight: bold;
}

.services-overview p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.services-overview .highlight-link {
  color: #3498db;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.services-overview .highlight-link:hover {
  color: #ffec4e;
  text-decoration: underline;
}
/**************/
.about-climrenov {
  text-align: center;
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-climrenov h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #005f73;
}

.about-climrenov p {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 40px;
}

.advantages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.advantage {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage img {
  width: 60px;
  margin-bottom: 15px;
}

.advantage h3 {
  color: #005f73;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.advantage p {
  font-size: 1em;
  color: #555;
}

.advantage:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .advantages {
    flex-direction: column;
    align-items: center;
  }
  .advantage {
    width: 80%;
  }
}

/************/
.about-us {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f9fa;
}

.about-us h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature img {
  width: 60px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.2rem;
  color: #007bff;
  margin-bottom: 10px;
}

.feature p {
  font-size: 1rem;
  color: #555;
}
/*************/
/************************************************************************************************************

/* Section Services */
.services {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  
  align-items: center;
}

.services h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.services p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #666;
}

/* Grille des services */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* Cartes des services */
.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 17rem;
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #3498db;
  margin: 5px 0;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  padding: 0 15px 20px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
  .services {
    padding: 40px 15px;
  }

  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 90%;
    margin-bottom: 20px;
  }
}
/************************************************************************************************************

/* Section À propos */
.about-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
}

.about-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.about-section p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 20px;
}

.about-section p strong {
  font-weight: bold;
  color:#3498db; 
}

.about-section p:last-child {
  margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 768px) {
  .about-section {
    padding: 40px 15px;
  }

  .about-section h1 {
    font-size: 2rem;
  }

  .about-section p {
    font-size: 1rem;
  }
}

/************************************************************************************************************

/* Section Réalisations */
.realisations-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.realisations-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.realisations-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #666;
}

/* Galerie d'images */
.realisations-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

.realisations-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.realisations-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.realisations-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.realisations-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
  cursor: pointer;
}

.overlay p {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 20px;
  color: whitesmoke;
}

/* Images supplémentaires */
.extra-images {
  display: none;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.extra-images img {
  width: 100px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Responsive Design */
@media (max-width: 768px) {
  .realisations-section {
      padding: 40px 15px;
  }

  .realisations-gallery {
      grid-template-columns: 1fr 1fr;
      gap: 20px;
  }

  .realisations-item {
      height: 250px;
  }
}
/************************************************************************************************************
/* Section Demande de devis */
.quote-section {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.quote-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #666;
}

#quote-form {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #3498db;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 90%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

textarea {
  resize: vertical;
}

/* Bouton */
.btn-primaryQ {
  background-color: #3498db;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  display: block;
  margin: 20px auto 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primaryQ:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .quote-section {
    padding: 40px 15px;
  }

  .btn-primaryQ {
    width: 100%;
  }
}
/************************************************************************************************************
/* Section Contact */
.contact-section {
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #666;
}

.contact-info {
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
}

.info-item {
  text-align: left;
}

.info-item h3 {
  font-size: 1.5rem;
  color: #3498db;
  margin-bottom: 10px;
}

.info-item p {
  font-size: 1rem;
  color: #555;
}

/* Formulaire de contact */
#contact-form {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #3498db;
}

.form-group input,
.form-group textarea {
  width: 90%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #3498db;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

textarea {
  resize: vertical;
}

/* Bouton */
.btn-primaryC {
  background-color: #3498db;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  display: block;
  margin: 20px auto 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primaryC:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Map */
.map-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.map-container {
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .info-item {
    margin-bottom: 20px;
  }
  
  .btn-primaryC {
    width: 100%;
  }
}

/************************************************************************************************************/

.footer {
  background: #1a1a1a;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 120px;
}

.footer h2, .footer h3 {
  color: #4A90E2;
}

.footer p, .footer a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-links ul {
  list-style: none;
  padding-bottom: 10px;
  
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover, .footer-contact a:hover {
  color: #4A90E2;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: #4A90E2;
}

.footer-logo{
  height: 200px;
  width: auto;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .footer-container {
    gap: 40px;
  }

  .footer-logo {
    width: 30%;
    height: auto;
  }
}
/************************************************************************************************************/

/* From Uiverse.io by david-mohseni */ 
.wrapper {
  display: inline-flex;
  list-style: none;
  height: 120px;
  width: 100%;
  padding-top: 40px;
  font-family: "Poppins", sans-serif;
  justify-content: center;
}

.wrapper .icon {
  position: relative;
  background: #fff;
  border-radius: 50%;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #fff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  color: #fff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background: #1da1f2;
  color: #fff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #e4405f;
  color: #fff;
}
/* Responsive Design */
@media (max-width: 768px) {
  .wrapper {
    padding-top: 20px;
  }

  .wrapper .icon {
    margin: 5px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .wrapper .tooltip {
    font-size: 12px;
    padding: 4px 6px;
  }
}
/*************************************************************************************************************/
/* Section Certifications */
.certifications {
  max-width: 1200px;
  margin: 4rem 8%;
  padding: 40px 20px;
  text-align: center;
  align-items: center;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h4 {
  font-size: 2rem;
  color: #005f73;
  margin-bottom: 20px;
  font-weight: 700;
}

.fiches-techniques {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.fiches-techniques div {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.fiches-techniques div:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fiches-techniques h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.fiches-techniques p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.fiches-techniques a {
  display: inline-block;
  margin-top: 15px;
}

.fiches-techniques img {
  max-width: 100px;
  height: auto;
  transition: transform 0.3s ease;
}

.fiches-techniques a:hover img {
  transform: scale(1.1);
}
/*************************************************************************************************************/
/* Section a propos */

.about-us {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.about-us h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.feature {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.feature img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.5rem;
  color: #0cc0df;
  margin-bottom: 10px;
}

.feature p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}


/*******************/
.testimonials {
  text-align: center;
  padding: 50px 20px;
  background-color: #f8f9fa;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #005f73;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
}

.testimonial p {
  font-size: 1rem;
  font-style: italic;
  color: #555;
}

.testimonial span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #007bff;
}

/****************/
