/* Reset basique */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  background: radial-gradient(circle, #dad3d0b6 0%, transparent 80%);
  color: #333;
  text-align: center;
}

/* Bouton principal */
.btn {
  display: inline-block;
  background-color: #e97c51;
  color: #1e1e2f;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}



/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
  }

  main {
    padding: 20px;
  }
}
/* services index */
/* Conteneur principal pour aligner les cartes */
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

/* Section services */
#services {
  grid-column: 1 / -1; /* prend toute la largeur de la grille main */
  background: #fff;
  padding: 60px 30px;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  text-align: center;
}
/* Liste des services */
.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  padding: 0;
  margin: 0;
}

/* Carte service */
.service-list li {
  background: #f9f9f9;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(30, 60, 114, 0.1);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Effet hover carte */
.service-list li:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 50px rgba(30, 60, 114, 0.25);
}

/* Lien carte */
.service-list a {
  color: #080808;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Changement couleur texte au hover */
.service-list a:hover {
  color: #e84e0f;
}

/* Image carte */
.service-list img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 4px solid #e84e0f;
  transition: transform 0.4s ease;
}

/* Zoom image au hover */
.service-list li:hover img {
  transform: scale(1.05);
}

/* Texte carte centré verticalement */
.service-list span {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  #services {
    padding: 40px 20px;
  }

  
}

/* Footer */
.footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 3px solid #e84e0f; /* couleur or pour rappeler le jaune du bouton */
}

.footer p {
  margin: 0;
}

.footer a {
  color: #e84e0f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
}
/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* prend toute la hauteur de l'écran */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Vidéo */
.hero-video { position:absolute;
   inset:0;
    width:100%;
     height:100%; object-fit:cover; z-index:-2; background: #0a66ff; }

/* Overlay sombre */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* assombrit la vidéo */
    z-index: -1;
}

/* Contenu du hero */
.hero-content {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Bouton */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #e84e0f;
    color: #1e1e1e;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn:hover {
    background: #e84e0f;
    transform: scale(1.05);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
}

/* Style général de la section */
section.contact {
  background: #dad6c452; /* gris clair */
  padding: 60px 20px;
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
  
}

section.contact::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #e84e0f 0%, transparent 70%);
  z-index: 0;
  opacity: 0.2;
}

section.contact .container1 {
  max-width: 800px;
  margin: auto;
  z-index: 1;
  position: relative;
 
}
.success {
  background: #d4edda;
  color: #155724;
  border-left: 6px solid #28a745;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.contact .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact textarea {
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
 
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  font-size: 16px;
  width: 100%;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.4); /* jaune */
  transform: scale(1.02);
}

.contact .btn {
  background-color: #e84e0f;
  color: #222;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact .btn:hover {
  background-color: #e84e0f;
  transform: translateY(-2px);
}



.realisations {
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
}
.slider-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.slider {
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.slider:hover {
  transform: scale(1.03);
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

/* Section hero */
.zinguerie-hero {
    background: url('../images/homme-plein-coup-travaillant-sur-le-toit.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
}

.zinguerie-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

.zinguerie-hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
}


.zinguerie-hero p {
    font-size: 1.2rem;
}

/* Section services */
.zinguerie-services {
    padding: 60px 20px;
    background: #f8f8f8;
    text-align: center;
    background-image: url(/assets/images/zinguerie/bg.jpg);
    
}

.zinguerie-services h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.zinguerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

@keyframes cardAppear {
    0% {
        transform: scale(0.8) rotate(-5deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.05) rotate(2deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.zinguerie-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Colonnes adaptatives */
    gap: 25px;
    padding: 40px;
    justify-items: center;
    
}

.zinguerie-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    opacity: 0;
    transform: scale(0.8) rotate(-3deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 260px; /* Taille fixe plus compacte */
    text-align: center;
}

/* Apparition au scroll */
.zinguerie-card.visible {
    animation: cardAppear 0.8s ease forwards;
}

/* Effet au survol */
.zinguerie-card:hover {
    transform: translateY(-10px) scale(1.03) rotate(0deg);
    box-shadow: 0 10px 30px rgba(255, 123, 0, 0.5);
}

.zinguerie-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.zinguerie-card:hover img {
    transform: scale(1.1);
}

/* Texte */
.zinguerie-card h3 {
    font-size: 1.1rem;
    margin: 10px 0 5px;
}

.zinguerie-card p {
    font-size: 0.9rem;
    color: #555;
    padding: 0 10px 15px;
}
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Hero section inspiré "Passion" */
.hero-reno {
  position: relative;
  height: 80vh;
  background: url('assets/images/renovation/bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-reno .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-inner {
  position: relative;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}
.hero-inner h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero-inner p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.btn-primary {
  background: #e84e0f;
  color: #1e1e1e;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.btn-primary:hover {
  background: #e84e0f;
  transform: scale(1.05);
}

/* Services/Features Section */
.features-reno {
  background: #f4f4f4;
  padding: 60px 20px;
  margin-left: 300px;
  margin-right: 300px;
  padding: 100px;
  
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
 
}
.feature {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 10%;
}
.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}
.feature h3 {
  color: #e84e0f;
  margin-bottom: 15px;
}
.feature p {
  color: #555;
}

/* Animation keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner h1 { font-size: 2.2rem; }
  .hero-inner p { font-size: 1rem; }
  .btn-primary { padding: 10px 22px; }
}



.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.hero-image {
  flex: 1;
  background-size: cover;
  background-position: center;
}

/* ==== ABOUT SECTION ==== */
/* Section About Charpente */
.about-charpente {
  padding: 80px 20px;
  background: #f9f9f9; /* fond clair comme sur la photo */
  font-family: 'Poppins', sans-serif; /* police moderne */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Texte */
.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
  position: relative;
}

.about-text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #e84e0f; /* couleur accent (or/marron) */
  margin-top: 10px;
  
}

.about-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Liste avec icônes */
.about-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-text ul li {
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
}

/* Icône avant chaque élément */
.about-text ul li::before {
  content: "\f058"; /* Font Awesome icône check-circle */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  position: absolute;
  left: 0;
  top: 0;
}

/* Image */
.about-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.service-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ==== CTA ==== */
.cta-section {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.btn-dark {
  background: var(--secondary);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-dark:hover {
  background: var(--dark);
}
/* Hero Charpente */
.hero-charpente {
  width: 100%;
  height: 90vh; /* Adjust if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-charpente::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay */
  z-index: 1;
}

.hero-charpente .hero-text {
  position: relative;
  z-index: 2;
  color: rgb(255, 255, 255);
}

.hero-charpente h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-charpente p {
  font-size: 1.2rem;
}


.hero-nettoyage {
  
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(0, 0, 0);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  
  background: rgba(0, 0, 0, 0.5); /* Assombrit l’arrière-plan */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .hero-nettoyage {
    height: 60vh;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card i {
  font-size: 2.5rem;
  color: #e84e0f;
  margin-bottom: 15px;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* CTA */
.cta-section {
  background: #e84e0f;
  color: #1e1e1e;
  text-align: center;
  padding: 40px 20px;
}
.btn-dark {
  background: #1e1e1e;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
}
.btn-dark:hover {
  background: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .about-grid { flex-direction: column; }
  .hero-nettoyage h1 { font-size: 2rem; }
}
.logo img {
  max-height: 60px; /* Taille max du logo */
  height: auto;
  width: auto;
  display: block;
}
.stats-section {
    background: #e84e0f;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat {
    flex: 1 1 200px;
    margin: 15px 0;
}
.titre {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center; /* Centrage horizontal */
    color: #0a0a0a;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

/* Conteneur pour centrer le titre */
.section-title-wrapper {
    text-align: center;
}

/* Ligne jaune */
.titre::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%; /* Centre la ligne */
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: #e84e0f;
    border-radius: 2px;
}
/* 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: #fff;
  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;
}
  /* Bloc Infos de contact */
  .info-section {
    padding: 25px;
    margin: 30px 0; 
  }
  .info-section p {
    font-size: 16px;
    margin: 10px 0;
    color: #444;
  }

  .info-section a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
  }

  .info-section a:hover {
    color: #e05500;
  }

  /* Carte Google Maps */
  .map-container {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden; /* arrondit la carte */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    width:100%;
    max-height: 600px;
  }
  









