
:root{
  --green:#7ED957;
  --blue:#00B4D8;
  --dark:#07141B;
  --light:#F7FAFC;
}

*{ margin:0; padding:0; box-sizing:border-box; font-family:"Poppins",sans-serif; }
html{ scroll-behavior:smooth; }
body{ background:linear-gradient(180deg,#F7FAFC,#EAF7FB); overflow-x:hidden; color:var(--dark); }

::-webkit-scrollbar{ width:8px; }
::-webkit-scrollbar-thumb{ background:linear-gradient(135deg,var(--green),var(--blue)); border-radius:50px; }

/* ===== HEADER FLOTTANT ===== */
/* =========================
ANIMATION DOUCE & PREMIUM
========================= */

section{
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity .8s ease-out,
    transform .8s ease-out;

  will-change: opacity, transform;
}

/* visible */
section.show{
  opacity: 1;
  transform: translateY(0);
}
header{
  position:fixed; top:18px; left:50%; transform:translateX(-50%);
  width:92%; z-index:9999;
  padding:14px 28px;
  display:flex; justify-content:space-between; align-items:center;
  background:linear-gradient(135deg,var(--green),var(--blue));
  border-radius:24px;
  box-shadow:0 10px 40px rgba(0,0,0,.18);
}

.logo{ display:flex; align-items:center; gap:14px; }
.logo img{ height:66px; border-radius:10px; }
.logo-text{ color:white; }
.logo-text h2{ font-size:20px; font-weight:800; }
.logo-text span{ font-size:12px; opacity:0.85; }
.dynamic-text{
  color:white; font-weight:600; font-size:13px;
  border-right:2px solid rgba(255,255,255,0.7);
  padding-right:5px; white-space:nowrap;
  margin-left:8px; opacity:0.9;
}

nav{ display:flex; gap:8px; }
nav a{
  text-decoration:none; color:white; font-weight:600;
  padding:9px 18px; border-radius:50px; font-size:14px;
  transition:all 0.25s ease;
}
nav a:hover, nav a.active{
  background:white; color:var(--blue);
  box-shadow:0 4px 14px rgba(0,0,0,.12);
}
.menu-toggle{ display:none; cursor:pointer; }
.menu-toggle img{
  width:42px; filter:drop-shadow(0 4px 10px rgba(0,0,0,0.3));
  transition:transform 0.3s ease;
}
.menu-toggle img:hover{ transform:rotate(-10deg) scale(1.1); }
.menu-toggle img.rotate{ transform:rotate(90deg); }

/* ===== HERO PLEINE PAGE ===== */
.hero{
  min-height:100vh;
  display:flex; align-items:center;
  padding:120px 8% 80px;
  background:linear-gradient(135deg,var(--green),var(--blue));
  position:relative; overflow:hidden;
}
.hero::before, .hero::after{
  content:""; position:absolute;
  width:450px; height:450px;
  border-radius:50%; filter:blur(90px); opacity:.35;
  pointer-events:none;
}
.hero::before{ background:var(--green); top:-120px; left:-120px; }
.hero::after{ background:var(--blue); bottom:-130px; right:-130px; }

.hero-container{
  display:grid; grid-template-columns:1fr 1fr;
  gap:60px; align-items:center; width:100%; position:relative; z-index:1;
}

/* TEXTE GAUCHE */
.hero-content{ color:white; }
.hero-badge{
  display:inline-block; padding:11px 22px;
  background:rgba(255,255,255,.2); border-radius:50px;
  margin-bottom:22px; font-size:14px; font-weight:600;
  backdrop-filter:blur(8px);
}
.hero h1{ font-size:64px; font-weight:800; line-height:1.1; }
.hero p{ margin-top:18px; font-size:17px; opacity:.88; line-height:1.7; }
.hero-buttons{ margin-top:28px; display:flex; gap:14px; flex-wrap:wrap; }
.hero-btn{
  padding:13px 28px; border-radius:50px; font-weight:700;
  text-decoration:none; font-size:15px; transition:all 0.25s ease;
}
.hero-btn.primary{
  background:white; color:var(--blue);
  box-shadow:0 6px 20px rgba(0,0,0,.15);
}
.hero-btn.primary:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(0,0,0,.2); }
.hero-btn.secondary{ border:2px solid rgba(255,255,255,0.8); color:white; }
.hero-btn.secondary:hover{ background:rgba(255,255,255,0.15); transform:translateY(-2px); }

/* ===== SLIDER STYLE CODE 2 — Grand, centré, fade ===== */
.hero-slider{
  position:relative;
  height:520px;
  display:flex; justify-content:center; align-items:center;
}

/* Halo décoratif derrière les images */
.hero-slider::before{
  content:"";
  position:absolute;
  width:400px; height:400px;
  background:rgba(255,255,255,0.12);
  border-radius:50%;
  filter:blur(40px);
  pointer-events:none;
}
.hero-slide {
  position: absolute;
  opacity: 0;
  transform: scale(0.82) translateY(10px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  /* overflow: hidden;  ← supprime cette ligne */
}

.hero-slide.active{
  opacity:1;
  transform:scale(1) translateY(0);
  pointer-events:auto;
}

/* Image grande et flottante */
.hero-slide img {
  width: 100%;
  max-width: 420px;
  max-height: 420px;
  object-fit: contain;
  border-radius: 80px 80px 0 0; /* haut-gauche  haut-droit  bas-droit  bas-gauche */
  animation: floatImg 4s ease-in-out infinite;
}
@keyframes floatImg{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-18px); }
}

/* Label sous l'image */
.hero-slide .slide-label{
  position:absolute;

  top:10px;
  left:50%;
  transform:translateX(-50%);

  background:rgba(255,255,255,0.18);
  backdrop-filter:blur(14px);

  color:white;
  padding:10px 28px;

  border-radius:50px;

  font-weight:700;
  font-size:15px;

  border:1px solid rgba(255,255,255,0.28);

  box-shadow:0 6px 20px rgba(0,0,0,.15);

  letter-spacing:0.4px;

  z-index:10;
}
/* Flèches discrètes */
.hero-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,0.18); backdrop-filter:blur(10px);
  color:white; border:1px solid rgba(255,255,255,0.3);
  width:46px; height:46px; border-radius:50%;
  cursor:pointer; font-size:17px; z-index:10;
  display:flex; align-items:center; justify-content:center;
  transition:all 0.25s ease;
}
.hero-arrow:hover{ background:rgba(255,255,255,0.35); transform:translateY(-50%) scale(1.1); }
.hero-arrow.left{ left:-10px; }
.hero-arrow.right{ right:-10px; }

/* Dots */
.hero-dots{
  position:absolute; bottom:-28px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px; align-items:center;
}
.hero-dot{
  width:8px; height:8px; border-radius:50%;
  background:rgba(255,255,255,0.4); cursor:pointer; transition:all 0.3s;
}
.hero-dot.active{ width:26px; border-radius:4px; background:white; }

/* Compteur slide */
.slide-counter{
  position:absolute; bottom:-30px; right:0;
  color:rgba(255,255,255,0.7); font-size:13px; font-weight:600;
}

/* ===== SECTIONS ===== */
section{ padding:90px 8%; }

.section-divider{
  background:linear-gradient(135deg,var(--green),var(--blue));
  padding:44px; text-align:center; color:white;
  border-radius:24px; margin-bottom:44px;
  box-shadow:0 16px 40px rgba(0,180,216,0.2);
}
.section-divider h2{ font-size:36px; font-weight:800; }

/* ===== PRODUITS ===== */
.products-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}
.product-card{
  background:white; border-radius:28px; overflow:hidden; position:relative;
  box-shadow:0 10px 40px rgba(0,0,0,.08);
  border:1px solid rgba(0,180,216,0.07);
  transition:transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card:hover{ transform:translateY(-10px); box-shadow:0 24px 64px rgba(0,180,216,0.22); }

.product-badge{
  position:absolute; top:14px; left:14px;
  background:linear-gradient(135deg,var(--green),var(--blue));
  color:white; padding:7px 16px;
  border-radius:50px; font-size:11px; font-weight:700;
  z-index:10; box-shadow:0 4px 12px rgba(0,0,0,.15);
  letter-spacing:0.5px; text-transform:uppercase;
}

.product-img.slider{
  position:relative; height:340px; overflow:hidden;
  background:linear-gradient(135deg,rgba(126,217,87,0.07),rgba(0,180,216,0.07));
}
.slider-track{ display:flex; height:100%; transition:transform .6s cubic-bezier(.77,0,.18,1); }
.slide-item{
  width:100%; height:340px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; padding:24px;
}
.product-slide-content{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  width:100%; height:100%; gap:20px;
}
.product-slide-content img{
  max-width:115%; max-height:260px; object-fit:contain;
  border-radius:18px; transition:transform 0.4s ease;
  filter:drop-shadow(0 12px 28px rgba(0,180,216,0.2));
  box-shadow:0 10px 30px rgba(0,180,216,0.15);
}
.product-slide-content:hover img{ transform:scale(1.06) translateY(-4px); }
.product-name{
  background:linear-gradient(135deg,var(--green),var(--blue));
  color:white; padding:10px 24px; border-radius:50px;
  font-size:13px; font-weight:700; text-align:center;
  box-shadow:0 6px 18px rgba(0,180,216,0.25);
  max-width:80%; transition:all 0.3s ease;
}
.product-slide-content:hover .product-name{ transform:translateY(-3px) scale(1.03); }

.img-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,0.9); color:var(--blue);
  border:none; width:36px; height:36px; border-radius:50%;
  cursor:pointer; font-size:14px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,0.15); transition:all 0.2s; z-index:10;
}
.img-arrow:hover{ background:var(--blue); color:white; transform:translateY(-50%) scale(1.1); }
.img-arrow.left{ left:10px; }
.img-arrow.right{ right:10px; }

.product-content{ padding:22px 24px; text-align:center; }
.product-content h4{ color:var(--blue); font-size:19px; font-weight:700; margin-bottom:6px; }
.product-content p{ color:#777; font-size:13px; }
.product-actions{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-top:16px; }
.btn-eye, .btn-order{
  border:none; padding:11px 22px; border-radius:50px;
  font-weight:600; cursor:pointer; transition:all 0.25s ease; font-size:14px;
}
.btn-eye{ background:#f0f4f8; color:var(--dark); border:1px solid rgba(0,180,216,0.12); }
.btn-eye:hover{ background:#ddf0f7; transform:scale(1.05); }
.btn-order{
  background:linear-gradient(135deg,var(--green),var(--blue));
  color:white; box-shadow:0 6px 18px rgba(0,180,216,0.3);
}
.btn-order:hover{ transform:scale(1.06); box-shadow:0 10px 26px rgba(0,180,216,0.4); }

/* ===== SERVICES ===== */
.services-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:24px;
}
.service-card{
  background:white; padding:32px; border-radius:22px;
  box-shadow:0 8px 24px rgba(0,0,0,.07);
  border-left:5px solid var(--blue);
  transition:transform 0.25s, box-shadow 0.25s;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:0 16px 40px rgba(0,180,216,0.15); }
.service-icon{ font-size:36px; margin-bottom:14px; }
.service-card strong{ font-size:17px; color:var(--blue); display:block; margin-bottom:8px; font-weight:700; }
.service-card p{ color:#666; font-size:14px; line-height:1.6; }

/* ===== CONTACT ===== */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.contact-form{
  background:white; padding:36px; border-radius:24px;
  box-shadow:0 10px 32px rgba(0,0,0,.10);
  display:flex; flex-direction:column; gap:14px;
}
.contact-form h3{ color:var(--blue); font-size:22px; font-weight:700; margin-bottom:4px; }
.contact-form input, .contact-form textarea{
  padding:14px 16px; border-radius:12px;
  border:1.5px solid #e5e9f0; font-size:14px; outline:none;
  transition:border-color 0.2s; font-family:"Poppins",sans-serif;
}
.contact-form input:focus, .contact-form textarea:focus{ border-color:var(--blue); }
.contact-form button{
  background:linear-gradient(135deg,var(--green),var(--blue));
  color:white; border:none; padding:14px; border-radius:12px;
  font-weight:700; cursor:pointer; font-size:15px;
  transition:transform 0.2s, box-shadow 0.2s;
  box-shadow:0 6px 18px rgba(0,180,216,0.3);
}
.contact-form button:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(0,180,216,0.4); }

.map-card{
  background:white; border-radius:24px;
  box-shadow:0 10px 32px rgba(0,0,0,.10);
  padding:28px; display:flex; flex-direction:column; gap:16px;
}
.map-card h3{ color:var(--blue); font-size:20px; font-weight:700; }
.map-card .address{ font-size:13px; color:#555; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.map-btn{
  display:inline-block;
  background:linear-gradient(135deg,var(--green),var(--blue));
  color:white; text-decoration:none; padding:8px 16px;
  border-radius:50px; font-size:12px; font-weight:700;
  box-shadow:0 4px 12px rgba(0,180,216,0.3);
}
.map-card iframe{ width:100%; height:260px; border-radius:16px; border:none; }


/* ===== FOOTER ===== */
footer{
  background:linear-gradient(135deg,var(--blue),var(--green));
  color:white; padding:40px 8%;
  border-radius:24px 24px 0 0; margin-top:20px; text-align:center;
}
footer p{ opacity:0.85; font-size:14px; }

/* ===== FLOATING ===== */
.floating-container{
  position:fixed; bottom:36px; right:20px;
  display:flex; align-items:center; gap:12px; z-index:1000;
}
.floating-bottle{
  width:86px;
  filter:drop-shadow(0 8px 20px rgba(0,180,216,0.35));
}
#backToTop{
  padding:11px 16px;
  background:linear-gradient(135deg,var(--green),var(--blue));
  color:white; font-weight:700; border:none; border-radius:50px;
  cursor:pointer; font-size:16px; display:none;
  box-shadow:0 6px 18px rgba(0,0,0,.22);
  transition:transform 0.2s;
}
#backToTop:hover{ transform:translateY(-2px); }
/* ===== EVENT OVERLAY PREMIUM ===== */

.event-overlay{
  position:absolute;
  left:0;
  bottom:0;
  width:100%;

  padding:24px;

  background:linear-gradient(
    to top,
    rgba(0,0,0,0.82),
    rgba(0,0,0,0.15),
    transparent
  );

  color:white;

  z-index:5;

  transform:translateY(20px);
  opacity:0;

  transition:0.4s ease;
}

/* apparition hover */
.gallery-item:hover .event-overlay{
  transform:translateY(0);
  opacity:1;
}

/* date */
.event-date{
  display:inline-block;

  background:linear-gradient(
    135deg,
    var(--green),
    var(--blue)
  );

  padding:7px 14px;

  border-radius:50px;

  font-size:12px;
  font-weight:700;

  margin-bottom:14px;

  box-shadow:0 4px 14px rgba(0,0,0,0.25);
}

/* titre */
.event-overlay h3{
  font-size:24px;
  font-weight:800;

  margin-bottom:10px;
}

/* description */
.event-overlay p{
  font-size:14px;
  line-height:1.7;

  opacity:0.92;

  margin-bottom:14px;
}

/* lieu */
.event-location{
  display:inline-flex;
  align-items:center;
  gap:8px;

  background:rgba(255,255,255,0.12);

  padding:8px 14px;

  border-radius:50px;

  backdrop-filter:blur(8px);

  font-size:13px;
  font-weight:600;
}

/* MOBILE */
@media(max-width:768px){

  .event-overlay{
    opacity:1;
    transform:none;
    padding:18px;
  }

  .event-overlay h3{
    font-size:20px;
  }

}
/* ===== WHATSAPP ===== */
.whatsapp-float{
  position:fixed; bottom:140px; right:20px;
  width:58px; height:58px; background:#25D366; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(37,211,102,0.45);
  z-index:1000; animation:pulse 2s infinite; text-decoration:none;
}
.whatsapp-float img{ width:30px; }
@keyframes pulse{ 0%,100%{transform:scale(1);} 50%{transform:scale(1.1);} }

/* ===== RESPONSIVE ===== */
@media(max-width:900px){
  header{ top:10px; width:96%; padding:12px 16px; }
  .logo img{ height:52px; }
  .dynamic-text{ display:none; }
  nav{
    position:absolute; top:calc(100% + 8px); right:0;
    background:linear-gradient(135deg,var(--green),var(--blue));
    width:100%; display:none; flex-direction:column;
    padding:16px 20px; border-radius:0 0 18px 18px;
    box-shadow:0 8px 24px rgba(0,0,0,.15);
  }
  nav.active{ display:flex; }
  nav a{ margin:6px 0; border-radius:10px; }
  .menu-toggle{ display:block; }
  .hero{ padding:110px 6% 80px; }
  .hero-container{ grid-template-columns:1fr; gap:50px; }
  .hero h1{ font-size:42px; }
  .hero-slider{ height:380px; }
  .hero-slide img{ max-width:280px; max-height:300px;  margin-top:40px;
 }
  .products-grid,.services-grid,.contact-grid{ grid-template-columns:1fr; }
  .product-img.slider{ height:300px; }
  .slide-item{ height:300px; }
  .floating-bottle{ width:64px; }
  section{ padding:60px 5%; }
}
/* ===== LIGHTBOX MODERNE ===== */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.85);
  backdrop-filter:blur(12px);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:99999;
  animation:fadeIn 0.2s ease;
}

@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}

.lightbox img{
  max-width:85%;
  max-height:75%;
  border-radius:20px;
  box-shadow:0 25px 70px rgba(0,0,0,0.6);
  transform:scale(0.9);
  animation:pop 0.25s ease forwards;
}

@keyframes pop{
  to{transform:scale(1)}
}

.lightbox-close{
  position:absolute;
  top:25px;
  right:35px;
  font-size:45px;
  color:white;
  cursor:pointer;
  transition:0.2s;
}

.lightbox-close:hover{
  transform:scale(1.2);
  color:#7ED957;
}

#lightbox-caption{
  margin-top:15px;
  color:white;
  font-weight:700;
  font-size:16px;
  text-align:center;
}

/* ===== VIDEO PRESENTATION ===== */
.video-testimonial{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;

  background:linear-gradient(
    135deg,
    rgba(126,217,87,0.08),
    rgba(0,180,216,0.08)
  );

  padding:40px;
  border-radius:30px;
}

.video-content h3{
  font-size:34px;
  color:var(--blue);
  margin-bottom:18px;
  font-weight:800;
}

.video-content p{
  color:#555;
  line-height:1.8;
  margin-bottom:24px;
  font-size:15px;
}

.video-badge{
  display:inline-block;
  padding:10px 18px;

  background:linear-gradient(
    135deg,
    var(--green),
    var(--blue)
  );

  color:white;
  border-radius:50px;
  font-size:13px;
  font-weight:700;
  margin-bottom:20px;
}

.video-btn{
  display:inline-block;
  padding:13px 24px;

  background:linear-gradient(
    135deg,
    var(--green),
    var(--blue)
  );

  color:white;
  text-decoration:none;
  border-radius:50px;
  font-weight:700;

  box-shadow:0 8px 24px rgba(0,180,216,0.25);
  transition:0.3s;
}

.video-btn:hover{
  transform:translateY(-3px);
}

/* CONTENEUR DES 2 VIDEOS */
.video-container{
  display:block;
  width:100%;
}

.video-box{
  width:100%;
}

.video-box video{
  width:100%;
  max-height:700px;
  border-radius:24px;
  object-fit:cover;

  box-shadow:
    0 18px 50px rgba(0,0,0,0.18);
}

/* RESPONSIVE */
@media(max-width:900px){

  .video-testimonial{
    grid-template-columns:1fr;
    padding:24px;
  }

  .video-content h3{
    font-size:26px;
  }

  .video-container{
    grid-template-columns:1fr;
  }

}