

.header-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;  /* Texte visible sur fond sombre */
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  width: 100%; /* Ajuste selon la largeur souhaitée */
}

/* Define your custom font */
@font-face {
  font-family: 'Amoura Rosbele'; /* Give your font a name */
  src: url('fonts/Amoura Rosbele.otf') format('opentype'); /* Point to the location of the font file */
 }
@font-face {
  font-family: 'Acumin-BdPro'; /* Give your font a name */
  src: url('fonts/Acumin-BdPro.otf') format('opentype'); /* Point to the location of the font file */
}
@font-face {
  font-family: 'Acumin-Variable-Concept'; /* Give your font a name */
  src: url('fonts/Acumin-Variable-Concept.ttf') format('truetype'); /* Point to the location of the font file */
}


/*carousel*/

.carousel-item {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* image */
.premium-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,  
    rgba(140, 207, 255, 0.316),
    rgba(46, 160, 253, 0.231)
  );
  z-index: 1;
    pointer-events: none; /* ✅ IMPORTANT */

}

/* ✅ CENTRAGE PARFAIT TEXTE + BTN */
.carousel-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}


/* ===== TEXTE PREMIUM CAROUSEL ===== */

/* TITRE */
.carousel-caption h1 {
  font-size: 3.5rem !important;
  font-family: 'Amoura Rosbele';
  color: white !important;

  margin-bottom: 15px;

  /* PRO spacing */
  letter-spacing: 2px !important;
  line-height: 1.3 !important;

  text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* TEXTE */
.carousel-caption p {
  font-size: 1.6rem;
  font-family: 'Acumin-BdPro';
  color: white;

  margin-bottom: 25px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.3);

  line-height: 1.6;
  letter-spacing: 0.5px;
}

/* BOUTON PREMIUM */
.carousel-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;

  background: rgba(255, 111, 97, 0.95);
  color: white;
  text-decoration: none;

  font-weight: 600;
  font-family: 'Acumin-BdPro';

  transition: all 0.35s ease;

  /* effet glass premium */
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* hover style Apple */
.carousel-btn:hover {
  transform: translateY(-4px) scale(1.05);
  background: #ff5a4d;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}


/* ===== HERO BLOCK PREMIUM ===== */
.hero-block {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 20px;
  color: white;

  /* effet entrée */
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  animation: heroIn 1s ease forwards;
}

/* animation globale du bloc */
@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== TITRE ===== */
.hero-block h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 10px;

  opacity: 0;
  animation: textUp 1s ease forwards;
  animation-delay: 0.2s;
}

/* ===== TEXTE ===== */
.hero-block p {
  font-size: 1.3rem;
  opacity: 0.85;
  margin-bottom: 25px;

  opacity: 0;
  animation: textUp 1s ease forwards;
  animation-delay: 0.4s;
}

/* ===== KEYFRAME TEXTE ===== */
@keyframes textUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ================= CTA SECTION ================= */
/* BOUTON */

.cta{
  padding: 90px 20px;
  text-align: center;

  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f2f7fb 100%
  );
}
        

/* TITRE */
.cta h2 {
  font-family: 'Amoura Rosbele';
  font-size: 2.8rem;  
color: #0f172a;   margin-bottom: 20px;
  letter-spacing: 1px;
}

/* TEXTE */
.cta p {
  font-family: 'Acumin-BdPro';
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.cta-btn{
  display: inline-block;
  padding: 14px 32px;

  border-radius: 999px;
  background: #FF6F61;
  color: white;

  text-decoration: none;
  font-weight: 600;

  transition: all 0.25s ease;
}

.cta-btn:hover{
  transform: translateY(-4px) scale(1.05);
  background: #ff5a4d;
}



/* ===== REVIEW SECTION PREMIUM ===== */

.review-section {
  margin: 0px 0;
  padding: 60px 20px;
 background: linear-gradient(
    135deg,
    #8ccfff 0%,
    #a0c5e2 40%,
    #f2dfcf 70%,
    #e8c7a8 100%
  );
  text-align: center;

  position: relative;
  overflow: hidden;
}


.review-section h2{
    
 font-family: 'Amoura Rosbele';
font-size: 2.8rem;  
color: #0f172a; margin-bottom: 20px;
  letter-spacing: 1px;

}

/* animated light */
.review-section::before{
    content:"";

    position:absolute;
    top:-40%;
    left:-20%;

    width:140%;
    height:140%;

    background:
      radial-gradient(
        circle,
        rgba(255,255,255,0.45),
        transparent 60%
      );

    animation: floatGlow 8s ease-in-out infinite;
}


/* EMS watermark */
.review-section::after{
    content: "EMS";
    position: absolute;
    bottom: -30px;
    left: 40px;
 font-family: 'Amoura Rosbele';
    font-size: 130px;
    font-weight: 900;
    letter-spacing: 12px;

    color:rgba(255,255,255,0.22);

    pointer-events:none;
}

/* effet glow soft */
.review-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.25), transparent 60%);
  animation: moveGlow 8s linear infinite;
}

@keyframes moveGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* bouton premium */
.review-btn {
  padding: 14px 35px;
  border: none;
  border-radius: 999px;
  margin-top:40px;
  background: rgba(255, 111, 97, 0.95);
  color: white;

  font-size: 1rem;
  font-weight: 600;

  cursor: pointer;

  box-shadow: 0 15px 40px rgba(0,0,0,0.2);

  transition: all 0.3s ease;

  backdrop-filter: blur(10px);
}

/* hover Apple style */
.review-btn:hover {
  transform: translateY(-5px) scale(1.05);
  background: #ff5a4d;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}



/* Variables (modifie si tu veux) */
:root{
  --bg-start: #47c6f5; /* bleu */
  --bg-end: #f0d6bf;   /* beige */
  --card-bg: #ffffff;
  --text-muted: #6b7280;
  --accent: #00a8c6;
  --radius: 14px;
  --shadow: 0 8px 20px rgba(16,24,40,0.08);
  --container-max: 1100px;
  --gap: 28px;
  --card-padding: 30px;
}


.why-ems{
  margin-top:-50px ;
  padding: 90px 30px;
    background: linear-gradient(135deg,#f8fafc,#dfecf9);

}

.why-ems .container{
  max-width: 1100px;
  margin: auto; 
}

.why-ems h2{
  text-align: center;
font-size: 2.8rem;  
  font-family: 'Amoura Rosbele';
color: #0f172a;  margin-bottom: 40px;
}

.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card{
  background: white;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 18px;
  padding: 40px 30px;
  transition: 0.3s ease;
}

.why-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.why-card h3{
  font-size: 1.2rem;   text-align: center;

  margin-bottom: 10px;
  color: #0f172a;
}

.why-card p{
  color: #64748b;   text-align: center;

  line-height: 1.6;
}
.solutions-wrapper{
  padding: 90px 20px;
  text-align: center;
  background: #f6f8fc;

}

/* TITRE */
.solutions-title{
  font-size: 2.8rem;
  font-family: 'Amoura Rosbele';
color: #0f172a;}

/* SUBTITLE */
.solutions-subtitle{
  color: #64748b;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* GRID */
.solutions-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;

  padding: 20px;

  align-items: stretch;
}

/* CARD */
.solution-card{
  position: relative;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  cursor: pointer;

  transition: transform 0.4s ease;
}

/* IMAGE */
.solution-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* OVERLAY */
.solution-overlay{
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  background: linear-gradient(
    to right,  
    rgba(140, 207, 255, 0.51),
    rgba(46, 160, 253, 0.621)
  );
  color: white;

  opacity: 0;
  transition: 0.4s ease;
  padding: 20px;
}

/* TEXT */
.solution-overlay h3{
  font-size: 1.4rem;
  margin-bottom: 8px; 
  transform: translateY(20px);
  transition: 0.4s ease;
}

.solution-overlay p{
  font-size: 0.95rem;
  opacity: 0.85;   color: white;
  transform: translateY(20px);
  transition: 0.4s ease;
}

/* HOVER EFFECT */
.solution-card:hover{
  transform: translateY(-8px);
}

.solution-card:hover img{
  transform: scale(1.1);
}

.solution-card:hover .solution-overlay{
  opacity: 1;
}

.solution-card:hover h3,
.solution-card:hover p{
  transform: translateY(0);
}


.realization-wrapper {
  position: relative;
  width: 100%;
}

.realization-gallery {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.realization-card {
  min-width: 300px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.realization-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}


/* cacher scrollbar visible */
.realization-gallery::-webkit-scrollbar {
  display: none;
}
.realization-gallery {
  -ms-overflow-style: none;  /* IE 10+ */
  scrollbar-width: none;     /* Firefox */
}



/* Style the Features section */
.features {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 30px; /* Adjust as needed to space from the header */
  padding: 20px;
}

.feature {
  text-align: center;
  max-width: 300px;
  margin: 0 15px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

h3 {
  font-family: 'Amoura Rosbele';
  font-size: 1.8rem;
  color: #7FC8DA; /* Light blue color */
  margin-bottom: 10px;
}

p {
  font-family: 'Acumin-Variable-Concept';
  font-size: 1rem;
  color: #090101;
  line-height: 1.5;
}

/*popous*/
/* BACKDROP */
.avis-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  justify-content:center;
  align-items:center;
  z-index:99999;
}

/* BOX */
.avis-box{
  width:420px;
  max-width:90%;
  background:rgba(255,255,255,0.92);
  border-radius:18px;
  padding:25px;
  position:relative;

  box-shadow:0 20px 60px rgba(0,0,0,0.25);
  animation:pop .25s ease;
}

/* ANIMATION */
@keyframes pop{
  from{transform:scale(0.8); opacity:0;}
  to{transform:scale(1); opacity:1;}
}

/* CLOSE */
.close {
  position: absolute;
  top: 14px;
  right: 16px;

  width: 34px;
  height: 34px;
  border-radius: 50%;

  border: none;
  background: rgba(0, 0, 0, 0.05);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  color: #555;
  cursor: pointer;

  transition: all 0.25s ease;
}

/* hover moderne */
.close:hover {
  background:#00bcd4;
  color: #fff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* click effet */
.close:active {
  transform: scale(0.9);
}

/* TITLE */
.avis-box h2{
  font-size:1.6rem;
  margin-bottom:5px;
  color:#0f172a;   font-family: 'Amoura Rosbele';

}

.subtitle{
  font-size:0.9rem;
  color:#64748b;   font-family: 'Acumin-Variable-Concept';
  margin-bottom:20px;
}

/* FORM */
.avis-form{
  display:flex;
  flex-direction:column;
  gap:5px;
}

.T {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  letter-spacing: 0.2px;
}

/* INPUTS */
.avis-form textarea,
.avis-form input{
  padding:12px;
  border-radius:10px;
  border:1px solid #ddd;
  outline:none;
  transition:0.3s;
}

.avis-form textarea:focus,
.avis-form input:focus{
  border-color:#00bcd4;
  box-shadow:0 0 8px rgba(0,188,212,0.25);
}

/* STARS */
.stars{
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-end;
  gap:5px;
}

.stars input{
  display:none;
}

.stars label{
  font-size:28px;
  color:#ccc;
  cursor:pointer;
  transition:0.2s;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label{
  color:#ffb400;
}

/* BUTTON */
.avis-form button{
  margin-top:10px;
  padding:12px;
  border:none;
  border-radius:999px;

  background:#00bcd4;
  color:white;
  font-weight:600;

  cursor:pointer;
  transition:0.3s;
}

.avis-form button:hover{
  transform:scale(1.03);
}
.avis-message {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  transition: 0.3s;
  border: 1px solid transparent;

  display: none; /* caché par défaut */
}

/* quand actif */
.avis-message.show {
  display: block;
}

/* SUCCESS */
.avis-message.success {
  background: rgba(0, 217, 255, 0.08);
  border: 1px solid rgba(0, 217, 255, 0.3);
  color: #00d9ff;
}

/* ERROR */
.avis-message.error {
  background: rgba(255, 77, 77, 0.08);
  border: 1px solid rgba(255, 77, 77, 0.3);
  color: #ff4d4d;
}

/* animation smooth */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.avis-section {
  padding: 50px;
  text-align: center;
  background: #f5f5f5;
}

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

.avis-card {
  padding: 20px;
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.avis-stars {
  color: gold;
  margin-bottom: 10px;
}

.avis-text {
  font-size: 14px;
  margin-bottom: 10px;
}

/* ================================
   CARDS
================================ */
.avis-card{
  width:320px;

  /* glass bleu ciel */
  background: rgba(135, 206, 235, 0.18);

  border-radius:20px;
  padding:24px;

  /* bordure légère transparente */
  border:1px solid rgba(255,255,255,0.35);

  transition:0.3s ease;

  /* effet verre */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* ombre plus soft premium */
  box-shadow:
    0 10px 30px rgba(15,23,42,0.08);

  position: relative;
  overflow: hidden;

  color: #dde8ec;
}

/* effet glossy shine */
.avis-card::before{
  content:"";
  position:absolute;
  top:-60%;
  left:-60%;
  width:220%;
  height:220%;

  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255,255,255,0.35),
    transparent 60%
  );

  transform: rotate(25deg);
  animation: shineCard 5s infinite;
}

@keyframes shineCard{
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

/* hover pro */
.avis-card:hover{
  transform: translateY(-6px);
  box-shadow:
    0 15px 40px rgba(15,23,42,0.12);
  border:1px solid rgba(255,255,255,0.6);
}

/* header */
.avis-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}

/* avatar */
.avis-avatar{
  width:50px;
  height:50px;

  border-radius:50%;

  background:linear-gradient(135deg,#38bdf8,#0ea5e9);

  display:flex;
  align-items:center;
  justify-content:center;

  color:#fff;
  font-weight:700;
  font-size:17px;

  flex-shrink:0;
}

/* nom */
.avis-user{
  font-size:16px;
  font-weight:700;
  color:#0f172a;
}

/* étoiles */
.avis-stars{
  margin-top:3px;
  color:#fbbf24;
  font-size:14px;
  letter-spacing:2px;
}

/* texte */
.avis-text{
  color:#475569;
  line-height:1.7;
  font-size:15px;
  margin:0;
}

/* ================================
   EMPTY STATE — UI PRO
================================ */

.avis-empty-state{
  
  width:500px; margin-top: 15px;

  /* 🔥 GLASS FIXE (blanc translucide) */
  background: rgba(255, 255, 255, 0.12) !important;

  border-radius:20px;
  padding:24px;

  /* bordure glass réelle */
  border: 1px solid rgba(255, 255, 255, 0.25);

  /* effet verre stable */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  /* ombre douce premium */
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);

  position: relative;
  overflow: hidden;

  color: #0b2d3a;
}

/* effet glossy shine */
.avis-empty-state::before{
  content:"";
  position:absolute;
  top:-60%;
  left:-60%;
  width:220%;
  height:220%;

  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255,255,255,0.35),
    transparent 60%
  );

  transform: rotate(25deg);
  animation: shineCard 5s infinite;
}

@keyframes shineCard{
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

/* hover pro */
.avis-empty-state:hover{
  transform: translateY(-6px);
  box-shadow:
    0 15px 40px rgba(15,23,42,0.12);
  border:1px solid rgba(255,255,255,0.6);
}


/* icone */
.empty-icon{
  width:70px;
  height:70px;

  margin:auto auto 18px;

  border-radius:50%;

  background:linear-gradient(135deg,#38bdf8,#0ea5e9);

  display:flex;
  align-items:center;
  justify-content:center;

  color:white;
  font-size:28px;
}

/* titre empty */
.avis-empty-state h3{
  font-size:24px;   font-family: 'Acumin-BdPro'; /* Give your font a name */

  font-weight:400;
  color:#0f172a;
  margin-bottom:12px;
}

/* texte empty */
.avis-empty-state p{
  color:#64748b;   font-family: 'Acumin-Variable-Concept'; /* Give your font a name */
  font-size:15px;
  line-height:1.7;
  margin:0;
}
@media (max-width: 768px) {

  /* ================= HERO TEXT ================= */
  .header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90%;
    padding: 10px;
  }

  /* ================= CAROUSEL ================= */
    .carousel-item,
  .premium-carousel .carousel-item {
    height: 55vh;
  }

  .carousel-caption {
    padding: 10px;
  }

  .carousel-caption h1 {
    font-size: 2rem !important; 
    letter-spacing: 1px !important;
  }

  .carousel-caption p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .carousel-btn {
    padding: 10px 22px;
    font-size: 0.9rem;
  }

  /* ================= HERO BLOCK ================= */
  .hero-block h1 {
    font-size: 2rem;
  }

  .hero-block p {
    font-size: 1rem;
  }

  /* ================= CTA ================= */
  .cta {
    padding: 60px 15px;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta p {
    font-size: 1rem;
  }

  /* ================= WHY EMS GRID ================= */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .why-card {
    padding: 25px 20px;
  }

  .why-ems h2 {
    font-size: 1.9rem;
    line-height: 1.3;
    padding: 0 10px;
    text-align: center;
        margin-top:-70px;

  }
  /* ================= SOLUTIONS ================= */
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .solution-card {
    height: 220px;
  }

  /* ================= REVIEW ================= */
  .review-section h2 {
    font-size: 1.8rem;
  }

  .review-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  /* ================= FEATURES ================= */
  .features {
    flex-direction: column;
    gap: 25px;
  }

  .feature {
    max-width: 100%;
  }

  /* ================= AVIS CARDS ================= */
  .avis-container {
    flex-direction: column;
    align-items: center;
  }

  .avis-card,
  .avis-empty-state {
    width: 90%;
  }

  /* ================= EMS WATERMARK ================= */
 .review-section::after{
   
  /* Supprimer complètement le texte watermark "EMS" dans .ems-flow */

  content: none;
  display: none;
}

}
