/*
 Theme Name:   Indusri Child
 Theme URI:    https://indusri.wpengine.com/
 Description:  Indusri Child Theme
 Author:       the Indusri team
 Author URI:   https://wedesignthemes.com/
 Template:     indusri
 Version:      1.3.1
 Text Domain:  indusri-child
*/

/* ------------------------------------------------------------------
   Utilitaires
   ------------------------------------------------------------------ */

/* Texte lisible par Google et les lecteurs d'écran, invisible à l'écran (H1 d'accueil). */
.appi-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Lien « Log In » masqué pour les visiteurs (voir inc/cleanup.php). */
body.appi-hide-login a[href*="wp-login.php"] {
	display: none !important;
}

/* ------------------------------------------------------------------
   Pied de page APPI Plastique (voir templates/footer.php)
   Couleurs reprises des variables du thème, avec valeurs de secours.
   ------------------------------------------------------------------ */

#footer.appi-footer {
	--appi-bg: var(--wdtHeadAltColor, #14233c);
	--appi-text: rgba(255, 255, 255, 0.82);
	--appi-title: #ffffff;
	--appi-accent: var(--wdtPrimaryColor, #f5a300);
	background: var(--appi-bg);
	color: var(--appi-text);
	float: none;
	clear: both;
	overflow: hidden;
}

#footer.appi-footer a,
#footer.appi-footer a:not(:focus) {
	color: var(--appi-text);
	text-decoration: none;
}

#footer.appi-footer a:hover,
#footer.appi-footer a:focus {
	color: var(--appi-accent);
	text-decoration: underline;
}

/* Colonnes */
.appi-footer__main {
	padding: 60px 0 40px;
}

.appi-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
	gap: 40px;
}

.appi-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.appi-footer__col li {
	margin: 0 0 10px;
}

#footer.appi-footer .appi-footer__title {
	margin: 0 0 18px;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--appi-title);
}

.appi-footer__brand p {
	margin: 18px 0 0;
	max-width: 36ch;
}

.appi-footer__logo img {
	display: block;
	max-width: 220px;
	height: auto;
}

.appi-footer__address {
	margin: 0 0 14px;
	font-style: normal;
}

/* Bas de page */
.appi-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.appi-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 0.9rem;
}

/* Tablette */
@media (max-width: 991px) {
	.appi-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Mobile */
@media (max-width: 575px) {
	.appi-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.appi-footer__main {
		padding: 40px 0 24px;
	}
}
