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



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

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

/* Hero base */
.hero {
  text-align: center;
  padding: 80px 20px;
}

/* Animation initiale */
.hero-anim h1,
.hero-anim h2,
.hero-anim p {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1s ease forwards;
}

/* Delays (effet cascade propre) */
.hero-anim h1 {
  animation-delay: 0.2s;
}

.hero-anim h2 {
  animation-delay: 0.5s;
}

.hero-anim p {
  animation-delay: 0.8s;
}

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

.hero-advanced {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* BLEU + BEIGE */
  background: linear-gradient(-45deg, #3dbfe9, #7fc8da, #f0d6bf, #e5c9a8);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;

  color: white;
  text-align: center;
  padding: 20px;
}

/* gradient animation */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* contenu */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;

  opacity: 0;
  transform: translateY(30px);
  transition: 1s ease;
}

.hero-content.show {
  opacity: 1;
  transform: translateY(0);
}

/* TEXT STYLE */
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  font-family: 'Amoura Rosbele';
letter-spacing:1px;
}

.hero-content h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hero-content p {
    font-family: 'Acumin-Variable-Concept';
  font-size: 1.1rem;
}

/* PARTICULES */
#particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-25px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.3; }
}

.btn-hero {
  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);
}

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

/* =========================
   GLOBAL STORY UX STYLE
========================= */

.about-marketing,
.services,
.contact {
  padding: 100px 20px;
}

/* effet scroll storytelling */
section {
  position: relative;
}

/* ligne verticale guide UX */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 50px;
  width: 2px;
  height: 100%;
  background: linear-gradient(#3dbfe9, transparent);
  opacity: 0.2;
  z-index: 0;
}

/* =========================
   ABOUT (STYLE STORY CARD)
========================= */
/* SECTION */

/* Réduit l'espace entre le header et la section About */
.about-marketing {
  width: 100%;
  padding: 40px 20px 80px 20px; /* avant: 80px 20px */
  margin-top: 0;
  background: #f8f9fc;
}
/* CONTAINER FLEX (image gauche / texte droite) */
.about-marketing .about-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

/* IMAGE UX PREMIUM */

.about-marketing .about-container img {
  width: 45%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-marketing .about-container img:hover {
  transform: scale(1.03);
}


/* TEXT CARD MODERNE */
.about-marketing .about-text {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #eef2f6;
}

/* TITLE UX CLEAN */
.about-marketing .about-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 15px;
}

/* SMALL LINE DESIGN */
.about-marketing .about-text h3::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #3DBFE9;
  display: block;
  margin-top: 10px;
  border-radius: 10px;
}

/* TEXT READABLE */
.about-marketing .about-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  text-align: left;
}


/* =========================
   SERVICES (TIMELINE STYLE)
========================= */
/* SECTION */
.services {
  background: #f8f9fc;
  padding: 80px 20px;
}

/* TITLE UX */
.services h3 {
  text-align:center;
  font-family: 'Amoura Rosbele';
  max-width: 1100px;
  margin: auto;
    font-size: 2.5rem;
  margin-top:-40px;
  margin-bottom: 40px;
  color: #0f172a;
}
/* CONTAINER TIMELINE */
.cards {
  max-width: 900px; /* plus compact */
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  padding-left: 40px;
}

/* LIGNE CENTRALE */
.cards::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #3dbfe9, #60a5fa);
  opacity: 0.4;
}

/* CARD PLUS COMPACTE */
.card {
  background: white;
  padding: 18px 20px;
  border-radius: 14px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);

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

  transition: 0.3s ease;
}

/* HOVER CLEAN */
.card:hover {
  transform: translateX(6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.10);
}

/* POINT BLEU PLUS PRO */
.card::before {
  content: "";
  position: absolute;
  left: -32px; /* 👈 rapproche du texte */
  top: 50%;
  transform: translateY(-50%);

  width: 14px;
  height: 14px;
  background: #3dbfe9;
  border-radius: 50%;

  box-shadow: 0 0 0 4px rgba(61,191,233,0.15);
}

/* TITRE */
.card h4 {
  margin: 0 0 6px 0; 
  font-family: 'Acumin-BdPro'; 
  color: #0f172a;
  font-size: 16px; 
  font-weight: 700;
}

/* TEXTE PLUS PROPRE */
.card p {
  margin: 0;  font-family: 'Acumin-Variable-Concept'; 
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

/* ANIMATION SIMPLE */
.card {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 0.6s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.25s; }
.card:nth-child(3) { animation-delay: 0.4s; }

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

/* TEXT */
.card h4 {
  color: #0f172a;
  margin-bottom: 10px;
  font-weight: 700;
}

.card p {
  color: #475569;
  line-height: 1.6;
  font-size: 14.5px;
}
/* =========================
   CONTACT (FOCUS BLOCK UX)
========================= */
/* CONTACT SECTION */
/* CONTACT SECTION EMS PREMIUM */
.contact {
    background: linear-gradient(
    135deg,
    #8ccfff 0%,
    #a0c5e2 40%,
    #f2dfcf 70%,
    #e8c7a8 100%
  );

  color: white;
  padding: 90px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 60vh;
}

/* GLOW ROTATION (EMS STYLE) */
.contact::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: rotateGlow 12s linear infinite;
  z-index: 1;
}

/* LIGHT FLOAT OVERLAY */
.contact::after {
  content: "EMS";
  position: absolute;
  bottom: -40px;
  left: 40px;
  font-family: 'Amoura Rosbele';
  font-size: 120px;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  letter-spacing: 10px;
  z-index: 1;
  pointer-events: none;
}

.contact::before,
.contact::after {
  pointer-events: none;
}

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

/* TITLE */
.contact h3 {
    font-size: 2.5rem;
font-family: 'Amoura Rosbele';  color: #111;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* TEXT */
.contact p {
  margin-top: 12px;
  font-size: 1.2rem;
  color: #666;
}

/* BUTTON EMS CLEAN */
.contact .btn {
   display: inline-block;
  padding: 14px 34px;
  border-radius: 999px;

    background: #ff5649;
  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 */
.contact .btn:hover {
   transform: translateY(-4px) scale(1.05);
    background: #ff392b;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

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

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

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

  .hero-advanced {
    height: 55vh;
    padding: 25px 15px;
  }

  .hero-content h1 {
    font-size: 1.9rem;
  }

  .hero-content h2 {
    font-size: 1.05rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

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

  
  /* Ligne verticale décorative masquée */
  body::before {
    display: none;
  }

  /* ABOUT SECTION */
  .about-marketing {
    padding: 25px 15px 60px;
  }

  .about-marketing .about-container {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .about-marketing .about-container img {
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    display: block;
    margin: 0 auto;
  }

  .about-marketing .about-text {
    padding: 28px 22px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  }

  .about-marketing .about-text h3 {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .about-marketing .about-text h3::after {
    margin: 12px auto 0;
  }

  .about-marketing .about-text p {
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: center;
  }

  /* SERVICES */
  .services {
    padding: 60px 15px;
  }

  .services h3 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 30px;  margin-top: -40px;
    line-height: 1.3;
  }

}

/* =========================
   CONTACT MOBILE UX PRO
   Remplace uniquement la partie CONTACT
========================= */

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

  .contact {
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: auto;
    padding: 70px 20px;
    display: block; /* plus stable que flex sur mobile */
    text-align: center;
  }

  .contact-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
  }

  .contact h3 {
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .contact p {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 auto 25px;
    max-width: 600px;
  }

  .contact .btn {
    display: inline-block;
    margin-top: 0;
    padding: 13px 28px;
    font-size: 0.95rem;
    border-radius: 999px;
  }

  /* Watermark EMS */
  .contact::after {
    content: "EMS";
    font-size: 65px;
    left: 10px;
    bottom: -8px;
    letter-spacing: 4px;
    opacity: 0.08;
    z-index: 1;
  }

  /* Glow overlay plus léger */
  .contact::before {
    opacity: 0.7;
  }
}

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

  .contact {
    padding: 55px 15px;
  }

  .contact h3 {
    font-size: 1.55rem;
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .contact p {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .contact .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
    padding: 13px 20px;
    font-size: 0.92rem;
  }

  /* Sur très petit écran on masque le watermark */
  .contact::after {
    display: none;
  }
}