/* =====================================================================
   saai-footer.css – pied de page du site (fichier autonome)
   ---------------------------------------------------------------------
   1. Pied de page toujours en bas de l'écran (fini le blanc dessous)
   2. Pied de page
   Aucune dépendance à Bootstrap ni à Porto.
   ===================================================================== */

/* ---------- 1. Pied de page toujours en bas de l'écran ----------
   Toutes les pages ont la même structure : <div class="body"> contient
   le header, <div class="main"> (le contenu) puis le pied de page.
   La page occupe au moins toute la hauteur de l'écran et le contenu
   s'étire : sur une page courte, le pied de page descend tout en bas. */

body > .body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body > .body > .main {
	flex: 1 0 auto;
}

/* ---------- 2. Pied de page ---------- */

.saai-footer {
	flex-shrink: 0;
	margin-top: 56px;
	background: #14212B;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #B8C2CC;
	-webkit-font-smoothing: antialiased;
}

.saai-footer * {
	box-sizing: border-box;
}

.saai-footer p,
.saai-footer ul,
.saai-footer address {
	margin: 0;
	padding: 0;
}

/* Le thème impose une couleur et un interligne à tous les paragraphes */
.saai-footer p {
	color: inherit;
	line-height: inherit;
}

.saai-footer ul {
	list-style: none;
}

.saai-footer li {
	margin: 0;
	line-height: inherit;
}

.saai-footer a {
	text-decoration: none;
}

.saai-footer a:focus-visible {
	outline: 3px solid #6CC0EA !important;
	outline-offset: 3px;
	border-radius: 2px;
}

.saai-footer__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 30px;
}

.saai-footer > .saai-footer__inner {
	display: flex;
	padding-top: 56px;
	padding-bottom: 48px;
}

.saai-footer__col {
	flex: 1 1 0;
	min-width: 0;
}

.saai-footer__col + .saai-footer__col {
	margin-left: 48px;
}

.saai-footer__col--marque {
	flex: 1.3 1 0;
}

/* Signature */
.saai-footer__logo {
	display: inline-block;
}

.saai-footer__logo img {
	display: block;
	width: 140px;
	height: 48px;
}

.saai-footer .saai-footer__devise {
	margin-top: 14px !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.7;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.saai-footer__devise span {
	display: block;
}

.saai-footer__devise1 {
	color: #D5DCE3;
}

.saai-footer__devise2 {
	color: #6CC0EA;
}

.saai-footer__adresse {
	margin-top: 24px !important;
	font-style: normal;
}

.saai-footer__tel {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 8px;
	font-weight: 600;
	color: #FFFFFF;
}

.saai-footer .saai-footer__tel:hover,
.saai-footer .saai-footer__tel:focus {
	color: #FFFFFF;
	text-decoration: underline;
}

.saai-footer__ico {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.saai-footer__tel .saai-footer__ico {
	margin-right: 10px;
	color: #6CC0EA;
}

/* Colonnes de liens */
.saai-footer .saai-footer__titre {
	margin-bottom: 12px !important;
	font-size: 15px;
	font-weight: 700;
	color: #FFFFFF;
}

.saai-footer__liens a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: #E4E9EE;
}

.saai-footer .saai-footer__liens a:hover,
.saai-footer .saai-footer__liens a:focus {
	color: #FFFFFF;
	text-decoration: underline;
}

.saai-footer .saai-footer__liens a[aria-current="page"] {
	color: #FFFFFF;
	font-weight: 600;
}

.saai-footer .saai-footer__texte {
	max-width: 320px;
	text-wrap: pretty; /* évite un mot seul sur la dernière ligne */
}

.saai-footer__externe {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-top: 4px;
	font-weight: 600;
	color: #FFFFFF;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.saai-footer .saai-footer__externe:hover,
.saai-footer .saai-footer__externe:focus {
	color: #6CC0EA;
}

.saai-footer__ico--externe {
	width: 16px;
	height: 16px;
	margin-left: 8px;
}

/* Bas de page */
.saai-footer__bas {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.saai-footer .saai-footer__copyright {
	padding: 18px 0 !important;
	font-size: 14px;
	color: #8A96A3;
}

/* ---------- Tablette ---------- */
@media (max-width: 1023px) {
	.saai-footer__inner {
		padding: 0 15px;
	}

	.saai-footer > .saai-footer__inner {
		flex-wrap: wrap;
		padding-top: 44px;
		padding-bottom: 36px;
	}

	.saai-footer__col,
	.saai-footer__col--marque {
		flex: 1 1 45%;
	}

	.saai-footer__col--marque {
		flex-basis: 100%;
		margin-bottom: 32px;
	}

	.saai-footer__col + .saai-footer__col {
		margin-left: 0;
	}

	.saai-footer__col--marque + .saai-footer__col ~ .saai-footer__col {
		margin-left: 32px;
	}
}

/* ---------- Téléphone ---------- */
@media (max-width: 599px) {
	.saai-footer {
		margin-top: 40px;
	}

	.saai-footer > .saai-footer__inner {
		display: block;
	}

	.saai-footer__col + .saai-footer__col,
	.saai-footer__col--marque + .saai-footer__col ~ .saai-footer__col {
		margin-left: 0;
		margin-top: 32px;
	}

	.saai-footer__col--marque {
		margin-bottom: 0;
	}

	.saai-footer__liens a {
		min-height: 44px;
	}
}
