/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: #24262b;
  --black-color-light: #24262b;
  --black-color-lighten: #24262b;
  --white-color: #fff;
  --body-color: hsl(220, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  background-repeat: no-repeat;
  overflow-x: hidden;
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/* ===============================
   RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===============================
   HEADER
================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* ===============================
   NAVBAR
================================ */
.main-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  padding: 0 30px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Logo */
.main-logo img {
  max-height: 80px;
}

/* ===============================
   MENU DESKTOP
================================ */
.main-menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  display: block;
  padding: 12px 18px;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

.main-menu a:hover {
  color: #007bff;
}

/* ===============================
   DESKTOP DROPDOWNS
================================ */
@media (min-width: 769px) {

  .main-submenu,
  .main-subsubmenu {
    display: none;
    position: absolute;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.08);
    z-index: 999;
  }

  .main-submenu {
    top: 100%;
    left: 0;
  }

  .main-subsubmenu {
    top: 0;
    left: 100%;
  }

  .main-dropdown:hover > .main-submenu {
    display: block;
  }

  .main-subdropdown:hover > .main-subsubmenu {
    display: block;
  }
}

/* ===============================
   BURGER
================================ */
.main-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {

  .main-navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 15px 20px;
  }

  .main-toggle {
    display: block;
  }

  /* MENU MOBILE SCROLLABLE */
  .main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    margin-top: 15px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .main-menu.main-active {
    display: flex;
  }

  .main-menu li {
    width: 100%;
  }

  .main-menu a {
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  /* MOBILE DROPDOWNS */
  .main-submenu,
  .main-subsubmenu {
    display: none;
    position: static;
    border: none;
    box-shadow: none;
  }

  .main-dropdown.main-show > .main-submenu {
    display: block;
  }

  .main-subdropdown.main-show > .main-subsubmenu {
    display: block;
  }

  .main-submenu a {
    padding-left: 30px;
  }

  .main-subsubmenu a {
    padding-left: 45px;
  }
}

/* ===============================
   SMALL MOBILE
================================ */
@media (max-width: 480px) {

  .main-logo img {
    max-height: 60px;
  }

  .main-menu a {
    font-size: 13px;
  }
}


.hero-section {
  background-image: url(../../images/net.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 32, 96, 0.6); /* Blue overlay */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: #000;
  color: #fff;
}


/*=============== HOME PURE SECTION ===============*/

.hero-title {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
}

.hero-title h1 {
  margin-top: 250px;
  font-size: 4rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 2px;
}

.hero-title .underline {
  width: 100px;
  height: 4px;
  background-color: #0d3b7a; /* Bleu */
  margin: 0 auto;
  border-radius: 2px;
}

.why-homepure {
  background-color: #f9f9f9;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

.container-h {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 40px;
}

.image-section img {
  max-width: 100%;
  height: auto;
}

.text-section {
  flex: 1 1 400px;
  text-align: center;
}

.text-section h2 {
  color: #0d3b7a; /* ou #007bff */
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.text-section .subtitle {
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.text-section .description {
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-button {
  padding: 12px 24px;
  background-color: #0d3b7a; /* ou #007bff */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #6d89af;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .image-section, .text-section {
    flex: 1 1 100%;
  }
}

/*=============== section2 ===============*/

.product-section {
  width: 100%;
  background-color: #f9f9f9;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.product-text {
  flex: 1;
  min-width: 300px;
}

.product-text h1 {
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 10px;
  line-height: 1.2;
}

.product-text .blue {
  color: #007bff;
}

.product-text .navy {
  color: #002f6c;
  font-weight: bold;
}

.product-text .tagline {
  color: #007bff;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.product-text p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.learn-btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.learn-btn:hover {
  background-color: #0056b3;
}

.product-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  height: auto;
}

/* ====================SECTION 3================== */

.h-section {
  background-image: url("images/maison et vie/hz1.webp"); /* adjust if needed */
  width: 100%;
  height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;

}

.h-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 50px;
  box-sizing: border-box;
}

.h-content {
  background-color: rgba(255, 255, 255, 0.7); /* transparent blanc */
  padding: 30px;
  border-radius: 10px;
  max-width: 700px;
  text-align: left;
}

.h-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #000;
}
.h-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #333;
}

/* ====================== section 4 ==================================================== */

.V-section {
  background-image: url("images/maison et vie/VIVA.webp"); /* adjust if needed */
  width: 100%;
  height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;

}

.V-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 50px;
  box-sizing: border-box;
}

.V-content {
  background-color: rgba(255, 255, 255, 0.7); /* transparent blanc */
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: left;
}

.V-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #000;
}
.V-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #333;
}

.h-button {
  padding: 12px 25px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.h-button:hover {
  background-color: #0056b3;
}

/*=============== PRODUCT highlight ===============*/

.hero-h {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
}

.hero-h h1 {
  font-size: 40px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 2px;
}

.hero-h .underline {
  width: 100px;
  height: 4px;
  background-color: #007bff; /* Bleu */
  margin: 0 auto;
  border-radius: 2px;
}

.product-h {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 100px;
  margin-bottom: 100px;
}

.product-card {
  width: 430px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
}

.image-h {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.image-h img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.image-h::before,
.image-h::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.3;
}

/* Green circle */
.image-h::before {
  width: 200px;
  height: 200px;
  background: #6ee7b7; /* Light green */
  top: -40px;
  left: -40px;
}

/* Blue circle */
.image-h::after {
  width: 300px;
  height: 300px;
  background: #60a5fa; /* Light blue */
  bottom: -60px;
  right: -60px;
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 123, 255, 0.8);
  color: white;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: opacity 0.4s ease;
}

.overlay h3 {
  font-size: 40px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 25px;
  margin-bottom: 15px;
}

.overlay .btn {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  color: #007bff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.overlay .btn:hover {
  background: #e6f0ff;
}

.image-h:hover .overlay {
  opacity: 1;
}

.image-h:hover img {
  transform: scale(1.05);
}
@media (max-width: 850px) {
  .product-section {
    flex-direction: column;
    align-items: center;
  }
}

/*=============== SANTE ===============*/

.hero-title .underline-q {
  width: 100px;
  height: 4px;
  background-color: #bf360c; /* Bleu */
  margin: 0 auto;
  border-radius: 2px;
}


.text-l {
  flex: 1 1 400px;
  text-align: center;
}

.text-l h2 {
  color: #bf360c; /* ou #007bff */
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.text-l .subtitle-q {
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.text-l .description-q {
  font-size: 1rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.l-button {
  padding: 12px 24px;
  background-color: #bf360c; /* ou #007bff */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.l-button:hover {
  background-color: #ff9800;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .image-section, .text-section {
    flex: 1 1 100%;
  }
}

.product-q {
  background: linear-gradient(to bottom right, #f5f9e9 0%, #e9f0d1 100%);
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
  animation: fadeInRight 1s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.product-q::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(151, 176, 128, 0.2) 20%, transparent 70%);
  z-index: 0;
}

.product-q::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(151, 176, 128, 0.15) 30%, transparent 80%);
  z-index: 0;
}

.container-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 50px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.q-image {
  animation: fadeInLeft 1s ease forwards;
}


.q-image img {
  max-width: 100%;
  width: 400px;
  height: auto;
}

.product-san {
  flex: 1;
  min-width: 300px;
  margin-left: 100px;
}

.product-san h1 {
  font-size: 40px;
  color: #5d7040;
  margin-bottom: 15px;
}

.product-san p {
  font-size: 18px;
  color: #4f5b3c;
  margin-bottom: 25px;
}

.product-san ul {
  list-style: none;
  margin-bottom: 30px;
}

.product-san li {
  font-size: 16px;
  margin-bottom: 12px;
  color: #789556;
}

.product-san li i {
  background: #8ca66b;
  margin-right: 10px;
}

.q-button {
 background: #8ca66b;;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.q-button:hover {
  background: #789556;;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(120, 149, 86, 0.3);

}

/* État initial : caché */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s ease-out;
}

/* État visible : animé */
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 768px) {
  .container-q{
    flex-direction: column;
    text-align: center;
  }

  .product-q {
    padding: 20px 0;
  }

  .q-image img {
    width: 300px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/*=============== BELITE SECTION ===============*/

.product-s {
  background: linear-gradient(to bottom right, #fff3e0 0%, #ffe0b2 100%);
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
  animation: fadeInRight 1s ease forwards;
}

.product-s::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.2) 20%, transparent 70%);
  z-index: 0;
}

.product-s::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 152, 0, 0.15) 30%, transparent 80%);
  z-index: 0;
}

.container-s {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 50px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.s-image {
  animation: fadeInLeft 1s ease forwards;
}

.s-image img {
  max-width: 100%;
  width: 400px;
  height: auto;
}

.product-b {
  flex: 1;
  min-width: 300px;
}

.product-b h1 {
  font-size: 40px;
  color: #bf360c;
  margin-bottom: 15px;
}

.product-b p {
  font-size: 18px;
  color: #333;
  margin-bottom: 25px;
}

.product-s ul {
  list-style: none;
  margin-bottom: 30px;
}

.product-b li {
  font-size: 16px;
  margin-bottom: 12px;
  color: #bf360c;
}

.product-b li i {
  color: #ff9800;
  margin-right: 10px;
}

.b-button-link {
  display: inline-block;
  background: #ff9800;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.b-button-link:hover {
  background: #fb8c00;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(120, 149, 86, 0.3);
}


@media (max-width: 768px) {
  .container-s {
    flex-direction: column;
    text-align: center;
  }

  .product-s {
    padding: 20px 0;
  }

  .s-image img {
    width: 300px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/*=============== EDG3 SECTION ===============*/

.edg3-section {
  position: relative;
  background: #fff8f0;
  padding: 80px 20px;
  overflow: hidden;
}

/* Decorative Waves */
.edg3-section::before,
.edg3-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
 background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 30%, transparent 80%);
  z-index: 0;
}

.edg3-section::before {
  top: -60px;
  left: -80px;
}

.edg3-section::after {
  bottom: -80px;
  right: -60px;
}

/* Layout */
.edg3-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
  gap: 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.edg3-left,
.edg3-center,
.edg3-right {
  flex: 1;
  min-width: 280px;
}

/* Left Column */
.edg3-left h1 {
  font-size: 36px;
  color: #d35400;
  margin-bottom: 20px;
}

.edg3-left p {
  font-size: 16px;
  color: #7a4e00;
  line-height: 1.6;
}

/* Image */
.edg3-center img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Right Column */
.edg3-right p {
  font-size: 16px;
  color: #784200;
  margin-bottom: 20px;
}

.edg3-right ul {
  list-style: none;
  margin-bottom: 25px;
}

.edg3-right li {
  font-size: 16px;
  color: #8b5e00;
  margin-bottom: 12px;
}

.edg3-right li i {
  color: #FFA500;
  margin-right: 10px;
}

/* Button */
.ctas-button {
  background: #FFA500;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  display: inline-block;
  transition: background 0.3s ease;
}

.ctas-button:hover {
  background: #e68a00;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}


.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive */
@media (max-width: 992px) {
  .edg3-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .edg3-right ul {
    padding-left: 0;
  }

  .edg3-right li {
    justify-content: center;
  }
}


/*=============== SANTE PRODUCT highlight ===============*/

.hero-s {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
}

.hero-s h1 {
  font-size: 40px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 2px;
}

.hero-s .underline {
  width: 100px;
  height: 4px;
  background-color: #FFDAB9; /* Orange très clair */
  margin: 0 auto;
  border-radius: 2px;
}

.product-s {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 100px;
  margin-bottom: 100px;
}

.product-cards {
  width: 350px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
}

.image-s {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.image-s img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.overlays {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(140, 166, 107, 0.6); /* Vert clair en transparence */
  color: white;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  transition: opacity 0.4s ease;
}

.overlays h3 {
  font-size: 40px;
  margin-bottom: 10px;
}

.overlays p {
  font-size: 25px;
  margin-bottom: 15px;
}

.overlays .btns {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  color: #8ca66b; /* Orange vif */
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.overlays .btn:hover {
   background: #f4f8ef; /* très léger fond orange au hover */
}

.image-s:hover .overlays {
  opacity: 1;
}

.image-s:hover img {
  transform: scale(1.05);
}
@media (max-width: 850px) {
  .product-section {
    flex-direction: column;
    align-items: center;
  }
}





/*===============PRODUCT PAGE ===============*/

/* slider section  */

.slider {
    height: 70vh;
    margin-top: 90px; /* espace sous le navbar */
    width: 100vw;
    overflow: visible;
    position: relative;
}

/* === IMAGE PRINCIPALE === */
.slider .list .item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.slider .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === CONTENU DU SLIDER === */
.slider .list .item .content {
    position: absolute;
    top: 10%; /* 🔥 texte légèrement remonté */
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
}

.slider .list .item .content .title,
.slider .list .item .content .type {
    font-size: 3.5em;
    font-weight: bold;
    line-height: 2.3em;
}

.slider .list .item .type {
    color: #0d3b7a;
}

.slider .list .item .button {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 10px;
  margin-top: 20px;
}

.slider .list .item .button button {
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #0d3b7a, #07275c);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(13, 59, 122, 0.3);
}

.slider .list .item .button button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(13, 59, 122, 0.45);
  background: linear-gradient(135deg, #1a4f9e, #0d3b7a);
}

.slider .list .item .button button:nth-child(2) {
  background: transparent;
  border: 2px solid #0d3b7a;
  color: #0d3b7a;
}

.slider .list .item .button button:nth-child(2):hover {
  background: linear-gradient(135deg, #1a4f9e, #07275c);
  color: #fff;
  box-shadow: 0 6px 15px rgba(13, 59, 122, 0.45);
  transform: translateY(-3px);
}


/* === THUMBNAILS === */
.thumbnail {
    position: absolute;
    bottom: -120px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
    transform: translateX(-50%);
}

.thumbnail .item {
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}

.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}

/* === BOUTONS PREV / NEXT === */
.nextPrevArrows {
    position: absolute;
    bottom: -50px; /* 🔥 avant : top: 80% */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 10px;
    align-items: center;
}

.nextPrevArrows button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #0d3b7a;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: 0.5s;
    cursor: pointer;
}

.nextPrevArrows button:hover {
    background-color: #fff;
    color: #000;
}

/* === Animation text === */
.slider .list .item:nth-child(1) {
    z-index: 1;
}

.slider .list .item:nth-child(1) .content .title,
.slider .list .item:nth-child(1) .content .type,
.slider .list .item:nth-child(1) .content .description,
.slider .list .item:nth-child(1) .content .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
}

@keyframes showContent {
    to {
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

.slider .list .item:nth-child(1) .content .title { animation-delay: 0.4s !important; }
.slider .list .item:nth-child(1) .content .type { animation-delay: 0.6s !important; }
.slider .list .item:nth-child(1) .content .description { animation-delay: 0.8s !important; }
.slider .list .item:nth-child(1) .content .buttons { animation-delay: 1s !important; }

/* === Animations transitions === */
.slider.next .list .item:nth-child(1) img {
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage 0.5s linear 1 forwards;
}

@keyframes showImage {
    to {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.slider.next .thumbnail .item:nth-last-child(1) {
    overflow: hidden;
    animation: showThumbnail 0.5s linear 1 forwards;
}

@keyframes showThumbnail {
    from {
        width: 0;
        opacity: 0;
    }
}

.slider.next .thumbnail {
    animation: effectNext 0.5s linear 1 forwards;
}

@keyframes effectNext {
    from {
        transform: translateX(150px);
    }
}

.slider.prev .list .item:nth-child(2) {
    z-index: 2;
}

.slider.prev .list .item:nth-child(2) img {
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}

@keyframes outFrame {
    to {
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.slider.prev .thumbnail .item:nth-child(1) {
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
}

.slider.next .nextPrevArrows button,
.slider.prev .nextPrevArrows button {
    pointer-events: none;
}

.slider.prev .list .item:nth-child(2) .content .title,
.slider.prev .list .item:nth-child(2) .content .type,
.slider.prev .list .item:nth-child(2) .content .description,
.slider.prev .list .item:nth-child(2) .content .buttons {
    animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut {
    to {
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}

/* === Responsive === */
@media screen and (max-width: 678px) {
    .slider {
        height: 55vh;
        margin-top: 80px;
    }

    .slider .list .item .content {
        top: 0;
        margin-top: 0;
        padding-right: 0;
        text-align: center;
    }

    .slider .list .item .content .title {
        font-size: 2.5em;
    }

    .thumbnail {
        display: none;
    }

    .nextPrevArrows {
        bottom: 20px;
    }
}


/* WATCH =============================PRODUCT Detail Section ================================================= */

.slider-W {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
  position: relative;
  height: 100vh;
  background: radial-gradient(circle at center, #2c1e13 0%, #0c0a09 100%);
  color: white;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.slider-W.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Left Text Content */
.content-W {
  max-width: 50%;
  animation: fadeSlideRight 1s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.latest-W {
  color: #f88bae;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.subtitle-W {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}

.title-W {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.2;
}

.description-W {
  font-size: 18px;
  line-height: 1.8;
  color: #ccc;
}

/* Right Image Content */
.image-W {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 50%;
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

/* Circle Container */
.circle-W {
  width: 420px;
  height: 420px;
  background-color: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  position: relative;
}

.circle-W img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: scale(1.1);
}

/* Arrows */
.arrow-W {
  background: transparent;
  border: none;
  font-size: 40px;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 10;
  transition: 0.3s ease;
}

.arrow-W:hover {
  color: #f88bae;
}

.arrow-W.left {
  left: -60px;
}

.arrow-W.right {
  right: -60px;
}

/* Pagination */
.pagination-W {
  position: absolute;
  bottom: 40px;
  right: 80px;
  font-size: 16px;
  color: #ccc;
  letter-spacing: 2px;
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.read-more-W {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 50px;
}

.read-more-W:hover {
  background-color: #fff;
  color: #0b2a3a; /* or black if you prefer */
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ======================================= PRODUCT CATEGORIESE ---------------------------------------------------------------------------- ==== */

.unite-slider {
  width: 100%;
  padding: 60px 20px;
  text-align: center;
  max-width: 1500px;
  margin: 0 auto;
  background-color: #0d3b7a;
  box-sizing: border-box; /* empêche le padding de dépasser la largeur */
  overflow-x: hidden; /* évite tout débordement horizontal */
}

/* ====== TITRES ====== */
.unite-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

.unite-subtitle {
  font-size: 18px;
  color: #eee;
  margin-bottom: 40px;
}

/* ====== CONTAINER DU SLIDER ====== */
.unite-slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* ====== SLIDES ====== */
.unite-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.unite-slide {
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ====== CARTES ====== */
.unite-card {
  width: calc(25% - 15px);
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background-color: #ddd;
  cursor: pointer;
  box-sizing: border-box;
}

.unite-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ====== OVERLAY ====== */
.unite-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.unite-card:hover .unite-overlay {
  background: rgba(13, 59, 122, 0.7);

}

/* ====== LABEL ====== */
.unite-label {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  transition: all 0.3s;
  border-radius: 5px;
}

/* ====== POINTS DE NAVIGATION ====== */
.unite-dots {
  margin-top: 30px;
}

.unite-dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s;
}

.unite-dot.active {
  background: #000;
}

/* ====== RESPONSIVE TABLETTE ====== */
@media (max-width: 1024px) {
  .unite-card {
    width: calc(50% - 10px);
    height: 200px;
  }
}

/* ====== RESPONSIVE MOBILE ====== */
@media (max-width: 600px) {
  .unite-slide {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0;
  }

  .unite-card {
    width: 100%;
    height: 220px;
  }
}

/* ====== SÉCURITÉ GLOBALE ====== */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* empêche toute barre horizontale */
}


/* ==== TESIMONY ==== */
.testimony {
      width: 100%;
			min-height: 100vh;
			background-color: #fcfcfc;
			display: flex;
			justify-content: center;
			align-items: center;
    }

		.container-T{
			position: relative;
			width: 100%;
			min-height: 450px;
			background-color: #f5f5f5;
		}
		.container-T .contents-test{
			width: 70%;
			min-height: inherit;
			margin: 30px auto;
			text-align: center;
		}
		.contents-test .headers h1{
			position: relative;
			font-size: 40px;
			text-transform: uppercase;
			font-weight: 500;
			text-align: center;
			letter-spacing: 1px;
		}
		.contents-test .headers h1::before{
			content: '';
			width: 200px;
			height: 2px;
			background-color: #4BB3F4;
			border-radius: 15px;
			position: absolute;
			left: 50%;
			transform: translateX(-50%);
			bottom: -10px;
		}
		.contents-test .testRow{
			width: 100%;
			min-height: inherit;
			position: relative;
			overflow: hidden;
		}
		.testRow .testItem{
			width: 100%;
			height: 100%;
			position: absolute;
			display: flex;
			justify-content: center;
			align-items: center;
			flex-direction: column;
		}
		.testRow .testItem:not(.active){
			top: 0;
			left: -100%;
		}
		.testRow .testItem img{
			width: 120px;
			height: 120px;
			border-radius: 50%;
			object-fit: cover;
			margin-bottom: 5px;
			outline: 2px solid #4BB3F4;
			outline-offset: 2px;
		}
		.testRow .testItem h3{
			font-size: 30px;
			font-style: italic;
			padding: 7px;
		}
		.testRow .testItem h4{
			font-style: italic;
		}
		.testRow .testItem p{
			font-size: 18px;
			letter-spacing: 1px;
			line-height: 1.2;
			padding: 10px;
		}
		.contents-test .indicators{
			position: absolute;
			bottom: 30px;
			left: 50%;
			transform: translateX(-50%);
			padding: 5px;
			cursor: pointer;
		}
		.contents-test .indicators .dot{
			width: 15px;
			height: 15px;
			margin: 0px 3px;
			border: 3px solid #aaa;
			border-radius: 50%;
			display: inline-block;
			transition: background-color 0.5s ease;
		}
		.contents-test .indicators .active{
			background-color: #4BB3F4;
		}
		@keyframes next1{
			from{
				left: 0%;
			}
			to{
				left: -100%;
			}
		}
		@keyframes next2{
			from{
				left: 100%;
			}
			to{
				left: 0%;
			}
		}

		@keyframes prev1{
			from{
				left: 0%;
			}
			to{
				left: 100%;
			}
		}
		@keyframes prev2{
			from{
				left: -100%;
			}
			to{
				left: 0%;
			}
		}

		@media(max-width: 550px){
			.container-T .contents-test{
				width: 90%;
			}
			.contents-test .headers h1{
				font-size: 32px;
			}
			.testRow .testItem h3{
				font-size: 26px;
			}
			.testRow .testItem p{
				font-size: 16px;
				letter-spacing: initial;
				line-height: initial;
			}

		}

/* ===================================== TECHNOLOGIE SECTION =================================================================== */

.v {
  margin-bottom: 100px;
  background-color: #1758a7; /* Blue background */
  color: #fff;
  padding: 50px 20px;
}

.v-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.v-box {
  flex: 1;
  min-width: 220px;
  margin: 20px;
}

.v-box i {
  font-size: 40px;
  margin-bottom: 15px;
  display: block;
}

.v-box h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.v-box p {
  font-size: 14px;
  line-height: 1.5;
  color: #e3e3e3;
}

/* Responsive Tablets (≤768px) */
@media (max-width: 768px) {
  .v-container {
    flex-direction: column;
    align-items: center;
  }
  .v-box {
    max-width: 400px;
  }
}

/* Responsive Phones (≤480px) */
@media (max-width: 480px) {
  .v {
    padding: 30px 15px;
  }
  .v-box i {
    font-size: 30px;
  }
  .v-box h3 {
    font-size: 16px;
  }
  .v-box p {
    font-size: 13px;
  }
  .v-box {
    margin: 15px 0;
  }
}


/* ============================================= PRODUCT  DESC ===================================================================== */
img{
    width: 100%;
    display: block;
}
.main-wrapper{
    min-height: 100vh;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container_d{
    max-width: 1200px;
    padding: 0 1rem;
    margin: 0 auto;
}
.product-div{
    margin: 1rem 0;
    padding: 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: #fff;
    border-radius: 3px;
    column-gap: 10px;
}
.product-div-left{
    padding: 20px;
}
.img-container img{
    width: 200px;
    margin: 0 auto;
    margin-top: 50px;
}
.hover-container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
}
.hover-container div{
    border: 2px solid rgba(252, 160, 175, 0.7);
    padding: 1rem;
    border-radius: 3px;
    margin: 0 4px 8px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.active{
    border-color: rgb(255, 145, 163)!important;
}
.hover-container div:hover{
    border-color: rgb(255, 145, 163);
}
.hover-container div img{
    width: 50px;
    cursor: pointer;
}

/* RIGHT SIDE */
.product-right {
  flex: 1;
  padding: 20%;
  padding-right: 150px;
}

.product-right h2 {
  font-size: 26px;
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.9;
}

.price {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
}

/* Accordion */
.accordion {
  border-top: 1px solid #ddd;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-title {
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.accordion-title:hover {
  color: #f39c12;
}

.accordion-content {
  padding: 0 15px 15px;
  display: none;
  color: #555;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-title {
  color: #e74c3c;
}

/* ================== Responsive ================== */
@media (max-width: 1024px) {
    .product-div {
        grid-template-columns: 1fr; /* Stack products */
    }
    .img-container img {
        width: 150px;
        margin-top: 30px;
    }
    .product-right {
        padding: 10%;
        padding-right: 20px;
    }
    .product-right h2 {
        font-size: 22px;
    }
    .price {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .hover-container div img {
        width: 40px;
    }
    .product-right {
        padding: 8%;
        padding-right: 15px;
    }
    .product-right h2 {
        font-size: 20px;
    }
    .price {
        font-size: 18px;
    }
    .img-container img {
        width: 120px;
        margin-top: 20px;
    }
}



/* ========================================================== FOOTER ========================================================================================================= */
.container_f {
  max-width: 1170px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

ul {
  list-style: none;
}

.footer {
  background-color: #24262b;
  padding: 70px 0;
}

.footer-col {
  width: 25%;
  padding: 0 15px;
}

.footer-col h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 500;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #4BB3F4;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footer-col ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 16px;
  text-transform: capitalize;
  color: #bbbbbb;
  text-decoration: none;
  font-weight: 300;
  display: block;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-col .social-links a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: rgba(255,255,255,0.2);
  margin: 0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
  color: #24262b;
  background-color: #ffffff;
}

/* ---------- RESPONSIVE DESIGN ---------- */

/* Tablets & small laptops */
@media (max-width: 992px) {
  .footer {
    padding: 50px 20px;
  }
  .footer-col {
    width: 50%;
    margin-bottom: 40px;
  }
  .footer-col h4 {
    font-size: 17px;
  }
  .footer-col ul li a {
    font-size: 15px;
  }
}

/* Smartphones */
@media (max-width: 767px) {
  .footer-col {
    width: 50%;
    margin-bottom: 30px;
    text-align: center;
  }
  .footer-col h4::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-col .social-links a {
    height: 35px;
    width: 35px;
    line-height: 35px;
    margin: 5px;
  }
}

/* Small phones (≤ 480px) */
@media (max-width: 480px) {
  .footer {
    padding: 40px 10px;
  }
  .footer-col {
    width: 100%;
    margin-bottom: 25px;
  }
  .footer-col h4 {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .footer-col ul li a {
    font-size: 14px;
  }
  .footer-col .social-links a {
    height: 32px;
    width: 32px;
    line-height: 32px;
    margin: 4px;
  }
}
