/* Charte graphique générale */
body {
	margin: 0;

	font-family: Calibri, sans-serif;
	background: linear-gradient(135deg, #a3d5ff, #e0f7ff); /* plus de contraste */ /* dégradé pastel bleu */
	color: #003366;
  
  /*display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /*min-height: 100vh; /* Hauteur minimum pour tout l’écran */ 
}

/* ===== LAYOUT 3 COLONNES ===== */

.layout {
	padding-top: 105px; /* pour laisser la place au header fixe */
	margin: 0 auto;
	/* flex: 1; prend tout l’espace vertical disponible */
	display: flex;
	flex-direction: row;
	width: 100%;
	/* max-width: 1200px; */ /* restreint la largeur de la page affichée*/
	margin: 0 auto; /* centrer horizontalement */
	/*height: 100vh;*/
	background: rgba(255, 255, 255, 0.6);

}

.col {
  padding: 20px;
  box-sizing: border-box;
}

.gauche {
	width: 20%; /* un peu plus large pour le titre */
	padding: 20px;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.5);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.gauche h1 {
	font-size: 2em;
	text-align: center;
	line-height: 1.3;
	word-break: break-word;
	margin: 0;
}

/* === Colonne centrale : Contenu principal === */
.centre {
  width: 70%;
  padding: 20px 40px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === Colonne droite : Infos ou widgets === */
.droite {
  width: 15%;
  background-color: rgba(255, 255, 255, 0.5);
}

/* ===== BOUTONS ===== */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-top: 30px;
}

.btn {
	background-color: #3399cc;
	color: white;
	padding: 12px 24px;
	border: none;
	text-decoration: none;
	border-radius: 30px;
	font-size: 1em;
	transition: background-color 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 100%;              /* occupe toute la largeur disponible */
	max-width: 300px;         /* limite la taille si trop large */
	position: relative;
	overflow: hidden;
}

.btn i {
  min-width: 20px;
  text-align: center; /*Alignement des icônes*/
}


.btn:hover {
  background-color: #287aa9;
  transform: translateX(5px); /* léger déplacement à droite */
}

/* Ajoute une flèche à droite */
.btn::after {
  content: "→";
  margin-left: auto;
  transition: transform 0.3s ease;
  font-weight: bold;
  opacity: 0.8;
}

/* La flèche bouge aussi au survol */
.btn:hover::after {
  transform: translateX(5px);
}

/* ===== TEXTES ===== */

.centre p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
}

.centre h2{
	font-size: 1,7em;
	text-align: center;
	line-height: 1.3;
	word-break: break-word;
	margin: 0;
	font-style: italic;
}

/* ===== Pied de page =====*/
.footer {
	width: 100%;
	background-color: rgba(255, 255, 255, 0.6);
	text-align: center;
	padding: 15px 0;
	font-size: 1em;
	color: #003366;
	font-size: 1em;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(4px);
	flex-shrink: 0;  /* ne rétrécit pas */
}

/* ==== Bulles d'aides =====*/
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 180px;
  background-color: #003366;
  color: #fff;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* au-dessus du bouton */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.9em;
  white-space: normal;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* ===== Modules encadrés =====*/
.modules {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.module {
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid #a3d5ff;
  border-radius: 16px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.module:hover {
  transform: scale(1.03);
}

.module h2 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #003366;
}

.module p {
  font-size: 1em;
  color: #333;
  margin-bottom: 15px;
}

.module-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3399cc;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.module-btn:hover {
  background-color: #287aa9;
}

/* ===== LOGO dans header=====*/
.site-header {
	position: fixed;	/* ou relative selon besoin */
	top: 0;
	left: 0;
	right: 0;
	height: 70px;   /* assure une hauteur suffisante */
	width: 100%;
	background-color: rgba(255, 255, 255, 0.7); /* ou une autre couleur si tu préfères */
	padding: 15px 20px;	 /* plus d’espace en haut et en bas */
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: flex-start;  /* Aligne tout à gauche */
	z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 65px;     /* ajuste la hauteur ici */
  width: auto;      /* conserve le ratio de l’image */
  margin-right: 10px;
}

.site-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #003366;
}

.logoTitre {
	display: block;
	width: 80%;           /* prend 80% de la largeur du conteneur */
	max-width: 150px;     /* limite la taille maximale */
	height: auto;         /* conserve le ratio de l’image */
	margin: 0 auto 30px auto; /* centré horizontalement + marge en bas */
}
