@charset "utf-8";
/* CSS Document */
    body { font-family: Arial , sans-serif;font-size: 1.1em ; margin: 0; padding: 0; background: #f4f4f4; color: #333; }
    header { background: #EDEEF5; color: #0E0D8B; padding: 0.05rem; text-align: center; font: lobster ; font-size:15px }
    nav { background: #1D11BF; text-align: center; padding: 1rem 0; }
    /* nav a { color: white; margin: 0 1rem; text-decoration: none; font-weight: bold; } */
	
	/* Les liens du menu */
	nav a {
		position: relative;      /* nécessaire pour ::after */
		color: white;
		margin: 0 1rem;
		text-decoration: none;
		font-weight: bold;
		padding: 5px 0;
		transition: color 0.3s ease; /* animation couleur texte */
	}
	
	/* Barre de surbrillance sous le lien */
	nav a::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: -3px;           /* légèrement en dessous du texte */
		width: 0%;
		height: 3px;
		background: #FFD700;    /* couleur de la barre, ici doré */
		transition: width 0.3s ease;
	}
	
	/* Hover : texte + barre */
	nav a:hover {
		color: #FFD700;          /* change la couleur du texte au survol */
	}
	
	nav a:hover::after {
		width: 100%;             /* la barre s’étend sur toute la largeur */
	}

    .container { max-width: 1000px; margin: auto; padding: 2rem; background: white; }
    .services { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
    .service { background: #e9f1f8; padding: 1rem; border-radius: 8px; }
    footer { text-align: center; padding: 2rem; background: #333; color: white; }
    .cta { background: #1D11BF; color: white; padding: 1rem; text-align: center; border-radius: 5px; margin-top: 2rem; }
    form { margin-top: 1rem; }
    label { display: block; margin: 0.5rem 0 0.2rem; }
    input, textarea { width: 100%; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px;font-size: 1.1em; }
    button { background: #1A1462; color: white; padding: 0.7rem 1.5rem; border: none; border-radius: 4px; margin-top: 1rem; cursor: pointer; }
    button:hover { background: #005A9E; }

	.slider {
	  background: #f0f0f0;
	  padding: 1em 0; /* Réduit les marges haut/bas */
	  text-align: center;
	}
	
	.slider-container {
	  position: relative;
	  max-width: 100%;
	  margin: 0 auto;
	  padding: 0;
	}
	
	.slide {
	  display: none;
	}
	
	.slide.active {
	  display: block;
	}
	
	.slide img {
	  width: 100%;
	  height: 500px; /* ou 400px selon ta préférence */
	  object-fit: cover;
	  border-radius: 8px;
	  display: block;
	}
	.slide-text {
	  position: absolute;
	  bottom: 10px;
	  left: 0;
	  right: 0;
	  margin: auto;
	  padding: 1em;
	  background: rgba(0, 0, 0, 0.6);
	  color: #fff;
	  font-size: 1.2em;
	  /*font-weight: bold;*/
	  border-radius: 0 0 8px 8px;
	  text-align: center;
	}
	.slide p {
	  margin-top: 1em;
	}
	
	.controls {
	  margin-top: 1em;
	  display: flex;
	  justify-content: center;
	  gap: 1em;
	}
	
	.controls button {
	  background: #333;
	  color: #fff;
	  border: none;
	  padding: 0.5em 1.2em;
	  margin: 0 0.5em;
	  font-size: 1.1em;
	  border-radius: 5px;
	  cursor: pointer;
	  transition: background 0.3s ease;
	}
	
	.controls button:hover {
	  background: #555;
	}
	section {
  position: relative;
	}

	h2 {
		font-family: 'Poppins', Arial, sans-serif; /* police moderne */
		font-size: 1,8rem;        /* taille visible */
		color: #1D11BF;           /* bleu DOS */
		text-transform: uppercase; /* majuscules */
		letter-spacing: 1px;      /* espacement des lettres */
		position: relative;
		margin: 40px 0 20px 0;
		text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* léger relief */
	}
	
	/* Ajouter une ligne décorative sous le titre */
	h2::after {
		content: "";
		display: block;
		width: 60px;
		height: 4px;
		background: #FFD700;       /* couleur de la ligne */
		margin-top: 10px;
		border-radius: 2px;
		transition: width 0.4s ease;
	}
	
	/* Animation au survol : la ligne s'allonge */
	h2:hover::after {
		width: 100px;
	}

	.back-to-top {
	  position: absolute;
	  right: 20px;
	  top: 10px;
	  text-decoration: none;
	  font-size: 1.5em;
	  color: #EFCDCE;
	  transition: color 0.3s ease;
	}
	
	.back-to-top:hover {
	  color: #E42B2E;
	}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 10px;
    background: #f1f1f1;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav ul li a:hover {
    color: #007BFF;
}
