/* Version : 2026-01-19 */
/* #region General */
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --color-primary: #66C0EA;
  --color-secondary: #81a6bf;
  --color-background: #2c3e50 ;
  --color-background-section: #88a9ca ;
  --color-grey: #2C2121;
  --color-light-grey: ##BEBBB7;
  --color-white: #fff;
  --color-dark: #111111;
  --color-black: #000;
  --color-primary-light: #bfb286;

  /* --color-primary-rgb: 102, 126, 234; */
  --color-primary-rgb: 102, 192, 234;

  /* --color-secondary-rgb: 118, 75, 162; */
  --color-secondary-rgb: 75, 75, 162;

  
  /* primary = 00B9E8 */
}

/* Alternative plus propre */
html {
  scroll-padding-top: 60px;  /* Ajustez selon hauteur header */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 0 0 0;
    font-family: 'Segoe UI' , sans-serif;
}


  body {
        /* font-family: "Roboto" , sans-serif;        */
        font-family: 'Segoe UI' , sans-serif;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
        background: #eef4ff;
        color: var(--color-primary);
        /* flex-direction: column; */
    }

/* #endregion */

/* #region Header */
/* === HEADER === */
header {
            background-color: var(--color-background) ;
            /* color: #ecf0f1; */
            padding: 0 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: fixed;
            top: 0;
            /* z-index: 1000; */
			margin-bottom: 2rem; /* espace en bas du header */
			
			left: 0;
			width: 100%;
			z-index: 100;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            height: 70px;
        }

        /* Logo */
        .logo {
            font-size: 24px;
            font-weight: bold;
            /* color: #3498db; */
            color: var(--color-primary);
            text-decoration: none;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .logo:hover {
            /* color: #5dade2; */
            color: var(--color-secondary);
        }

        /* Navigation */
        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
            align-items: center;
        }

        nav li {
            position: relative;
        }

        nav a {
            color: #ecf0f1;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            padding: 10px 15px;
            border-radius: 4px;
            transition: all 0.3s ease;
            display: block;
        }

        nav a:hover {
            background-color: #34495e;
            color: #3498db;
        }

        nav a.active {
            background-color: #3498db;
            color: white;
        }

        /* Bouton CTA */
        .cta-button {
            background-color: #3498db;
            color: white !important;
            padding: 10px 20px !important;
            border-radius: 4px;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .cta-button:hover {
            background-color: #2980b9 !important;
            color: white !important;
        }

        /* Menu burger (mobile) */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
            margin-left: auto; /* Pousse le burger à droite */
            order: 2; /* S'assure qu'il est après le logo */
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background-color: #ecf0f1;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

  @media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }
    
    /* Cacher le menu desktop par défaut sur mobile */
    nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-background);
        padding: 20px 0;
    }
    
    /* Afficher le menu quand le nav est actif */
    nav.active ul {
        display: flex;
    }
    
    nav li {
        width: 100%;
    }
    
    nav a {
        width: 100%;
        padding: 15px 20px;
    }
    
    /* Animation du burger en X quand actif */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}
        

/* #endregion */

/* #region MAIN */
        /* === MAIN CONTENT === */
        main {
            flex: 1;
            padding: 40px 20px;
            background-color: #ecf0f1;
        }

        .content-wrapper {
            max-width: 1200px;
            margin: 0 auto;
        }

        main h1 {
            color: #2c3e50;
            margin-bottom: 20px;
        }

        main p {
            color: #555;
            line-height: 1.6;
            margin-bottom: 15px;
        }
/* #endregion */

/* #region Services */

        /* Section Services */
        #services {
            flex: 1;
            padding: 40px 20px;
            /* background-color: #7ad0e6; */
            background-color: var(--color-background-section) ;
        }

        #services h1 {
            color: #ffffff;
            margin-bottom: 20px;
        }

        #services p {
            color: #fff;
            line-height: 1.6;
            margin-bottom: 15px;
        }

#services .service-card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

#services .service-card:hover {
    transform: translateY(-10px);
}

#services .service-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#services .service-card p {
  color: rgba(255,255,255,0.9);
}

/* #endregion */

/* #region Portfolio */
     /* portfolio Services */
        #portfolio {
            flex: 1;
            padding: 40px 20px;
            background-color: #ecf0f1;
        }

        #portfolio h1 {
            color: #2c3e50;
            margin-bottom: 20px;
        }

        #portfolio p {
            color: #555;
            line-height: 1.6;
            margin-bottom: 15px;
        }

/* #endregion */

/* #region Blog */
             /* blog Services */
        #blog {
            flex: 1;
            padding: 40px 20px;
            background-color: var(--color-background-section) ;
            display: flex;
        }

        #blog h1 {
            color: #fff;
            margin-bottom: 20px;
        }

        #blog p {
            color: #fff;
            line-height: 1.6;
            margin-bottom: 15px;
        }

/* #endregion */

 /* #region Footer */
 /* === FOOTER === */

footer {
      background-color: #2c3e50;
      color: #ecf0f1;
      padding: 50px 20px 20px;
}

/* Cibler les li dans le footer */
footer li {
  list-style: none; /* enlever les puces */
  margin-bottom: 0.5rem; /* espace entre les items */
}

/* Cibler les liens dans le footer */
footer a {
  color: #fff; /* couleur du texte */
  text-decoration: none; /* enlever le soulignement */
  transition: color 0.3s ease; /* transition douce */
}

/* Au survol */
footer a:hover {
  color: #ccc; /* couleur au survol */
  text-decoration: underline; /* souligner au survol */
}

.footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            max-width: 1200px;
            margin: 0 auto;
            gap: 40px;
}

.footer-column {
            flex: 1;
            min-width: 220px;
        }

.footer-column h3 {
            font-size: 18px;
            margin-bottom: 20px;
            color: #3498db;
            font-weight: bold;
        }

.footer-column ul {
            list-style: none;
}

.footer-column ul li {
     margin-bottom: 12px;
}

.footer-column a {
      color: #ecf0f1;
      text-decoration: none;
      transition: color 0.3s ease;
 }

.footer-column a:hover {
     color: #3498db;
}

.footer-column p {
     line-height: 1.6;
     color: #bdc3c7;
}

/* Icônes réseaux sociaux */
.social-links {
     display: flex;
     gap: 15px;
     margin-top: 15px;
}

.social-links a {
     display: inline-block;
     width: 40px;
     height: 40px;
     background-color: #34495e;
     border-radius: 50%;
     text-align: center;
     line-height: 40px;
     transition: background-color 0.3s ease;
}

.social-links a:hover {
     background-color: #3498db;
}

/* Formulaire newsletter */
.newsletter-form {
      display: flex;
      gap: 10px;
      margin-top: 15px;
 }

.newsletter-form input {
     flex: 1;
     padding: 10px;
     border: none;
     border-radius: 4px;
     font-size: 14px;
  }

.newsletter-form button {
      padding: 10px 20px;
      background-color: #3498db;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-weight: bold;
      transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
      background-color: #2980b9;
}

/* Bas du footer */
.footer-bottom {
     text-align: center;
     margin-top: 40px;
     padding-top: 20px;
     border-top: 1px solid #34495e;
     color: #95a5a6;
     font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {

.footer-content {
      flex-direction: column;
      gap: 30px;
}
            
.footer-column {
    min-width: 100%;
}

.newsletter-form {
    flex-direction: column;
}

.newsletter-form button {
     width: 100%;
}
}

/* #endregion */

/* #region buttons */
        /* button */

.btn-primary_old {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  border: none;
  /* background: #0d6efd;       bleu */
  background-color: white;
  /* color: #fff; */
    color: #667eea;
  font-size: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.15); */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary{
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-primary:hover {
  /* background: #0b5ed7; */
  /* transform: translateY(-1px); */
  /* box-shadow: 0 4px 8px rgba(0,0,0,0.18); */
  /* transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background-color: #f8f9fa; */
  background-color: white;
  color: #667eea;
  transform: translateY(-3px);
}


.btn-primary:active {
  background: #0a58ca;
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-primary:disabled,
.btn-primary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}


.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: #667eea;
  transform: translateY(-3px);
}


/* #endregion */

/* #region Cards */
.jmj-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.jmj-card {
  width: 100%; /* Changé de 340px à 100% pour Bootstrap */
  padding: 24px;
  border-radius: 16px;
  /* background: linear-gradient(135deg, #2563eb, #1e40af); */
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; /* Changé de block à flex */
  flex-direction: column; /* Ajouté */
  height: 100%; /* Ajouté pour prendre toute la hauteur */
  margin-bottom: 1rem; /* Adds space between stacked cards */
}

.jmj-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.45);
}

.jmj-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.jmj-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 20px;
  flex-grow: 1; /* Ajouté - le paragraphe prend l'espace disponible */
}

.jmj-card a {
  margin-top: auto; /* Ajouté - pousse le lien en bas */
}

.jmj-card button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #ffffff;
  color: #1e40af;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.jmj-card button:hover {
  background: #dbeafe;
  color: #1e3a8a;
}

/* #endregion */

/* #region Principal */

.principal {
	/* margin-left: 1rem ; */
	/* margin-right: 1rem ; */
	  /* scroll-margin-top: 100px; */
  max-width: 1200px;
  margin: 4rem auto;
  padding: 4rem 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* #endregion */

/* #region About */
/* About / A propos */

.about {
  scroll-margin-top: 100px;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 4rem 2rem;
  background-color: var(--color-white) ;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h2 {
  font-size: 2.5rem;
  /* color: #2c3e50; */
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about-header h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  /* background: linear-gradient(to right, #3498db, #2ecc71); */
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 2px;
}

.about-header p {
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #34495e;
  margin-bottom: 1rem;
}

.about-text p {
  color: #555;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-text h4 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-text p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin: 0;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 12px;
  color: white;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .about {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }

  .about-header h2 {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}


/* #endregion */



/* #region Hero */

/* Hero section */


/* CSS */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&h=1080&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%); */
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.8) 0%, rgba(var(--color-secondary-rgb), 0.8) 100% );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* #endregion */