/**
 * Chrome footer — grille 5 colonnes + barre basse (Story 1.16).
 * Fond secondary (#008476), texte on-secondary (blanc).
 * Source thème ; compile gulp à la charge de l’équipe front.
 */

.techniconcept-site-footer-contact {
	box-sizing: border-box;
	width: 100%;
	/* Corps de texte = preset body (1rem / 16px desktop). */
	font-size: var(--wp--preset--font-size--body, 1rem);
	color: var(--wp--preset--color--on-secondary, #ffffff);
}

/* Fond footer = secondary (#008476) — filet si part FSE custom sans classe. */
footer.wp-block-group:has(.techniconcept-site-footer-contact),
.techniconcept-site-footer-contact {
	background-color: var(--wp--preset--color--secondary, #008476);
}

/* Grille : pleine largeur du container, répartition pondérée (pas 5×1fr). */
.techniconcept-site-footer-contact__grid {
	display: grid;
	grid-template-columns: 1fr;
	column-gap: clamp(1.25rem, 2.5vw, 3rem);
	row-gap: var(--wp--preset--spacing--40, 1.5rem);
	align-items: start;
	width: 100%;
}

/* Tablette : 2 colonnes pour éviter des bandes trop étroites. */
@media (min-width: 782px) {
	.techniconcept-site-footer-contact__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Desktop : logo compact, contact un peu plus large, 3 menus égaux. */
@media (min-width: 1100px) {
	.techniconcept-site-footer-contact__grid {
		grid-template-columns:
			minmax(7.5rem, 0.9fr)
			minmax(12rem, 1.25fr)
			repeat(3, minmax(0, 1.1fr));
	}
}

.techniconcept-site-footer-contact__col {
	min-width: 0;
	width: 100%;
}

.techniconcept-site-footer-contact__col--contact {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--30, 1rem);
}

/* Logo Daler : silhouette claire sur fond secondary. */
.techniconcept-site-footer-contact__logo .custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.techniconcept-site-footer-contact__logo .custom-logo {
	display: block;
	max-width: 10rem;
	width: auto;
	height: auto;
	filter: brightness(0) invert(1);
}

.techniconcept-site-footer-contact__phones {
	list-style: none;
	margin: 0;
	padding: 0;
}

.techniconcept-site-footer-contact__phone {
	margin: 0 0 0.5em;
}

.techniconcept-site-footer-contact__phone:last-child {
	margin-bottom: 0;
}

.techniconcept-site-footer-contact__phone-label {
	display: block;
	/* Accueil / Radiologie : poids normal (pas de gras). */
	font-weight: 400;
	color: inherit;
}

.techniconcept-site-footer-contact__company {
	margin: 0;
}

.techniconcept-site-footer-contact__address {
	font-style: normal;
	margin: 0;
}

.techniconcept-site-footer-contact__address-line {
	display: block;
}

.techniconcept-site-footer-contact__menu-title {
	margin: 0 0 0.75em;
	/* Titres de colonnes : plus grands que le body, graisse allégée. */
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.3;
	color: inherit;
}

/* Aucun soulignement sur les liens footer (tél., nav, légales). */
.techniconcept-site-footer-contact a {
	color: inherit;
	text-decoration: none;
}

.techniconcept-site-footer-contact a:hover,
.techniconcept-site-footer-contact a:focus-visible {
	color: var(--wp--preset--color--on-secondary, #ffffff);
	opacity: 0.85;
}

.techniconcept-site-footer-contact__phone-link:focus-visible,
.techniconcept-site-footer-contact__nav a:focus-visible,
.techniconcept-site-footer-contact__social-link:focus-visible,
.techniconcept-site-footer-contact__privacy a:focus-visible,
.techniconcept-site-footer-contact__credit a:focus-visible,
.techniconcept-site-footer-contact__logo .custom-logo-link:focus-visible {
	outline: 2px solid var(--wp--preset--color--on-secondary, #ffffff);
	outline-offset: 2px;
}

/* Menus colonnes : liste verticale. */
.techniconcept-site-footer-contact__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.techniconcept-site-footer-contact__nav-list > li {
	margin: 0;
}

.techniconcept-site-footer-contact__social {
	margin-top: 0;
	padding-top: 0;
}

.techniconcept-site-footer-contact__social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
}

.techniconcept-site-footer-contact__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	color: var(--wp--preset--color--on-secondary, #ffffff);
}

.techniconcept-site-footer-contact__social-link:hover,
.techniconcept-site-footer-contact__social-link:focus-visible {
	background: rgba(255, 255, 255, 0.32);
	color: var(--wp--preset--color--on-secondary, #ffffff);
	opacity: 1;
}

.techniconcept-site-footer-contact__social-icon {
	display: inline-flex;
	line-height: 0;
}

.techniconcept-site-footer-contact__social-icon svg {
	display: block;
	width: 0.75rem;
	height: 0.75rem;
	fill: currentColor;
}

.techniconcept-site-footer-contact .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Trait continu au-dessus de la ligne copyright (pleine largeur). */
.techniconcept-site-footer-contact__rule {
	grid-column: 1 / -1;
	box-sizing: border-box;
	width: 100%;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
}

/* Barre basse : 3 zones sur toute la largeur des 5 colonnes. */
.techniconcept-site-footer-contact__bottom {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr;
	column-gap: var(--wp--preset--spacing--50, 2rem);
	row-gap: var(--wp--preset--spacing--20, 0.75rem);
}

@media (min-width: 782px) {
	.techniconcept-site-footer-contact__bottom {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.techniconcept-site-footer-contact__bar-cell {
	margin: 0;
	min-width: 0;
	text-align: left;
	font-size: var(--wp--preset--font-size--label, 0.875rem);
}
