:root{
  --ems-blue:#3DBFE9;
  --ems-dark:#07111f;
  --ems-gray:#64748b;
  --ems-bg:#f8fbfd;
}

/* ================= GLOBAL ================= */
body{
  font-family: 'Poppins', sans-serif;
  background:#fff;
  color:var(--ems-dark);
}

/* ================= HERO ================= */
/* ================= HERO ================= */

.admin-hero{
  position:relative;
  height:60vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:120px 20px;
  overflow:hidden;
  height: 70vh;

  background: linear-gradient(
    to right,  
    rgba(140, 207, 255, 0.316),
    rgba(46, 160, 253, 0.231)
  ),
url('img/gestion.png') center/cover ;

}



/* title */
.hero-content h1{
 font-size: 3.5rem !important;
  font-family: 'Amoura Rosbele'; /* Give your font a name */
  line-height:1.1;  color:white;
  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);
}

/* text */
.hero-content p{
  font-size: 1.25rem;
  font-family: 'Acumin-BdPro';
  color: white;

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

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

/* CTA button */
.hero-btn{
  display: inline-block;

  margin-top: 30px;

  padding: 14px 34px;

  border-radius: 999px;

  background: linear-gradient(135deg,#3DBFE9,#00bcd4);

  color: white;

  font-weight: 600;

  text-decoration: none;

  transition: 0.3s ease;

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.hero-btn:hover{
  transform: translateY(-5px);
}

/* animation */
@keyframes fadeUp{
  from{
    opacity: 0;
    transform: translateY(30px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .hero-content h1{
    font-size: 28px;
  }

  .hero-content p{
    font-size: 15px;
  }

  .admin-hero{
    height: 70vh;
  }
}
/* ================= SECTIONS ================= */
section{
  padding:90px 20px;
}

.section-header{
  text-align:center;
  max-width:750px;
  margin:0 auto 50px;
}

.section-header span{
  color:var(--ems-blue);
  font-weight:600;
  font-size:13px;
}

.section-header h2{
  font-size:34px;
  margin-top:10px;
}

.section-header p{
  color:var(--ems-gray);
  margin-top:10px;
  line-height:1.6;
}

/* ================= BENEFITS ================= */
.benefits-section{
      background: linear-gradient(135deg,#f8fafc,#dfecf9);
}

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

}

.benefits-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  max-width:1100px;
  margin:auto;
}

.benefit-card{
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);

  padding: 22px 20px;
  border-radius: 18px;

  text-align: center;

  box-shadow: 0 8px 20px rgba(0,0,0,0.06);

  transition: all 0.3s ease;

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

  min-height: 200px; /* réduit les grandes cartes */
}

/* Hover plus clean */
.benefit-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Icon */
.benefit-icon{
  font-size: 32px;
  margin-bottom: 12px;
  color: #3DBFE9;
}

/* Title */
.benefit-card h3{
  font-size: 18px;
  color: #07111f;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Text */
.benefit-card p{
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  max-width: 260px;
}


/* ================= PROCESS ================= */

.process-section{
  padding: 90px 20px;
  background: #ffffff;
}

/* HEADER */
.process-header{
  text-align: center;
  max-width: 750px;
  margin: auto;
  margin-bottom: 55px;
}


.process-header h2{
  font-size: 2.5rem;
  color: #07111f;
  margin-top: 10px;
 font-family: 'Amoura Rosbele';
}

.process-header p{
  margin-top: 12px;
  color: #666;
  line-height: 1.7;
  font-size: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Acumin-Variable-Concept'; /* Give your font a name */

}

/* GRID */
.process-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: auto;
}

/* CARD */
.process-card{
  background: #fff;

  padding: 28px 22px;

  border-radius: 20px;

  text-align: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.06);

  border: 1px solid rgba(0,0,0,0.05);

  transition: all 0.3s ease;

  position: relative;
}

.process-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

/* NUMBER BADGE */
.process-number{
  width: 60px;
  height: 60px;

  margin: auto;
  margin-bottom: 18px;

  border-radius: 50%;

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

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

  color: #fff;

  background: linear-gradient(135deg,#3DBFE9,#00bcd4);

  box-shadow: 0 8px 20px rgba(61,191,233,0.25);
}

/* TITLE */
.process-card h3{
  font-size: 18px;
  color: #07111f;
  margin-bottom: 10px;
  font-family: 'Acumin-BdPro'; /* Give your font a name */
}

/* TEXT */
.process-card p{
  font-size: 14px;
  color: #666;
  line-height: 1.6;
font-family: 'Acumin-Variable-Concept'; /* Give your font a name */

}

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

  .process-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-header h2{
    font-size: 26px;
  }

  .process-card{
    padding: 22px;
  }
}

/* ================= SERVICES SECTION ================= */

.admin-section{
  padding: 90px 20px;
  background: #f8fafc;
}

/* HEADER */
.section-header{
  text-align: center;
  max-width: 800px;
  margin: auto;
  margin-bottom: 55px;
}



.section-header h2{
  font-size: 2.5rem;
  color: #07111f;
  margin-top: 10px;
}

.section-header p{
  margin-top: 12px;
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* GRID */
.admin-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: auto;
}

/* CARD */
.admin-card{
  background: #ffffff;

  padding: 24px 22px;

  border-radius: 18px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.06);

  border: 1px solid rgba(0,0,0,0.05);

  transition: all 0.3s ease;

  position: relative;
  overflow: hidden;
}

/* effet léger décoratif */
.admin-card::before{
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: rgba(61,191,233,0.08);
  border-radius: 50%;
}

.admin-card:hover{
  transform: translateY(-7px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);
  border-color: rgba(61,191,233,0.25);
}

/* TITLE */
.admin-card h3{
  font-size: 18px;
  color: #07111f;
  margin-bottom: 10px;
  font-weight: 600;
}

/* TEXT */
.admin-card p{
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

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

  .admin-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-header h2{
    font-size: 26px;
  }

  .admin-card{
    padding: 20px;
  }
}



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

.cta-section{
  margin: 0;
  padding: 80px 20px;

  text-align: center;

  position: relative;
  overflow: hidden;
    height: 60vh;

  background: linear-gradient(
    135deg,
    #8ccfff 0%,
    #a0c5e2 40%,
    #f2dfcf 70%,
    #e8c7a8 100%
  );
}

/* Glow animation soft */
.cta-section::before{
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;

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

  animation: moveGlow 10s linear infinite;

  pointer-events: none;
}

/* EMS watermark */
.cta-section::after{
  content: "EMS";
  position: absolute;
  bottom: -40px;
  left: 40px;

  font-family: 'Amoura Rosbele';
  font-size: 120px;
  font-weight: 900;
  letter-spacing: 12px;

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

  pointer-events: none;
}

/* TEXT */
.admin-cta{

  margin-top: 50px;

} 
.admin-cta h2{
  font-size: 2.5rem;
  color: #0f172a;

  margin-bottom: 15px;

  font-family: 'Amoura Rosbele';
}

.admin-cta p{
   font-size: 1.2rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 30px;
}

/* BUTTON */
.admin-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 34px;

  border-radius: 999px;

    background: #ff5a4d;
  color: white;

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

  text-decoration: none;

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

  transition: all 0.3s ease;

  backdrop-filter: blur(10px);
}

/* hover premium */
.admin-btn:hover{
  transform: translateY(-5px) scale(1.05);
    background: #ff392b;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

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

/* =========================
   RESPONSIVE MOBILE UX PRO
   À ajouter à la fin du CSS
========================= */
@media (max-width: 768px) {

  /* HERO */
  .admin-hero {
    height: 70vh;
    padding: 110px 20px 70px;
    background-position: center;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 10px;
  }

  .hero-content h1 {
    font-size: 2rem !important; 
    letter-spacing: 1px !important;
    margin-bottom: 18px;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 25px;
  }

  .hero-btn {
    margin-top: 24px;
    padding: 13px 28px;
    font-size: 0.95rem;
  }

  /* GLOBAL SECTIONS */
  section {
    padding: 70px 15px;
  }

  /* SECTION HEADERS */
  .section-header,
  .process-header {
    margin-bottom: 35px;
    padding: 0 10px;
  }

  .section-header h2,
  .process-header h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .section-header p,
  .process-header p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  /* BENEFITS */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .benefit-card {
    min-height: auto;
    padding: 24px 20px;
    border-radius: 18px;
  }

  .benefit-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .benefit-card h3 {
    font-size: 1rem;
  }

  .benefit-card p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* PROCESS */
  .process-section {
    padding: 70px 15px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .process-number {
    width: 54px;
    height: 54px;
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .process-card h3 {
    font-size: 1rem;
  }

  .process-card p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* ADMIN SERVICES */
  .admin-section {
    padding: 70px 15px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .admin-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .admin-card h3 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .admin-card p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  /* CTA */
  .cta-section {
    height: auto;
    min-height: 55vh;
    padding: 70px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .admin-cta {
    position: relative;
    z-index: 2;
    max-width: 100%;
  }

  .admin-cta h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .admin-cta p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
  }

  .admin-btn {
    padding: 13px 28px;
    font-size: 0.95rem;
  }

  .cta-section::after {
    font-size: 70px;
    left: 12px;
    bottom: -10px;
    letter-spacing: 4px;
    opacity: 0.10;
  }
}
