 
/* BARRE NAV PRINCIPALE EN HAUT */
.main-nav {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* background premium dégradé */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); /* ombre profonde */
  z-index: 1000;
  font-family: 'Poppins', sans-serif;
  backdrop-filter: blur(12px); /* flou derrière la nav */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* LOGO à gauche */
.nav-left .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.1);
}

.logo-text {
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(45deg, #4A90E2, #50E3C2, #9013FE);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  user-select: none;
  cursor: default;
  transition: transform 0.3s ease;
}

.logo-text:hover {
  transform: translateY(-3px) scale(1.05);
  text-shadow: 0 0 10px rgba(144, 19, 254, 0.7),
               0 0 20px rgba(80, 227, 194, 0.6);
}

/* LIENS CENTRAUX */
.nav-center.nav-links {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background-color: #4a90e2;
  color: white;
  transform: scale(1.05);
}

/* CONTENU PROFIL À DROITE */
.profil-container {
  position: relative;
}

.profil {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  background: #d0d5dd;
  padding: 8px 12px;
  border-radius: 10px;
  width: fit-content;
  user-select: none;
}

.profil .photo-profil {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #3498db;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profil:hover .photo-profil {
  transform: scale(1.1);
}

.profil span {
  color: black;
  font-size: 1rem;
  font-weight: bold;
}

.connexion-btn {
  background: orange;
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.connexion-btn:hover {
  background: #357ABD;
}

/* POPUP PROFIL */
.popup-profil {
  position: absolute;
  top: 55px;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 10px;
  width: 195px;
  display: none;
  z-index: 30;
}

.popup-profil ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popup-profil ul li {
  border-bottom: 1px solid #eee;
}

.popup-profil ul li:last-child {
  border-bottom: none;
}

.popup-profil ul li a {
  display: block;
  padding: 12px 15px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.popup-profil ul li a:hover {
  background-color: orange;
  color: white;
}

/* Menu hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
}

/* Menu mobile caché par défaut */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0px;
  background: rgba(255, 140, 0, 1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 15px;
  z-index: 999;
  text-align:center;
  width:100%;
}

.mobile-menu a {
  padding: 10px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:hover {
  background-color: #4a90e2;
  color: white;
  border-radius: 5px;
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
  .nav-center,
  .nav-right {
    display: none !important; 
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 405px) {
      .mobile-menu {
  top: 52px;
}
}
    body {
      font-family: 'Segoe UI', sans-serif;
      margin: 0;
      background-color: #f2f6fa;
      color: #333;
    }
    header {
	  background: url('bac2.avif') center/cover;
      color: white;
      padding: 2rem;
      text-align: center;
    }
	
	header p{
		background-color:white;
      color: #0D4C92;
      font-size: 1.2rem;
      text-align: center;
    }
	
	header h1 {
  color: #0D4C92;
  font-size: 3.2rem;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0;
  position: relative;
  font-weight: 700;
}

	span {
    color: #EC5800;
		font-size:1.1rem !important;	
}

	
	
    .container {
      padding: 2rem;
      max-width: 1200px;
      margin: auto;
    }
    .section {
      background: #f2f6fa;
      margin-bottom: 1rem;
      padding: 2rem;
      border-radius: 12px;
	  font-size:1.1rem;
    }
    h2 {
      color: #0D4C92;
    }
	
	ul {
      
	  list-style: none; /* Ajouté pour enlever les puces */
    }
	
    .abonnements {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: space-between;
    }
    .plan {
      flex: 1;
      min-width: 250px;
      background: #ffffff;
      padding: 1.5rem;
      border-radius: 10px;
      border: 2px solid #ddd;
      transition: transform 0.2s;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
	  text-align:center;
    }
    .plan:hover {
      transform: scale(1.03);
      border-color: #0D4C92;
    }
    .plan h3 {
      color: #0D4C92;
      margin-top: 0;
	  text-decoration:underline;
    }
    .plan button {
      margin-top: 1rem;
      padding: 0.75rem;
      color: black;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    
    .founder-image {
      float: right;
      width: 100px;
      border-radius: 50%;
      margin-left: 1rem;
    }
    .testimonials, .faq {
      display: grid;
      gap: 1rem;
    }
    .testimonial {
      font-style: italic;
      background-color: #eef3f9;
      padding: 1rem;
      border-left: 4px solid #0D4C92;
    }
    .faq-item {
      background: #f9f9f9;
      border-left: 4px solid #bbb;
    }
	
	.wrap-sections {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.left-sections {
  flex: 1 1 40%;
}

.image-side {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-side img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.plan:nth-child(1) {
  background-color: #2D89EF; /* Bleu clair */
}

.plan:nth-child(2) {
  background-color: #00B294; /* Vert clair */
}

.plan:nth-child(3) {
  background-color: #FFA500; /* Orange clair */
}

.section:nth-child(3) {
	background: linear-gradient(to right, #e6f0ff, #ffffff);
}



.simp {
    color: #EC5800;
	
}

.simp1 {
    color: white;
	
}


.fonctionnement-container {
  max-width: 900px;
  margin: 1rem auto;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.titre-fonctionnement {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 2rem;
}

.etapes-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.etape {
  flex: 1 1 200px;
  background: white;
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.etape-orange {
  background: #EC5800;
  color: white;
}

.etape h3 {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.etape p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.numero {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

/* Optionnel : styles pour .simp1 */
.simp1 {
  font-weight: bold;
  color: #ffffff;
}
footer {
    width: 100% !important;
}
/* Style premium pour le plan AppartoX Plus */
.plan.premium {
  background: linear-gradient(135deg, #1E3A8A, #2563EB); /* bleu premium */
  color: white;
  border: 2px solid #1E40AF;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.plan.premium h3 {
  color: #FFD700; /* titre doré pour attirer l’œil */
  text-decoration: none;
  font-size: 1.5rem;
}

.plan.premium button {
  background-color: #FFD700; /* bouton doré */
  color: #1E3A8A;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.plan.premium button:hover {
  background-color: #FFC107;
  transform: scale(1.05);
}


/* Réactive les bases nécessaires */
.abonnement-plus-scope * {
  box-sizing: border-box;
}

.abonnement-plus-scope {
  display: block;
  background-color: #f2f6fa;
  color: #333;
}

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 1rem;
  }

  .wrap-sections {
    flex-direction: column;
  }

  .left-sections,
  .image-side {
    flex: 1 1 100%;
    max-width: 100%;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .plan.premium {
    margin: 0 auto;
  }

  
  .etape {
    width: 100%;
  }

  .etapes-container {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
  }

  .etape {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
   .titre-fonctionnement {
    font-size: 1.6rem;          /* ↓ taille du titre */
    line-height: 1.3;           /* meilleure lisibilité */
    padding: 0 10px;            /* empêche le débordement */
    word-break: break-word;     /* sécurité si écran très étroit */
  }

  .titre-fonctionnement span {
    display: inline-block;      /* évite les sauts bizarres */
    font-size: 1.6rem;          /* aligné avec le texte */
  }
  
  .section {
      width:100% !important;
    }
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

footer {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* background premium dégradé */
    color: white;
    padding: 60px 30px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    border-top: 2px solid #e0e0e0;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.03);
}

.footer-item {
    flex: 1 1 250px;
    margin: 5px;
}

.footer-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: orange;
    position: relative;
}

.footer-item h4::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #007bff;
    margin-top: 8px;
}

.footer-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-item ul li {
    margin: 10px 0;
}

.footer-item ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-item ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-item p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ligne de séparation */
.footer-bottom {
    width: 100%;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
    color: #888;
}

/* Icônes sociales (optionnel) */
.social-icons a {
    display: inline-block;
    margin: 0 8px;
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: white;
}


.conseil {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.conseil h3 {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 15px;
    text-decoration: underline;
}

.conseil a {
    display: inline-block;
    width: 30%;
    min-width: 200px;
    margin: 10px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.conseil a:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.conseil img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.conseil p {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
}

* {
    box-sizing: border-box;
}



.footer-item a {
    color: white;
    font-size: 2rem; /* Taille des icônes */
    margin: 0 15px;
    transition: 0.3s;
}

.footer-item a:hover {
    color: white; /* Couleur au survol */
}

/* 📩 Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-newsletter input {
    padding: 10px;
    width: 80%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

.footer-newsletter button {
    padding: 10px 15px;
    background: #004080;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.footer-newsletter button:hover {
    background: #002f5f;
}

/* ✅ Partie légale */
.footer-legal {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    color: white;
}


.footer-legal a{  
    font-size: 1.2rem;
}


/* 🌍 Responsive */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-item {
    flex: 1 1 150px;
    margin: 5px;
  }
  
  .footer-item h4 {
    margin-bottom: 5px;
  }

  
  .footer-item h4::after {
    display: none;
  }

    .footer-item h4 + p + p {
    font-size: 0.75rem;
  }

  .footer-item {
    width: 100%;
    max-width: 300px;
    margin: 5px auto;
  }

  .footer-item ul {
    padding-left: 0;
  }

  .footer-item ul li a {
    display: block;
  }

  .footer-legal {
    text-align: center;
    font-size: 0.85rem;
  }
  
  .phone-number {
    font-size: 0.85rem !important; /* réduit la taille sur mobile */
  }
  .conseil {
    text-align: center;
    padding: 10px;
  }

  .conseil h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .conseil-liens {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .conseil-liens a {
    flex: 0 0 auto;
    width: 70%;
    max-width: 300px;
    scroll-snap-align: start;
    border: 1px solid #ccc;
    background: #fff;
  }

  .conseil img {
    height: 130px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
  }

  .conseil p {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px;
  }

  .conseil-liens::-webkit-scrollbar {
    display: none;
  }
  
   .etape {
    flex: 0 0 100%; /* une étape visible à la fois */
    max-width: 100%;
  }
  .etapes-container {
  scroll-snap-type: x mandatory;
  overflow-x: hidden;
}

.etape {
  scroll-snap-align: start;
}

}



