* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #ffffff;
  color: #1E3A5F;
}

body {
  padding-top: 80px;
}

/* HERO */
.hero {
  padding: 140px 42px;
  text-align: center;
  color: white;
  background:
    linear-gradient(rgba(30,58,95,0.35), rgba(30,58,95,0.35)),
    url("images/hero-photo.jpg") center 45%/cover no-repeat;
}

.logo img {
  height: 42px;
}

.hero-company {
  font-size: 18px;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.85);
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 20px;
  font-weight: normal;
  max-width: 900px;
  margin: 0 auto;
}

.iso-badge {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 30px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.12);
}

/* HEADER / MENU */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 1000;
  box-sizing: border-box;
}

section {
  scroll-margin-top: 90px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #1E3A5F;
}

.nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #1E3A5F;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    top: 100%;
    left: 0;

    min-width: 200px;

    box-shadow: 0 8px 20px rgba(0,0,0,.15);
    border-radius: 8px;

    padding: 8px 0;
    z-index: 9999;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}



.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* SECTION SOLUTIONS */

.solutions-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.solution-card {
  background: #f8f8f8;
  border-radius: 14px;
  padding: 40px 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 24px rgba(0,0,0,0.15);
}

.solution-icon {
  font-size: 50px;
  margin-bottom: 20px;
}

.solution-card h3 {
  font-size: 22px;
  color: #1E3A5F;
  margin-bottom: 15px;
}

.solution-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-solution {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  background-color: #1E3A5F;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.btn-solution:hover {
  background-color: #152a44;
}

/* GAMMES ELECTRIQUES */

.gammes-section {
  padding: 40px 20px 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
  scroll-margin-top: 60px;
}

.gammes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
  scroll-margin-top: 60px;
}

.gamme-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
   display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gamme-card:hover {
  transform: translateY(-6px);
}

.gamme-icon {
  width: 140px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 18px auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gamme-card h3 {
  font-size: 20px;
  color: #1E3A5F;
  margin-bottom: 10px;
}

.gamme-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  flex-grow: 1;
}

/* GAMMES EAU */

.gammes-eau-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

/* INNOVATION & BUREAU D'ÉTUDES */

.innovation-section {
  padding: 70px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.quality-line {
  max-width: 850px;
  margin: 50px auto 45px auto;
  padding: 14px 15px;
  border-radius: 30px;
  background: #ffffff;
  color: #12365c;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.innovation-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.innovation-card:hover {
  transform: translateY(-6px);
}

.innovation-icon {
  font-size: 44px;
  margin-bottom: 15px;
}

.innovation-card h3 {
  font-size: 20px;
  color: #1E3A5F;
  margin-bottom: 10px;
}

.innovation-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* REALISATIONS */

.realisations-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.real-card {
  background: #f8f8f8;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.real-card:hover {
  transform: translateY(-6px);
}

.real-img {
  font-size: 60px;
  margin-bottom: 15px;
}

.real-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.real-card h3 {
  font-size: 19px;
  color: #1E3A5F;
  margin-bottom: 10px;
}

.real-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* EXPORT */

.export-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.export-text {
  max-width: 850px;
  margin: 0 auto 30px auto;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.export-countries-title {
  font-size: 20px;
  color: #1E3A5F;
  margin-bottom: 10px;
}

.export-countries {
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
}

.export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.export-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.export-icon {
  font-size: 44px;
  margin-bottom: 15px;
}

.export-card h4 {
  font-size: 19px;
  color: #1E3A5F;
  margin-bottom: 10px;
}

.export-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* CONTACT */

.contact-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info, .contact-qrcode {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  align-self: start;
}

.contact-info {
  text-align:center;
}

.contact-info p {
  margin: 12px 0;
}

.contact-info h3, .contact-qrcode h3 {
  color: #1E3A5F;
  margin-bottom: 20px;
}

.contact-qrcode img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.contact-info a {
  color: #1E3A5F;
  font-weight: 600;
}

.whatsapp-link {
  display: inline-block;
  margin-top: 5px;
  padding: 8px 14px;
  border-radius: 6px;
  background-color: #25D366;
  color: #fff !important;
  text-decoration: none;
}

/* WHATSAPP FLOATING BUTTON */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  line-height: 56px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 2000;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}

html {
  scroll-behavior: smooth;
}

.nav a.active {
  font-weight: 700;
  text-decoration: underline;
}


/* mobile */


/* PRODUCT PANEL */

.btn-toggle {
  margin-top: 15px;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  background-color: #1E3A5F;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  align-self: center;
  margin-top: 20px;
}

.btn-toggle:hover {
  background-color: #152a44;
}

.products-panel {
  display: none;
  margin: 20px auto 0 auto;
  max-width: 1000px;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.products-panel.active {
  display: block;
}

.products-panel h3 {
  color: #1E3A5F;
  margin-bottom: 25px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.product-item h4 {
  color: #1E3A5F;
  margin-bottom: 10px;
}

.product-item p {
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.product-item a {
  display: inline-block;
  margin-top: 10px;
  color: #1E3A5F;
  font-weight: 600;
  text-decoration: none;
}

.product-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 10px;
}

.product-specs {
  margin-top: 12px;
  padding-left: 18px;
  color: #444;
  font-size: 13px;
  line-height: 1.6;
}

.product-specs li {
  margin-bottom: 4px;
}

.product-layout {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.product-content {
  flex: 1;
  min-width: 300px;
}

.product-real {
  width: 320px;
  margin-top: 60px;
  margin-left: -10px;
}

.real-installation {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.product-gallery {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.product-gallery img {
    width: 160px;
    transition: transform 1s ease;
}

.product-gallery img:hover {
    transform: scale(1.58);
}

.product-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 8px;
}

.catalog-layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:30px;
  align-items:start;
  overflow:visible;
}

.catalog-sidebar{
  background:#f7f7f7;
  padding:20px;
  border:1px solid #e5e5e5;
  text-align:left;
  position:sticky;
  top:120px;
  align-self:start;
  height:fit-content;
}

.filter-box{
  background:white;
  border:1px solid #ddd;
  padding:18px;
  margin-bottom:20px;
}

.filter-box h4{
  margin-top:0;
  color:#1E3A5F;
  font-size:15px;
}

.filter-box label,
.filter-box a{
  display:block;
  margin:14px 0;
  color:#1E3A5F;
  text-decoration:none;
  font-size:14px;
}

.show-results-btn{
  display:none;
}

.catalog-content{
  background:white;
  border:1px solid #e5e5e5;
  padding:30px 35px;
  text-align:left;
}

.catalog-content h3{
  font-size:15px;
  color:#1E3A5F;
}



.accessoires-gallery {
   display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 45px;
  align-items: stretch;
}

.accessoire-category {
  grid-column: 1 / -1;
  width: 100%;
  color: #0b315c;
  font-size: 20px;
  margin: 35px 0 5px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e5e5;
}

.accessoire,
.accessoire_Sans_filtre {
   display: flex;
  flex-direction: column;
  min-width: 0;
  width: auto;
  text-align: center;
}

.accessoire img,
.accessoire_Sans_filtre img {
  max-width: 100%;
  height: 160px;
  object-fit: contain;
}

.accessoire h4,
.accessoire_Sans_filtre h4 {
  color: #14365d;
  margin: 15px 0 10px;
}

.accessoire a,
.accessoire_Sans_filtre a {
  margin-top: auto;
  display: block;
  text-align: center;
}

.accessoire-img-large {
  max-width: 220px;
  height: 140px;
  object-fit: contain;
}

.accessoire-specs {
  flex: 1;
  font-size: 14px;
  color: #444;
  line-height: 1.2;
  text-align: left;
}

.show-results-btn{
  display:none;
}

@media(max-width:800px){

  .catalog-layout{
    display:block;
  }

  .catalog-sidebar{
    position:static;
    margin-bottom:25px;
  }

  .accessoires-gallery{
    display:grid;
    grid-template-columns:1fr;
    gap:35px;
  }

  .show-results-btn{
    display:block;
    width:100%;
    margin-top:15px;
    padding:14px;
    background:#1E3A5F;
    color:white;
    border:none;
    border-radius:8px;
    font-weight:700;
    font-size:16px;
  }

  .catalog-content{
    scroll-margin-top:80px;
  }

}

.accessoire,
.accessoire_Sans_filtre{
  max-width:100%;
}

.accessoire img,
.accessoire_Sans_filtre img{
  height:180px;
}

.accessoire-specs{
  font-size:14px;
  line-height:1.4;
}
}

.slider-container {
  position: relative;
  background:white;
  border-radius:18px;
  padding:20px 65px;   /* espace pour les flèches */
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  overflow:visible;
}


.slide {
  display:none;
  align-items:center;
  justify-content:center;
  gap:45px;
  height:auto;
  min-height:320px;
  padding:10px 0;
}


.slide.active {
  display:flex;
}


.slide img {
  width:34%;
  max-height:330px;
  object-fit:contain;
  border-radius:12px;
}


.slide-text {
  width:45%;
}


.slide-text h4 {
  color:#0b315c;
  font-size:22px;
  margin-bottom:18px;
}


.slide-text li {
  font-size:16px;
  margin-bottom:6px;
  line-height:1.35;
}


.slide-text p {
  margin-top:25px;
  font-weight:bold;
  color:#0b315c;
  font-size:16px;
}



/* boutons */
.slide-btn {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:#0b315c;
  color:white;
  border:none;
  font-size:24px;

  width:50px;
  height:50px;

  border-radius:50%;
  cursor:pointer;
  opacity:0.9;
}


.prev {
  left:25px;
}


.next {
  right:25px;
}


.slide-btn:hover {
  opacity:1;
  transform:translateY(-50%) scale(1.08);
}

.footer {
  background:#0b2d4d;
  color:white;
  padding:50px 8% 20px;
}


.footer-container {
  display:grid;
  grid-template-columns:2fr 1fr 1.5fr 1fr;
  gap:40px;
}


.footer-logo {
  width:160px;
  margin-bottom:20px;
}


.footer h4 {
  margin-bottom:15px;
  color:white;
}


.footer p,
.footer li {
  color:#d8e2ec;
  line-height:1.8;
  font-size:15px;
}


.footer ul {
  list-style:none;
  padding:0;
}


.footer-iso {
  display:inline-block;
  margin-top:15px;
  padding:8px 18px;
  border:1px solid rgba(255,255,255,0.5);
  border-radius:25px;
  font-weight:600;
}


.footer-bottom {
  border-top:1px solid rgba(255,255,255,0.2);
  margin-top:35px;
  padding-top:20px;
  text-align:center;
  color:#c8d6e5;
  font-size:14px;
}


/* Bouton hamburger caché sur ordinateur */
.menu-btn{
 display:none;
}

@media(max-width:800px){

body{
 padding-top:70px;
}

.header{
 display:flex;
 flex-direction:row;
 justify-content:space-between;
 align-items:center;
 padding:12px 20px;
}

.logo img{
 width:150px;
 height:auto;
 margin:0;
}

/* afficher hamburger uniquement sur mobile */
.menu-btn{
 display:block;
 background:none;
 border:none;
 font-size:32px;
 color:#1E3A5F;
 cursor:pointer;
}

/* cacher le menu au départ */
.nav{
 display:none !important;
 position:absolute;
 top:70px;
 left:0;
 width:100%;
 background:white;
 flex-direction:column;
 align-items:center;
 text-align:center;
 padding:20px 0;
 z-index:9999;
 box-shadow:0 8px 20px rgba(0,0,0,.15);
}

/* afficher le menu après clic */
.nav.open{
 display:flex !important;
}

.nav a{
 padding:10px;
 font-size:18px;
 margin:0;
}

/* sur mobile, on cache "Produits" et on affiche directement les sous-liens */
.dropdown{
 width:100%;
 text-align:center;
}

.dropdown > a{
 display:none;
}

.dropdown-menu{
 display:flex !important;
 flex-direction:column;
 position:static;
 box-shadow:none;
 background:white;
 padding:0;
 min-width:auto;
 border-radius:0;
}

.dropdown-menu a{
 padding:10px;
 font-size:18px;
}

/* Renommer les sous-menus uniquement sur mobile */

.dropdown-menu a[href="#gammes-electriques"]{
 font-size:0;
}

.dropdown-menu a[href="#gammes-electriques"]::after{
 content:"Produits électriques";
 font-size:18px;
}


.dropdown-menu a[href="#eau"]{
 font-size:0;
}

.dropdown-menu a[href="#eau"]::after{
 content:"Produits d'eau potable";
 font-size:18px;
}
.btn-whatsapp{
 display:none;
}

.hero{
 padding:110px 22px;
}

.hero h1{
 font-size:36px;
 line-height:1.2;
}

.hero h2{
 font-size:20px;
 line-height:1.35;
}

.slider-container{
 padding:25px;
}

.slide.active{
 flex-direction:column;
}

.slide img{
 width:90%;
}

.slide-text{
 width:100%;
}

.slide-text h4{
 font-size:22px;
}

.slide-text li{
 font-size:16px;
}

.footer-container{
 grid-template-columns:1fr;
 gap:25px;
}

}


