
/* 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 */
}

/* SECTION HEADER */
.project-header {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* IMAGE BACKGROUND */
 /* -------- HEADER BANNER -------- */
.project-header{
    position: relative;
    overflow: hidden;
height: 65vh;

    padding: 130px 20px 140px;
    text-align: center;

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

    box-shadow: 0 15px 40px rgba(15,23,42,0.08);
}

/* animated light */
.project-header::before{
    content:"";

    position:absolute;
    top:-50%;
    left:-30%;

    width:160%;
    height:160%;

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

    animation: floatGlow 10s ease-in-out infinite;
    filter: blur(2px);
}

/* EMS watermark */
.project-header::after{
    content:"EMS";

    position:absolute;
    right:40px;
    bottom:-30px;

    font-family:'Amoura Rosbele';
    font-size:130px;
    letter-spacing:12px;

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

    pointer-events:none;
}

/* CONTENU */
.animate-hero {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 20px;
}

/* ANIMATION TEXTE */
.hero-title,
.hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

/* DELAYS */
.hero-title { animation-delay: 0.2s; }
.hero-text  { animation-delay: 0.5s; }

/* TITRE */
.hero-title {
  font-size: 3rem !important;
  font-family: 'Amoura Rosbele';
  
  /* PRO spacing */
  letter-spacing: 2px !important;
  line-height: 1.3 !important;

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

/* TEXTE */
.hero-text {
 font-size: 1.4rem;
  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 */

.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;

  background: linear-gradient(135deg, #dedede9a, #f0d6bf94);
  color: #08303a;

  font-size: 1.1rem;
  font-weight: 700;

  border-radius: 30px;
  text-decoration: none;

  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ANIMATIONS */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomSlow {
  from { transform: scale(1.05); }
  to   { transform: scale(1.15); }
}


.services-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.content-wrapper {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.services-title {
  text-align: center;
  margin-top: 60px;
  margin-bottom: -20px;
}

.services-title h2 {
  font-size: 2,5rem;
  color:#0f172a;
  font-family: 'Amoura Rosbele';
}


.image-block {
  flex: 1 1 45%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  overflow: hidden;
}

.image-block img {
  width: 100%;
  height: auto;
}

.text-block {
    font-family: 'Acumin-Variable-Concept';
  margin-top:40px;
  flex: 1 1 50%;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

.overlay-cards {
  position: absolute;
  bottom: 5px; /* légèrement en bas */
  left: 290px; /* unité px ajoutée */
  right: 0;
  display: flex;
  /* Remplacer space-between par flex-start pour coller les blocs */
  justify-content: flex-start;
  /* padding avec unités */
  padding: 10px 40px;
  gap: 0; /* pas d'espace entre les cartes */
}

.overlay-cards .card {
  background-color: #1111118b; 
  color: white;
  flex: 1;
  padding: 40px 20px;
  font-size: 0.85rem;
  border-radius: 0px;
  /* enlever marges pour suppression d'espace */
  margin: 0;
  /* pour éviter séparation, on peut supprimer les bordures si présentes */
  border: none;
}


.overlay-cards .card h3 {
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-family: 'Acumin-Variable-Concept';
  text-align:center;
}

.overlay-cards .card p{
  font-size: 0.95rem;
  text-align: justify; margin-bottom:-20px;
  font-family: 'Acumin-Variable-Concept';
}

.case-studies {
  padding: 100px 20px;
  background: #f8f9fc;
  position: relative;
}

/* TITLE */
.case-studies h2 {
  text-align: center;
  font-family:'Amoura Rosbele';
  font-size: 2,5rem;
  color: #0f172a;
  margin-bottom: 10px;
}

/* INTRO */
.case-studies .intro-text {
  text-align: center;
  max-width: 750px;  font-family: 'Acumin-Variable-Concept';
  margin: 0 auto 60px;
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
}

/* GRID UX */
.case-studies {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CARD MODERNE */
.study-card {
  width: min(900px, 100%);
  background: white;
  padding: 28px 30px;
  margin-bottom: 20px;

  border-radius: 18px;
  border: 1px solid #eef2f6;

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

  position: relative;
  overflow: hidden;

  transition: all 0.3s ease;
}

/* HOVER UX */
.study-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* ACCENT BAR LEFT */
.study-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;

  background: linear-gradient(
    180deg,
    #3dbfe9,
    #60a5fa
  );
}

/* TITLE CARD */
.study-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

/* TEXT */
.study-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

/* ANIMATION ENTRY */
.study-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.study-card:nth-child(3) { animation-delay: 0.2s; }
.study-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contactez-nous-section {
  background: url('img/etudepro.png') center center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  color: white;
}

.contactez-nous-section h2 {
  font-family: 'Amoura Rosbele';
  font-size: 3em;
  margin-bottom: 20px;
}

.contactez-nous-section p {
  font-family: 'Acumin-Variable-Concept';
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn-contact {
  background-color: #ff6b5d;
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-contact:hover {
  background-color: #e6574a;
}


/* SECTION CONTACT UI */
.contact-ui {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;

  text-align: center;

  /* 🎨 EXACT EMS HEADER GRADIENT */
    background: linear-gradient(
    135deg,
    #8ccfff 0%,
    #a0c5e2 40%,
    #f2dfcf 70%,
    #e8c7a8 100%
  );

  box-shadow: 0 15px 40px rgba(15,23,42,0.08);
}

/* LIGHT OVERLAY GLOW */
.contact-ui__overlay {
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top,
    rgba(255,255,255,0.25),
    transparent 60%
  );

  pointer-events: none;
}

.contact-ui::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;

  width: 140%;
  height: 140%;
  z-index: 1;

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

  animation: floatGlow 8s ease-in-out infinite;
  pointer-events: none;
}
.contact-ui::after {
  content: "EMS";

  position: absolute;
   bottom: -30px;
    left: 40px;

  font-family: 'Amoura Rosbele';
  font-size: 120px;
  letter-spacing: 10px;

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

  pointer-events: none;
  z-index: 1;
}


/* effet glow soft */
.contact-ui::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); }
}

/* CONTENT */
.contact-ui__content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: auto;
}

/* TITLE */
.contact-ui__content h2 {
  font-size: 2.5rem;
 font-family: 'Amoura Rosbele';
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* highlight word */
.contact-ui__content h2 span {
  color: #3dbfe9;
}

/* TEXT */
.contact-ui__content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #334155;
  margin: 0 auto 35px;
}

/* BUTTON PREMIUM */
.contact-ui__btn {
  display: inline-block;
  padding: 15px 40px;

    background: #ff5a4d;
  color: white;

  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;

  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

/* HOVER UX */
.contact-ui__btn:hover {
        background: #ff392b;

  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

/* FLOAT EFFECT LIGHT */
.contact-ui__btn {
  animation: floatBtn 3.5s ease-in-out infinite;
}

@keyframes floatBtn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* =========================
   RESPONSIVE MOBILE UX PRO
   À ajouter à la fin du CSS
========================= */

@media (max-width: 768px) {

  /* HEADER HERO */
  .project-header {
    height: 70vh;
    padding: 110px 20px 80px;
  }

  .project-header::after {
    font-size: 70px;
    right: 15px;
    bottom: -10px;
    letter-spacing: 4px;
    opacity: 0.12;
  }

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

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 12px;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 22px;
  }

  .hero-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  /* SERVICES SECTION */
  .services-section {
    padding: 50px 15px;
  }

  .services-title {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .services-title h2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .content-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .image-block,
  .text-block {
    flex: 1 1 100%;
    width: 100%;
  }

  .image-block {
    border-radius: 18px;
    overflow: hidden;
  }

  .text-block {
    margin-top: 0;
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: left;
  }

  /* OVERLAY CARDS */
  .overlay-cards {
    position: static;
    display: flex;
    flex-direction: column;
    padding: 20px 0 0;
    gap: 12px;
  }

  .overlay-cards .card {
    padding: 22px 18px;
    border-radius: 14px;
    background: rgba(17, 17, 17, 0.85);
  }

  .overlay-cards .card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .overlay-cards .card p {
    font-size: 0.9rem;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 0;
  }

  /* CASE STUDIES */
  .case-studies {
    padding: 70px 15px;
  }

  .case-studies h2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .case-studies .intro-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 35px;
  }

  .study-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

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

  .study-card p {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  /* CONTACT UI */
  .contact-ui {
    padding: 70px 20px;
  }

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

  .contact-ui__content {
    max-width: 100%;
  }

  .contact-ui__content h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .contact-ui__content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 28px;
  }

  .contact-ui__btn {
    padding: 13px 28px;
    font-size: 0.95rem;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {

  .project-header {
    height: 55vh;
    padding: 100px 15px 70px;
  }

  .hero-title {
    font-size: 1.8rem !important;
  }

  .hero-text {
    font-size: 0.92rem;
  }

  .hero-btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

 /* Espace entre le header et le titre */
/* Espace entre le header et le texte + padding interne */
.services-title {
  margin-top: 60px;      /* espace au-dessus */
  padding: 0 30px;       /* espace à gauche et à droite */
  text-align: center;
}

.services-title h2 {
  font-size: 1.7rem;
  line-height: 1.3;
  margin-bottom:-40px;
}

  .text-block,
  .case-studies .intro-text,
  .study-card p,
  .contact-ui__content p {
    font-size: 0.92rem;
  }

  .contact-ui__btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
    padding: 13px 20px;
  }

  .project-header::after,
  .contact-ui::after {
    display: none;
  }
}