/* 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;
  
}

/* ===== LAYOUT 3 COLONNES ===== */

.layout {
	padding-top: 105px; /* pour laisser la place au header fixe */
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	width: 100%;
	margin: 0 auto; /* centrer horizontalement */
	background: rgba(255, 255, 255, 0.6);
	overflow: visible;
}

.col {
  padding: 2px;
  box-sizing: border-box;
}

.gauche {
	width: 18%; /* un peu plus large pour le titre */
	position: relative;
	overflow: visible;   /* autorise les éléments à dépasser */
	z-index: 0;          /* assure un empilement de base */
	padding: 2px;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.5);
	display: flex;
	flex-direction: column;
	/* align-items: left; */
	justify-content: center;

	word-wrap: break-word;     /* autorise les césures longues */
	overflow-wrap: break-word; /* alternative moderne */
	white-space: normal;       /* assure le retour à la ligne */
	word-break: break-word;
}

/* === Colonne centrale : Contenu principal === */
.centre {
  width: 43%;
  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: 39%;
  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 ===== */
.module-gauche .lien1 {
	display: inline; /* ou inline-block selon besoin */
	/* Pas de saut de ligne */
}

.modul-gauche .lien1 a{
	font-size: 0.85em;
	font-style: italic;
	word-break: break-word;
	overflow-wrap: break-word;
}
.gauche h1 {
	font-size: 2em;
	text-align: center;
	line-height: 1.3;
	word-break: break-word;
	margin: 0;
}

.gauche h3{
	font-size: 0,8em;
	text-align: left;
	line-height: 1;
	word-break: break-word;
	margin: 0;
	font-weight: bold
}

.gauche a {
	display: inline !important;
	word-break: break-word;
	overflow-wrap: break-word;	/*autorise la coupure en cas de dépassement*/
	white-space: normal;
	word-break: break-word;	/*casse le mot si nécessaire.*/
	/*hyphens: auto;	coupe le mot avec un tiret (selon la langue définie)*/
}
  
.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;
}

/* Conteneur de la flèche alignée à droite */
.suite {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

/* ===== 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: auto;	/* largeur automatique, selon le contenu */
	
	background-color: rgba(0, 51, 102, 0.75); /* bleu foncé, mais un peu transparent */
	color: #fff;
	text-align: center;
	padding: 4px 8px;
	border-radius: 6px;
	position: absolute;
	bottom: 125%; /* au-dessus du bouton */
	right: calc(100% + 8px); /* Positionne à gauche de la flèche */
	top: 50%;
	transform: translateY(-50%);
	opacity: 0;
	transition: opacity 0.3s;
	font-size: 0.8em;
	white-space: normal;
	z-index: 9999;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* ===== Modules encadrés =====*/
.modules {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 20px;
}

.module {
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid #a3d5ff;
  border-radius: 16px;
  padding: 10px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

/* Module spécifique à la colonne gauche */
.module-gauche {
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.9);
	border-left: 1px solid #3399cc;
	padding: 3px;
	font-size: 0.9em;
	border-radius: 10px;
	position: relative;
	text-align: left;

}

.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 */
}

/* Conteneur qui pousse la flèche à droite */
.suite-lien {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
  width: 100%;
  position: relative;
}

/* Flèche cliquable */
.suite-flèche {
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  color: #003366;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  position:relative;
}
