/* =========================================================================
   FOOTER — Itaqueri Rovy
   Fundo claro para acompanhar o header branco e funcionar com a mesma
   logo colorida. Barra inferior em verde, filete dourado no topo.
   Depende das variáveis definidas em style.css (:root).
   ========================================================================= */

.itq-footer {
	background: var( --itq-footer-bg );
	color: var( --itq-footer-text );
	font-family: var( --itq-font );
	border-top: 3px solid var( --itq-gold );
	margin-top: 0;
}

.itq-footer__inner {
	max-width: var( --itq-container );
	margin-left: auto;
	margin-right: auto;
	padding: 64px var( --itq-gutter ) 48px;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 48px;
}

/* ---------- Coluna da marca ---------- */

.itq-footer__logo {
	display: inline-block;
	line-height: 0;
	margin-bottom: 20px;
}

.itq-footer__logo img {
	display: block;
	height: 60px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.itq-footer__about {
	margin: 0;
	max-width: 42ch;
	font-size: 15px;
	line-height: 1.7;
}

/* ---------- Títulos ---------- */

.itq-footer__title {
	position: relative;
	margin: 0 0 22px;
	padding-bottom: 10px;
	color: var( --itq-footer-heading );
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.2;
}

.itq-footer__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 3px;
	background: var( --itq-green );
	border-radius: 2px;
}

/* ---------- Links gerais ---------- */

.itq-footer a {
	color: inherit;
	text-decoration: none;
	transition: color var( --itq-transition );
}

.itq-footer a:hover,
.itq-footer a:focus-visible {
	color: var( --itq-green-text );
}

.itq-footer a:focus-visible {
	outline: 2px solid var( --itq-green-text );
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---------- Menu do rodapé ---------- */

.itq-footer-menu,
.itq-footer__contact,
.itq-footer__social {
	list-style: none;
	margin: 0;
	padding: 0;
}

.itq-footer-menu li + li,
.itq-footer__contact li + li {
	margin-top: 12px;
}

.itq-footer-menu a,
.itq-footer__contact li {
	font-size: 15px;
	line-height: 1.5;
}

.itq-footer-menu .current-menu-item > a {
	color: var( --itq-green-text );
	font-weight: 600;
}

/* Submenus não são exibidos no rodapé (depth = 1 no wp_nav_menu). */
.itq-footer-menu .sub-menu {
	display: none;
}

/* ---------- Redes sociais ---------- */

.itq-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.itq-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	border: 1px solid var( --itq-border );
	border-radius: 999px;
	background: #ffffff;
	transition: border-color var( --itq-transition ), color var( --itq-transition ), box-shadow var( --itq-transition );
}

.itq-footer__social-link:hover,
.itq-footer__social-link:focus-visible {
	border-color: var( --itq-green );
	color: var( --itq-green-text );
	box-shadow: 0 2px 10px rgba( 0, 0, 0, .07 );
}

/* ---------- Barra inferior ---------- */

.itq-footer__bottom {
	background: var( --itq-footer-bottom-bg );
}

.itq-footer__bottom-inner {
	max-width: var( --itq-container );
	margin-left: auto;
	margin-right: auto;
	padding: 20px var( --itq-gutter );
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.itq-footer__bottom p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
	color: var( --itq-footer-bottom-text );
}

.itq-footer__bottom a {
	color: #ffffff;
	text-decoration: underline;
}

.itq-footer__bottom a:hover,
.itq-footer__bottom a:focus-visible {
	color: #ffffff;
	text-decoration: none;
}

/* =========================================================================
   RESPONSIVO
   ========================================================================= */

@media ( max-width: 1024px ) {
	.itq-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
		padding-top: 52px;
	}

	.itq-footer__col--brand {
		grid-column: 1 / -1;
	}
}

@media ( max-width: 600px ) {
	.itq-footer__inner {
		grid-template-columns: 1fr;
		gap: 36px;
		padding-top: 44px;
		padding-bottom: 36px;
	}

	.itq-footer__logo img {
		height: 50px;
	}
}
